/* =========================================================
   MHSHIEAVI — site styles. Tokens follow Brand Book v1.0.
   Logical properties throughout so FA/AR (RTL) can be added.
   ========================================================= */
@font-face {
  font-family: "Darker Grotesque";
  src: url("/fonts/DarkerGrotesque-VF.woff") format("woff"), url("/fonts/DarkerGrotesque-VF.ttf") format("truetype");
  font-weight: 300 900; font-display: swap;
}
:root {
  --ink: #2B2D42; --ink-2: #23253a; --slate: #8D99AE; --cloud: #EDF2F4; --white: #fff; --root: #D90429; --signal: #EF233C;
  --line: rgba(43,45,66,.14); --line-strong: rgba(43,45,66,.32); --line-d: rgba(237,242,244,.14);
  --muted: rgba(43,45,66,.68); --muted-d: rgba(237,242,244,.66);
  --font: "Darker Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.65,0,.35,1); --ease-out: cubic-bezier(.22,1,.36,1);
  --m: clamp(20px, 5.2vw, 120px); --gap: clamp(16px, 2vw, 32px); --maxw: 1680px; --header-h: 76px;
  --t-display: clamp(3.4rem, 9.2vw, 10.5rem); --t-h1: clamp(2.9rem, 6.4vw, 7rem); --t-h2: clamp(2.3rem, 4.6vw, 4.75rem);
  --t-h3: clamp(1.6rem, 2.3vw, 2.4rem); --t-lead: clamp(1.45rem, 2vw, 2.05rem); --t-body: clamp(1.18rem, 1.28vw, 1.38rem); --t-label: .82rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--cloud); color: var(--ink); font-family: var(--font); font-size: var(--t-body); font-weight: 450; line-height: 1.32; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--root); color: var(--cloud); }
:focus-visible { outline: 2px solid var(--root); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--cloud); padding: 10px 16px; border-radius: 30px; font-weight: 700; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* type */
.display { font-size: var(--t-display); font-weight: 300; line-height: .86; letter-spacing: -.025em; margin: 0; }
.h1 { font-size: var(--t-h1); font-weight: 300; line-height: .9; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h2 { font-size: var(--t-h2); font-weight: 300; line-height: .95; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.04; margin: 0; text-wrap: balance; }
.lead { font-size: var(--t-lead); font-weight: 400; line-height: 1.16; margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-d); }
.label { font-size: var(--t-label); font-weight: 750; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: var(--t-label); font-weight: 750; letter-spacing: .22em; text-transform: uppercase; color: var(--root); }
.dark .eyebrow { color: var(--signal); }
.red-bg .eyebrow { color: var(--cloud); }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); border-radius: 2px; flex: none; }
.red { color: var(--root); }
.dark .red { color: var(--signal); }

/* layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--m); }
.section { padding-block: clamp(88px, 12vw, 200px); position: relative; }
.dark { background: var(--ink); color: var(--cloud); }
.red-bg { background: var(--root); color: var(--cloud); }
.white-bg { background: var(--white); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head .h2 { max-width: 16ch; }
.sec-head .side { max-width: 42ch; color: var(--muted); font-weight: 500; }
.dark .sec-head .side { color: var(--muted-d); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { background: rgba(237,242,244,.84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.site-header.dark-hdr { color: var(--cloud); }
.site-header.dark-hdr.scrolled { background: rgba(43,45,66,.84); box-shadow: 0 1px 0 var(--line-d); }
.brand { display: flex; align-items: center; height: 44px; }
.brand svg { height: 25px; width: auto; }
.wm path { fill: currentColor; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; font-size: 1.14rem; font-weight: 600; padding-block: 10px; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; inset-inline-start: -13px; top: 50%; width: 6px; height: 6px; background: var(--root); transform: translateY(-50%) rotate(45deg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px 2px; border-radius: 999px; font-weight: 700; font-size: 1.12rem; border: 0; cursor: pointer; transition-property: transform, background-color, color, box-shadow; transition-duration: .25s; transition-timing-function: var(--ease-out); white-space: nowrap; text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn-ink { background: var(--ink); color: var(--cloud); }
.btn-ink:hover { background: var(--root); }
.btn-cloud { background: var(--cloud); color: var(--ink); }
.btn-cloud:hover { background: var(--white); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cloud); box-shadow: inset 0 0 0 1.5px var(--ink); }
.dark .btn-ghost:hover, .red-bg .btn-ghost:hover { background: var(--cloud); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--cloud); }
.btn .chev { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .chev { transform: translateX(3px); }
.nav .btn { min-height: 42px; padding-inline: 20px; font-size: 1.05rem; }
.dark-hdr .nav .btn-ink { background: var(--cloud); color: var(--ink); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; inset-inline: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; } .menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--cloud); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 24px) var(--m) 36px; clip-path: circle(0% at calc(100% - 44px) 34px); transition: clip-path .7s var(--ease), visibility 0s .7s; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-menu a.big { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.6rem, 11vw, 4.4rem); font-weight: 300; line-height: 1.1; padding-block: 6px; border-bottom: 1.5px solid var(--line-d); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.mobile-menu a.big small { font-size: .9rem; font-weight: 750; color: var(--signal); letter-spacing: .1em; }
.menu-open .mobile-menu a.big { opacity: 1; transform: none; }
.menu-open .mobile-menu a.big:nth-child(2) { transition-delay: .05s } .menu-open .mobile-menu a.big:nth-child(3) { transition-delay: .1s } .menu-open .mobile-menu a.big:nth-child(4) { transition-delay: .15s } .menu-open .mobile-menu a.big:nth-child(5) { transition-delay: .2s } .menu-open .mobile-menu a.big:nth-child(6) { transition-delay: .25s }
.mobile-menu .meta { margin-top: 26px; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--muted-d); flex-wrap: wrap; }
.menu-open .site-header { color: var(--cloud); background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open { overflow: hidden; }
@media (max-width: 900px) { :root { --header-h: 64px; } .nav { display: none; } .menu-toggle { display: block; } .brand svg { height: 21px; } }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }
.no-js .rv { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; filter: none; transition: none; } }

/* ============ HERO TREE ============ */
.hero-tree { position: relative; height: 560vh; background: var(--cloud); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-intro { position: absolute; inset-inline: var(--m); top: calc(var(--header-h) + clamp(14px, 3vh, 40px)); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; pointer-events: none; z-index: 3; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.hero-intro .who { max-width: 560px; font-size: 1.14rem; line-height: 1.3; }
.hero-intro .who strong { display: block; font-weight: 700; }
.hero-intro .who span { color: var(--muted); font-weight: 550; }
.hero-intro .loc { text-align: end; color: var(--muted); font-weight: 600; font-size: 1.04rem; line-height: 1.3; }
.hero-title { position: absolute; left: 50%; bottom: clamp(36px, 8vh, 100px); transform: translateX(-50%); text-align: center; width: min(94vw, 1200px); pointer-events: none; z-index: 3; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); }
.hero-title .display em { font-style: normal; color: var(--root); }
.scroll-hint { margin-top: clamp(16px, 3vh, 30px); display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 750; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1.5px; height: 44px; background: linear-gradient(var(--line-strong), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--root); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.hero-tree.p-started .hero-title { opacity: 0; transform: translate(-50%, 24px); filter: blur(8px); }
.hero-tree.p-started .hero-intro { opacity: 0; transform: translateY(-12px); }
.chapters { position: absolute; inset-inline-start: var(--m); top: calc(var(--header-h) + 7vh); width: min(380px, 29vw); z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease-out); }
.hero-tree.p-started .chapters { opacity: 1; }
.hero-tree.p-done .chapters { opacity: 0; }
.chapter { display: grid; grid-template-columns: 34px 1fr; padding-block: 9px; color: var(--muted); }
.chapter .n { font-weight: 800; font-size: .82rem; letter-spacing: .12em; padding-top: 5px; transition: color .4s var(--ease); }
.chapter .t { font-size: 1.14rem; font-weight: 650; line-height: 1.1; transition: font-size .55s var(--ease), font-weight .55s var(--ease); text-shadow: 0 0 20px var(--cloud), 0 0 8px var(--cloud), 0 0 3px var(--cloud); }
.chapter .d { grid-column: 2; font-size: 1.14rem; line-height: 1.3; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s var(--ease), padding .6s var(--ease); font-weight: 550; text-shadow: 0 0 16px var(--cloud), 0 0 6px var(--cloud); color: var(--ink); }
.chapter.on { color: var(--ink); }
.chapter.on .n { color: var(--root); }
.chapter.on .t { font-size: clamp(1.9rem, 2.6vw, 2.8rem); font-weight: 300; }
.chapter.on .d { max-height: 170px; opacity: .85; padding-top: 10px; }
.growth-meter { position: absolute; inset-inline-end: var(--m); top: calc(var(--header-h) + 8vh); height: 28vh; width: 140px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease-out); }
.hero-tree.p-started .growth-meter { opacity: 1; }
.hero-tree.p-done .growth-meter { opacity: 0; }
.growth-meter .track, .growth-meter .fill { position: absolute; inset-inline-end: 0; width: 1.5px; bottom: 0; }
.growth-meter .track { top: 0; background: var(--line-strong); }
.growth-meter .fill { background: var(--root); height: 0; }
.growth-meter .knob { position: absolute; inset-inline-end: -5px; width: 11px; height: 11px; background: var(--root); transform: rotate(45deg); border-radius: 2px; bottom: 0; margin-bottom: -5px; }
.growth-meter .val { position: absolute; inset-inline-end: 22px; bottom: 0; transform: translateY(50%); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tree-nodes { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.tnode { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out); }
.tnode.show { opacity: 1; pointer-events: auto; transition: opacity .7s var(--ease-out); }
.tnode.page { display: block; padding: 10px 14px 12px; border-radius: 10px; }
.tnode.page::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(237,242,244,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: -1; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.tnode.page .n { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; color: var(--root); }
.tnode.page .t { display: block; font-size: clamp(1.75rem, 2.3vw, 2.55rem); font-weight: 300; line-height: 1; margin-top: 3px; letter-spacing: -.01em; transition: color .3s var(--ease); white-space: nowrap; }
.tnode.page .s { display: block; font-size: 1rem; font-weight: 600; color: var(--muted); margin-top: 6px; width: 200px; line-height: 1.2; }
.tnode.page:hover::before, .tnode.page:focus-visible::before, .tnode.page.hot::before { background: var(--white); box-shadow: 0 18px 40px rgba(43,45,66,.16); }
.tnode.page:hover .t, .tnode.page.hot .t, .tnode.page:focus-visible .t { color: var(--root); }
.tnode.page .go { position: absolute; inset-inline-end: 10px; top: 10px; width: 16px; height: 16px; color: var(--root); opacity: 0; transform: translate(-5px, 5px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.tnode.page:hover .go, .tnode.page.hot .go, .tnode.page:focus-visible .go { opacity: 1; transform: none; }
.tnode.page { padding-inline-end: 34px; }
.tnode.end { text-align: end; padding-inline-end: 14px; padding-inline-start: 34px; }
.tnode.end .go { inset-inline-end: auto; inset-inline-start: 10px; transform: translate(5px, 5px) scaleX(-1); }
.tnode.end:hover .go, .tnode.end.hot .go { transform: scaleX(-1); }
.tnode.end .s { margin-inline-start: auto; }
.tnode.rootl { color: var(--cloud); font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 6px 8px; white-space: nowrap; transition: opacity .7s var(--ease-out), color .25s var(--ease); }
.tnode.rootl:hover, .tnode.rootl:focus-visible { color: var(--signal); }
.hero-final { position: absolute; left: 50%; bottom: clamp(16px, 3vh, 36px); transform: translate(-50%, 16px); text-align: center; color: var(--cloud); z-index: 3; opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); width: min(92vw, 900px); pointer-events: none; }
.hero-tree.p-done .hero-final { opacity: 1; transform: translate(-50%, 0); }
.hero-final .line { font-size: clamp(1.2rem, 1.8vw, 1.85rem); font-weight: 300; line-height: 1.1; }
.hero-final .hint { margin-top: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.mobile-caption { display: none; }
@media (max-width: 900px) {
  .hero-tree { height: 470vh; }
  .chapters, .growth-meter { display: none; }
  .mobile-caption { display: block; position: absolute; inset-inline: var(--m); top: calc(var(--header-h) + 6px); z-index: 3; pointer-events: none; text-align: center; opacity: 0; transition: opacity .5s var(--ease-out); }
  .hero-tree.p-started .mobile-caption { opacity: 1; }
  .hero-tree.p-done .mobile-caption { opacity: 0; }
  .mobile-caption .n { font-weight: 800; font-size: .74rem; letter-spacing: .18em; color: var(--root); }
  .mobile-caption .t { font-size: 1.55rem; font-weight: 300; line-height: 1.08; margin-top: 4px; text-shadow: 0 0 14px var(--cloud), 0 0 4px var(--cloud); transition: opacity .3s; }
  .tnode.page { padding: 5px 8px 7px; }
  .tnode.page .t { font-size: 1.3rem; }
  .tnode.page .s { display: none; }
  .tnode.page .n { font-size: .64rem; }
  .tnode.rootl { font-size: .6rem; letter-spacing: .14em; padding: 4px; }
  .hero-intro .loc { display: none; }
  .hero-intro .who { font-size: 1.04rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-tree { height: 100vh; height: 100svh; } }

/* ============ HOME ============ */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; }
.intro .txt { grid-column: 1 / span 7; }
.intro .pic { grid-column: 9 / span 4; margin: 0; }
.intro .pic img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: 6px; }
.intro .pic figcaption { margin-top: 14px; font-size: 1rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); margin-top: clamp(48px, 7vw, 110px); }
.fact { border-top: 1.5px solid var(--line); padding-top: 18px; }
.fact b { display: block; font-size: clamp(2.6rem, 4.4vw, 4.6rem); font-weight: 300; line-height: .9; letter-spacing: -.02em; }
.fact > span { display: block; margin-top: 10px; font-size: 1.06rem; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) { .intro .txt, .intro .pic { grid-column: 1 / -1; } .intro .pic { margin-top: 40px; max-width: 420px; } .facts { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; } }
.question { overflow: hidden; }
.question .q { font-size: clamp(2.6rem, 6.6vw, 7.4rem); font-weight: 300; line-height: .92; letter-spacing: -.02em; margin: 26px 0 0; max-width: 15ch; text-wrap: balance; position: relative; z-index: 1; }
.answer-box { margin-top: clamp(40px, 6vw, 80px); max-width: 1100px; position: relative; z-index: 1; }
.answer-box textarea, .answer-box input { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(237,242,244,.5); color: var(--cloud); border-radius: 0; transition: border-color .3s var(--ease); }
.answer-box textarea { min-height: 64px; resize: vertical; font-size: clamp(1.3rem, 2vw, 1.9rem); padding: 10px 0 14px; line-height: 1.25; }
.answer-box input { font-size: 1.18rem; padding: 10px 0; max-width: 380px; }
.answer-box ::placeholder { color: rgba(237,242,244,.66); }
.answer-box textarea:focus, .answer-box input:focus { outline: none; border-bottom-color: var(--cloud); }
.answer-box .row2 { display: flex; gap: 18px 24px; flex-wrap: wrap; align-items: end; margin-top: 18px; }
.answer-note { font-size: 1.02rem; font-weight: 550; color: rgba(237,242,244,.8); margin-top: 18px; }
.q-bg { position: absolute; inset-inline-end: -6vw; top: 50%; transform: translateY(-50%); width: min(58vw, 860px); opacity: .09; pointer-events: none; }
.svc-split { margin-top: clamp(48px, 6vw, 90px); }
.svc-band { display: grid; grid-template-columns: 200px repeat(4, minmax(0,1fr)); gap: var(--gap); }
.svc-band .tag { padding-top: 22px; }
.svc-band .tag b { display: block; font-size: 1.7rem; font-weight: 300; line-height: 1; margin-top: 10px; }
.svc-band .tag small { display: block; margin-top: 8px; font-size: 1rem; font-weight: 550; color: var(--muted); line-height: 1.25; }
.svc-item { position: relative; padding: 22px 22px 26px; border-radius: 8px; min-height: 230px; display: flex; flex-direction: column; transition: background-color .35s var(--ease), transform .35s var(--ease-out), box-shadow .35s var(--ease); background: rgba(255,255,255,.5); }
.svc-item:hover { background: var(--white); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,45,66,.08); }
.svc-item .n { font-weight: 800; font-size: .78rem; letter-spacing: .16em; color: var(--root); }
.svc-item h3 { font-size: clamp(1.45rem, 1.8vw, 1.95rem); font-weight: 400; line-height: 1.02; margin: 14px 0 0; text-wrap: balance; }
.svc-item p { margin: auto 0 0; padding-top: 16px; font-size: 1.04rem; line-height: 1.28; color: var(--muted); font-weight: 550; }
.svc-item .chev { position: absolute; inset-inline-end: 18px; top: 18px; width: 20px; height: 20px; color: var(--root); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.svc-item:hover .chev { opacity: 1; transform: none; }
.svc-ground { position: relative; height: 2px; background: var(--ink); margin-block: clamp(22px, 3vw, 40px); }
.svc-ground .node { position: absolute; top: 1px; left: 100px; width: 14px; height: 14px; background: var(--root); transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; }
.svc-roots .svc-item { background: var(--ink); color: var(--cloud); }
.svc-roots .svc-item p { color: var(--muted-d); }
.svc-roots .svc-item .n, .svc-roots .svc-item .chev { color: var(--signal); }
.svc-roots .svc-item:hover { background: var(--ink-2); }
@media (max-width: 1100px) { .svc-band { grid-template-columns: repeat(2, minmax(0,1fr)); } .svc-band .tag { grid-column: 1 / -1; padding-top: 0; } .svc-item { min-height: 190px; } .svc-ground .node { left: 7px; } }
@media (max-width: 560px) { .svc-band { grid-template-columns: 1fr; } .svc-item { min-height: 0; } }
.rail { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: clamp(36px, 4vw, 60px) var(--m) 24px; margin-inline: calc(var(--m) * -1); scrollbar-width: none; cursor: grab; scroll-padding-inline: var(--m); }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging a { pointer-events: none; }
.wcard { flex: 0 0 clamp(290px, 40vw, 660px); scroll-snap-align: start; display: block; }
.wcard .img { position: relative; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: var(--ink-2); }
.wcard .img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease-out); }
.wcard:hover .img img { transform: scale(1.07); }
.wcard .img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.wcard .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.wcard h3 { font-size: clamp(1.5rem, 2vw, 2.1rem); font-weight: 400; margin: 0; line-height: 1; }
.wcard .cat { font-size: .8rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wcard p { margin: 8px 0 0; font-size: 1.06rem; color: var(--muted); font-weight: 550; }
.dark .wcard .cat, .dark .wcard p { color: var(--muted-d); }
.rail-ctrl { display: flex; gap: 10px; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease-out); }
.icon-btn:hover { background: var(--cloud); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 22px; height: 22px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 90px); position: relative; }
.process::before { content: ""; position: absolute; inset-inline: 0; top: 30px; height: 1.5px; background: var(--line-strong); }
.step { position: relative; padding-top: 70px; }
.mark { position: absolute; top: 18px; inset-inline-start: 0; width: 24px; height: 24px; }
.mark::before, .mark::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.mark::before { left: 11px; top: 0; bottom: 0; width: 2px; } .mark::after { top: 11px; left: 0; right: 0; height: 2px; }
.mark i { position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; background: var(--root); transform: rotate(45deg); border-radius: 2px; z-index: 1; box-shadow: 0 0 0 4px var(--cloud); }
.step .n { font-weight: 800; font-size: .78rem; letter-spacing: .16em; color: var(--root); }
.step h3 { font-size: clamp(1.8rem, 2.5vw, 2.6rem); font-weight: 300; margin: 8px 0 0; line-height: 1; }
.step p { margin: 14px 0 0; color: var(--muted); font-weight: 550; font-size: 1.1rem; line-height: 1.32; max-width: 32ch; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; row-gap: 40px; } .process::before { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }
.posts { margin-top: clamp(36px, 5vw, 70px); }
.post-row { display: grid; grid-template-columns: 70px 210px minmax(0,1fr) 130px 30px; gap: var(--gap); align-items: baseline; padding-block: 26px; border-top: 1.5px solid var(--line); position: relative; }
.post-row:last-child { border-bottom: 1.5px solid var(--line); }
.post-row::before { content: ""; position: absolute; inset-inline-start: 0; top: -1.5px; height: 1.5px; width: 100%; background: var(--root); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
a.post-row:hover::before { transform: scaleX(1); }
.post-row .no { font-weight: 750; font-size: .9rem; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-row .pillar { font-weight: 750; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--root); }
.post-row h3 { font-size: clamp(1.45rem, 2.1vw, 2.2rem); font-weight: 400; margin: 0; line-height: 1.05; transition: transform .45s var(--ease-out); }
a.post-row:hover h3 { transform: translateX(8px); }
.post-row .sum { display: block; margin-top: 8px; color: var(--muted); font-size: 1.08rem; font-weight: 550; max-width: 70ch; }
.post-row .date { font-weight: 650; font-size: 1rem; color: var(--muted); text-align: end; font-variant-numeric: tabular-nums; }
.post-row .arr { width: 22px; height: 22px; color: var(--root); opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
a.post-row:hover .arr { opacity: 1; transform: none; }
.post-row.seed h3 { color: var(--muted); font-weight: 300; }
.post-row.seed .pillar { color: var(--slate); }
@media (max-width: 900px) { .post-row { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; } .post-row .no, .post-row .arr { display: none; } .post-row .date { text-align: start; } }
.cta-band { text-align: center; }
.cta-band .h1 { max-width: 13ch; margin-inline: auto; }
.cta-band .actions { margin-top: 44px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--ink); color: var(--cloud); padding-block: clamp(70px, 9vw, 130px) 30px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); }
.foot-top .big { grid-column: 1 / span 6; }
.foot-top .big .h2 a { border-bottom: 1.5px solid rgba(237,242,244,.3); transition: border-color .3s var(--ease), color .3s var(--ease); }
.foot-top .big .h2 a:hover { color: var(--signal); border-color: var(--signal); }
.foot-col { grid-column: span 2; }
.foot-col h4 { margin: 0 0 16px; font-size: .78rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.foot-col a, .foot-col span { display: block; padding-block: 5px; font-size: 1.14rem; font-weight: 550; width: fit-content; transition: color .25s var(--ease); }
.foot-col a:hover { color: var(--signal); }
.foot-lock { margin-top: clamp(70px, 10vw, 150px); }
.foot-lock svg { width: 100%; height: auto; }
.foot-bottom { margin-top: 26px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 1rem; font-weight: 600; color: var(--muted-d); }
.foot-bottom .clock { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .foot-top .big { grid-column: 1 / -1; margin-bottom: 30px; } .foot-col { grid-column: span 6; margin-bottom: 20px; } }

/* ============ INNER PAGES ============ */
.page-hero { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 150px)); padding-bottom: clamp(50px, 7vw, 110px); }
.page-hero .h1 { max-width: 15ch; margin-top: 22px; }
.page-hero .lead { max-width: 40ch; margin-top: clamp(22px, 3vw, 40px); color: var(--muted); }
.dark .page-hero .lead { color: var(--muted-d); }
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); }
.about-photo { grid-column: 8 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 30px); margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; border-radius: 6px; }
.about-photo figcaption { margin-top: 12px; font-weight: 600; color: var(--muted); font-size: 1rem; }
.about-story { grid-column: 1 / span 6; grid-row: 1; }
.about-story p { font-size: clamp(1.28rem, 1.55vw, 1.58rem); line-height: 1.36; margin: 0 0 1em; text-wrap: pretty; }
.about-story p.first { font-size: clamp(1.75rem, 2.5vw, 2.6rem); font-weight: 300; line-height: 1.12; }
@media (max-width: 900px) { .about-photo { grid-column: 1 / -1; position: relative; top: 0; max-width: 460px; grid-row: 1; } .about-story { grid-column: 1 / -1; grid-row: 2; margin-top: 40px; } }
.timeline { margin-top: clamp(40px, 5vw, 80px); }
.tl-row { display: grid; grid-template-columns: 210px minmax(0,1fr) minmax(0,1.2fr); gap: var(--gap); padding-block: 28px; border-top: 1.5px solid var(--line-d); align-items: baseline; }
.tl-row:last-child { border-bottom: 1.5px solid var(--line-d); }
.tl-row .yr { font-weight: 700; font-size: 1.06rem; letter-spacing: .06em; color: var(--muted-d); font-variant-numeric: tabular-nums; }
.tl-row .role { font-size: clamp(1.45rem, 2vw, 2.15rem); font-weight: 400; line-height: 1.05; }
.tl-row .org { display: block; font-size: .86rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-top: 10px; }
.tl-row p { margin: 0; color: var(--muted-d); font-weight: 550; font-size: 1.12rem; line-height: 1.36; }
@media (max-width: 900px) { .tl-row { grid-template-columns: 1fr; gap: 8px; } }
.traits { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 70px); }
.trait { background: var(--white); border-radius: 8px; padding: 26px 22px 22px; min-height: 290px; display: flex; flex-direction: column; }
.trait .n { font-weight: 800; font-size: .78rem; letter-spacing: .16em; color: var(--root); }
.trait h3 { font-size: 1.95rem; font-weight: 400; margin: 14px 0 0; line-height: 1; }
.trait p { margin: 12px 0 18px; color: var(--muted); font-weight: 550; font-size: 1.07rem; line-height: 1.3; flex: 1; }
.trait .not { border-top: 1.5px solid var(--line); padding-top: 12px; font-weight: 650; font-size: 1.02rem; }
.trait .not b { color: var(--root); font-weight: 800; }
@media (max-width: 1100px) { .traits { grid-template-columns: repeat(2, minmax(0,1fr)); } .trait { min-height: 0; } }
@media (max-width: 520px) { .traits { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 var(--gap); margin-top: clamp(40px, 5vw, 70px); }
.value { border-top: 1.5px solid var(--line-d); padding: 24px 0 34px; }
.value h3 { font-size: 1.85rem; font-weight: 400; margin: 0; line-height: 1; }
.value p { margin: 10px 0 0; color: var(--muted-d); font-weight: 550; font-size: 1.08rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.brands { display: flex; flex-wrap: wrap; gap: 10px 44px; margin-top: 30px; align-items: baseline; }
.brands span { font-size: clamp(1.9rem, 3.2vw, 3.2rem); font-weight: 300; letter-spacing: -.01em; }
.brands span:nth-child(even) { color: var(--slate); }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 2px; border-radius: 999px; font-weight: 650; font-size: 1.06rem; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.dark .pill { box-shadow: inset 0 0 0 1.5px var(--line-d); }
.pill.on { background: var(--ink); color: var(--cloud); box-shadow: none; }
.svc-detail { display: grid; grid-template-columns: 90px minmax(0,1.1fr) minmax(0,1fr) minmax(0,.9fr); gap: var(--gap); padding-block: clamp(34px, 4vw, 56px); border-top: 1.5px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.dark .svc-detail { border-top-color: var(--line-d); }
.svc-detail .n { font-weight: 800; font-size: .84rem; letter-spacing: .16em; color: var(--root); padding-top: 12px; }
.dark .svc-detail .n { color: var(--signal); }
.svc-detail h3 { font-size: clamp(1.9rem, 3vw, 3.1rem); font-weight: 300; line-height: .98; margin: 0; text-wrap: balance; }
.svc-detail .q { margin-top: 18px; font-size: 1.2rem; font-weight: 650; line-height: 1.25; }
.svc-detail p { margin: 0; font-size: 1.17rem; line-height: 1.4; }
.svc-detail ul { list-style: none; margin: 0; padding: 0; }
.svc-detail li { display: flex; gap: 12px; padding: 8px 0; font-size: 1.08rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.dark .svc-detail li { border-bottom-color: var(--line-d); }
.svc-detail li::before { content: ""; width: 7px; height: 7px; background: var(--root); transform: translateY(9px) rotate(45deg); flex: none; border-radius: 1px; }
.dark .svc-detail li::before { background: var(--signal); }
.svc-detail .ask { margin-top: 22px; }
@media (max-width: 1100px) { .svc-detail { grid-template-columns: 60px 1fr; } .svc-detail > :nth-child(3), .svc-detail > :nth-child(4) { grid-column: 2; } }
@media (max-width: 560px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail > * { grid-column: 1 !important; } }
.formats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 60px); }
.format { border-radius: 8px; padding: 30px 28px; background: var(--white); }
.format h3 { margin: 14px 0 0; font-size: 2rem; font-weight: 300; line-height: 1; }
.format p { margin: 14px 0 0; color: var(--muted); font-weight: 550; font-size: 1.1rem; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr; } }
.faq { margin-top: clamp(30px, 4vw, 60px); max-width: 1100px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: clamp(1.3rem, 1.8vw, 1.85rem); font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 22px; height: 22px; position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: var(--root); border-radius: 2px; }
.faq summary i::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq summary i::after { top: 0; bottom: 0; left: 10px; width: 2px; transition: transform .35s var(--ease); }
.faq details[open] summary i::after { transform: scaleY(0); }
.faq .a { padding: 0 0 26px; max-width: 70ch; color: var(--muted); font-weight: 550; font-size: 1.15rem; line-height: 1.42; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.filters button, .chip { height: 44px; padding: 0 20px 2px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 650; font-size: 1.05rem; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.filters button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cloud); box-shadow: none; }
.filters sup { font-size: .7rem; font-weight: 800; margin-inline-start: 4px; opacity: .6; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(40px, 4.4vw, 70px) var(--gap); margin-top: clamp(40px, 5vw, 70px); }
.work-grid .wcard { flex: none; grid-column: span 6; }
.work-grid .wcard:nth-child(3n+1) { grid-column: span 7; }
.work-grid .wcard:nth-child(3n+2) { grid-column: span 5; margin-top: clamp(40px, 8vw, 140px); }
.work-grid .wcard:nth-child(3n) { grid-column: 3 / span 8; }
.work-grid .wcard.hide { display: none; }
.work-grid.filtered .wcard { grid-column: span 6 !important; margin-top: 0 !important; }
@media (max-width: 900px) { .work-grid .wcard { grid-column: 1 / -1 !important; margin-top: 0 !important; } }
.case-hero { padding-top: calc(var(--header-h) + clamp(50px, 7vw, 110px)); }
.case-hero .h1 { margin-top: 20px; }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); margin-top: clamp(36px, 4vw, 64px); }
.case-meta div { border-top: 1.5px solid var(--line); padding-top: 14px; }
.case-meta b { display: block; font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.case-meta span { display: block; margin-top: 8px; font-size: 1.2rem; font-weight: 600; }
@media (max-width: 700px) { .case-meta { grid-template-columns: 1fr 1fr; } }
.case-cover { margin-top: clamp(40px, 5vw, 80px); border-radius: 8px; overflow: hidden; }
.case-cover img { width: 100%; height: auto; }
.case-body { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); margin-top: clamp(56px, 7vw, 120px); }
.case-body .side { grid-column: 1 / span 4; }
.case-body .txt { grid-column: 6 / span 7; }
@media (max-width: 900px) { .case-body .side, .case-body .txt { grid-column: 1 / -1; } }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); margin-top: clamp(56px, 7vw, 120px); }
.gallery figure { margin: 0; grid-column: 1 / -1; }
.gallery figure.half { grid-column: span 6; }
.gallery img { width: 100%; height: auto; border-radius: 8px; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-weight: 550; font-size: 1rem; }
@media (max-width: 700px) { .gallery figure.half { grid-column: 1 / -1; } }
.next-case { display: block; padding-block: clamp(70px, 10vw, 160px); text-align: center; }
.next-case .label { color: var(--muted-d); }
.next-case .h1 { margin: 14px auto 0; transition: color .3s var(--ease); }
.next-case:hover .h1 { color: var(--signal); }
.prose { font-size: clamp(1.24rem, 1.42vw, 1.48rem); line-height: 1.5; }
.prose > * { margin: 0 0 1.05em; }
.prose h2 { font-size: clamp(1.9rem, 2.6vw, 2.6rem); font-weight: 400; line-height: 1.05; margin: 1.8em 0 .55em; }
.prose h3 { font-size: clamp(1.45rem, 1.9vw, 1.9rem); font-weight: 650; line-height: 1.1; margin: 1.5em 0 .5em; }
.prose a { color: var(--root); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose strong { font-weight: 750; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--root); }
.prose blockquote { margin: 1.6em 0; padding: .1em 0 .1em 1em; border-inline-start: 3px solid var(--root); font-size: 1.2em; line-height: 1.3; }
.prose hr { border: 0; height: 1.5px; background: var(--line); margin: 2.4em 0; }
.prose em { font-style: normal; color: var(--muted); }
.view-toggle { display: inline-flex; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); gap: 4px; margin-top: 34px; }
.view-toggle button { border: 0; background: transparent; height: 42px; padding: 0 22px 2px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cloud); }
.atlas-wrap { position: relative; margin-top: clamp(30px, 4vw, 50px); background: var(--ink); color: var(--cloud); border-radius: 12px; overflow: hidden; }
.atlas-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line-d); flex-wrap: wrap; }
.atlas-top .ttl { font-size: 1.5rem; font-weight: 300; }
.atlas-top .ttl small { display: block; font-size: .95rem; font-weight: 600; color: var(--muted-d); margin-top: 2px; }
.atlas-search { background: rgba(237,242,244,.06); border: 0; border-radius: 999px; height: 44px; padding: 0 20px 2px; min-width: min(320px, 100%); color: var(--cloud); box-shadow: inset 0 0 0 1px var(--line-d); font-size: 1.05rem; }
.atlas-search::placeholder { color: var(--muted-d); }
.atlas-search:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--cloud); }
.atlas-stage { position: relative; }
.atlas-svg { width: 100%; height: auto; display: block; }
.atlas-svg .edge { stroke: rgba(237,242,244,.2); stroke-width: 1.2; fill: none; transition: stroke .3s var(--ease), opacity .3s var(--ease); }
.atlas-svg .edge.tag { stroke-dasharray: 2 6; stroke: rgba(141,153,174,.4); }
.atlas-svg .edge.hot { stroke: var(--signal); opacity: 1; }
.atlas-svg .dim { opacity: .12; }
.atlas-svg .node { cursor: pointer; transition: opacity .3s var(--ease); outline: none; }
.atlas-svg text { fill: var(--cloud); font-family: var(--font); font-weight: 600; pointer-events: none; }
.atlas-svg .pillar text { font-weight: 800; letter-spacing: .16em; }
.atlas-svg .seed text { fill: var(--slate); font-weight: 500; }
.atlas-svg .ring { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transition: opacity .3s var(--ease); }
.atlas-svg .node:hover .ring, .atlas-svg .node.hot .ring, .atlas-svg .node:focus-visible .ring { opacity: 1; }
.atlas-svg .post:hover .dot, .atlas-svg .post.hot .dot { fill: var(--signal); }
.atlas-card { position: absolute; z-index: 5; width: min(340px, 78vw); background: var(--cloud); color: var(--ink); border-radius: 10px; padding: 18px 20px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.3); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.atlas-card.show { opacity: 1; transform: none; }
.atlas-card .k { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--root); }
.atlas-card h4 { margin: 8px 0 0; font-size: 1.5rem; font-weight: 400; line-height: 1.02; }
.atlas-card p { margin: 8px 0 0; font-size: 1.02rem; color: var(--muted); font-weight: 550; line-height: 1.3; }
.atlas-foot { display: flex; justify-content: space-between; gap: 14px 24px; padding: 18px 24px 20px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-weight: 600; font-size: 1rem; flex-wrap: wrap; align-items: center; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-post { width: 10px; height: 10px; background: var(--cloud); border-radius: 50%; }
.lg-seed { width: 9px; height: 9px; box-shadow: inset 0 0 0 1.5px var(--slate); transform: rotate(45deg); }
.lg-pillar { width: 10px; height: 10px; background: var(--signal); transform: rotate(45deg); border-radius: 2px; }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 0; }
.pillar-chips button { height: 36px; padding: 0 14px 2px; border-radius: 999px; border: 0; background: rgba(237,242,244,.06); color: var(--cloud); font-weight: 650; font-size: .98rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-d); transition: background-color .25s var(--ease); }
.pillar-chips button[aria-pressed="true"] { background: var(--signal); box-shadow: none; }
.post-hero { padding-top: calc(var(--header-h) + clamp(50px, 7vw, 120px)); }
.post-hero .h1 { max-width: 17ch; margin-top: 22px; }
.post-meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 28px; font-weight: 650; color: var(--muted); font-size: 1.06rem; }
.post-body { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); margin-top: clamp(50px, 6vw, 100px); }
.post-body .prose { grid-column: 3 / span 7; }
.post-body aside { grid-column: 10 / span 3; }
.post-body aside .sticky { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 1100px) { .post-body .prose { grid-column: 1 / span 9; } }
@media (max-width: 900px) { .post-body .prose, .post-body aside { grid-column: 1 / -1; } }
.read-line { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-line i { display: block; height: 100%; background: var(--root); transform: scaleX(0); transform-origin: left; }
.leave-q { margin-top: 2.2em; padding: 32px 34px; background: var(--ink); color: var(--cloud); border-radius: 10px; }
.leave-q .label { color: var(--signal); }
.leave-q p { font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 300; line-height: 1.1; margin: 12px 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { font-size: .96rem; font-weight: 650; padding: 4px 12px 6px; border-radius: 999px; box-shadow: inset 0 0 0 1.2px var(--line-strong); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); }
.contact-form { grid-column: 1 / span 7; }
.contact-side { grid-column: 9 / span 4; }
@media (max-width: 900px) { .contact-form, .contact-side { grid-column: 1 / -1; } .contact-side { margin-top: 50px; } }
.field { margin-bottom: 28px; }
.field label { display: block; font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line-strong); padding: 10px 0 12px; font-size: clamp(1.25rem, 1.6vw, 1.55rem); border-radius: 0; transition: border-color .3s var(--ease); -webkit-appearance: none; appearance: none; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23D90429' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 20px; padding-inline-end: 30px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.3; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field .err { display: none; color: var(--root); font-weight: 650; font-size: .96rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--root); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; font-weight: 650; font-size: 1.1rem; min-height: 1.5em; }
.form-status.err { color: var(--root); }
.form-done { display: none; padding: 30px 0; }
.form-done.show { display: block; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; border-top: 1.5px solid var(--line); font-size: 1.25rem; font-weight: 550; transition: color .25s var(--ease); }
.channel:last-of-type { border-bottom: 1.5px solid var(--line); }
.channel small { display: block; font-size: .76rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.channel svg { width: 22px; height: 22px; color: var(--root); transition: transform .3s var(--ease-out); flex: none; }
.channel:hover { color: var(--root); }
.channel:hover svg { transform: translate(3px, -3px); }
.contact-photo { margin: 40px 0 0; }
.contact-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; border-radius: 6px; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--m) 60px; }
.nf svg.sprout { width: 180px; height: auto; margin: 0 auto 30px; }

.atlas-svg.m { display: none; }
@media (max-width: 700px) { .atlas-svg.d { display: none; } .atlas-svg.m { display: block; } }
.rel { display: block; padding: 12px 0; border-top: 1.5px solid var(--line); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }

/* language switcher */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.dark-hdr .lang { box-shadow: inset 0 0 0 1.5px var(--line-d); }
.nav .lang a, .lang a { min-width: 34px; height: 30px; padding: 0 9px 1px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .92rem; font-weight: 700; line-height: 1; opacity: .7; transition: opacity .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.nav .lang a::after, .nav .lang a::before { display: none; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { opacity: 1; background: var(--ink); color: var(--cloud); }
.dark-hdr .lang a[aria-current="true"], .mobile-menu .lang a[aria-current="true"] { background: var(--cloud); color: var(--ink); }
.mobile-menu .lang { box-shadow: inset 0 0 0 1.5px var(--line-d); }
.lang a[lang="fa"], .lang a[lang="ar"] { font-family: "Noora", var(--font); font-size: 1rem; padding-bottom: 3px; }

/* ============ RTL: Persian & Arabic (Brand Book: Noora, mirrored layout, no letter-spacing) ============ */
@font-face {
  font-family: "Noora";
  src: url("/fonts/Noora-VF.woff") format("woff");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+00AB, U+00BB, U+2026;
}
@font-face { /* Latin inside Persian/Arabic text, set at 118% per the brand book */
  font-family: "DG in RTL";
  src: url("/fonts/DarkerGrotesque-VF.woff") format("woff");
  font-weight: 300 900; font-display: swap; size-adjust: 118%;
}
html[dir="rtl"] {
  font-size: 88%;
  --font: "Noora", "DG in RTL", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --t-display: clamp(2.8rem, 7.2vw, 7.8rem); --t-h1: clamp(2.3rem, 4.9vw, 5.3rem); --t-h2: clamp(1.95rem, 3.6vw, 3.8rem);
}
html[dir="rtl"] body { font-weight: 400; line-height: 1.85; }
html[dir="rtl"] body * { letter-spacing: 0 !important; }
html[dir="rtl"] body :where(p, li, .sum, .d, .s, small, figcaption, .faq .a, .fact > span, .answer-note, .form-status, .post-meta) { line-height: 1.8 !important; }
html[dir="rtl"] body :where(.h3, .fact b, .svc-item h3, .svc-band .tag b, .wcard h3, .step h3, .post-row h3, .tl-row .role, .trait h3, .value h3, .svc-detail h3, .svc-detail .q, .format h3, .faq summary, .atlas-top .ttl, .atlas-card h4, .leave-q p, .chapter .t, .tnode.page .t, .mobile-menu a.big, .about-story p.first, .hero-final .line, .mobile-caption .t, .prose h2, .prose h3, .rel, .hero-intro .who) { line-height: 1.5 !important; }
html[dir="rtl"] body :where(.display, .h1, .h2, .question .q) { line-height: 1.34 !important; }
html[dir="rtl"] body :where(.lead) { line-height: 1.65 !important; }
html[dir="rtl"] body :where(.prose, .prose p, .prose li) { line-height: 1.95 !important; }
html[dir="rtl"] body :where(.eyebrow, .label, .wcard .cat, .post-row .pillar, .tl-row .org, .case-meta b, .field label, .channel small, .foot-col h4, .atlas-card .k, .tnode.rootl, .scroll-hint, .hero-final .hint, .growth-meter .val, .filters sup) { font-size: .95rem; font-weight: 700; }
html[dir="rtl"] .tnode.rootl { font-size: .9rem; }
html[dir="rtl"] .display { font-weight: 300; }
html[dir="rtl"] .h1, html[dir="rtl"] .h2 { font-weight: 300; }
html[dir="rtl"] .about-story p { font-size: clamp(1.18rem, 1.4vw, 1.42rem); }
html[dir="rtl"] .prose { font-size: clamp(1.14rem, 1.28vw, 1.32rem); }
html[dir="rtl"] .latin { font-family: "DG in RTL", "Darker Grotesque", ui-sans-serif, system-ui, sans-serif; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .brands.latin { direction: rtl; }
html[dir="rtl"] .brands.latin span { direction: ltr; unicode-bidi: isolate; }
/* mirrored motion and icons */
html[dir="rtl"] .nav a:not(.btn)::after { transform-origin: left; }
html[dir="rtl"] .nav a:not(.btn):hover::after, html[dir="rtl"] .nav a[aria-current="page"]::after { transform-origin: right; }
html[dir="rtl"] :is(svg.chev, svg.arr, .icon-btn svg, .channel svg, svg.ext) { scale: -1 1; }
html[dir="rtl"] .next-arr { display: inline-block; scale: -1 1; }
html[dir="rtl"] a.post-row:hover h3 { transform: translateX(-8px); }
html[dir="rtl"] .post-row::before, html[dir="rtl"] .read-line i { transform-origin: right; }
html[dir="rtl"] .svc-ground .node { left: auto; right: 100px; transform: translate(50%, -50%) rotate(45deg); }
@media (max-width: 1100px) { html[dir="rtl"] .svc-ground .node { right: 7px; } }
html[dir="rtl"] .prose blockquote { padding: .1em 1em .1em 0; }
html[dir="rtl"] .field select { background-position: left 2px center; }
html[dir="rtl"] .mobile-menu { clip-path: circle(0% at 44px 34px); }
html[dir="rtl"] .menu-open .mobile-menu { clip-path: circle(150% at 44px 34px); }
html[dir="rtl"] .hp { left: auto; right: -9999px; }
/* hero tree: the diagram keeps its geometry; only the text inside flows right-to-left */
html[dir="rtl"] .tree-nodes { direction: ltr; }
html[dir="rtl"] .tnode.page { text-align: left; }
html[dir="rtl"] .tnode.page.end { text-align: right; }
html[dir="rtl"] .tnode .t, html[dir="rtl"] .tnode .s, html[dir="rtl"] .tnode.rootl { direction: rtl; unicode-bidi: isolate; }
html[dir="rtl"] .tnode.end .s { margin-inline-start: 0; margin-left: auto; }
html[dir="rtl"] .tnode.page .t { font-size: clamp(1.6rem, 2.1vw, 2.35rem); }
html[dir="rtl"] .chapter { grid-template-columns: 40px 1fr; }
html[dir="rtl"] .atlas-svg text { font-weight: 500; }
html[dir="rtl"] .atlas-svg .pillar text { font-weight: 700; }
.prose a.btn { text-decoration: none; }
.prose a.btn-cloud { color: var(--ink); }
html[lang="fa"] .prose ol { list-style-type: persian; }
html[lang="ar"] .prose ol { list-style-type: arabic-indic; }
/* [[highlight]] from the CMS page texts */
:is(.display, .h1, .h2, .h3, .q, .lead, .line) em { font-style: normal; color: var(--root); }
:is(.dark, .red-bg) :is(.display, .h1, .h2, .h3, .q, .lead, .line) em { color: var(--signal); }
.red-bg :is(.h1, .h2, .q) em { color: var(--cloud); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
/* blog images */
.post-cover { margin: clamp(36px, 4.5vw, 72px) 0 0; border-radius: 8px; overflow: hidden; }
.post-cover img { display: block; width: 100%; height: auto; }
.prose img { display: block; width: 100%; height: auto; border-radius: 8px; margin: 1.6em 0; }
