/* ROHADA H.S — portfolio v2. Palette v2 (see design.md) */
:root {
  --slate: #34495E;
  --navy: #1F2937;
  --black: #121212;
  --charcoal: #30343A;
  --slate-gray: #64748B;
  --blue-gray: #8296A8;
  --beige: #D8D0C5;
  --warm: #F5F2EC;
  --cool: #F1F5F9;
  --pink: #EC4899;
  --mist: #C9D3DD;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --read: 60ch;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="ar"] {
  --serif: "Almarai", "Tajawal", sans-serif;
  --sans: "Tajawal", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--warm); color: var(--charcoal);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

html[lang="en"] [data-l="ar"],
html[lang="ar"] [data-l="en"] { display: none !important; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; background: var(--black); color: var(--warm); padding: 8px 16px; z-index: 30; }
.skip:focus { top: 16px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245,242,236,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(130,150,168,.3); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; }
.mark { font: 700 15px/1 "Manrope", sans-serif; letter-spacing: .26em; color: var(--slate); text-decoration: none; white-space: nowrap; }
.mark i { font-style: normal; color: var(--pink); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--slate); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--pink); }
.lang { border: 1.5px solid var(--slate); background: transparent; color: var(--slate); padding: 0 16px; min-height: 40px; font: 700 14px/1 "Tajawal", "Manrope", sans-serif; cursor: pointer; border-radius: 999px; }
.lang:hover { background: var(--slate); color: var(--warm); }
@media (max-width: 900px) { .nav a { display: none; } }

/* ---------- shared type ---------- */
section { padding-block: 92px; position: relative; }
.kicker { font-size: 15px; font-weight: 700; color: var(--pink); margin-bottom: 14px; }
.title { font-family: var(--serif); font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.02em; color: var(--slate); max-width: 17ch; }
html[lang="ar"] .title { line-height: 1.35; letter-spacing: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; }
html[lang="ar"] .title, html[lang="ar"] .hero h1 { font-weight: 800; }
.intro { margin-top: 20px; font-size: 19px; max-width: var(--read); }
.mk { background: linear-gradient(transparent 62%, rgba(236,72,153,.32) 62%, rgba(236,72,153,.32) 92%, transparent 92%); padding-inline: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; font: 700 16px/1 var(--sans); text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-pink { background: var(--pink); color: var(--black); }
.btn-pink:hover { background: var(--black); color: var(--warm); }
.btn-ghost { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-ghost:hover { background: var(--slate); color: var(--warm); }

/* ---------- HERO ---------- */
.hero { padding-block: 56px 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hello { font-size: 17px; font-weight: 600; color: var(--slate-gray); }
.sign { display: inline-block; font-family: "Mrs Saint Delafield", cursive; font-size: 2.6em; line-height: .6; color: var(--slate); vertical-align: -.22em; margin-inline-start: 6px; padding: .2em .25em .1em 0; }
html[lang="ar"] .sign { font-family: "Ruwudu", serif; font-weight: 400; font-size: 2em; line-height: 1.1; vertical-align: -.2em; padding: 0 0 .1em .25em; }
.js .sign { clip-path: inset(-20% 100% -20% 0); animation: sign .8s cubic-bezier(.5,.1,.3,1) .1s forwards; }
html[dir="rtl"].js .sign { clip-path: inset(-20% 0 -20% 100%); }
@keyframes sign { to { clip-path: inset(-20% 0 -20% 0); } }
.hero h1 { margin-top: 18px; font-family: var(--serif); font-size: clamp(34px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -.02em; color: var(--slate); max-width: 19ch; }
html[lang="ar"] .hero h1 { line-height: 1.45; letter-spacing: 0; font-size: clamp(32px, 3.8vw, 50px); }
.hero h1 .calm { display: block; color: var(--pink); margin-top: 6px; }
.hero-sub { margin-top: 28px; font-size: 19px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .cv-link { display: flex; width: fit-content; }
.open-to { margin-top: 28px; font-size: 15px; color: var(--slate-gray); }
.open-to strong { color: var(--slate); }

.note {
  background: var(--warm); border-radius: 16px; padding: 12px 14px 12px 16px;
  box-shadow: 0 14px 30px -18px rgba(18,18,18,.55); display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center;
  font-size: 14px; line-height: 1.35;
}
.note .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cool); color: var(--slate); }
.note .ic svg { width: 18px; height: 18px; }
.note small { display: block; color: var(--slate-gray); font-size: 12.5px; margin-top: 2px; }
.note b { color: var(--charcoal); }
.note.live .ic { background: var(--pink); color: var(--black); }
.note.live b { color: var(--pink); }
.note.done { background: var(--slate); color: var(--warm); }
.note.done .ic { background: var(--warm); color: var(--slate); }
.note.done b { color: var(--warm); }
.note.done small { color: var(--mist); }


/* one orchestrated load sequence */
.js .note { opacity: 0; transform: translateY(14px); animation: noteIn .55s var(--ease) forwards; }
.js .note:nth-child(1) { animation-delay: .35s; }
.js .note:nth-child(2) { animation-delay: .8s; }
.js .note:nth-child(3) { animation-delay: 1.25s; }
.js .note:nth-child(4) { animation-delay: 1.7s; }
.js .note.done { animation-delay: 2.5s; }
@keyframes noteIn { to { opacity: 1; transform: none; } }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); display: inline-block; margin-inline-end: 6px; animation: pulse 1.4s ease-in-out infinite; vertical-align: middle; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- SITUATIONS ---------- */
.situations { background: linear-gradient(170deg, #1F2937 0%, #263548 50%, #34495E 100%); color: var(--cool); overflow: hidden; border-radius: 48px; }
.situations .wrap, .think .wrap, .contact .wrap { position: relative; z-index: 1; }
.situations .title { color: var(--warm); }
.situations .intro { color: var(--mist); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.tab {
  background: transparent; border: 1.5px solid rgba(130,150,168,.6); color: var(--cool);
  border-radius: 999px; padding: 0 22px; min-height: 48px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.tab:hover { border-color: var(--warm); }
.tab[aria-selected="true"] { background: var(--pink); border-color: var(--pink); color: var(--black); }
.story { margin-top: 36px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.story[hidden] { display: none; }
.story h3 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; color: var(--warm); }
html[lang="ar"] .story h3 { line-height: 1.45; }
.story .shows { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.story .shows li { background: rgba(241,245,249,.08); border: 1px solid rgba(130,150,168,.45); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--warm); }
.flow { display: grid; gap: 14px; counter-reset: f; }
.flow li { background: rgba(18,18,18,.35); border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.flow li::before { counter-increment: f; content: counter(f); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--pink); color: var(--pink); display: grid; place-items: center; font: 600 18px/1 "Newsreader", serif; }
.flow h4 { font-size: 15px; font-weight: 700; color: var(--blue-gray); }
.flow p { color: var(--cool); margin-top: 4px; }
.js .story:not([hidden]) .flow li { animation: noteIn .45s var(--ease) both; }
.js .story:not([hidden]) .flow li:nth-child(2) { animation-delay: .08s; }
.js .story:not([hidden]) .flow li:nth-child(3) { animation-delay: .16s; }
.honest { margin-top: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--cool); background: rgba(18,18,18,.28); border: 1px solid rgba(130,150,168,.35); border-radius: 999px; padding: 10px 20px 10px 12px; }
html[dir="rtl"] .honest { padding: 10px 12px 10px 20px; }
.honest svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--pink); color: var(--black); flex: none; }

/* ---------- ABOUT ---------- */
.about { background: linear-gradient(180deg, var(--warm) 0%, var(--warm) 45%, #EEE4DE 100%); }
.about .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about figure { position: relative; }
.about figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 60%; border-radius: 24px 24px 200px 24px; }
html[dir="rtl"] .about figure img { border-radius: 24px 24px 24px 200px; }
.about figure { isolation: isolate; }
.about figure img { position: relative; box-shadow: 0 30px 60px -28px rgba(236,72,153,.55); }
.about figure::before { content: ""; position: absolute; inset: 0; border-radius: 24px 24px 200px 24px; background: linear-gradient(160deg, var(--slate) 0%, var(--blue-gray) 55%, rgba(236,72,153,.75) 100%); transform: translate(-22px, 22px); z-index: -1; }
html[dir="rtl"] .about figure::before { border-radius: 24px 24px 24px 200px; transform: translate(22px, 22px); }
.about .copy p + p { margin-top: 16px; }
.about .copy .intro + p { margin-top: 18px; }
.traits-q { margin-top: 32px; font-weight: 700; color: var(--slate); }
.traits { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; margin-top: 14px; }
@media (max-width: 600px) { .traits { grid-template-columns: repeat(2, 1fr); } }
.trait { border: 1.5px solid var(--slate); background: transparent; color: var(--slate); border-radius: 999px; padding: 0 18px; min-height: 44px; font-weight: 700; font-size: 15px; cursor: pointer; }
.trait:hover { background: var(--cool); }
.trait[aria-pressed="true"] { background: var(--slate); color: var(--warm); }
.proof { margin-top: 16px; min-height: 84px; background: var(--cool); border-radius: 18px; padding: 18px 22px; border-inline-start: 4px solid var(--pink); }
.proof p { font-size: 16px; }
.proof a { font-weight: 700; color: var(--slate); }

/* ---------- BRING ---------- */
.bring { background: radial-gradient(circle 560px at 82% 100%, rgba(236,72,153,.17), rgba(236,72,153,0) 72%), radial-gradient(circle 420px at 10% 55%, rgba(236,72,153,.08), rgba(236,72,153,0) 70%), linear-gradient(180deg, #EEE4DE 0%, #E3D8CF 40%, #E3D8CF 60%, #EEE7E1 100%); overflow: hidden; text-align: center; }
.bring .title { margin-inline: auto; position: relative; }
.ghost { font: 800 clamp(70px, 13vw, 180px)/.85 "Manrope", sans-serif; color: transparent; -webkit-text-stroke: 1.5px rgba(52,73,94,.2); letter-spacing: -.04em; margin-bottom: -.2em; user-select: none; white-space: nowrap; }
html[lang="ar"] .ghost { font-family: "Tajawal", sans-serif; font-weight: 700; line-height: 1.1; margin-bottom: -.05em; font-size: clamp(60px, 11vw, 150px); letter-spacing: 0; }
.bring-list { text-align: start; }
.bring-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.bring-list li { background: var(--warm); border-radius: 24px; padding: 30px 28px 34px; }
.bring-list li:first-child { background: var(--slate); color: var(--cool); }
.bring-list .n { font: 400 54px/1 "Newsreader", serif; color: var(--pink); }
.bring-list h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--slate); margin: 22px 0 12px; }
.bring-list li:first-child h3 { color: var(--warm); }
.bring-list p { font-size: 16px; }
.bring-list .dev { display: block; margin-top: 12px; font-size: 15px; color: var(--slate-gray); }
.bring-list li:first-child .dev { color: var(--mist); }

/* ---------- PATH (timeline accordion) ---------- */
.path { background: radial-gradient(circle 560px at 82% 0%, rgba(236,72,153,.17), rgba(236,72,153,0) 72%), linear-gradient(180deg, #EEE7E1 0%, var(--warm) 35%, var(--warm) 100%); }
.path-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 56px; align-items: start; }
.path .head { position: sticky; top: 110px; display: block; }
.path .head .intro { margin-top: 18px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 11px; width: 2px; background: var(--beige); }
.step { position: relative; padding-inline-start: 52px; }
.step + .step { margin-top: 14px; }
.step::before { content: ""; position: absolute; inset-inline-start: 4px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--warm); border: 2px solid var(--slate); }
.step.now::before { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 6px rgba(236,72,153,.18); }
.step details { background: var(--cool); border-radius: 20px; }
.step summary { list-style: none; cursor: pointer; padding: 20px 24px; display: grid; grid-template-columns: 150px 1fr 32px; gap: 18px; align-items: center; }
.step summary::-webkit-details-marker { display: none; }
.step .when { font-size: 14px; font-weight: 700; color: var(--slate-gray); }
.step h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--slate); }
.step .sub { display: block; font-family: var(--sans); font-size: 15px; color: var(--charcoal); margin-top: 4px; }
.step .plus { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--slate); position: relative; }
.step .plus::before, .step .plus::after { content: ""; position: absolute; inset: 50% 8px auto; height: 1.5px; background: var(--slate); transition: transform .25s var(--ease); }
.step .plus::after { transform: rotate(90deg); }
.step details[open] .plus::after { transform: rotate(0); }
.step details[open] summary { padding-bottom: 6px; }
.step .body { padding: 6px 24px 26px; padding-inline-start: calc(24px + 150px + 18px); display: grid; gap: 18px; }
.step .body h4 { font-size: 15px; font-weight: 700; color: var(--slate); }
.step .body ul.did { display: grid; gap: 8px; margin-top: 8px; }
.step .body ul.did li { position: relative; padding-inline-start: 20px; }
.step .body ul.did li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.gained { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gained li { background: var(--warm); border: 1px solid rgba(100,116,139,.35); border-radius: 999px; padding: 5px 13px; font-size: 14px; font-weight: 600; color: var(--slate); }

/* ---------- THINK (toggle) ---------- */
.think { background: radial-gradient(circle at 8% 25%, rgba(236,72,153,.16), transparent 40%), radial-gradient(circle at 90% -10%, rgba(130,150,168,.18), transparent 40%), var(--black); color: var(--cool); border-radius: 48px 48px 0 0; overflow: hidden; }
.quote { display: block; font: 400 140px/.6 "Newsreader", serif; color: var(--pink); height: 60px; }
.think .title { color: var(--warm); max-width: 15ch; }
.think .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.switch { display: inline-flex; background: rgba(241,245,249,.08); border-radius: 999px; padding: 5px; margin-top: 32px; }
.switch button { border: 0; background: transparent; color: var(--mist); border-radius: 999px; min-height: 46px; padding: 0 22px; font-weight: 700; font-size: 15px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--warm); color: var(--black); }
.check { display: grid; gap: 12px; }
.check li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border-radius: 18px; background: rgba(241,245,249,.06); transition: background .3s, opacity .3s; }
.check .b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--blue-gray); color: transparent; font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.check h3 { font-family: var(--serif); font-size: 24px; color: var(--warm); }
.check p { color: var(--mist); font-size: 15.5px; margin-top: 2px; }
.check li.on { background: rgba(236,72,153,.12); }
.check li.on .b { background: var(--pink); border-color: var(--pink); color: var(--black); }
.check li.off { opacity: .5; }
.verdict { margin-top: 18px; font-size: 16px; color: var(--warm); min-height: 52px; }

/* ---------- LEARNING ---------- */
.learning { background: var(--cool); }
.learning .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.card { background: var(--warm); border-radius: 28px; padding: 36px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--pink); inset-block-start: -90px; inset-inline-end: -60px; }
.card .when { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--slate); background: var(--cool); border-radius: 999px; padding: 6px 14px; }
.card h3 { font-family: var(--serif); font-size: 32px; color: var(--slate); margin-top: 18px; }
.card .co { font-weight: 700; margin-top: 2px; }
.card .practice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.card .practice li { background: var(--slate); color: var(--warm); border-radius: 999px; padding: 7px 15px; font-size: 14px; font-weight: 600; }
.card .note2 { margin-top: 22px; font-size: 15px; color: var(--slate-gray); }

/* ---------- CONTACT ---------- */
.contact { background: linear-gradient(180deg, var(--black) 0%, var(--navy) 38%, var(--navy) 100%); color: var(--cool); padding-block: 104px 48px; overflow: hidden; }
.contact .title { color: var(--warm); font-size: clamp(52px, 8.5vw, 116px); max-width: none; }
.contact .intro { color: var(--mist); }
.roles { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.roles li { border: 1.5px solid rgba(130,150,168,.55); border-radius: 999px; padding: 7px 16px; font-size: 15px; font-weight: 600; color: var(--warm); }
.reach { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.reach li { background: rgba(18,18,18,.35); border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.reach a { text-decoration: none; display: block; flex: 1; min-width: 0; }
.reach .k { display: block; font-size: 14px; font-weight: 700; color: var(--blue-gray); }
.reach .v { display: block; margin-top: 4px; font-size: 19px; color: var(--warm); word-break: break-word; }
.reach a:hover .v { color: var(--pink); }
.reach li.main { background: var(--pink); }
.reach li.main .k { color: var(--navy); }
.reach li.main .v { color: var(--black); font-weight: 700; }
.reach li.main a:hover .v { color: var(--black); text-decoration: underline; }
.copy-btn { border: 1.5px solid var(--blue-gray); background: transparent; color: var(--warm); border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.copy-btn:hover { border-color: var(--warm); }
.foot { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--blue-gray); }

/* ---------- HERO moment ---------- */
.moment { position: relative; isolation: isolate; }
.glass { position: relative; display: grid; justify-items: center; gap: 18px; padding: 40px 28px 22px; border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 30px 60px -36px rgba(31,41,55,.45), inset 0 1px 0 rgba(255,255,255,.8); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); }
.glow { position: absolute; border-radius: 50%; z-index: -1; filter: blur(14px); }
.g1 { width: 62%; aspect-ratio: 1; background: radial-gradient(circle, rgba(52,73,94,.85), rgba(130,150,168,.35) 45%, rgba(130,150,168,0) 70%); top: -8%; inset-inline-end: -10%; animation: float 22s ease-in-out infinite alternate; }
.g2 { width: 55%; aspect-ratio: 1; background: radial-gradient(circle, rgba(236,72,153,.75), rgba(236,72,153,.25) 45%, rgba(236,72,153,0) 70%); bottom: -6%; inset-inline-start: -12%; animation: float 26s ease-in-out infinite alternate-reverse; }
.stage { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin-bottom: 10px; }
.ring-draw { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); transform: rotate(-90deg); overflow: visible; }
.ring-draw circle { fill: none; stroke: var(--pink); stroke-width: .5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .ring-draw circle { stroke-dashoffset: 1; animation: draw 1.6s var(--ease) .4s forwards; }
.stage .photo { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.stage .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.feed { width: min(100%, 420px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feed .note.done { grid-column: 1 / -1; }
.note { padding: 10px 12px; grid-template-columns: 32px 1fr; gap: 10px; font-size: 13.5px; }
.note .ic { width: 32px; height: 32px; }
.moment-cap { font-size: 13px; color: var(--slate-gray); }

/* ---------- BADGES ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badges li { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 16px; background: var(--warm); border: 1px solid rgba(52,73,94,.25); font-weight: 700; color: var(--slate); font-size: 15px; box-shadow: inset 4px 0 0 var(--pink); }
html[dir="rtl"] .badges li { padding: 10px 12px 10px 18px; box-shadow: inset -4px 0 0 var(--pink); }
.badges svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--cool); color: var(--pink); flex: none; }

/* ---------- BUBBLES ---------- */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span { position: absolute; border-radius: 50%; filter: blur(2px); animation: float 22s ease-in-out infinite alternate; }
.bubbles span:nth-child(1) { width: 380px; height: 380px; background: radial-gradient(circle at 30% 30%, rgba(236,72,153,.28), rgba(236,72,153,0) 70%); top: -80px; inset-inline-end: -60px; }
.bubbles span:nth-child(2) { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, rgba(130,150,168,.35), rgba(130,150,168,0) 70%); bottom: 10%; inset-inline-start: -60px; animation-duration: 26s; }
.bubbles span:nth-child(3) { width: 90px; height: 90px; border: 1.5px solid rgba(236,72,153,.5); top: 22%; inset-inline-start: 46%; animation-duration: 18s; }
.bubbles span:nth-child(4) { width: 40px; height: 40px; background: rgba(241,245,249,.12); bottom: 18%; inset-inline-end: 22%; animation-duration: 16s; }
.bubbles span:nth-child(5) { width: 160px; height: 160px; border: 1px solid rgba(130,150,168,.35); bottom: -40px; inset-inline-end: 38%; animation-duration: 30s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 25px) scale(.95); } }

/* ---------- SCROLL REVEALS (only where asked) ---------- */
.js .situations .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d) * 120ms); }
.js .situations.in .rv { opacity: 1; transform: none; }
.js .situations .story .flow li { animation: none; }
.js .situations.in .story:not([hidden]) .flow li { animation: noteIn .55s var(--ease) both; animation-delay: calc(.6s + var(--n, 0) * .15s); }
.situations .flow li:nth-child(2) { --n: 1; }
.situations .flow li:nth-child(3) { --n: 2; }
.situations.seen .story:not([hidden]) .flow li { animation-delay: calc(var(--n, 0) * .08s) !important; }
.words .w { display: inline-block; }
.js .think .w { opacity: .12; transition: opacity .5s ease; transition-delay: calc(var(--i) * 140ms); }
.js .think.in .w { opacity: 1; }

/* ---------- hand-drawn highlight ---------- */
.brush { position: relative; display: inline-block; z-index: 0; }
.brush .stroke { position: absolute; inset-inline: -4%; bottom: -.02em; width: 108%; height: .42em; z-index: -1; overflow: visible; }
html[dir="rtl"] .brush .stroke { transform: scaleX(-1); }
.brush .stroke path { fill: none; stroke: var(--pink); stroke-opacity: .42; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.contact .brush .stroke path { stroke-opacity: .55; }
.js .brush .stroke path { stroke-dashoffset: 1; }
.js .hero .brush .stroke path { animation: draw 1s var(--ease) 2s forwards; }
.js .contact .brush .stroke path { transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.js .contact.in .brush .stroke path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .hero h1 .ph, .js .hero h1 .calm { opacity: 0; filter: blur(4px); animation: phIn .7s var(--ease) forwards; }
.js .hero h1 .ph { animation-delay: calc(.7s + var(--p) * .28s); }
.js .hero h1 .calm { animation-delay: 1.55s; }
@keyframes phIn { to { opacity: 1; filter: none; } }

/* ---------- CONTACT highlight + rings ---------- */
.c-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.c1 { width: 460px; height: 460px; border: 2px solid rgba(236,72,153,.5); top: 36px; inset-inline-end: -170px; }
.c2 { width: 200px; height: 200px; border: 1px solid rgba(130,150,168,.5); top: 110px; inset-inline-end: 170px; animation: float 20s ease-in-out infinite alternate; }
.c-glow { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(201,211,221,.24), rgba(130,150,168,.08) 70%); top: 210px; inset-inline-end: 300px; backdrop-filter: blur(2px); animation: float 24s ease-in-out infinite alternate; }
.c-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); top: 290px; inset-inline-end: 160px; animation: float 14s ease-in-out infinite alternate-reverse; }

/* ---------- CV ---------- */
.cv-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 700; font-size: 15px; color: var(--slate); text-decoration: none; border-bottom: 2px solid rgba(236,72,153,.5); padding-bottom: 3px; }
.cv-link:hover { border-bottom-color: var(--pink); color: var(--black); }
.cv-link svg { width: 18px; height: 18px; color: var(--pink); }
.reach li.cv { grid-column: 1 / -1; border: 1.5px dashed rgba(130,150,168,.55); background: transparent; }
.reach .dl { width: 22px; height: 22px; color: var(--pink); flex: none; }
.reach li.cv a:hover .v { color: var(--pink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  section { padding-block: 84px; }
  .hero .wrap, .story, .about .grid, .think .grid, .learning .grid { grid-template-columns: 1fr; }
  .hero .wrap { gap: 48px; }
  .path-grid { grid-template-columns: 1fr; gap: 36px; }
  .path .head { position: static; }
  .c2 { inset-inline-end: 40px; }
  .c-dot { inset-inline-end: 30px; }
  .bring-list { grid-template-columns: 1fr; }
  .about figure { max-width: 420px; }
  .step summary { grid-template-columns: 1fr 32px; }
  .step summary .when { grid-column: 1 / -1; }
  .step .body { padding-inline-start: 24px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  section { padding-block: 68px; }
  .hero { padding-block: 36px 72px; }

  .btn { width: 100%; }
  .reach { grid-template-columns: 1fr; }
  .feed { grid-template-columns: 1fr; }
  .glass { padding: 34px 14px 18px; border-radius: 26px; }
  .stage { width: 66%; }
  .situations { border-radius: 32px; }
  .think { border-radius: 32px 32px 0 0; }
  .ghost { font-size: 72px; }
  .c1 { width: 300px; height: 300px; top: 24px; inset-inline-end: -170px; }
  .c2 { width: 120px; height: 120px; top: 30px; }
  .c-dot { top: 150px; }
  .c-glow { width: 90px; height: 90px; top: 120px; inset-inline-end: 130px; }
  .tab { flex: 1 1 auto; }
  .card { padding: 28px 22px; }
  .flow li { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .note, .js .situations .rv, .js .think .w { opacity: 1; transform: none; }
  .js .brush .stroke path, .js .ring-draw circle { stroke-dashoffset: 0; }
  .js .sign { clip-path: none; }
  .js .hero h1 .ph, .js .hero h1 .calm { opacity: 1; filter: none; }
}
