/* Layout: an editorial print catalog on screen — paper-white pages, NIGC deep blue ink, full-bleed photography, one spread per project. */
:root {
  color-scheme: dark;
  --paper: #040a14;
  --paper-2: rgba(255, 255, 255, .045);
  --ink: #eef3fb;
  --ink-2: #a9b8cc;
  --ink-3: #6f8098;
  --rule: rgba(255, 255, 255, .1);
  --blue: #4aa3ff;
  --blue-deep: #071a33;
  --blue-soft: rgba(74, 163, 255, .14);
  --flame: #ff5b3a;
  --amber: #ffb547;
  --glass-bg: linear-gradient(140deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 45%, rgba(255, 255, 255, .06));
  --glass-line: rgba(255, 255, 255, .16);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 40px 80px -40px rgba(0, 0, 0, .85);
  --display: "Ray", "YekanBakh", Tahoma, system-ui, sans-serif;
  --body: "YekanBakh", Tahoma, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1[tabindex="-1"]:focus { outline: none; }
[data-lucide], svg.lucide { width: 1em; height: 1em; stroke-width: 1.7; flex-shrink: 0; }
.container { max-width: 1280px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.tab { font-variant-numeric: tabular-nums; }

/* ───────── top bar ───────── */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid var(--rule); }
.bar .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo b { display: block; font-family: var(--display); font-weight: 900; font-size: 15px; line-height: 1.3; }
.logo small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.4; }
.menu { display: flex; gap: 2px; margin-inline-start: auto; }
.menu a { position: relative; display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; font-size: 14px; color: var(--ink-2); transition: color .25s; white-space: nowrap; }
.menu a span { font-family: var(--display); font-weight: 900; font-size: 11px; color: var(--ink-3); }
.menu a::after { content: ""; position: absolute; right: 14px; left: 14px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--ink); }
.menu a[aria-current="page"] span { color: var(--flame); }
@media (max-width: 860px) {
  .logo small { display: none; }
  .logo img { height: 38px; }
  .bar .container { gap: 10px; height: 64px; }
  .menu { overflow-x: auto; scrollbar-width: none; }
  .menu a { padding: 8px 9px; font-size: 13px; }
  .menu a span { display: none; }
}

/* ───────── page curtain (page turn) ───────── */
.curtain { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--blue-deep); transform: translateY(100%); display: grid; place-items: center; }
.curtain img { width: 84px; opacity: 0; transform: scale(.85); filter: brightness(0) invert(1); }
.curtain.in { animation: curtainIn .55s var(--ease) forwards; }
.curtain.in img { animation: emblemIn .55s var(--ease) .1s forwards; }
.curtain.out { animation: curtainOut .7s var(--ease) forwards; }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes emblemIn { to { opacity: 1; transform: none; } }

/* ───────── reveal motion ───────── */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; }
.js [data-anim] .line > span { animation: lineUp 1.1s var(--ease) both; }
.js [data-anim] .line:nth-child(2) > span { animation-delay: .1s; }
.js [data-anim] .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.fade { animation: fadeUp 1s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pre { opacity: 0; transform: translateY(28px); }
.shown { animation: fadeUp 1s var(--ease) both; }
.photo { position: relative; overflow: hidden; background: var(--blue-deep); }
.photo img, .photo svg.plate { width: 100%; height: 100%; object-fit: cover; }
.photo .px { position: absolute; inset: -8% 0; will-change: transform; }
.photo .px img, .photo .px svg { height: 100%; }
.reveal-img { clip-path: inset(0 0 0 0); }
.js .reveal-img.wait { clip-path: inset(100% 0 0 0); }
.js .reveal-img.go { animation: clipIn 1.3s var(--ease) both; }
.js .reveal-img.go img, .js .reveal-img.go svg.plate { animation: zoomOut 1.8s var(--ease) both; }
@keyframes clipIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zoomOut { from { transform: scale(1.18); } to { transform: none; } }
.credit { position: absolute; z-index: 2; bottom: 10px; left: 12px; font-size: 10.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); background: rgba(4, 18, 36, .42); padding: 2px 8px; border-radius: 6px; backdrop-filter: blur(6px); direction: ltr; max-width: 80%; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ───────── shared type ───────── */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .2px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--flame); }
.display { font-family: var(--display); font-weight: 950; line-height: 1.22; letter-spacing: -.5px; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 2; color: var(--ink-2); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; border: 0; position: relative; overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue::before { background: var(--blue-deep); }
.btn-line { border: 1.5px solid currentColor; background: transparent; }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: #fff; border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white::before { background: var(--blue); }
.btn-white:hover { color: #fff; }
.ornament { position: absolute; pointer-events: none; aspect-ratio: 375 / 315; background: var(--blue); opacity: .055;
  -webkit-mask: url("img/emblem.png") center / contain no-repeat; mask: url("img/emblem.png") center / contain no-repeat; }
.section { padding-block: clamp(70px, 9vw, 130px); position: relative; }
.shead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.shead h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 12px; }
.shead p { margin: 10px 0 0; color: var(--ink-2); max-width: 52ch; }

/* ───────── cover ───────── */
.hero { position: relative; height: min(92vh, 880px); min-height: 560px; color: #fff; overflow: hidden; }
.hero .photo { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to left, rgba(4, 22, 44, .78) 0%, rgba(4, 22, 44, .35) 45%, rgba(4, 22, 44, .05) 70%), linear-gradient(to top, rgba(4, 22, 44, .85), transparent 45%); }
.hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 0 34px; }
.hero .kicker { color: #fff; }
.hero h1 { font-size: clamp(30px, 6.4vw, 96px); margin: 18px 0 8px; }
.hero h1 > [data-split] { white-space: nowrap; }
@media (max-width: 520px) { [lang="fa"] .hero h1 { font-size: 9.4vw; } }
.hero h1 .thin { font-weight: 300; font-family: var(--body); font-size: .42em; letter-spacing: 0; display: block; margin-top: 10px; opacity: .92; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 54ch; margin: 12px 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 46px; border-top: 1px solid rgba(255, 255, 255, .28); }
.figures div { padding: 18px 0 0; padding-inline-end: 16px; }
.figures div + div { border-right: 1px solid rgba(255, 255, 255, .2); padding-inline-start: 22px; }
.figures b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; }
.figures b small { font-family: var(--body); font-weight: 600; font-size: 13px; margin-inline-start: 6px; opacity: .85; }
.figures > div > span { font-size: 13px; color: rgba(255, 255, 255, .72); }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; }
  .hero .container { padding-top: 140px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures div:nth-child(3) { border-right: 0; padding-inline-start: 0; }
  .figures div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 14px; }
}

/* intro */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
.intro .big { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.75; margin: 16px 0 0; text-wrap: pretty; }
.intro .big em { font-style: normal; color: var(--blue); }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.chapters a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--rule); transition: background .35s, padding .45s var(--ease); }
.chapters a:hover { background: var(--paper-2); padding-inline: 14px; }
.chapters .n { font-family: var(--display); font-weight: 900; color: var(--flame); font-size: 15px; }
.chapters b { font-family: var(--display); font-weight: 900; font-size: 19px; }
.chapters small { display: block; color: var(--ink-3); font-size: 13px; }

/* table of contents (projects as rows) */
.toc { border-top: 2px solid var(--ink); position: relative; }
.toc a { display: grid; grid-template-columns: 90px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr) 40px; align-items: center; gap: 18px; padding: 22px 6px; border-bottom: 1px solid var(--rule); position: relative; transition: color .3s; }
.toc a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-deep); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.toc a:hover { color: #fff; }
.toc a:hover::before { transform: scaleY(1); }
.toc a:hover .meta, .toc a:hover .sub { color: rgba(255, 255, 255, .7); }
.toc .num { font-family: var(--display); font-weight: 950; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--blue); transition: -webkit-text-stroke-color .3s; }
.toc a:hover .num { -webkit-text-stroke-color: #fff; }
.toc .t { font-family: var(--display); font-weight: 900; font-size: 19px; line-height: 1.6; }
.toc .sub { display: block; font-family: var(--body); font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.toc .meta { font-size: 14px; color: var(--ink-2); transition: color .3s; }
.toc .arrow { font-size: 22px; transition: transform .45s var(--ease); }
.toc a:hover .arrow { transform: translateX(-6px); }
@media (max-width: 900px) {
  .toc a { grid-template-columns: 54px 1fr 28px; }
  .toc .num { font-size: 28px; }
  .toc .meta { display: none; }
  .toc .t { font-size: 16px; }
}
.follower { position: fixed; z-index: 40; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(6, 47, 92, .55);
  opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .3s, transform .5s var(--ease); }
.follower.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
.follower > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* map teaser / map page */
.mapframe { position: relative; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #f4f8fc, #e7eef7); border: 1px solid var(--rule); }
.mapframe .host { position: absolute; inset: 0; }
.mapframe .host canvas { cursor: grab; }
.mapframe .host canvas:active { cursor: grabbing; }
.mapnote { position: absolute; z-index: 3; top: 16px; right: 16px; font-size: 12.5px; color: var(--ink-2); background: rgba(255, 255, 255, .8); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); backdrop-filter: blur(8px); }
.legend { position: absolute; z-index: 3; bottom: 16px; right: 16px; display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); background: rgba(255, 255, 255, .85); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule); backdrop-filter: blur(8px); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; }
.maptools { position: absolute; z-index: 3; bottom: 16px; left: 16px; display: flex; gap: 8px; }
.ibtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; cursor: pointer; background: #fff; border: 1px solid var(--rule); color: var(--ink-2); transition: all .3s var(--ease); }
.ibtn:hover, .ibtn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .mapframe { height: clamp(380px, 42vw, 560px); }
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: #fff; }
@media (max-width: 1000px) { .explorer { grid-template-columns: 1fr; } }
.explorer .mapframe { border: 0; border-radius: 0; height: clamp(460px, calc(100dvh - 240px), 820px); }
.plist { border-right: 1px solid var(--rule); max-height: clamp(460px, calc(100dvh - 240px), 820px); overflow-y: auto; }
@media (max-width: 1000px) { .plist { border-right: 0; border-top: 1px solid var(--rule); max-height: 420px; } .explorer .mapframe { height: 440px; } }
.plist button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--rule); cursor: pointer; transition: background .3s; }
.plist button:hover { background: var(--paper-2); }
.plist button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.plist button[aria-pressed="true"] .s, .plist button[aria-pressed="true"] .no { color: rgba(255, 255, 255, .75); }
.plist button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.plist .no { font-family: var(--display); font-weight: 900; color: var(--flame); }
.plist .t { font-size: 14px; line-height: 1.65; font-weight: 600; }
.plist .s { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.info { position: absolute; z-index: 4; top: 16px; left: 16px; width: min(340px, calc(100% - 32px)); background: #fff; border-radius: 6px; box-shadow: 0 24px 60px -24px rgba(6, 47, 92, .45); overflow: hidden;
  opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.info.on { opacity: 1; transform: none; pointer-events: auto; }
.info .photo { height: 140px; }
.info .body { padding: 16px 18px 18px; }
.info h4 { font-family: var(--display); font-weight: 900; font-size: 17px; line-height: 1.6; margin: 4px 0 10px; }
.info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 14px; font-size: 13px; }
.info dt { color: var(--ink-3); }
.info dd { margin: 0; font-weight: 600; }
.info .btn { height: 44px; width: 100%; justify-content: center; }
.info .x { position: absolute; top: 10px; left: 10px; z-index: 3; width: 34px; height: 34px; }
.tip { position: fixed; z-index: 95; pointer-events: none; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 13px; line-height: 1.6; max-width: 280px;
  transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .2s; }
.tip.on { opacity: 1; }
.tip b { display: block; }
.tip span { color: rgba(255, 255, 255, .7); font-size: 12px; }

/* projects grid */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button { all: unset; cursor: pointer; padding: 6px 0; font-size: 14.5px; color: var(--ink-3); position: relative; white-space: nowrap; transition: color .3s; }
.tabs button::after { content: ""; position: absolute; right: 0; left: 0; bottom: -2px; height: 2px; background: var(--flame); transform: scaleX(0); transition: transform .45s var(--ease); }
.tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.tabs button:focus-visible { outline: 2px solid var(--blue); }
.search { position: relative; margin-inline-start: auto; min-width: min(280px, 100%); }
.search input { width: 100%; height: 44px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; font: inherit; font-size: 15px; padding: 0 30px 0 4px; outline: none; color: var(--ink); }
.search input:focus { border-color: var(--blue); }
.search svg { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.count { font-size: 13.5px; color: var(--ink-3); }
.count b { color: var(--ink); font-family: var(--display); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 30px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { display: block; }
.card .photo { aspect-ratio: 4 / 3; border-radius: 4px; }
.card .photo img, .card .photo svg { transition: transform 1.2s var(--ease); }
.card:hover .photo img, .card:hover .photo svg { transform: scale(1.06); }
.card .no { position: absolute; z-index: 2; top: 14px; right: 16px; font-family: var(--display); font-weight: 950; font-size: 44px; line-height: 1; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.card .cat { margin-top: 18px; font-size: 12.5px; color: var(--blue); font-weight: 600; }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 21px; line-height: 1.6; margin: 6px 0 10px; background: linear-gradient(var(--ink), var(--ink)) right bottom / 0 2px no-repeat; transition: background-size .6s var(--ease); display: inline; }
.card:hover h3 { background-size: 100% 2px; }
.card .m { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.card .m span { display: inline-flex; align-items: center; gap: 6px; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }

/* domains */
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: 50px; border-top: 1px solid var(--rule); }
.chapter:nth-child(even) .photo { order: 2; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; } .chapter:nth-child(even) .photo { order: 0; } }
.chapter .photo { aspect-ratio: 5 / 4; border-radius: 4px; }
.chapter h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 12px 0 8px; }
.chapter ol { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--ink); }
.chapter li a { display: grid; grid-template-columns: 40px 1fr 20px; gap: 10px; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--rule); transition: padding .4s var(--ease), color .3s; }
.chapter li a:hover { padding-inline-start: 12px; color: var(--blue); }
.chapter li .n { font-family: var(--display); font-weight: 900; color: var(--flame); }
.chapter li small { display: block; color: var(--ink-3); font-size: 12px; }

/* ───────── project spread ───────── */
.spread { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100dvh - 72px); }
@media (max-width: 1000px) { .spread { grid-template-columns: 1fr; min-height: 0; } }
.spread .text { padding: clamp(36px, 5vw, 80px) var(--gut) clamp(36px, 5vw, 70px) clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.spread .photo { min-height: 420px; }
.spread .bignum { position: absolute; z-index: 2; bottom: 18px; right: 26px; font-family: var(--display); font-weight: 950; font-size: clamp(90px, 13vw, 200px); line-height: .9; color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.spread h1 { font-size: clamp(28px, 3.6vw, 54px); font-weight: 900; margin: 18px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); }
.crumbs a:hover { color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.tags span { display: inline-flex; align-items: center; gap: 7px; }
.tags svg { color: var(--blue); }
.keyfig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) { .keyfig { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.keyfig > div { padding: 26px 22px 24px 0; }
.keyfig > div + div { border-right: 1px solid var(--rule); padding-right: 22px; }
@media (max-width: 900px) { .keyfig > div:nth-child(3) { border-right: 0; padding-right: 0; } .keyfig > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.keyfig small { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.keyfig b { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; color: var(--ink); }
.keyfig b.txt { font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.8; display: block; }
.keyfig u { text-decoration: none; font-size: 14px; color: var(--ink-2); margin-inline-start: 6px; font-family: var(--body); font-weight: 600; }
.keyfig em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.model { display: inline-block; direction: ltr; font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--blue); }

.body2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 90px); padding-block: 60px; }
@media (max-width: 900px) { .body2 { grid-template-columns: 1fr; } }
.prose h3, .sheet h3 { font-family: var(--display); font-weight: 900; font-size: 20px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.prose h3::before, .sheet h3::before { content: ""; width: 10px; height: 10px; background: var(--flame); }
.prose p { margin: 0 0 34px; white-space: pre-line; font-size: 17px; line-height: 2.1; color: var(--ink-2); }
.prose p.first::first-line { color: var(--ink); font-weight: 700; }
.sheet { background: var(--paper-2); padding: 30px; border-radius: 4px; align-self: start; position: sticky; top: 96px; }
.sheet dl { margin: 0; }
.sheet dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.sheet dt { color: var(--ink-3); }
.sheet dd { margin: 0; font-weight: 600; line-height: 1.8; min-width: 0; }
.sheet .phone { direction: ltr; display: inline-block; font-variant-numeric: tabular-nums; user-select: all; }
.copy { all: unset; cursor: pointer; margin-inline-start: 8px; color: var(--ink-3); font-size: 15px; vertical-align: -2px; transition: color .25s; }
.copy:hover { color: var(--blue); }
.copy.done { color: #1d8a4e; }
.sheet .foot { margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.docs-yes { color: #1d8a4e; }
@media (max-width: 500px) { .sheet { padding: 22px 18px; } .sheet dl > div { grid-template-columns: 1fr; gap: 2px; } }
.locstrip { display: grid; grid-template-columns: 1fr 2fr; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) { .locstrip { grid-template-columns: 1fr; } }
.locstrip .txt { padding: 40px 0; padding-inline-end: 40px; }
.locstrip .mapframe { height: 440px; border-radius: 0; border: 0; border-right: 1px solid var(--rule); }
.locstrip h3 { font-family: var(--display); font-weight: 900; font-size: 26px; margin: 12px 0 10px; }
.nextp { position: relative; display: block; height: clamp(300px, 40vw, 460px); color: #fff; overflow: hidden; margin-top: 80px; }
.nextp .photo { position: absolute; inset: 0; }
.nextp .photo img, .nextp .photo svg { transition: transform 1.4s var(--ease); }
.nextp:hover .photo img, .nextp:hover .photo svg { transform: scale(1.05); }
.nextp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(4, 22, 44, .82), rgba(4, 22, 44, .2)); }
.nextp .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.nextp small { font-size: 14px; opacity: .8; display: flex; align-items: center; gap: 8px; }
.nextp b { font-family: var(--display); font-weight: 950; font-size: clamp(28px, 4vw, 54px); line-height: 1.35; max-width: 18ch; margin-top: 8px; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: 14px; color: var(--ink-2); }
.prevnext a { display: inline-flex; align-items: center; gap: 8px; }
.prevnext a:hover { color: var(--blue); }

/* footer */
.foot { background: var(--blue-deep); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; margin-top: 0; }
.foot .container { padding-block: 60px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
@media (max-width: 800px) { .foot .container { grid-template-columns: 1fr; } }
.foot .ornament { background: #fff; opacity: .05; width: 520px; left: -80px; bottom: -120px; }
.foot h4 { font-family: var(--display); font-weight: 900; color: #fff; font-size: 22px; margin: 0 0 10px; }
.foot p { margin: 0; font-size: 14px; max-width: 52ch; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 1.9; direction: ltr; text-align: left; }
.foot ul a { text-decoration: underline; text-underline-offset: 2px; }
.foot .copy-row { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }
html.calm .pre { opacity: 1; transform: none; }
html.calm.js .reveal-img.wait { clip-path: none; }

/* illustration plates */
.pl-rays { transform-box: fill-box; animation: spinSlow 40s linear infinite; transform-origin: center; }
@keyframes spinSlow { to { rotate: 360deg; } }
.pl-arc { animation: arc 2.4s ease-out infinite; transform-box: view-box; }
.pl-arc1 { animation-delay: .3s; } .pl-arc2 { animation-delay: .6s; } .pl-arc3 { animation-delay: .9s; }
@keyframes arc { 0%, 100% { opacity: .15; } 30% { opacity: 1; } }
.pl-wave { stroke-dasharray: 220; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0% { stroke-dashoffset: 220; opacity: 0; } 40% { opacity: .9; } 100% { stroke-dashoffset: -220; opacity: 0; } }
.spread-pic { position: relative; min-height: 420px; }
.spread-pic .photo { position: absolute; inset: 0; min-height: 0; }
@media (max-width: 1000px) { .spread-pic { height: 62vw; min-height: 300px; order: -1; } }
html { overflow-x: clip; }
.section { overflow-x: clip; }

/* ═══════════ motion layer (GSAP) ═══════════ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.gs .fade { animation: none; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .38em 0 .24em; margin: -.38em 0 -.24em; }
[data-split] { word-spacing: .1em; }
.split-done .wm { overflow: visible; }
.wm > .w, .w { display: inline-block; will-change: transform; }
[data-scrub] .w { display: inline; }

/* preloader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--blue-deep); color: #fff; display: grid; place-items: center; }
.ld-inner { text-align: center; }
.ld-inner img { width: 110px; margin: 0 auto 22px; filter: brightness(0) invert(1); }
.ld-name { font-family: var(--display); font-weight: 950; font-size: clamp(26px, 4vw, 40px); }
.ld-sub { color: rgba(255, 255, 255, .7); font-size: 15px; margin-top: 4px; }
.ld-bar { position: absolute; bottom: 70px; right: 10%; left: 10%; height: 2px; background: rgba(255, 255, 255, .15); }
.ld-bar span { display: block; height: 100%; background: linear-gradient(90deg, #fff, var(--flame)); transform: scaleX(0); transform-origin: right; }
.ld-count { position: absolute; bottom: 82px; right: 10%; font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1; }

/* cursor */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.c-dot, .c-ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--flame); }
.c-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(6, 47, 92, .45); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s; mix-blend-mode: normal; }
.c-label { font-size: 12px; font-weight: 700; color: #fff; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.link .c-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--blue); background: rgba(1, 101, 179, .08); }
.cursor.view .c-ring, .cursor.drag .c-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--blue); border-color: var(--blue); }
.cursor.view .c-label, .cursor.drag .c-label { opacity: 1; }
.cursor.view .c-dot, .cursor.drag .c-dot { opacity: 0; }

/* pinned horizontal gallery */
.hgallery { position: relative; overflow: hidden; background: var(--blue-deep); color: #fff; padding-block: 96px 60px; min-height: 100vh; box-sizing: border-box; }
.hg-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.hg-head .kicker { color: #9cc8ff; }
.hg-head h2 { font-size: clamp(32px, 4.6vw, 64px); margin-top: 10px; }
.hg-progress { width: 220px; height: 2px; background: rgba(255, 255, 255, .2); }
.hg-progress span { display: block; height: 100%; background: var(--flame); transform: scaleX(0); transform-origin: right; }
.hg-track { display: flex; gap: 28px; padding-inline: var(--gut); width: max-content; will-change: transform; }
.hcard { position: relative; width: clamp(280px, 27vw, 430px); flex-shrink: 0; display: block; }
.hc-pic { aspect-ratio: 4 / 4.4; max-height: calc(100vh - 330px); border-radius: 6px; overflow: hidden; }
.hc-pic .photo { height: 100%; }
.hc-no { position: absolute; top: 14px; right: 18px; font-family: var(--display); font-weight: 950; font-size: clamp(56px, 6vw, 92px); line-height: 1; color: #fff; text-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.hc-txt { margin-top: 18px; }
.hc-cat { font-size: 12.5px; color: #9cc8ff; }
.hc-txt b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.55; margin: 4px 0 6px; }
.hc-m { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
  .hgallery { padding-block: 50px 56px; }
  .hg-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .hcard { scroll-snap-align: start; width: 78vw; }
  .hg-progress { display: none; }
}

/* velocity text strip */
.velo { overflow: hidden; padding-block: 34px; border-bottom: 1px solid var(--rule); direction: ltr; }
.velo-track { display: flex; width: max-content; gap: 0; }
.velo-track span { direction: rtl; font-family: var(--display); font-weight: 950; font-size: clamp(42px, 6vw, 86px); line-height: 1.3; white-space: nowrap; padding-inline: 34px; color: transparent; -webkit-text-stroke: 1.4px var(--blue); display: inline-flex; align-items: center; gap: 68px; }
.velo-track span:nth-child(3n+2) { color: var(--blue); -webkit-text-stroke: 0; }
.velo-track span::after { content: ""; width: 14px; height: 14px; background: var(--flame); rotate: 45deg; }


.btn:active, .ibtn:active { scale: .97; }

/* ═══════════ NIGHT · GLASS · LIGHT ═══════════ */
body { background:
  radial-gradient(1100px 700px at 100% -10%, rgba(1, 101, 179, .28), transparent 60%),
  radial-gradient(900px 600px at -10% 110%, rgba(207, 23, 31, .14), transparent 60%),
  var(--paper); background-attachment: fixed; }
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; }
.ambient i:nth-child(1) { width: 46vw; height: 46vw; right: -12vw; top: 20vh; background: radial-gradient(circle, rgba(1, 101, 179, .55), transparent 65%); animation: amb1 30s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { width: 36vw; height: 36vw; left: -10vw; bottom: -10vh; background: radial-gradient(circle, rgba(255, 91, 58, .3), transparent 65%); animation: amb2 36s ease-in-out infinite alternate; }
@keyframes amb1 { to { transform: translate(-14vw, 22vh) scale(1.15); } }
@keyframes amb2 { to { transform: translate(18vw, -20vh) scale(.9); } }

/* glass surface */
.glass, .bar, .figures, .chapters, .card, .info, .plist, .sheet, .keyfig, .hc-txt, .mapframe, .legend, .mapnote, .ibtn, .tip, .spread .text, .chapter .ctext, .locstrip .txt, .filters {
  background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(165%); -webkit-backdrop-filter: blur(22px) saturate(165%);
}
.bar { border-width: 0 0 1px; background: rgba(4, 10, 20, .55); }
.logo img { filter: drop-shadow(0 0 14px rgba(74, 163, 255, .55)); background: #fff; border-radius: 12px; padding: 5px; }
.menu a::after { background: linear-gradient(90deg, transparent, var(--blue), var(--flame), transparent); box-shadow: 0 0 12px var(--blue); }

/* cursor spotlight + specular sweep on glass */
.lightable { position: relative; isolation: isolate; overflow: hidden; }
.lightable::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, -400px) var(--my, -400px), rgba(255, 255, 255, .12), transparent 60%); }
.lightable > .sweep { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; border-radius: inherit; }
.lightable > .sweep::before { content: ""; position: absolute; top: -40%; bottom: -40%; width: 35%; right: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), rgba(156, 200, 255, .18), transparent); }
.lightable:hover > .sweep::before, .lightable.swept > .sweep::before { animation: sweep 1.3s var(--ease); }
@keyframes sweep { to { right: 140%; } }
/* rotating rim light on hover */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.rim { position: relative; }
.rim::before { content: ""; position: absolute; inset: -1px; z-index: 5; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: conic-gradient(from var(--ang), transparent 0 62%, var(--blue) 75%, #fff 80%, var(--flame) 86%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 3.2s linear infinite; }
.rim:hover::before, .rim.active::before { opacity: 1; }
@keyframes spin { to { --ang: 360deg; } }

/* light line: gas flowing between sections */
.lightline { position: relative; height: 1px; margin-inline: var(--gut); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent); overflow: visible; }
.lightline::after { content: ""; position: absolute; top: -1px; height: 3px; width: 18%; right: -18%; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), #fff, var(--flame), transparent); filter: drop-shadow(0 0 8px var(--blue)); animation: flow 5.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes flow { to { right: 118%; } }

/* hero: sun rays & flare from the sunset in the photo */
.hero::after { background: linear-gradient(to left, rgba(4, 10, 20, .82) 0%, rgba(4, 10, 20, .35) 48%, rgba(4, 10, 20, .05) 72%), linear-gradient(to top, rgba(4, 10, 20, 1), transparent 50%); }
.rays { position: absolute; z-index: 1; left: var(--sun-x, 43%); top: var(--sun-y, 51%); width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 196, 120, .0) 0deg 7deg, rgba(255, 196, 120, .16) 9deg, rgba(255, 196, 120, 0) 12deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .6) 18%, transparent 45%); mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .6) 18%, transparent 45%);
  animation: rays 60s linear infinite, raysPulse 6s ease-in-out infinite; }
@keyframes rays { to { rotate: 360deg; } }
@keyframes raysPulse { 50% { opacity: .85; } }
.flare { position: absolute; z-index: 1; left: var(--sun-x, 43%); top: var(--sun-y, 51%); width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 240, 210, .9), rgba(255, 170, 90, .35) 25%, transparent 65%); animation: raysPulse 4s ease-in-out infinite; }
.hero h1 { text-shadow: 0 0 40px rgba(255, 190, 120, .25); }
.hero .figures { padding: 6px 22px 18px; border-radius: 18px; border-top: 1px solid var(--glass-line); margin-top: 40px; }
.hero .figures div + div { border-right-color: rgba(255, 255, 255, .14); }
.btn-white { background: linear-gradient(135deg, #ff7a52, #cf171f); color: #fff; box-shadow: 0 14px 40px -10px rgba(255, 91, 58, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-white::before { background: linear-gradient(135deg, #ff9a7a, #ff5b3a); }
.btn-blue { background: linear-gradient(135deg, #3d9bff, #0165b3); box-shadow: 0 14px 40px -12px rgba(61, 155, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-line:hover { color: var(--paper) !important; border-color: var(--ink); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%); transform: translateX(120%); animation: btnShine 4s var(--ease) infinite 1.5s; }
@keyframes btnShine { 0% { transform: translateX(120%); } 40%, 100% { transform: translateX(-120%); } }

/* intro & toc */
.chapters { border-radius: 20px; padding: 6px 14px; border-top: 1px solid var(--glass-line); }
.chapters a { border-color: var(--rule); }
.chapters a:last-child { border-bottom: 0; }
.chapters a:hover { background: rgba(255, 255, 255, .06); }
.intro .big em { color: var(--blue); text-shadow: 0 0 22px rgba(74, 163, 255, .45); }
.ornament { background: #fff; opacity: .035; }
.toc { border-top: 1px solid var(--glass-line); }
.toc a::before { background: linear-gradient(90deg, rgba(74, 163, 255, .16), rgba(255, 255, 255, .08)); backdrop-filter: blur(10px); border-radius: 14px; }
.toc a:hover .num { -webkit-text-stroke-color: #fff; text-shadow: 0 0 24px var(--blue); }

/* gallery: glass captions over photos */
.hgallery { background: transparent; }
.hcard { width: clamp(300px, 28vw, 440px); }
.hc-pic { aspect-ratio: 4 / 5; border-radius: 22px; max-height: calc(100vh - 230px); }
.hc-txt { position: absolute; z-index: 2; right: 12px; left: 12px; bottom: 12px; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(8, 18, 34, .35); }
.hcard .hc-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 10, 20, .7), transparent 50%); pointer-events: none; }
.hg-progress span { background: linear-gradient(90deg, var(--blue), var(--flame)); box-shadow: 0 0 10px var(--flame); }

/* velocity strip glows */
.velo { border-color: var(--rule); }
.velo-track span { -webkit-text-stroke-color: rgba(74, 163, 255, .7); }
.velo-track span:nth-child(3n+2) { color: #fff; text-shadow: 0 0 30px rgba(74, 163, 255, .6); }

/* map */
.mapframe { background: radial-gradient(circle at 50% 45%, rgba(1, 101, 179, .3), rgba(4, 10, 20, .6) 70%); border-radius: 24px; }
.split .mapframe { border-radius: 24px; }
.mapnote, .legend { border-radius: 999px; color: var(--ink-2); }
.ibtn { color: var(--ink); }
.ibtn:hover, .ibtn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px rgba(74, 163, 255, .6); }
.explorer { background: transparent; border: 0; gap: 16px; }
.explorer .mapframe { border-radius: 24px; border: 1px solid var(--glass-line); }
.plist { border-radius: 24px; border-right: 1px solid var(--glass-line); padding: 6px; }
.plist button { border-radius: 14px; border-bottom: 0; }
.plist button[aria-pressed="true"] { background: linear-gradient(135deg, rgba(74, 163, 255, .45), rgba(1, 101, 179, .35)); box-shadow: 0 0 24px -4px rgba(74, 163, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.info { border-radius: 22px; }
.info .x { background: rgba(4, 10, 20, .5); }
.tip { background: rgba(8, 18, 34, .6); color: var(--ink); border-radius: 12px; }
.section[style*="paper-2"] { background: transparent !important; }

/* cards */
.card { border-radius: 22px; padding: 10px 10px 20px; transition: transform .5s var(--ease), border-color .4s; }
.card .photo { border-radius: 16px; }
.card .cat, .card h3, .card .m { padding-inline: 10px; }
.card .cat { color: var(--blue); }
.card h3 { background-image: linear-gradient(var(--blue), var(--blue)); }
.card:hover { border-color: rgba(255, 255, 255, .3); }
.filters { border-radius: 20px; padding: 14px 18px; }
.search input { border-bottom-color: var(--glass-line); }

/* project spread: full photo behind, glass panel in front */
.spread { position: relative; display: block; min-height: calc(100dvh - 72px); overflow: hidden; }
.spread .spread-pic { position: absolute; inset: 0; min-height: 0; }
.spread .spread-pic::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(4, 10, 20, .55), rgba(4, 10, 20, .1) 60%), linear-gradient(to top, rgba(4, 10, 20, .95), transparent 40%); pointer-events: none; }
.spread .bignum { z-index: 2; right: auto; left: 40px; bottom: 30px; text-shadow: 0 0 60px rgba(74, 163, 255, .55); }
.spread .text { position: relative; z-index: 3; width: min(640px, calc(100% - 40px)); margin: clamp(30px, 6vh, 70px) var(--gut) clamp(30px, 6vh, 70px) auto; margin-left: auto; margin-right: var(--gut); border-radius: 28px; padding: clamp(26px, 3.4vw, 46px); min-height: 0; }
@media (max-width: 1000px) { .spread { min-height: 0; } .spread .spread-pic { position: relative; height: 56vw; min-height: 260px; } .spread .text { width: auto; margin: -70px 16px 10px; } .spread .bignum { left: 20px; bottom: 80px; } }
.keyfig { border-radius: 24px; margin-top: 40px; padding: 0 26px; border-top: 1px solid var(--glass-line); }
.keyfig > div + div { border-right-color: var(--rule); }
.keyfig b { color: #fff; text-shadow: 0 0 26px rgba(74, 163, 255, .45); }
.model { color: #fff; text-shadow: 0 0 20px rgba(74, 163, 255, .7); }
.prose h3::before, .sheet h3::before { background: var(--flame); box-shadow: 0 0 12px var(--flame); border-radius: 2px; }
.sheet { border-radius: 24px; }
.locstrip { border: 0; gap: 16px; }
.locstrip .txt { border-radius: 24px; padding: 34px; }
.locstrip .mapframe { border-radius: 24px; border: 1px solid var(--glass-line); }
.chapter { border-color: var(--rule); }
.chapter .photo { border-radius: 24px; }
.foot { background: rgba(4, 10, 20, .6); border-top: 1px solid var(--glass-line); backdrop-filter: blur(20px); }

/* cursor on dark */
.c-ring { border-color: rgba(255, 255, 255, .45); }
.cursor.link .c-ring { background: rgba(74, 163, 255, .14); box-shadow: 0 0 24px rgba(74, 163, 255, .35); }
.cursor.view .c-ring, .cursor.drag .c-ring { box-shadow: 0 0 40px rgba(74, 163, 255, .6); }

html.calm .rays, html.calm .flare, html.calm .lightline::after, html.calm .ambient i, html.calm .btn::after { animation: none !important; }
@media (max-width: 1000px) { .spread { display: flex; flex-direction: column; } .spread .spread-pic { order: -1; } }
@media (hover: hover) and (pointer: fine) {
  .gs, .gs a, .gs button { cursor: none; }
  .gs input, .gs .mapframe canvas { cursor: auto; }
}

/* ═══════════ glass tab bar ═══════════ */
.bar { display: none; }
.tabbar { position: fixed; z-index: 60; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 999px;
  background: linear-gradient(140deg, rgba(6, 16, 32, .78), rgba(6, 16, 32, .64) 50%, rgba(10, 24, 46, .74));
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 18px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .15);
  transition: transform .55s var(--ease), background .4s, box-shadow .4s; overflow: visible; isolation: isolate; }
.tabbar.tb-hide { transform: translateY(calc(-100% - 30px)); }
.tabbar.tb-solid { background: linear-gradient(140deg, rgba(6, 16, 32, .9), rgba(6, 16, 32, .8)); }
.tabbar::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(160px circle at var(--mx, -200px) var(--my, -200px), rgba(255, 255, 255, .18), transparent 70%); }
.tabbar > .sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.tabbar > .sweep::before { content: ""; position: absolute; top: -40%; bottom: -40%; width: 30%; right: -40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); animation: barSweep 7s var(--ease) infinite 3s; }
@keyframes barSweep { 0% { right: -40%; } 25%, 100% { right: 130%; } }
.tb-logo { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex-shrink: 0; position: relative;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12), 0 0 22px rgba(74, 163, 255, .55); }
.tb-logo img { width: 32px; height: 32px; object-fit: contain; }
.tb-logo::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(255, 91, 58, .55); animation: halo 3s ease-out infinite; }
@keyframes halo { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.3); } }
.tb-sep { width: 1px; height: 26px; background: linear-gradient(transparent, rgba(255, 255, 255, .4), transparent); margin-inline: 4px; }
.tb-items { position: relative; display: flex; gap: 4px; direction: ltr; }
[dir="rtl"] .tb-items { flex-direction: row-reverse; }
.tb-pill { position: absolute; z-index: 0; top: 0; left: 0; height: 100%; border-radius: 999px;
  background: linear-gradient(135deg, rgba(74, 163, 255, .55), rgba(1, 101, 179, .5)); box-shadow: 0 0 20px rgba(74, 163, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .6s cubic-bezier(.34, 1.4, .5, 1), width .5s var(--ease), opacity .3s; }
.tb-btn { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 20px; color: #e3ecf8; border: 0; background: transparent; cursor: pointer; transition: color .3s, background .3s; }
.tb-btn svg { transition: transform .45s var(--ease), filter .3s; }
.tb-btn:hover { color: #fff; }
.tb-btn:hover svg { transform: translateY(-2px) scale(1.12); filter: drop-shadow(0 0 8px rgba(74, 163, 255, .9)); }
.tb-btn[aria-current="page"] { color: #fff; }
.tb-btn:active { scale: .92; }
.tb-lang { width: auto; padding-inline: 12px; display: inline-flex; gap: 6px; font-size: 18px; }
.tb-lang b { font-family: var(--body); font-weight: 800; font-size: 13px; letter-spacing: .5px; }
/* tooltips */
.tb-btn[data-tip]::after, .tb-logo[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% -4px; white-space: nowrap;
  padding: 6px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; font-family: var(--body); color: #fff; pointer-events: none;
  background: rgba(8, 18, 34, .78); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); opacity: 0; transition: opacity .2s, translate .3s var(--ease); }
.tb-btn:hover::after, .tb-btn:focus-visible::after, .tb-logo:hover::after { opacity: 1; translate: -50% 0; }
@media (max-width: 520px) { .tb-btn, .tb-logo { width: 38px; height: 38px; font-size: 18px; } .tb-logo img { width: 26px; height: 26px; } .tabbar { gap: 2px; padding: 5px; max-width: calc(100vw - 16px); } .tb-items { gap: 0; } .tb-lang { padding-inline: 8px; } .tb-lang svg { display: none; } .tb-sep { margin-inline: 1px; } }
@media (max-width: 360px) { .tb-btn, .tb-logo { width: 34px; height: 34px; font-size: 17px; } .tb-logo img { width: 23px; height: 23px; } }
.page-top { padding-top: clamp(110px, 12vw, 150px) !important; }
.spread .text { margin-top: 110px !important; }
.hero .container { padding-top: 120px; }

/* theme switch: circular reveal from the button */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vtReveal .8s var(--ease); }
@keyframes vtReveal { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 0)); } }

/* ═══════════ light theme (frosted daylight glass) ═══════════ */
[data-ui="light"] {
  color-scheme: light;
  --paper: #e9f0f8;
  --paper-2: rgba(255, 255, 255, .5);
  --ink: #0b1b30;
  --ink-2: #3d4e66;
  --ink-3: #74859c;
  --rule: rgba(11, 27, 48, .1);
  --blue: #0165b3;
  --flame: #cf171f;
  --glass-bg: linear-gradient(140deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .46) 45%, rgba(255, 255, 255, .66));
  --glass-line: rgba(255, 255, 255, .95);
  --glass-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(6, 47, 92, .3), 0 0 0 1px rgba(6, 47, 92, .05);
}
[data-ui="light"] body { background: radial-gradient(1100px 700px at 100% -10%, rgba(1, 101, 179, .18), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(207, 23, 31, .1), transparent 60%), var(--paper); }
[data-ui="light"] .ambient i { opacity: .35; mix-blend-mode: multiply; }
[data-ui="light"] .tabbar { background: linear-gradient(140deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .86)); border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 18px 50px -18px rgba(6, 47, 92, .35), 0 0 0 1px rgba(6, 47, 92, .06); }
[data-ui="light"] .tabbar.tb-solid { background: rgba(255, 255, 255, .96); }
[data-ui="light"] .tb-btn { color: #14243a; }
[data-ui="light"] .tb-btn:hover { color: var(--blue); }
[data-ui="light"] .tb-btn[aria-current="page"] { color: #fff; }
[data-ui="light"] .tb-sep { background: linear-gradient(transparent, rgba(6, 47, 92, .35), transparent); }
[data-ui="light"] .tb-pill { background: linear-gradient(135deg, #3d9bff, #0165b3); }
[data-ui="light"] .lightable::after { background: radial-gradient(380px circle at var(--mx, -400px) var(--my, -400px), rgba(1, 101, 179, .1), transparent 60%); }
[data-ui="light"] .keyfig b, [data-ui="light"] .model { color: var(--blue-deep, #062f5c); color: #062f5c; text-shadow: none; }
[data-ui="light"] .model { color: var(--blue); }
[data-ui="light"] .toc a:hover { color: var(--ink); }
[data-ui="light"] .toc a:hover .meta, [data-ui="light"] .toc a:hover .sub { color: var(--ink-2); }
[data-ui="light"] .toc a:hover .num { -webkit-text-stroke-color: var(--blue); text-shadow: none; }
[data-ui="light"] .velo-track span:nth-child(3n+2) { color: var(--blue); text-shadow: none; }
[data-ui="light"] .velo-track span { -webkit-text-stroke-color: rgba(1, 101, 179, .6); }
[data-ui="light"] .lightline { background: linear-gradient(90deg, transparent, rgba(1, 101, 179, .25), transparent); }
[data-ui="light"] .ornament { background: var(--blue); opacity: .05; }
[data-ui="light"] .mapframe { background: radial-gradient(circle at 50% 45%, rgba(1, 101, 179, .45), rgba(4, 20, 40, .9) 75%); }
[data-ui="light"] .hgallery .hg-head h2, [data-ui="light"] .hgallery .hg-head { color: var(--ink); }
[data-ui="light"] .hg-head .kicker { color: var(--blue); }
[data-ui="light"] .intro .big em { text-shadow: none; }
[data-ui="light"] .c-ring { border-color: rgba(1, 101, 179, .5); }
[data-ui="light"] .card:hover { border-color: #fff; }

/* ═══════════ left-to-right (English) ═══════════ */
[dir="ltr"] .figures div + div, [dir="ltr"] .keyfig > div + div { border-right: 0; border-left: 1px solid var(--rule); padding-right: 0; padding-left: 22px; }
[dir="ltr"] .hero .figures div + div { border-left-color: rgba(255, 255, 255, .14); }
[dir="ltr"] .hero::after { background: linear-gradient(to right, rgba(4, 10, 20, .82) 0%, rgba(4, 10, 20, .35) 48%, rgba(4, 10, 20, .05) 72%), linear-gradient(to top, rgba(4, 10, 20, 1), transparent 50%); }
[dir="ltr"] .spread .spread-pic::after { background: linear-gradient(to right, rgba(4, 10, 20, .55), rgba(4, 10, 20, .1) 60%), linear-gradient(to top, rgba(4, 10, 20, .95), transparent 40%); }
[dir="ltr"] .spread .text { margin-left: var(--gut) !important; margin-right: auto !important; }
[dir="ltr"] .spread .bignum { left: auto; right: 40px; }
[dir="ltr"] .hc-no, [dir="ltr"] .card .no { right: auto; left: 18px; }
[dir="ltr"] .toc a:hover .arrow { transform: translateX(6px); }
[dir="ltr"] .btn:hover svg { transform: translateX(4px); }
[dir="ltr"] .hg-progress span, [dir="ltr"] .ld-bar span { transform-origin: left; }
[dir="ltr"] .rays, [dir="ltr"] .flare { left: var(--sun-x, 43%); }
[dir="ltr"] .plist { border-right: 0; border-left: 1px solid var(--glass-line); }
[dir="ltr"] .display { letter-spacing: -1px; }
[dir="ltr"] .hero h1 .thin { letter-spacing: 0; }
[dir="ltr"] .sheet dl > div { grid-template-columns: 170px 1fr; }
[data-ui="light"] .hero .figures, [data-ui="light"] .hc-txt { background: linear-gradient(140deg, rgba(10, 22, 40, .45), rgba(10, 22, 40, .25)); border-color: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px -30px rgba(0, 0, 0, .6); }
[data-ui="light"] .hc-txt b { color: #fff; }
[lang="en"] { --display: "YekanBakh", system-ui, sans-serif; }
[lang="en"] .display, [lang="en"] .hc-no, [lang="en"] .bignum, [lang="en"] .num, [lang="en"] .card .no { letter-spacing: -.5px; word-spacing: .04em; }
@media (hover: none) { .tb-btn[data-tip]::after, .tb-logo[data-tip]::after { display: none; } }

/* ═══════════ project card on the map: A) side card  B) glass dock ═══════════ */
.info, .info.lightable { position: absolute; }
.info { left: auto; right: auto; inset-inline-end: 16px; }
.info-side { width: min(340px, calc(100% - 32px)); }

.info-dock { top: auto; bottom: 16px; inset-inline: 16px; width: auto; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto; align-items: center; gap: 18px;
  padding: 14px 16px 14px 14px; border-radius: 26px; overflow: hidden; transform: translateY(24px); filter: blur(6px);
  transition: opacity .45s, transform .7s var(--ease), filter .6s; }
.info-dock.on { transform: none; filter: none; }
.info-dock::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(500px 160px at 50% 120%, rgba(74, 163, 255, .22), transparent 70%); }
.info-dock::after { content: ""; position: absolute; top: -50%; bottom: -50%; width: 30%; right: -40%; transform: skewX(-20deg); pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }
.info-dock.on::after { animation: dockSweep 1.4s var(--ease) .25s both; }
@keyframes dockSweep { from { right: -40%; } to { right: 140%; } }
.info-dock > * { position: relative; z-index: 1; }
.mapframe.dock-open .legend { opacity: 0; pointer-events: none; transform: translateY(10px); }
.mapframe.dock-open .maptools { bottom: auto; top: 16px; }
.maptools, .legend { transition: opacity .35s, transform .5s var(--ease); }
.dk-progress { position: absolute !important; top: 0; inset-inline: 0; height: 2px; display: flex; background: rgba(255, 255, 255, .1); z-index: 2; }
.dk-progress span { height: 100%; background: linear-gradient(90deg, var(--blue), #fff, var(--flame)); box-shadow: 0 0 12px var(--blue); transition: width .8s var(--ease); }
.dk-no { position: absolute !important; z-index: 0 !important; inset-inline-end: 210px; bottom: -26px; font-family: var(--display); font-weight: 950; font-size: 120px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .1); pointer-events: none; }
.dk-pic { width: 112px; height: 88px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.dk-pic .photo { height: 100%; }
.dk-head { min-width: 0; }
.dk-head h4 { margin: 4px 0 0; font-family: var(--display); font-weight: 900; font-size: 17px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-stats { display: flex; gap: 8px; min-width: 0; }
.dk-stat { display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 10px; border-radius: 16px; min-width: 0; max-width: 210px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.dk-stat small { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.dk-stat b { display: block; font-size: 13.5px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.dk-ic { width: 32px; height: 32px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, rgba(74, 163, 255, .55), rgba(1, 101, 179, .45)); box-shadow: 0 0 14px -2px rgba(74, 163, 255, .6); }
.info-dock.on .dk-stat, .info-dock.on .dk-head, .info-dock.on .dk-pic, .info-dock.on .dk-actions > * { animation: fadeUp .7s var(--ease) both; }
.info-dock.on .dk-pic { animation-delay: .05s; } .info-dock.on .dk-head { animation-delay: .1s; }
.info-dock.on .dk-stat:nth-child(1) { animation-delay: .16s; } .info-dock.on .dk-stat:nth-child(2) { animation-delay: .22s; } .info-dock.on .dk-stat:nth-child(3) { animation-delay: .28s; }
.info-dock.on .dk-actions > * { animation-delay: .34s; }
.dk-actions { display: flex; align-items: center; gap: 8px; }
.dk-actions .ibtn { width: 40px; height: 40px; }
.dk-go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, #ff7a52, #cf171f); box-shadow: 0 10px 30px -8px rgba(255, 91, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .45s var(--ease), box-shadow .3s; }
.dk-go:hover { transform: scale(1.08) rotate(-6deg); box-shadow: 0 14px 40px -8px rgba(255, 91, 58, 1), inset 0 1px 0 rgba(255, 255, 255, .4); }
.dk-x { width: 34px !important; height: 34px !important; font-size: 15px; }
@media (max-width: 1100px) { .dk-stat:nth-child(3) { display: none; } }
@media (max-width: 760px) {
  .info-dock { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; bottom: 10px; inset-inline: 10px; padding: 12px; }
  .dk-pic { width: 72px; height: 64px; border-radius: 14px; }
  .dk-stats, .dk-actions { grid-column: 1 / -1; }
  .dk-stats { overflow-x: auto; scrollbar-width: none; }
  .dk-stat:nth-child(3) { display: flex; }
  .dk-actions { justify-content: space-between; }
  .dk-no { display: none; }
}
[data-ui="light"] .info-dock { background: linear-gradient(140deg, rgba(10, 22, 40, .62), rgba(10, 22, 40, .45)); border-color: rgba(255, 255, 255, .22); color: #eef3fb; }
[data-ui="light"] .info-dock .dk-stat small { color: #9fb0c6; }
.info-dock { grid-template-columns: 120px minmax(0, 1fr) auto; grid-template-areas: "pic head actions" "pic stats actions"; row-gap: 10px; }
.dk-pic { grid-area: pic; width: 120px; height: 100%; min-height: 104px; }
.dk-head { grid-area: head; }
.dk-head h4 { -webkit-line-clamp: 1; font-size: 18px; }
.dk-stats { grid-area: stats; }
.dk-actions { grid-area: actions; }
.dk-stat { max-width: none; flex: 0 1 auto; }
.dk-stat b { max-width: 220px; }
.dk-no { inset-inline-end: 230px; -webkit-text-stroke-color: rgba(255, 255, 255, .07); }
@media (max-width: 1100px) { .dk-stat:nth-child(3) { display: flex; } .dk-stats { overflow-x: auto; scrollbar-width: none; } }
@media (max-width: 760px) {
  .info-dock { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "pic head" "stats stats" "actions actions"; }
  .dk-pic { width: 72px; min-height: 64px; height: 64px; }
  .dk-head h4 { -webkit-line-clamp: 2; font-size: 15px; }
}
@media (max-width: 760px) { .info-side { top: 12px; inset-inline: 12px; width: auto; } .info-side > .photo { display: none; } .info-side .body { padding-top: 14px; } .info-side .x { top: 8px; } }

/* ═════════ Annex documents ═════════ */
.annex-chip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--amber); background: color-mix(in oklab, var(--amber) 14%, transparent); border: 1px solid color-mix(in oklab, var(--amber) 40%, transparent); }
.annex-chip svg { color: var(--amber) !important; }
.annex-tx { font-style: normal; color: var(--amber); font-weight: 700; }
.badge-annex { position: absolute; z-index: 2; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #1b1200; background: linear-gradient(135deg, #ffd58a, #ffb547); box-shadow: 0 8px 24px -8px rgba(255, 181, 71, .7); }
.keyfig b.mid { font-size: clamp(24px, 2.6vw, 34px); }

/* plates for the new projects */
.pl-blade { transform-box: fill-box; transform-origin: center; animation: spinSlow 6s linear infinite; }
.pl-flow { stroke-dasharray: 14 18; animation: flowDash 1.6s linear infinite; }
.pl-needle { transform-box: view-box; transform-origin: 0 0; animation: needle 3.4s ease-in-out infinite; }
.pl-win { animation: winGlow 2.8s ease-in-out infinite; }
.plate g:nth-of-type(2n) .pl-win { animation-delay: 1.1s; }
@keyframes flowDash { to { stroke-dashoffset: -64; } }
@keyframes needle { 0%, 100% { transform: rotate(-38deg); } 50% { transform: rotate(46deg); } }
@keyframes winGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* documents page */
.dstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 22px; padding: 4px 8px; margin: 10px 0 34px; border-top: 1px solid var(--glass-line); }
.dstats > div { padding: 18px 18px 16px; }
.dstats > div + div { border-inline-start: 1px solid var(--rule); }
.dstats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; background: linear-gradient(120deg, var(--ink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dstats > div:nth-child(3) b { background-image: linear-gradient(120deg, var(--ink), var(--amber)); }
.dstats span:not([data-count]) { font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .dstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dstats > div:nth-child(3) { border-inline-start: 0; } .dstats > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }

.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 22px; }
.doccard { border-radius: 24px; padding: 10px; display: grid; grid-template-rows: auto 1fr; }
.dc-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #dfe4ea; }
.dc-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.doccard:hover .dc-pic img { transform: scale(1.05) translateY(-2%); filter: none; }
.dc-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 10, 20, .7)); pointer-events: none; }
.dthumb-table { display: grid; place-items: center; width: 100%; height: 100%; font-size: 54px; color: #9cc8ff; background: radial-gradient(circle at 30% 20%, #1d64ad, #041d3a 70%); }
.dc-kind { position: absolute; z-index: 2; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(4, 10, 20, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); }
.dc-body { padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 6px; }
.dc-org { font-size: 12.5px; color: var(--blue); font-weight: 600; }
.dc-body h3 { font-family: var(--display); font-weight: 900; font-size: 19px; line-height: 1.6; margin: 0; }
.dc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 12.5px; color: var(--ink-3); }
.dc-sum { margin: 4px 0 6px; font-size: 14px; color: var(--ink-2); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dc-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pchip { min-width: 38px; height: 30px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 999px; font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--blue); background: var(--blue-soft); border: 1px solid color-mix(in oklab, var(--blue) 35%, transparent); transition: all .3s var(--ease); }
.pchip.is-annex { color: var(--amber); background: color-mix(in oklab, var(--amber) 14%, transparent); border-color: color-mix(in oklab, var(--amber) 40%, transparent); }
.pchip:hover { transform: translateY(-2px); }
.dc-open { margin-top: 12px; align-self: flex-start; height: 44px; }
.sensitive { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 13px; color: var(--ink-3); }
.sensitive svg { color: var(--amber); }

/* link map: documents ↔ projects */
.linkmap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, .7fr) minmax(0, 1.2fr); gap: 0; border-radius: 26px; padding: 26px; }
.lm-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lm-svg path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-opacity: .45; stroke-dasharray: 5 7; animation: flowDash 2.4s linear infinite; transition: stroke-opacity .3s, stroke-width .3s; }
.lm-svg path.is-annex { stroke: var(--amber); }
.linkmap.lm-focus .lm-svg path { stroke-opacity: .08; }
.linkmap.lm-focus .lm-svg path.on { stroke-opacity: 1; stroke-width: 2.6; filter: drop-shadow(0 0 6px currentColor); }
.lm-col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; position: relative; z-index: 1; }
.lm-docs { grid-column: 1; }
.lm-projs { grid-column: 3; }
.lm-col button, .lm-col a { width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13.5px; line-height: 1.6; cursor: pointer; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.lm-col .on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 12px 30px -12px color-mix(in oklab, var(--blue) 60%, transparent); transform: translateX(calc(var(--lm-dir, 1) * 4px)); }
.lm-projs a.is-annex.on { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 12px 30px -12px rgba(255, 181, 71, .6); }
.lm-ic { color: var(--blue); font-size: 18px; display: grid; }
.lm-projs .no { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--blue); min-width: 28px; }
.lm-projs .is-annex .no, .lm-projs .is-annex small { color: var(--amber); }
.lm-projs span:not(.no) { flex: 1; }
.lm-projs small { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) { .linkmap { grid-template-columns: 1fr; gap: 18px; padding: 18px; } .lm-docs, .lm-projs { grid-column: 1; } }

/* project page: documents section */
.docsec { padding: 10px 0 60px; }
.dsec-h { font-family: var(--display); font-weight: 900; font-size: 22px; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.dsec-h svg { color: var(--amber); }
.docsec-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .docsec-grid { grid-template-columns: 1fr; } }
.docsec-l { display: grid; gap: 18px; }
.notes, .records { border-radius: 22px; padding: 22px 24px; border: 1px solid var(--glass-line); }
.notes { border-inline-start: 3px solid var(--amber); }
.notes h4, .records h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.notes h4 svg { color: var(--amber); }
.records h4 svg { color: var(--blue); }
.notes ul, .records ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.records ol { font-size: 13.5px; }
.dminis { display: grid; gap: 12px; }
.dmini { background: var(--glass-bg); color: inherit; font: inherit; width: 100%; display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; text-align: start; padding: 10px; border-radius: 18px; border: 1px solid var(--glass-line); cursor: zoom-in; transition: transform .4s var(--ease), border-color .3s; }
.dmini:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--blue) 60%, transparent); }
.dthumb { width: 74px; height: 92px; border-radius: 10px; overflow: hidden; background: #dfe4ea; display: block; }
.dthumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.dthumb .dthumb-table { font-size: 30px; }
.dmini small { display: block; font-size: 11.5px; color: var(--blue); }
.dmini b { display: block; font-size: 14.5px; line-height: 1.7; }
.dmini em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); }
.dmini > svg { color: var(--ink-3); font-size: 18px; }

/* viewer */
html.dv-open { overflow: hidden; }
.dv { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px 16px; }
.dv[hidden] { display: none; }
.dv-back { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(1, 101, 179, .28), rgba(2, 6, 14, .82) 70%); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.dv-panel { position: relative; width: min(1240px, 100%); height: min(860px, 100%); display: grid; grid-template-rows: auto 1fr auto; border-radius: 28px; overflow: hidden; background: var(--glass-bg), rgba(6, 14, 28, .72); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow), 0 60px 120px -40px rgba(0, 0, 0, .9); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); }
.dv-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.dv-head > div { flex: 1; min-width: 0; }
.dv-head small { display: block; font-size: 12px; color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-head h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(16px, 1.8vw, 21px); line-height: 1.5; }
.dv-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, #0165b3, #4aa3ff); box-shadow: 0 10px 24px -10px #0165b3; flex-shrink: 0; }
.dv-count { font-size: 13px; color: var(--ink-2); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--glass-line); white-space: nowrap; }
.dv-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
.dv-stage { position: relative; min-height: 0; }
.dv-fig { position: absolute; inset: 18px 18px; margin: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; border-radius: 12px; outline-offset: -2px; }
.dv-fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); background: #fff; }
.dv-fig.zoomed { overflow: auto; display: block; cursor: zoom-out; }
.dv-fig.zoomed img { max-width: none; max-height: none; width: 190%; }
.dv-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; background: var(--glass-bg), rgba(6, 14, 28, .6); border-color: var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dv-prev { inset-inline-start: 22px; }
.dv-next { inset-inline-end: 22px; }
.dv-side { overflow-y: auto; padding: 20px 22px; border-inline-start: 1px solid var(--rule); font-size: 14px; line-height: 1.9; color: var(--ink-2); overscroll-behavior: contain; }
.dv-side p { margin: 0 0 14px; }
.dv-side h4 { margin: 18px 0 8px; font-size: 14px; color: var(--ink); font-weight: 800; }
.dv-side ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; }
.dv-meta { margin: 0 0 14px; display: grid; gap: 6px; }
.dv-meta div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.dv-meta dt { color: var(--ink-3); font-size: 12.5px; }
.dv-meta dd { margin: 0; color: var(--ink); font-weight: 600; }
.dv-links { display: grid; gap: 6px; }
.dv-links a { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--glass-line); font-size: 13.5px; color: var(--ink); transition: border-color .3s; }
.dv-links a:hover { border-color: var(--blue); }
.dv-links .no { font-family: var(--display); font-weight: 900; color: var(--blue); }
.dv-links .is-annex .no { color: var(--amber); }
.dv-side .sensitive { margin-top: 18px; font-size: 12.5px; }
.dv-thumbs { display: flex; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--rule); overflow-x: auto; scrollbar-width: thin; }
.dv-thumbs button { flex: 0 0 auto; width: 54px; height: 70px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color .3s, box-shadow .3s, filter .3s; background: #fff; filter: brightness(.6); }
.dv-thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.dv-thumbs button[aria-current="true"] { filter: none; border-color: var(--blue); box-shadow: 0 10px 20px -8px var(--blue); }
.dv-table { overflow-y: auto; padding: 18px; display: grid; gap: 14px; align-content: start; overscroll-behavior: contain; }
.dv-row { border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass-bg); padding: 16px 18px; }
.dv-row h4 { margin: 0 0 10px; font-size: 16px; font-family: var(--display); font-weight: 900; }
.dv-row h4 a { display: flex; gap: 10px; }
.dv-row h4 .no { color: var(--blue); }
.dv-row dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; }
.dv-row dt { font-size: 12px; color: var(--ink-3); }
.dv-row dd { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); white-space: pre-line; }
@media (max-width: 900px) {
  .dv { padding: 0; }
  .dv-panel { width: 100%; height: 100%; border-radius: 0; }
  .dv-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .dv-side { max-height: 34vh; border-inline-start: 0; border-top: 1px solid var(--rule); }
  .dv-fig { inset: 10px; }
  .dv-prev { inset-inline-start: 10px; } .dv-next { inset-inline-end: 10px; }
  .dv-count { display: none; }
}

/* light theme */
[data-ui="light"] .dv-back { background: radial-gradient(circle at 50% 30%, rgba(1, 101, 179, .18), rgba(220, 230, 242, .78) 70%); }
[data-ui="light"] .dv-panel { background: var(--glass-bg), rgba(255, 255, 255, .7); box-shadow: var(--glass-shadow), 0 60px 120px -40px rgba(6, 47, 92, .45); }
[data-ui="light"] .dv-nav { background: rgba(255, 255, 255, .85); }
[data-ui="light"] .annex-chip, [data-ui="light"] .annex-tx, [data-ui="light"] .pchip.is-annex, [data-ui="light"] .lm-projs .is-annex .no, [data-ui="light"] .lm-projs .is-annex small, [data-ui="light"] .dv-links .is-annex .no { color: #a8620a; }
[data-ui="light"] .annex-chip svg { color: #a8620a !important; }
[dir="ltr"] .lm-col .on { --lm-dir: 1; }
[dir="rtl"] .lm-col .on { --lm-dir: -1; }
html.calm .pl-blade, html.calm .pl-flow, html.calm .pl-needle, html.calm .pl-win, html.calm .lm-svg path { animation: none; }

/* project illustrations: small, looping motions */
.pl-spinslow { transform-box: fill-box; transform-origin: center; animation: spinSlow 18s linear infinite; }
.pl-float { transform-box: fill-box; animation: plFloat 4s ease-in-out infinite; }
.pl-puff { transform-box: fill-box; transform-origin: center; animation: plPuff 3s ease-out infinite; }
.pl-wheel { transform-box: fill-box; transform-origin: center; animation: plWheel 5s ease-in-out infinite; }
.pl-ping { animation: plPing 2.2s ease-out infinite; }
.pl-bar { transform-box: fill-box; transform-origin: bottom; animation: plBar 2.6s ease-in-out infinite; }
.pl-flame { transform-box: fill-box; transform-origin: bottom; animation: plFlame 1.2s ease-in-out infinite; }
.pl-belt { animation: plBelt 4s linear infinite; }
.pl-zap { transform-box: fill-box; transform-origin: center; animation: plZap 2.4s ease-in-out infinite; }
.pl-up { animation: plUp 2.2s ease-in-out infinite; }
.pl-down { animation: plDown 2.2s ease-in-out infinite; }
.pl-sway { transform-box: fill-box; transform-origin: 0 100%; animation: plSway 5s ease-in-out infinite; }
@keyframes plFloat { 50% { transform: translateY(-14px); } }
@keyframes plPuff { 0% { transform: translateY(0) scale(.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-70px) scale(1.5); opacity: 0; } }
@keyframes plWheel { 50% { transform: rotate(120deg); } }
@keyframes plPing { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes plBar { 50% { transform: scaleY(.55); } }
@keyframes plFlame { 50% { transform: scale(.88, 1.12); } }
@keyframes plBelt { from { transform: translateX(-40px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateX(170px); opacity: 0; } }
@keyframes plZap { 0%, 100% { opacity: .65; transform: scale(.94); } 10%, 30% { opacity: 1; transform: scale(1.06); } 20% { opacity: .5; } }
@keyframes plUp { 0% { transform: translateY(14px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-18px); opacity: 0; } }
@keyframes plDown { 0% { transform: translateY(-14px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }
@keyframes plSway { 50% { transform: rotate(4deg); } }
html.calm .pl-spinslow, html.calm .pl-float, html.calm .pl-puff, html.calm .pl-wheel, html.calm .pl-ping, html.calm .pl-bar, html.calm .pl-flame, html.calm .pl-belt, html.calm .pl-zap, html.calm .pl-up, html.calm .pl-down, html.calm .pl-sway { animation: none; }


/* ═══════════ project infographic ═══════════ */
.ig-h { margin-bottom: 26px; }
.ig-h h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.25; margin: 10px 0 0; }
.ig-glance { padding-top: 90px; }
.ig-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.ig-tile { border-radius: 26px; padding: 24px 24px 22px; min-height: 220px; display: flex; flex-direction: column; gap: 12px; background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); backdrop-filter: blur(22px) saturate(165%); -webkit-backdrop-filter: blur(22px) saturate(165%); }
.ig-tile > header, .ig-card > header { display: flex; align-items: center; gap: 10px; color: var(--ink-2); position: relative; z-index: 1; }
.ig-tile > header svg, .ig-card > header svg { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); flex: none; }
.ig-tile > header small, .ig-card > header small { font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.ig-tile em { font-style: normal; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); position: relative; z-index: 1; }
.ig-bento { grid-auto-flow: dense; }
.ig-tile.s2 { grid-column: span 2; } .ig-tile.s3 { grid-column: span 3; } .ig-tile.s4 { grid-column: span 4; }
@media (max-width: 1100px) { .ig-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ig-tile.s3, .ig-tile.s4 { grid-column: span 2; } }
@media (max-width: 640px) { .ig-bento { grid-template-columns: 1fr; } .ig-bento > .ig-tile { grid-column: auto; } .ig-glance { padding-top: 60px; } }

/* big numbers */
.ig-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; position: relative; z-index: 1; margin-top: auto; }
.ig-big b { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.1; color: var(--ink); text-shadow: 0 0 34px color-mix(in oklab, var(--blue) 55%, transparent); font-variant-numeric: tabular-nums; }
.ig-big b.mid { font-size: clamp(34px, 3.8vw, 58px); }
.ig-big u { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink-2); }
.t-pb .ig-big b { font-size: clamp(40px, 4vw, 60px); }
.ig-qual { display: flex; gap: 10px; align-items: flex-start; margin: auto 0 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); position: relative; z-index: 1; }
.ig-qual svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 5px; }

/* investment: a skyline of bars rising behind the figure */
.ig-bars { position: absolute; inset-inline-end: 22px; bottom: 0; height: 72%; width: 46%; display: flex; align-items: flex-end; gap: 6px; opacity: .55; z-index: 0; -webkit-mask-image: linear-gradient(to top, #000 30%, transparent); mask-image: linear-gradient(to top, #000 30%, transparent); }
.ig-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(to top, color-mix(in oklab, var(--blue) 70%, transparent), color-mix(in oklab, var(--blue) 15%, transparent)); transform-origin: bottom; }
.ig-bars i:nth-child(5n + 3) { background: linear-gradient(to top, color-mix(in oklab, var(--amber) 70%, transparent), transparent); }

/* rate of return: half gauge */
.ig-gauge { position: relative; margin: auto auto 0; width: min(100%, 250px); }
.ig-gauge svg { display: block; width: 100%; overflow: visible; }
.ig-gauge .trk, .ig-gauge .val { fill: none; stroke-width: 14; stroke-linecap: round; }
.ig-gauge .trk { stroke: var(--rule); }
.ig-gauge .val { stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); filter: drop-shadow(0 0 8px color-mix(in oklab, var(--amber) 60%, transparent)); }
.ig-gauge .tk { stroke: var(--ink-3); stroke-width: 1.5; opacity: .6; }
.ig-gauge b { position: absolute; inset-inline: 0; bottom: -4px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--ink); }

/* payback: a ruler of years */
.ig-time { position: relative; height: 10px; border-radius: 10px; background: var(--rule); margin: 6px 0 26px; z-index: 1; }
.ig-time .fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p) * 1%); border-radius: inherit; background: linear-gradient(to left, var(--amber), var(--blue)); }
[dir="ltr"] .ig-time .fill { background: linear-gradient(to right, var(--blue), var(--amber)); }
.ig-time .pin { position: absolute; top: 50%; inset-inline-start: calc(var(--p) * 1%); width: 20px; height: 20px; margin-inline-start: -10px; margin-top: -10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px color-mix(in oklab, var(--amber) 25%, transparent), 0 0 22px var(--amber); }
.ig-time .ticks { position: absolute; top: 16px; inset-inline: 0; display: flex; justify-content: space-between; }
.ig-time .ticks i { font-style: normal; font-size: 11px; color: var(--ink-3); width: 0; display: flex; justify-content: center; white-space: nowrap; }

/* key numbers */
.ig-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin-top: auto; position: relative; z-index: 1; }
.ig-facts.n1 { grid-template-columns: 1fr; }
.ig-facts.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ig-facts > div { border-inline-start: 2px solid color-mix(in oklab, var(--blue) 55%, transparent); padding-inline-start: 14px; min-width: 0; }
.ig-facts b { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.ig-facts.n1 b { font-size: clamp(44px, 5vw, 72px); }
.ig-facts u { text-decoration: none; display: block; font-size: 13px; font-weight: 700; color: var(--amber); }
.ig-facts small { display: block; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
@media (max-width: 640px) { .ig-facts.n3 { grid-template-columns: 1fr 1fr; } }

/* investment model: phase by phase */
.ig-model { position: relative; z-index: 1; margin-top: auto; }
.ig-model + .ig-model { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.ig-model .mh { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ig-model .mh b { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: .04em; color: var(--ink); }
.ig-model .mh span { font-size: 13.5px; color: var(--ink-2); }
.ig-model ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.ig-model li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ig-model li + li::before { content: ""; position: absolute; top: 22px; inset-inline-end: calc(50% + 26px); width: calc(100% - 44px); height: 2px; background: linear-gradient(to left, var(--blue), transparent); }
[dir="ltr"] .ig-model li + li::before { background: linear-gradient(to right, transparent, var(--blue)); }
.ig-model li svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); border: 1px solid color-mix(in oklab, var(--blue) 40%, transparent); }

/* location: the 3D map, zoomed to the project */
.t-loc .ig-loc3d { flex: 1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: stretch; position: relative; z-index: 1; }
.t-loc .mapframe { height: clamp(380px, 38vw, 540px); border-radius: 20px; border: 1px solid var(--glass-line); }
.ig-loc { display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; z-index: 1; }
.ig-loc b { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.5; }
.ig-loc span { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }
.ig-loc span svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.ig-loc p { margin: 0; font-size: 15px; line-height: 2; color: var(--ink-2); }
.ig-loc .btn { align-self: flex-start; height: 46px; margin-top: 6px; }
@media (max-width: 900px) { .t-loc .ig-loc3d { grid-template-columns: 1fr; } .t-loc .mapframe { height: 360px; } }

/* data on record */
.t-data { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.t-data > header { flex-basis: 100%; }
.ig-ring { position: relative; width: 108px; flex: none; }
.ig-ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.ig-ring circle { fill: none; stroke-width: 10; }
.ig-ring .trk { stroke: var(--rule); }
.ig-ring .val { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); filter: drop-shadow(0 0 6px var(--blue)); }
[dir="rtl"] .ig-ring svg { transform: rotate(-90deg) scaleY(-1); }
.ig-ring b { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; }
.ig-ring b small { font-size: 14px; color: var(--ink-3); }
.ig-checks { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 150px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12.5px; }
.ig-checks li { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.ig-checks li svg { width: 14px; height: 14px; color: var(--blue); flex: none; }
.ig-checks li.n { color: var(--ink-3); }
.ig-checks li.n svg { color: var(--ink-3); }

/* contact */
.t-contact .nm { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.5; margin-top: auto; position: relative; z-index: 1; }
.ig-phones { display: grid; gap: 8px; position: relative; z-index: 1; }
.ig-phones > div { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.ig-phones > div > svg { width: 16px; height: 16px; color: var(--ink-3); }
.ig-phones .phone { direction: ltr; font-variant-numeric: tabular-nums; user-select: all; }
.ig-phones .copy { margin-inline-start: auto; }

/* project path */
.ig-path { padding-top: 110px; }
.ig-steps { --p: 0; list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.ig-steps::before, .ig-steps::after { content: ""; position: absolute; top: 27px; height: 3px; border-radius: 3px; inset-inline-start: calc(100% / 12); }
.ig-steps::before { width: calc(100% - 100% / 6); background: repeating-linear-gradient(90deg, var(--rule) 0 8px, transparent 8px 14px); }
.ig-steps::after { width: calc((100% - 100% / 6) * var(--p) / 100); background: linear-gradient(to left, var(--amber), var(--blue)); box-shadow: 0 0 16px color-mix(in oklab, var(--blue) 70%, transparent); }
[dir="ltr"] .ig-steps::after { background: linear-gradient(to right, var(--blue), var(--amber)); }
.ig-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 6px; }
.ig-steps .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px dashed var(--rule); color: var(--ink-3); margin-bottom: 8px; }
.ig-steps .dot svg { width: 22px; height: 22px; }
.ig-steps b { font-family: var(--display); font-weight: 900; font-size: 15.5px; line-height: 1.5; }
.ig-steps small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.ig-steps em { font-style: normal; font-size: 12px; line-height: 1.7; color: var(--amber); background: color-mix(in oklab, var(--amber) 10%, transparent); border: 1px solid color-mix(in oklab, var(--amber) 30%, transparent); border-radius: 12px; padding: 6px 10px; margin-top: 6px; }
.ig-steps .s-done .dot { background: var(--blue); border: 0; color: #fff; box-shadow: 0 0 0 6px var(--blue-soft), 0 0 26px color-mix(in oklab, var(--blue) 60%, transparent); }
.ig-steps .s-done small { color: var(--blue); }
.ig-steps .s-now .dot { background: var(--amber); border: 0; color: #1b1203; box-shadow: 0 0 0 7px color-mix(in oklab, var(--amber) 22%, transparent), 0 0 30px var(--amber); animation: igNow 2.4s ease-in-out infinite; }
.ig-steps .s-now small { color: var(--amber); }
.ig-steps .s-pending .dot { border: 2px solid var(--amber); color: var(--amber); }
.ig-steps .s-pending small { color: var(--amber); }
.ig-steps .s-conflict .dot { border: 2px solid var(--flame); color: var(--flame); }
.ig-steps .s-conflict small { color: var(--flame); }
.ig-steps .s-unknown b { color: var(--ink-3); }
@keyframes igNow { 50% { box-shadow: 0 0 0 14px color-mix(in oklab, var(--amber) 8%, transparent), 0 0 40px var(--amber); } }
.ig-basis { display: flex; gap: 10px; align-items: flex-start; margin: 34px auto 0; max-width: 860px; justify-content: center; text-align: center; font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.ig-basis svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; margin-top: 6px; }
@media (max-width: 760px) {
  .ig-path { padding-top: 70px; }
  .ig-steps { grid-template-columns: 1fr; gap: 18px; }
  .ig-steps::before, .ig-steps::after { top: 28px; inset-inline-start: 27px; width: 3px; height: calc(100% - 56px); }
  .ig-steps::before { background: repeating-linear-gradient(180deg, var(--rule) 0 8px, transparent 8px 14px); }
  .ig-steps::after { height: calc((100% - 56px) * var(--p) / 100); background: linear-gradient(to bottom, var(--blue), var(--amber)); }
  [dir="ltr"] .ig-steps::after { background: linear-gradient(to bottom, var(--blue), var(--amber)); }
  .ig-steps li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; text-align: start; align-items: center; padding: 0; }
  .ig-steps .dot { grid-row: span 2; margin: 0; }
  .ig-steps b { align-self: end; } .ig-steps small { align-self: start; }
  .ig-steps em { grid-column: 2; }
  .ig-basis { justify-content: flex-start; text-align: start; }
}

/* description */
.ig-story { padding-top: 110px; padding-bottom: 40px; }
.ig-story-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: start; }
.ig-lead { margin: 0 0 28px; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.75; color: var(--ink); }
.ig-line { margin: 0 0 22px; font-size: 17.5px; line-height: 2.15; color: var(--ink-2); padding-inline-start: 18px; border-inline-start: 2px solid var(--rule); }
.ig-story mark { color: inherit; background: linear-gradient(transparent 60%, color-mix(in oklab, var(--amber) 42%, transparent) 0) no-repeat right / 0% 100%; padding: 0 2px; border-radius: 2px; transition: background-size 1.3s var(--ease) .3s; }
[dir="ltr"] .ig-story mark { background-position: left; }
.ig-story .in mark, html:not(.ig-anim) .ig-story mark { background-size: 100% 100%; }
.ig-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.ig-card { border-radius: 24px; padding: 24px; background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); backdrop-filter: blur(22px) saturate(165%); -webkit-backdrop-filter: blur(22px) saturate(165%); }
.ig-card p { margin: 14px 0 0; font-size: 15.5px; line-height: 2.05; color: var(--ink); position: relative; z-index: 1; }
.ig-card p.mute { color: var(--ink-3); }
.ig-permit { padding-inline-end: 96px; min-height: 150px; }
.ig-stamp { position: absolute; inset-inline-end: 16px; top: 18px; width: 84px; height: 84px; display: grid; place-items: center; color: var(--flame); transform: rotate(-14deg); opacity: .85; z-index: 1; }
.ig-stamp svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-stamp circle { fill: none; stroke: currentColor; stroke-width: 2.4; }
.ig-stamp circle + circle { stroke-width: 1; stroke-dasharray: 3 3; }
.ig-stamp > svg:not(:first-child) { width: 26px; height: 26px; margin-top: -12px; }
.ig-stamp i { position: absolute; bottom: 20px; font-style: normal; font-family: var(--display); font-weight: 900; font-size: 11px; letter-spacing: .08em; }
.ig-anim .ig-permit:not(.in) .ig-stamp { opacity: 0; transform: rotate(-40deg) scale(2.2); }
.ig-stamp { transition: opacity .35s ease-in .5s, transform .55s cubic-bezier(.3, 1.6, .5, 1) .5s; }
@media (max-width: 900px) { .ig-story-grid { grid-template-columns: 1fr; } .ig-side { position: static; } .ig-story { padding-top: 70px; } }

/* all data, folded */
.ig-all { margin: 10px 0 60px; }
.ig-all summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.ig-all summary::-webkit-details-marker { display: none; }
.ig-all summary svg { width: 18px; height: 18px; color: var(--blue); }
.ig-all summary svg:last-child { transition: transform .4s var(--ease); color: var(--ink-3); }
.ig-all[open] summary svg:last-child { transform: rotate(180deg); }
.ig-all .sheet { position: static; margin-top: 16px; }

/* section rail */
.ig-rail { position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.ig-rail.show { opacity: 1; pointer-events: auto; }
.ig-rail button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-start; flex-direction: row-reverse; gap: 10px; height: 26px; }
.ig-rail i { width: 8px; height: 8px; border-radius: 8px; background: var(--ink-3); transition: all .4s var(--ease); }
.ig-rail span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); opacity: 0; transform: translateX(8px); transition: all .4s var(--ease); white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: color-mix(in oklab, var(--paper) 70%, transparent); }
[dir="ltr"] .ig-rail span { transform: translateX(-8px); }
.ig-rail button:hover span, .ig-rail button.on span { opacity: 1; transform: none; }
.ig-rail button.on i { height: 26px; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
@media (max-width: 1280px) { .ig-rail { display: none; } }
html.calm .ig-iran .ring, html.calm .ig-steps .s-now .dot { animation: none; }
.ig-facts { margin-block: auto; }
.ig-facts.n2 b { font-size: clamp(36px, 3.6vw, 56px); }
.ig-ring b { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.ig-ring b small { order: 2; }
.ig-ring b { align-items: center; }
.ig-ring b small { margin-top: 8px; }
.ig-lead mark { background-image: linear-gradient(transparent 80%, color-mix(in oklab, var(--amber) 55%, transparent) 0); }
.ig-ring b small { margin-inline-start: 4px; }
@media (max-width: 640px) { .ig-tile { min-height: 0; } .ig-qual { margin-top: 8px; } }

/* velocity strip: a clean outer outline on joined Persian letters. The stroke is painted under a fill
   in the strip's own colour, so the seams where letters overlap are covered and only the outer edge shows. */
.velo { background: var(--paper); }
.velo-track span { color: var(--paper); -webkit-text-stroke: 3px rgba(74, 163, 255, .8); paint-order: stroke fill; text-shadow: 0 0 22px rgba(74, 163, 255, .35); }
.velo-track span:nth-child(3n+2) { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 0 30px rgba(74, 163, 255, .6); }
[data-ui="light"] .velo-track span { color: var(--paper); -webkit-text-stroke: 3px rgba(1, 101, 179, .7); text-shadow: none; }
[data-ui="light"] .velo-track span:nth-child(3n+2) { color: var(--blue); -webkit-text-stroke: 0; }

/* ═════════ living icons ═════════
   strokes draw in when an icon scrolls into view; hovering or focusing its row/card/button plays the icon's own move */
.ia svg.lucide[data-ia] > * { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); opacity: 0; transform-box: view-box; transform-origin: 50% 50%;
  transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1) calc(var(--i) * 80ms), opacity .2s linear calc(var(--i) * 80ms); }
.ia svg.lucide.ia-in > * { stroke-dashoffset: 0; opacity: 1; }
.ia svg.lucide.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-activity.ia-go > * { animation: none; }
.ia svg.lucide-activity.ia-go > :nth-child(1) { animation: ia-redraw 1.0s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-arrow-left.ia-go > * { animation: ia-nudgel 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-arrow-right.ia-go > * { animation: ia-nudger 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-arrow-up-left.ia-go > * { animation: ia-nudgeul 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-arrow-up-right.ia-go > * { animation: ia-nudgeur 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-badge-check.ia-go > * { animation: none; }
.ia svg.lucide-badge-check.ia-go > :nth-child(1) { animation: ia-turn45 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-badge-check.ia-go > :nth-child(2) { animation: ia-redraw 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-banknote.ia-go > * { animation: ia-slidex 0.8s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-banknote.ia-go > :nth-child(2) { animation: ia-flipy 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-book-open.ia-go > * { animation: none; }
.ia svg.lucide-book-open.ia-go > :nth-child(1) { animation: ia-growy 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-book-open.ia-go > :nth-child(2) { animation: ia-unfold 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-book-open-text.ia-go > * { animation: none; }
.ia svg.lucide-book-open-text.ia-go > :nth-child(2) { animation: ia-redraw 0.35s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-book-open-text.ia-go > :nth-child(3) { animation: ia-redraw 0.35s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.28s) both; }
.ia svg.lucide-book-open-text.ia-go > :nth-child(4) { animation: ia-unfold 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-book-open-text.ia-go > :nth-child(5) { animation: ia-redraw 0.35s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.36s) both; }
.ia svg.lucide-book-open-text.ia-go > :nth-child(6) { animation: ia-redraw 0.35s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.44s) both; }
.ia svg.lucide-briefcase-business.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-briefcase-business.ia-go > :nth-child(1) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.20s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-building-2.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-building-2.ia-go > :nth-child(4) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-building-2.ia-go > :nth-child(5) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-building-2.ia-go > :nth-child(6) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-building-2.ia-go > :nth-child(7) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-calendar.ia-go > * { animation: none; }
.ia svg.lucide-calendar.ia-go > :nth-child(1) { animation: ia-hops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-calendar.ia-go > :nth-child(2) { animation: ia-hops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-calendar.ia-go > :nth-child(4) { animation: ia-growx 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-chart-no-axes-column.ia-go > * { animation: none; }
.ia svg.lucide-chart-no-axes-column.ia-go > :nth-child(1) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-chart-no-axes-column.ia-go > :nth-child(2) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.20s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-chart-no-axes-column.ia-go > :nth-child(3) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-chart-pie.ia-go > * { animation: ia-turn45 0.8s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-chart-pie.ia-go > :nth-child(1) { animation: ia-outtr 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-check.ia-go > * { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-check.ia-go > :nth-child(1) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-chevron-down.ia-go > * { animation: ia-nudged 0.6s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-chevron-left.ia-go > * { animation: ia-nudgel 0.6s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-chevron-right.ia-go > * { animation: ia-nudger 0.6s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-circle-dashed.ia-go > * { animation: none; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(1) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(2) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(3) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.05s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(4) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.25s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(5) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.15s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(6) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(7) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.35s) both; }
.ia svg.lucide-circle-dashed.ia-go > :nth-child(8) { animation: ia-blink 0.5s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-circle-dollar-sign.ia-go > * { animation: ia-flipy 1.0s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-circle-dollar-sign.ia-go > :nth-child(2) { animation: ia-flipy 1.0s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-clock-3.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-clock-3.ia-go > :nth-child(2) { animation: ia-spin 0.9s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-cog.ia-go > * { animation: ia-turn180 1.1s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-coins.ia-go > * { animation: ia-flipy 1.0s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-copy.ia-go > * { animation: none; }
.ia svg.lucide-copy.ia-go > :nth-child(1) { animation: ia-shift 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-copy.ia-go > :nth-child(2) { animation: ia-glow 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-cpu.ia-go > * { animation: none; }
.ia svg.lucide-cpu.ia-go > :nth-child(2) { animation: ia-breathe 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-cpu.ia-go > :nth-child(3) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(4) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.05s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(5) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(6) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.15s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(7) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(8) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.25s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(9) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-cpu.ia-go > :nth-child(10) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.35s) both; }
.ia svg.lucide-cylinder.ia-go > * { animation: none; }
.ia svg.lucide-cylinder.ia-go > :nth-child(1) { animation: ia-lift 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-cylinder.ia-go > :nth-child(2) { animation: ia-growy 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-expand.ia-go > * { animation: none; }
.ia svg.lucide-expand.ia-go > :nth-child(1) { animation: ia-outbr 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-expand.ia-go > :nth-child(2) { animation: ia-outbl 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-expand.ia-go > :nth-child(3) { animation: ia-outtr 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-expand.ia-go > :nth-child(4) { animation: ia-outtl 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-factory.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-factory.ia-go > :nth-child(2) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-factory.ia-go > :nth-child(3) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.12s) both; }
.ia svg.lucide-factory.ia-go > :nth-child(4) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.24s) both; }
.ia svg.lucide-file-check-2.ia-go > * { animation: none; }
.ia svg.lucide-file-check-2.ia-go > :nth-child(3) { animation: ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-file-plus-2.ia-go > * { animation: none; }
.ia svg.lucide-file-plus-2.ia-go > :nth-child(1) { animation: ia-hops 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-file-plus-2.ia-go > :nth-child(2) { animation: ia-hops 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-file-plus-2.ia-go > :nth-child(3) { animation: ia-turn90 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-file-plus-2.ia-go > :nth-child(4) { animation: ia-turn90 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-file-text.ia-go > * { animation: none; }
.ia svg.lucide-file-text.ia-go > :nth-child(1) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-file-text.ia-go > :nth-child(2) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-file-text.ia-go > :nth-child(3) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-file-text.ia-go > :nth-child(4) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-file-text.ia-go > :nth-child(5) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-files.ia-go > * { animation: none; }
.ia svg.lucide-files.ia-go > :nth-child(1) { animation: ia-slideup 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-files.ia-go > :nth-child(2) { animation: ia-slideup 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-files.ia-go > :nth-child(3) { animation: ia-fanl 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.05s) both; transform-box: fill-box; transform-origin: 0% 100%; }
.ia svg.lucide-flame.ia-go > * { animation: ia-pop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-gallery-horizontal-end.ia-go > * { animation: none; }
.ia svg.lucide-gallery-horizontal-end.ia-go > :nth-child(1) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-gallery-horizontal-end.ia-go > :nth-child(2) { animation: ia-blink 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-gallery-horizontal-end.ia-go > :nth-child(3) { animation: ia-slidex 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-gauge.ia-go > * { animation: none; }
.ia svg.lucide-gauge.ia-go > :nth-child(1) { animation: ia-needle 1.1s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 58.333%; }
.ia svg.lucide-hammer.ia-go > * { animation: ia-strike 0.8s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 15% 88%; }
.ia svg.lucide-hand.ia-go > * { animation: ia-swing 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 90%; }
.ia svg.lucide-handshake.ia-go > * { animation: ia-grip 0.9s ease-in-out calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-hard-hat.ia-go > * { animation: ia-tilt 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 85%; }
.ia svg.lucide-hash.ia-go > * { animation: none; }
.ia svg.lucide-hash.ia-go > :nth-child(1) { animation: ia-growx 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-hash.ia-go > :nth-child(2) { animation: ia-growx 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.08s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-hash.ia-go > :nth-child(3) { animation: ia-growy 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-hash.ia-go > :nth-child(4) { animation: ia-growy 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.18s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-heading.ia-go > * { animation: none; }
.ia svg.lucide-heading.ia-go > :nth-child(1) { animation: ia-growx 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.15s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-heading.ia-go > :nth-child(2) { animation: ia-growy 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-heading.ia-go > :nth-child(3) { animation: ia-growy 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.08s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-history.ia-go > * { animation: ia-spinback 0.9s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-hourglass.ia-go > * { animation: ia-flip180 1.0s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-house.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-house.ia-go > :nth-child(1) { animation: ia-growy 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.15s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-house-plug.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-house-plug.ia-go > :nth-child(1) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.15s) both; }
.ia svg.lucide-house-plug.ia-go > :nth-child(2) { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.15s) both; }
.ia svg.lucide-key-round.ia-go > * { animation: ia-keyturn 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 68% 32%; }
.ia svg.lucide-landmark.ia-go > * { animation: none; }
.ia svg.lucide-landmark.ia-go > :nth-child(1) { animation: ia-growx 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-landmark.ia-go > :nth-child(2) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.12s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-landmark.ia-go > :nth-child(3) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.19s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-landmark.ia-go > :nth-child(4) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.26s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-landmark.ia-go > :nth-child(5) { animation: ia-growy 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.33s) both; transform-box: fill-box; transform-origin: 50% 100%; }
.ia svg.lucide-landmark.ia-go > :nth-child(6) { animation: ia-fall 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-languages.ia-go > * { animation: none; }
.ia svg.lucide-languages.ia-go > :nth-child(1) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-languages.ia-go > :nth-child(2) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-languages.ia-go > :nth-child(3) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-languages.ia-go > :nth-child(4) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-languages.ia-go > :nth-child(5) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.18s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-languages.ia-go > :nth-child(6) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.18s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layers.ia-go > * { animation: none; }
.ia svg.lucide-layers.ia-go > :nth-child(1) { animation: ia-lift 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layers.ia-go > :nth-child(2) { animation: ia-sink 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layers.ia-go > :nth-child(3) { animation: ia-lift2 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.06s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-dashboard.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-dashboard.ia-go > :nth-child(1) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-dashboard.ia-go > :nth-child(2) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.07s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-dashboard.ia-go > :nth-child(3) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.14s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-dashboard.ia-go > :nth-child(4) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.21s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-grid.ia-go > * { animation: none; }
.ia svg.lucide-layout-grid.ia-go > :nth-child(1) { animation: ia-pops 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-grid.ia-go > :nth-child(2) { animation: ia-pops 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.08s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-grid.ia-go > :nth-child(3) { animation: ia-pops 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.24s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-layout-grid.ia-go > :nth-child(4) { animation: ia-pops 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.16s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-leaf.ia-go > * { animation: ia-swing 1.0s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 10% 90%; }
.ia svg.lucide-link.ia-go > * { animation: none; }
.ia svg.lucide-link.ia-go > :nth-child(1) { animation: ia-outtr 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-link.ia-go > :nth-child(2) { animation: ia-outbl 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-list.ia-go > * { animation: none; }
.ia svg.lucide-list.ia-go > :nth-child(1) { animation: ia-pops 0.4s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-list.ia-go > :nth-child(2) { animation: ia-pops 0.4s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.20s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-list.ia-go > :nth-child(3) { animation: ia-pops 0.4s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-list.ia-go > :nth-child(4) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-list.ia-go > :nth-child(5) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-list.ia-go > :nth-child(6) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-list-checks.ia-go > * { animation: none; }
.ia svg.lucide-list-checks.ia-go > :nth-child(1) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.15s) both; }
.ia svg.lucide-list-checks.ia-go > :nth-child(2) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-list-checks.ia-go > :nth-child(3) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-list-checks.ia-go > :nth-child(4) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-list-checks.ia-go > :nth-child(5) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-list-ordered.ia-go > * { animation: none; }
.ia svg.lucide-list-ordered.ia-go > :nth-child(1) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-list-ordered.ia-go > :nth-child(2) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-list-ordered.ia-go > :nth-child(3) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-list-ordered.ia-go > :nth-child(4) { animation: ia-hops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.10s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-list-ordered.ia-go > :nth-child(5) { animation: ia-hops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-list-ordered.ia-go > :nth-child(6) { animation: ia-hops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.20s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-locate-fixed.ia-go > * { animation: ia-turn90 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-locate-fixed.ia-go > :nth-child(6) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.30s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-map.ia-go > * { animation: ia-unfold 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-map.ia-go > :nth-child(2) { animation: ia-unfold 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-map.ia-go > :nth-child(3) { animation: ia-unfold 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-map-pin.ia-go > * { animation: ia-drop 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-map-pin.ia-go > :nth-child(2) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.42s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-map-pinned.ia-go > * { animation: ia-drop 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-map-pinned.ia-go > :nth-child(2) { animation: ia-pops 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.42s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-map-pinned.ia-go > :nth-child(3) { animation: ia-drop 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-minus.ia-go > * { animation: none; }
.ia svg.lucide-minus.ia-go > :nth-child(1) { animation: ia-growx 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-moon.ia-go > * { animation: ia-swing 1.0s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-package.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-package.ia-go > :nth-child(4) { animation: ia-lift 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.05s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-panel-bottom.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-panel-bottom.ia-go > :nth-child(2) { animation: ia-lift 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-panel-right.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-panel-right.ia-go > :nth-child(2) { animation: ia-slidex 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-paperclip.ia-go > * { animation: ia-swing 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 10%; }
.ia svg.lucide-pencil-ruler.ia-go > * { animation: ia-write 1.0s ease-in-out calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-phone.ia-go > * { animation: ia-ring 1.0s linear calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-quote.ia-go > * { animation: none; }
.ia svg.lucide-quote.ia-go > :nth-child(1) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-quote.ia-go > :nth-child(2) { animation: ia-hops 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.12s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-rocket.ia-go > * { animation: ia-launch 0.9s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-rotate-3d.ia-go > * { animation: ia-flipy 1.1s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-route.ia-go > * { animation: none; }
.ia svg.lucide-route.ia-go > :nth-child(1) { animation: ia-pops 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-route.ia-go > :nth-child(2) { animation: ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-route.ia-go > :nth-child(3) { animation: ia-pops 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.40s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-scan-text.ia-go > * { animation: none; }
.ia svg.lucide-scan-text.ia-go > :nth-child(1) { animation: ia-squeeze 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-scan-text.ia-go > :nth-child(2) { animation: ia-squeeze 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-scan-text.ia-go > :nth-child(3) { animation: ia-squeeze 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-scan-text.ia-go > :nth-child(4) { animation: ia-squeeze 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-scan-text.ia-go > :nth-child(5) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.10s) both; }
.ia svg.lucide-scan-text.ia-go > :nth-child(6) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-scan-text.ia-go > :nth-child(7) { animation: ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-scroll-text.ia-go > * { animation: ia-roll 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 0%; }
.ia svg.lucide-scroll-text.ia-go > :nth-child(1) { animation: ia-roll 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.20s) both; }
.ia svg.lucide-scroll-text.ia-go > :nth-child(2) { animation: ia-roll 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.45s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-search.ia-go > * { animation: ia-scan 1.0s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-shield-alert.ia-go > * { animation: ia-shakes 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-shield-alert.ia-go > :nth-child(2) { animation: ia-shakes 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.9s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-shield-alert.ia-go > :nth-child(3) { animation: ia-shakes 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.9s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-shield-check.ia-go > * { animation: ia-zoom 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-shield-check.ia-go > :nth-child(2) { animation: ia-zoom 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.15s) both; }
.ia svg.lucide-smartphone.ia-go > * { animation: ia-buzz 0.7s linear calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-smartphone.ia-go > :nth-child(2) { animation: ia-buzz 0.7s linear calc(var(--d, 0s) + 0.00s) both, ia-blink 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-sparkles.ia-go > * { animation: ia-pop 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-stamp.ia-go > * { animation: ia-hop 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-sticky-note.ia-go > * { animation: ia-peel 0.8s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 0% 100%; }
.ia svg.lucide-sun.ia-go > * { animation: ia-turn90 1.1s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-sun.ia-go > :nth-child(1) { animation: ia-breathe 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-table-2.ia-go > * { animation: none; }
.ia svg.lucide-table-2.ia-go > :nth-child(1) { animation: ia-redraw 0.9s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-trending-up.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-trending-up.ia-go > :nth-child(1) { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both, ia-redraw 0.7s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-trending-up.ia-go > :nth-child(2) { animation: ia-outtr 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.25s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-triangle-alert.ia-go > * { animation: ia-shakes 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-triangle-alert.ia-go > :nth-child(2) { animation: ia-shakes 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-triangle-alert.ia-go > :nth-child(3) { animation: ia-shakes 0.7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both, ia-blink 0.8s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-user-round.ia-go > * { animation: ia-pop 0.6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
.ia svg.lucide-user-round.ia-go > :nth-child(1) { animation: ia-bob 0.8s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-user-round.ia-go > :nth-child(2) { animation: ia-hops 0.7s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.05s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-waypoints.ia-go > * { animation: none; }
.ia svg.lucide-waypoints.ia-go > :nth-child(1) { animation: ia-pops 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.00s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-waypoints.ia-go > :nth-child(2) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.06s) both; }
.ia svg.lucide-waypoints.ia-go > :nth-child(3) { animation: ia-pops 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.12s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-waypoints.ia-go > :nth-child(4) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.18s) both; }
.ia svg.lucide-waypoints.ia-go > :nth-child(5) { animation: ia-pops 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.24s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-waypoints.ia-go > :nth-child(6) { animation: ia-redraw 0.4s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.30s) both; }
.ia svg.lucide-waypoints.ia-go > :nth-child(7) { animation: ia-pops 0.45s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + 0.36s) both; transform-box: fill-box; transform-origin: 50% 50%; }
.ia svg.lucide-wind.ia-go > * { animation: none; }
.ia svg.lucide-wind.ia-go > :nth-child(1) { animation: ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.24s) both; }
.ia svg.lucide-wind.ia-go > :nth-child(2) { animation: ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.12s) both; }
.ia svg.lucide-wind.ia-go > :nth-child(3) { animation: ia-redraw 0.6s cubic-bezier(.65,0,.35,1) calc(var(--d, 0s) + 0.00s) both; }
.ia svg.lucide-x.ia-go > * { animation: ia-turn90 0.6s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + 0.00s) both; transform-box: view-box; transform-origin: 50% 50%; }
@keyframes ia-blink { 0%,100%{opacity:1}25%{opacity:.1}50%{opacity:1}75%{opacity:.25} }
@keyframes ia-bob { 0%,100%{transform:none}30%{transform:translateY(-2.5px)}55%{transform:translateY(.4px)}75%{transform:translateY(-1.2px)} }
@keyframes ia-breathe { 0%,100%{transform:none}50%{transform:scale(.82)} }
@keyframes ia-buzz { 0%,100%{transform:none}10%,30%,50%,70%{transform:translateX(-1.3px) rotate(-3deg)}20%,40%,60%,80%{transform:translateX(1.3px) rotate(3deg)} }
@keyframes ia-drop { 0%{transform:translateY(-9px);opacity:0}45%{transform:translateY(0);opacity:1}62%{transform:translateY(-3px)}78%{transform:translateY(0)}90%{transform:translateY(-.8px)}100%{transform:none} }
@keyframes ia-fall { 0%{transform:translateY(-7px);opacity:0}55%{transform:translateY(.8px);opacity:1}75%{transform:translateY(-.8px)}100%{transform:none} }
@keyframes ia-fanl { 0%,100%{transform:none}45%{transform:rotate(-12deg)} }
@keyframes ia-flip180 { 0%{transform:rotate(0)}70%{transform:rotate(195deg)}100%{transform:rotate(180deg)} }
@keyframes ia-flipy { from{transform:perspective(60px) rotateY(0)}to{transform:perspective(60px) rotateY(360deg)} }
@keyframes ia-glow { 0%,100%{opacity:1}50%{opacity:.35} }
@keyframes ia-grip { 0%,100%{transform:none}20%{transform:translateY(-1.6px) rotate(-5deg)}40%{transform:translateY(1px) rotate(3deg)}60%{transform:translateY(-1.2px) rotate(-4deg)}80%{transform:translateY(.5px)} }
@keyframes ia-growx { 0%{transform:scaleX(0)}60%{transform:scaleX(1.12)}100%{transform:none} }
@keyframes ia-growy { 0%{transform:scaleY(0)}60%{transform:scaleY(1.18)}100%{transform:none} }
@keyframes ia-hop { 0%{transform:none}30%{transform:translateY(-3.5px)}52%{transform:translateY(0) scale(1.06,.9)}70%{transform:translateY(-1.2px)}100%{transform:none} }
@keyframes ia-hops { 0%,100%{transform:none}40%{transform:translateY(-2.6px)}70%{transform:translateY(.6px)} }
@keyframes ia-keyturn { 0%,100%{transform:none}35%{transform:rotate(-50deg)}65%{transform:rotate(12deg)}82%{transform:rotate(-4deg)} }
@keyframes ia-launch { 0%{transform:none;opacity:1}40%{transform:translate(7px,-7px);opacity:0}41%{transform:translate(-6px,6px);opacity:0}100%{transform:none;opacity:1} }
@keyframes ia-lift { 0%,100%{transform:none}40%{transform:translateY(-4px)}70%{transform:translateY(.6px)} }
@keyframes ia-lift2 { 0%,100%{transform:none}40%{transform:translateY(-2px)}70%{transform:translateY(.4px)} }
@keyframes ia-needle { 0%{transform:rotate(-125deg)}55%{transform:rotate(28deg)}75%{transform:rotate(-10deg)}90%{transform:rotate(4deg)}100%{transform:none} }
@keyframes ia-nudged { 0%,100%{transform:none}30%{transform:translateY(3px)}55%{transform:translateY(0)}75%{transform:translateY(1.5px)} }
@keyframes ia-nudgel { 0%,100%{transform:none}30%{transform:translateX(-4px)}55%{transform:translateX(0)}75%{transform:translateX(-2px)} }
@keyframes ia-nudger { 0%,100%{transform:none}30%{transform:translateX(4px)}55%{transform:translateX(0)}75%{transform:translateX(2px)} }
@keyframes ia-nudgeul { 0%,100%{transform:none}35%{transform:translate(-3px,-3px)}65%{transform:translate(1px,1px)} }
@keyframes ia-nudgeur { 0%,100%{transform:none}35%{transform:translate(3px,-3px)}65%{transform:translate(-1px,1px)} }
@keyframes ia-outbl { 0%,100%{transform:none}45%{transform:translate(-2.4px,2.4px)} }
@keyframes ia-outbr { 0%,100%{transform:none}45%{transform:translate(2.4px,2.4px)} }
@keyframes ia-outtl { 0%,100%{transform:none}45%{transform:translate(-2.4px,-2.4px)} }
@keyframes ia-outtr { 0%,100%{transform:none}45%{transform:translate(2.4px,-2.4px)} }
@keyframes ia-peel { 0%,100%{transform:none}40%{transform:rotate(-10deg) scale(1.05)}70%{transform:rotate(3deg)} }
@keyframes ia-pop { 0%{transform:none}35%{transform:scale(1.24) rotate(-8deg)}65%{transform:scale(.94) rotate(3deg)}100%{transform:none} }
@keyframes ia-pops { 0%{transform:scale(1)}40%{transform:scale(1.45)}70%{transform:scale(.88)}100%{transform:none} }
@keyframes ia-redraw { from{stroke-dashoffset:var(--len)}to{stroke-dashoffset:0} }
@keyframes ia-ring { 0%,100%{transform:none}8%,24%,40%,56%{transform:rotate(-15deg)}16%,32%,48%,64%{transform:rotate(15deg)}72%{transform:rotate(-5deg)} }
@keyframes ia-roll { 0%{transform:scaleY(.4)}55%{transform:scaleY(1.1)}100%{transform:none} }
@keyframes ia-scan { 0%,100%{transform:none}25%{transform:translate(-2.5px,-1.5px)}50%{transform:translate(2px,-2.5px)}75%{transform:translate(1.5px,2px)} }
@keyframes ia-shakes { 0%,100%{transform:none}20%{transform:translateX(-1.5px) rotate(-4deg)}40%{transform:translateX(1.5px) rotate(4deg)}60%{transform:translateX(-1px) rotate(-2deg)}80%{transform:translateX(1px)} }
@keyframes ia-shift { 0%,100%{transform:none}40%{transform:translate(-3px,-3px)}70%{transform:translate(.5px,.5px)} }
@keyframes ia-sink { 0%,100%{transform:none}40%{transform:translateY(1.6px)} }
@keyframes ia-slideup { 0%,100%{transform:none}45%{transform:translate(1.6px,-2.6px) rotate(4deg)} }
@keyframes ia-slidex { 0%,100%{transform:none}35%{transform:translateX(3px)}65%{transform:translateX(-2px)} }
@keyframes ia-spin { from{transform:rotate(0)}to{transform:rotate(360deg)} }
@keyframes ia-spinback { from{transform:rotate(0)}to{transform:rotate(-360deg)} }
@keyframes ia-squeeze { 0%,100%{transform:none}45%{transform:scale(.72)} }
@keyframes ia-strike { 0%{transform:none}35%{transform:rotate(-38deg)}55%{transform:rotate(14deg)}70%{transform:rotate(-4deg)}100%{transform:none} }
@keyframes ia-swing { 0%,100%{transform:none}25%{transform:rotate(-18deg)}50%{transform:rotate(12deg)}75%{transform:rotate(-6deg)} }
@keyframes ia-tilt { 0%,100%{transform:none}30%{transform:rotate(-16deg) translateY(-1px)}60%{transform:rotate(8deg)}80%{transform:rotate(-3deg)} }
@keyframes ia-turn180 { 0%{transform:rotate(0)}80%{transform:rotate(195deg)}100%{transform:rotate(180deg)} }
@keyframes ia-turn45 { 0%{transform:rotate(0)}70%{transform:rotate(52deg)}100%{transform:rotate(45deg)} }
@keyframes ia-turn90 { 0%{transform:rotate(0)}80%{transform:rotate(100deg)}100%{transform:rotate(90deg)} }
@keyframes ia-unfold { 0%{transform:scaleX(.25)}60%{transform:scaleX(1.1)}100%{transform:none} }
@keyframes ia-write { 0%,100%{transform:none}20%{transform:rotate(-9deg) translate(-1px,1px)}40%{transform:rotate(7deg)}60%{transform:rotate(-6deg) translate(1px,0)}80%{transform:rotate(3deg)} }
@keyframes ia-zoom { 0%,100%{transform:none}40%{transform:scale(1.18)} }

/* idle life: a handful of icons keep breathing (on their strokes, so hover moves still play on top) */
@keyframes ia-flicker { 0%,100% { transform: scale(1) skewX(0) } 25% { transform: scale(.94,1.07) skewX(-3deg) } 50% { transform: scale(1.04,.96) skewX(2deg) } 75% { transform: scale(.97,1.04) skewX(-1deg) } }
@keyframes ia-twinkle { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: .15; transform: scale(.4) } }
@keyframes ia-float { 0%,100% { transform: translate(0,0) } 50% { transform: translate(1.2px,-2.2px) } }
@keyframes ia-tick { from { transform: rotate(0) } to { transform: rotate(360deg) } }
@keyframes ia-halo { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.ia svg.lucide-flame.ia-in:not(.ia-go) > * { transform-box: fill-box; transform-origin: 50% 100%; animation: ia-flicker 1.8s ease-in-out infinite; }
.ia svg.lucide-sparkles.ia-in:not(.ia-go) > :nth-child(n+2) { transform-box: fill-box; animation: ia-twinkle 2.4s ease-in-out infinite; }
.ia svg.lucide-sparkles.ia-in:not(.ia-go) > :nth-child(n+4) { animation-delay: 1.2s; }
.ia .ig-steps .s-now svg.lucide-rocket.ia-in:not(.ia-go) > * { animation: ia-float 2.2s ease-in-out infinite; }
.ia .ig-steps svg.lucide-clock-3.ia-in:not(.ia-go) > :nth-child(2) { animation: ia-tick 6s linear infinite; }
.ia .ig-steps svg.lucide-circle-dashed.ia-in:not(.ia-go) > * { animation: ia-tick 14s linear infinite; }
.ia .ig-steps svg.lucide-triangle-alert.ia-in:not(.ia-go) > :nth-child(n+2) { animation: ia-halo 1.4s ease-in-out infinite; }
.ia .tb-btn svg.lucide-sun.ia-in:not(.ia-go) > :nth-child(n+2) { animation: ia-tick 24s linear infinite; }

/* ── icon placement ── */
.kicker svg { width: 15px; height: 15px; color: var(--flame); margin-inline-end: -2px; }
.hero .kicker svg, .hg-head .kicker svg { color: #ffb36b; }
.figures .fg-ic, .dstats .fg-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 10px;
  background: linear-gradient(140deg, rgba(74, 163, 255, .22), rgba(74, 163, 255, .04)); border: 1px solid rgba(140, 190, 255, .28); color: #bfe0ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 18px -8px rgba(74, 163, 255, .7); }
.figures .fg-ic svg, .dstats .fg-ic svg { width: 19px; height: 19px; }
.dstats .fg-ic { color: var(--blue); border-color: var(--glass-line); }
[data-ui="light"] .dstats .fg-ic { background: linear-gradient(140deg, rgba(1, 101, 179, .14), rgba(1, 101, 179, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.figures > div > .fg-ic { font-size: inherit; }
.chapters .n { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.chapters .n svg { width: 22px; height: 22px; color: var(--blue); }
.hc-cat, .hc-m, .card .cat, .toc .sub, .chapter ol small, .plist .s { display: flex; align-items: center; gap: 7px; }
.hc-cat svg, .card .cat svg { width: 16px; height: 16px; flex: none; }
.hc-m svg, .toc .sub svg, .chapter ol small svg, .plist .s svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.card .cat svg { padding: 5px; width: 26px; height: 26px; border-radius: 9px; background: var(--blue-soft, rgba(74, 163, 255, .12)); }
.tabs button { display: inline-flex; align-items: center; gap: 7px; }
.tabs button svg { width: 16px; height: 16px; opacity: .75; transition: opacity .3s, color .3s; }
.tabs button[aria-pressed="true"] svg { opacity: 1; color: var(--flame); }
.mapnote { display: inline-flex; align-items: center; gap: 6px; }
.mapnote svg { width: 14px; height: 14px; }
.info-side dt { display: flex; align-items: center; gap: 6px; }
.info-side dt svg { width: 13px; height: 13px; color: var(--blue); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; }
.crumbs svg { width: 14px; height: 14px; }
.sheet dt { display: flex; align-items: flex-start; gap: 8px; }
.sheet dt svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); opacity: .9; }
.dc-org { display: flex; align-items: center; gap: 6px; }
.dc-org svg { width: 13px; height: 13px; color: var(--blue); }
.dc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dc-meta svg { width: 13px; height: 13px; opacity: .8; }

/* ═════════ report builder ═════════ */
.rb-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 34px; }
.rb-panel { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow: auto; overscroll-behavior: contain; padding: 18px; border-radius: 24px;
  background: var(--glass-bg); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--glass-shadow); scrollbar-width: thin; }
.rb-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rb-top > span { display: flex; gap: 7px; align-items: center; font-weight: 800; font-size: 15px; }
.rb-top > span svg { width: 18px; height: 18px; color: var(--blue); }
.rb-top .btn { height: 44px; padding: 0 16px; gap: 8px; font-size: 14px; }
.rb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rb-chips span { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; color: var(--ink-2); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--glass-line); }
.rb-chips i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.rb-panel details { border-top: 1px solid var(--rule); }
.rb-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 14px 2px; font-weight: 800; font-size: 14.5px; }
.rb-panel summary::-webkit-details-marker { display: none; }
.rb-panel summary svg { width: 18px; height: 18px; color: var(--blue); }
.rb-panel summary svg:last-child { margin-inline-start: auto; color: var(--ink-3); transition: transform .35s var(--ease); }
.rb-panel details[open] > summary svg:last-child { transform: rotate(180deg); }
.rb-panel details > :last-child { margin-bottom: 12px; }
.rb-sw { display: flex; align-items: center; gap: 10px; padding: 8px 6px; cursor: pointer; font-size: 14px; flex-wrap: wrap; border-radius: 10px; position: relative; transition: background .25s; }
.rb-sw:hover { background: rgba(127, 127, 127, .09); }
.rb-sw input { position: absolute; opacity: 0; pointer-events: none; }
.rb-sw .tr { width: 38px; height: 22px; border-radius: 99px; background: var(--rule); position: relative; flex: none; transition: background .3s; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25); }
.rb-sw .tr i { position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.rb-sw input:checked + .tr { background: linear-gradient(90deg, var(--blue), #4aa3ff); }
.rb-sw input:checked + .tr i { transform: translateX(16px); }
[dir="rtl"] .rb-sw input:checked + .tr i { transform: translateX(-16px); }
.rb-sw input:focus-visible + .tr { outline: 2px solid var(--blue); outline-offset: 2px; }
.rb-sw > svg { width: 17px; height: 17px; color: var(--ink-3); transition: color .3s; }
.rb-sw input:checked ~ svg { color: var(--blue); }
.rb-sw .l { flex: 1; }
.rb-warn { flex-basis: 100%; font-style: normal; font-size: 12px; color: #e0901f; display: flex; gap: 6px; align-items: center; padding-inline-start: 48px; line-height: 1.7; }
.rb-warn[hidden] { display: none; }
.rb-warn svg { width: 14px; height: 14px; flex: none; }
.rb-fields { display: grid; gap: 10px; padding-bottom: 6px; }
.rb-in span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.rb-in input { width: 100%; height: 40px; border-radius: 12px; border: 1px solid var(--glass-line); background: rgba(127, 127, 127, .08); color: var(--ink); padding: 0 12px; font: inherit; font-size: 14px; box-sizing: border-box; }
.rb-in input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.rb-pick { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.rb-pick small { flex: 1; color: var(--ink-3); font-size: 12.5px; }
.rb-pick button { all: unset; cursor: pointer; font-size: 12px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--glass-line); transition: color .25s, border-color .25s; }
.rb-pick button:hover, .rb-pick button:focus-visible { border-color: var(--blue); color: var(--blue); }
.rb-pgroup { margin-bottom: 8px; }
.rb-gh { all: unset; cursor: pointer; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: color-mix(in srgb, var(--c) 70%, var(--ink)); padding: 6px 4px; }
.rb-gh:hover { text-decoration: underline; }
.rb-gh svg { width: 15px; height: 15px; }
.rb-proj { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; cursor: pointer; font-size: 13px; line-height: 1.65; transition: background .25s; }
.rb-proj:hover { background: rgba(127, 127, 127, .09); }
.rb-proj input { accent-color: var(--c); width: 16px; height: 16px; flex: none; margin: 0; }
.rb-proj .n { font-family: var(--display); font-weight: 900; color: color-mix(in srgb, var(--c) 70%, var(--ink)); min-width: 20px; }
.rb-proj svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
.rb-proj input:not(:checked) ~ .t { color: var(--ink-3); text-decoration: line-through; }
.rb-reset { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink-3); padding: 8px 4px; }
.rb-reset:hover, .rb-reset:focus-visible { color: var(--flame); }
.rb-reset svg { width: 15px; height: 15px; }
.rb-preview { min-width: 0; }
.rb-zoom { zoom: var(--z, 1); display: flex; flex-direction: column; align-items: center; gap: 56px; padding-bottom: 60px; }
.rb-sheet { position: relative; }
.rb-pno { position: absolute; top: 100%; margin-top: 12px; inset-inline: 0; text-align: center; font-size: 14px; color: var(--ink-3); }
@media (max-width: 1000px) { .rb-grid { grid-template-columns: 1fr; } .rb-panel { position: static; max-height: none; } }

/* ── the page ── */
.rp-page { --fs: 1; width: 794px; height: 1123px; position: relative; overflow: hidden; background: #fff; color: #10233d; font-family: var(--body); display: flex; flex-direction: column;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .06); border-radius: 3px; font-size: calc(14px * var(--fs)); line-height: 1.85; text-align: start; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-page * { box-sizing: border-box; }
.rp-page svg.lucide { stroke-width: 1.8; }
.rp-page .plate, .rp-page .plate * { animation: none !important; }
.rp-hd { height: 78px; flex: none; display: flex; align-items: center; gap: 12px; padding: 6px 56px 0; border-bottom: 1px solid #e6ebf2; position: relative; }
.rp-hd::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.rp-hd img { height: 36px; width: auto; }
.rp-hd b { display: block; font-size: 12.5px; font-weight: 800; color: #0f2540; line-height: 1.5; }
.rp-hd small { display: block; font-size: 10.5px; color: #6b7c93; line-height: 1.5; }
.rp-hd em { margin-inline-start: auto; font-style: normal; font-size: 11px; font-weight: 800; color: var(--c); background: var(--soft); padding: 5px 14px; border-radius: 99px; max-width: 330px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-body { flex: 1; min-height: 0; padding: 32px 56px 18px; overflow: hidden; }
.rp-bare .rp-body { padding: 0; position: relative; }
.rp-ft { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 56px; font-size: 10.5px; color: #7a8aa0; border-top: 1px solid #eef1f6; }
.rp-ft b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), var(--c2)); color: #fff; font-size: 13px; font-family: var(--display); font-weight: 900; }
.rb-noic .rp-page svg.lucide { display: none; }
.rb-over { outline: 3px solid #dc2626; }
.rb-over::after { content: attr(data-over); position: absolute; inset-inline: 24px; bottom: 72px; padding: 10px 14px; background: #dc2626; color: #fff; border-radius: 10px; font-weight: 700; font-size: 13px; z-index: 3; }

/* titles */
.rp-title { display: flex; align-items: center; gap: 12px; margin: 0 0 1.1em; }
.rp-title > svg { width: 2.5em; height: 2.5em; padding: .58em; border-radius: 13px; background: var(--soft); color: var(--c); flex: none; }
.rp-title small { display: block; font-size: .78em; color: var(--c); font-weight: 800; }
.rp-title h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.95em; line-height: 1.35; color: #0d2036; }
.rp-pb .rp-title { margin: 1.1em 0 .7em; }
.rp-pb .rp-title > svg { width: 2em; height: 2em; padding: .45em; border-radius: 10px; }
.rp-pb .rp-title h2 { font-size: 1.22em; }
.rp-sub { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05em; color: #0d2036; margin: 1.5em 0 .8em; }
.rp-sub svg { width: 1.3em; height: 1.3em; color: var(--c); }

/* cover & back cover */
.rp-cover, .rp-back { position: absolute; inset: 0; color: #fff; overflow: hidden; background: radial-gradient(120% 80% at 85% 5%, #0f62b4 0%, #06305e 45%, #031631 100%); }
.cv-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(156, 200, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 200, 255, .07) 1px, transparent 1px); background-size: 40px 40px; }
.cv-star { position: absolute; width: 560px; top: -170px; inset-inline-end: -170px; fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: .7; }
.cv-map { position: absolute; width: 470px; bottom: 92px; inset-inline-end: -36px; opacity: .95; }
.rp-map.cv-map path { fill: rgba(74, 163, 255, .06); stroke: rgba(156, 200, 255, .2); stroke-width: 1; }
.rp-map.cv-map .ol { fill: none; stroke: rgba(156, 200, 255, .6); stroke-width: 1.6; }
.rp-map.cv-map .pin { fill: var(--pc); stroke: #fff; stroke-width: 2.5; }
.rp-map.cv-map .halo { fill: var(--pc); opacity: .28; }
.cv-top { position: absolute; top: 60px; inset-inline: 64px; display: flex; gap: 14px; align-items: center; }
.cv-top b { display: block; font-size: 19px; font-weight: 900; }
.cv-top small { font-size: 13px; opacity: .75; }
.cv-logo { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 6px rgba(255, 255, 255, .12); flex: none; }
.cv-logo img { width: 74%; height: auto; }
.cv-logo.big { width: 136px; height: 136px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 0 10px rgba(255, 255, 255, .1), 0 0 0 22px rgba(255, 255, 255, .05); }
.cv-mid { position: absolute; top: 270px; inset-inline: 64px; }
.cv-k { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: #ffc58a; padding: 6px 15px; border: 1px solid rgba(255, 197, 138, .45); border-radius: 99px; background: rgba(255, 160, 80, .08); }
.cv-k svg { width: 16px; height: 16px; }
.rp-cover h1 { font-family: var(--display); font-weight: 900; font-size: 76px; line-height: 1.28; margin: 26px 0 14px; max-width: 620px; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.cv-mid p { font-size: 22px; font-weight: 300; opacity: .88; max-width: 520px; margin: 0; line-height: 1.8; }
.cv-figs { display: flex; gap: 34px; margin-top: 44px; }
.cv-figs span { display: flex; flex-direction: column; font-size: 13px; opacity: .9; padding-inline-start: 14px; border-inline-start: 2px solid #ffb36b; }
.cv-figs b { font-family: var(--display); font-size: 42px; font-weight: 900; line-height: 1.2; }
.cv-foot { position: absolute; bottom: 52px; inset-inline: 64px; display: flex; justify-content: space-between; font-size: 14px; opacity: .88; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 18px; }
.cv-band { position: absolute; bottom: 0; inset-inline: 0; height: 12px; display: flex; }
.cv-band i { flex: 1; }
.bk-mid { position: absolute; top: 170px; inset-inline: 70px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bk-mid > b { font-family: var(--display); font-size: 34px; font-weight: 900; margin-top: 22px; }
.bk-mid small { font-size: 15px; opacity: .78; }
.bk-mid p { max-width: 480px; font-size: 15px; line-height: 2.1; opacity: .82; margin: 8px 0 0; }
.bk-icons { position: absolute; inset-inline: 70px; bottom: 200px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 10px; }
.bk-icons div { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; font-size: 11px; line-height: 1.6; opacity: .92; }
.bk-icons svg { width: 50px; height: 50px; padding: 12px; border-radius: 16px; background: linear-gradient(140deg, rgba(74, 163, 255, .22), rgba(74, 163, 255, .04)); border: 1px solid rgba(156, 200, 255, .32); color: #cfe6ff; }
.bk-foot { position: absolute; bottom: 70px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; align-items: center; font-size: 15px; letter-spacing: .5px; color: #bfe0ff; }
.bk-foot svg { width: 18px; height: 18px; }

/* basmala */
.rp-basmala { position: absolute; inset: 0; background: #f6efdf; }
.bsm-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.bsm-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.bsm-rose { width: 150px; }
.bsm-t { font-family: "ArefRuqaa", var(--display); font-weight: 700; font-size: 74px; color: #0b3f75; margin: 0; line-height: 1.7; direction: rtl; text-shadow: 0 3px 0 rgba(185, 138, 46, .28); }
.bsm-en { font-size: 15px; color: #8a6a2a; letter-spacing: .3px; margin: -12px 0 0; font-style: italic; }
.bsm-rule { width: 340px; }

/* foreword */
.rp-big { font-family: var(--display); font-weight: 700; font-size: 1.5em; line-height: 1.95; color: #10233d; margin: 0 0 .8em; }
.rp-big em.hl { font-style: normal; color: var(--c); background: linear-gradient(transparent 58%, var(--soft) 58%); }
.rp-p { color: #4a5b72; font-size: 1.05em; margin: 0; }
.rp-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-legend div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-weight: 800; color: #0d2036; font-size: .95em; line-height: 1.6; }
.rp-legend i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--c), var(--c2)); flex: none; }
.rp-sign { margin-top: 3em; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rp-sign span { font-weight: 800; color: #0d2036; padding-top: .6em; border-top: 2px solid var(--c); }
.rp-sign small { color: #7a8aa0; }

/* contents */
.rp-toc { list-style: none; margin: 0; padding: 0; }
.rp-toc li { display: flex; align-items: baseline; gap: 10px; padding: .36em 0; }
.rp-toc li i { flex: 1; min-width: 20px; border-bottom: 1.5px dotted #c4cfdd; transform: translateY(-.3em); }
.rp-toc b { font-family: var(--display); font-weight: 800; color: #0d2036; min-width: 2em; text-align: end; }
.rp-toc .l0 .t { font-weight: 800; color: #0d2036; }
.rp-toc .l1 { margin-top: .9em; padding: .5em .9em; background: var(--soft); border-radius: 10px; border-inline-start: 4px solid var(--c); align-items: center; }
.rp-toc .l1 .t { font-weight: 900; color: var(--c); display: flex; align-items: center; gap: 8px; }
.rp-toc .l1 .t svg { width: 1.2em; height: 1.2em; }
.rp-toc .l1 i { border-color: transparent; }
.rp-toc .l1 b { color: var(--c); }
.rp-toc .l2 { padding-inline-start: 1.1em; font-size: .94em; }
.rp-toc .l2 .n { font-family: var(--display); font-weight: 900; color: var(--c); min-width: 1.9em; }
.rp-toc .l2 .t { color: #26384f; max-width: 74%; }

/* at a glance */
.rp-figs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rp-fig { padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, var(--soft), #fff); border: 1px solid var(--soft); }
.rp-fig > svg { width: 2.4em; height: 2.4em; color: var(--c); padding: .55em; background: #fff; border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .25); }
.rp-fig b { display: block; font-family: var(--display); font-size: 2.7em; font-weight: 900; color: #0d2036; line-height: 1.3; margin-top: .25em; }
.rp-fig span { font-size: .9em; color: #4a5b72; }
.rp-fig small { display: block; color: var(--c); font-weight: 800; font-size: .8em; }
.rp-bars > div { display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) 2em; align-items: center; gap: 10px; padding: .3em 0; border-bottom: 1px solid #eef1f6; font-size: .92em; }
.rp-bars svg { width: 1.6em; height: 1.6em; color: var(--c); }
.rp-bars em { height: 10px; border-radius: 9px; background: #eef2f7; overflow: hidden; display: block; }
.rp-bars em i { display: block; height: 100%; background: linear-gradient(90deg, var(--c), var(--c2)); border-radius: 9px; }
.rp-bars b { font-family: var(--display); text-align: end; }
.rp-split { display: flex; gap: 8px; }
.rp-split div { padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, var(--c), var(--c2)); color: #fff; min-width: 0; }
.rp-split b { font-family: var(--display); font-size: 2.2em; display: block; line-height: 1.3; }
.rp-split span { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9em; line-height: 1.6; }

/* maps */
.rp-map path { fill: #eef3f9; stroke: #fff; stroke-width: 1.4; }
.rp-map path.on { fill: var(--pc); }
.rp-map .ol { fill: none; stroke: #9fb3cc; stroke-width: 1.8; }
.rp-map .pin { fill: var(--pc); stroke: #fff; stroke-width: 3; }
.rp-map .halo { fill: var(--pc); opacity: .18; }
.rp-map text { fill: #fff; font-size: 15px; font-weight: 900; text-anchor: middle; font-family: var(--display); }
.rp-mapbox { height: 500px; display: grid; place-items: center; }
.rp-mapbox svg { width: 100%; height: 100%; }
.rp-maplist { columns: 2; column-gap: 26px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .86em; line-height: 1.6; }
.rp-maplist li { display: flex; gap: 8px; break-inside: avoid; padding: .3em 0; }
.rp-maplist .n, .rp-divider .n { flex: none; }
.rp-maplist .n { width: 1.95em; height: 1.95em; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85em; font-family: var(--display); }
.rp-maplist small { display: block; color: #7a8aa0; font-size: .88em; }
.rp-note { display: flex; gap: 6px; align-items: center; font-size: .85em; color: #4a5b72; margin: 10px 0 0; }
.rp-note svg { color: var(--c); }

/* chapter opening */
.rp-divider { position: absolute; inset: 0; background: linear-gradient(160deg, var(--c2) -25%, var(--c) 42%, var(--ink) 112%); color: #fff; padding: 96px 72px; overflow: hidden; }
.dv-star { position: absolute; width: 720px; inset-inline-end: -230px; top: -170px; fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .2); stroke-width: .6; }
.dv-ic svg { width: 66px; height: 66px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); }
.dv-no { position: absolute; inset-inline-end: 56px; top: 250px; font-family: var(--display); font-weight: 900; font-size: 250px; line-height: 1; color: rgba(255, 255, 255, .13); }
.dv-txt { margin-top: 170px; position: relative; }
.dv-txt small { font-size: 18px; font-weight: 700; opacity: .85; }
.dv-txt h2 { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1.35; margin: 6px 0 10px; max-width: 560px; }
.dv-txt p { font-size: 17px; opacity: .86; margin: 0; }
.rp-divider ol { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .32); position: relative; }
.rp-divider li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 15px; line-height: 1.6; }
.rp-divider li .n { font-family: var(--display); font-weight: 900; opacity: .75; min-width: 28px; }
.rp-divider li svg { width: 18px; height: 18px; opacity: .85; flex: none; }
.rp-divider li span:not(.n) { flex: 1; }
.rp-divider li b { font-family: var(--display); }
.dv-band { position: absolute; inset-inline: 0; bottom: 0; height: 14px; background: rgba(255, 255, 255, .25); }

/* project, page one */
.rp-plate { position: relative; height: 380px; border-radius: 22px; overflow: hidden; margin-bottom: 1.4em; box-shadow: 0 20px 40px -24px rgba(4, 29, 58, .6); }
.rp-plate svg.plate { width: 100%; height: 100%; display: block; }
.rp-no { position: absolute; inset-inline-start: 24px; top: 12px; font-family: var(--display); font-weight: 900; font-size: 66px; color: #fff; line-height: 1.2; text-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.rp-chip { position: absolute; inset-inline-end: 16px; bottom: 16px; display: flex; gap: 8px; align-items: center; padding: 6px 15px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--c); font-weight: 800; font-size: 12px; }
.rp-chip svg { width: 16px; height: 16px; }
.rp-ptitle small { color: var(--c); font-weight: 800; font-size: .85em; }
.rp-ptitle h2 { font-family: var(--display); font-weight: 900; font-size: 2.05em; line-height: 1.45; margin: .1em 0 .4em; color: #0d2036; }
.rp-pa.nopic .rp-ptitle h2 { font-size: 2.5em; }
.rp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-tags span { display: inline-flex; align-items: center; gap: 6px; padding: .3em .85em; border-radius: 99px; background: #f2f5f9; color: #3a4c63; font-size: .86em; }
.rp-tags svg { color: var(--c); }
.rp-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.3em 0; }
.rp-money > div { padding: 14px 16px; border-radius: 16px; background: var(--soft); min-width: 0; }
.rp-money > div > svg:first-child { width: 2em; height: 2em; color: var(--c); padding: .42em; border-radius: 10px; background: #fff; }
.rp-money small { display: block; color: #4a5b72; font-size: .8em; margin: .5em 0 .15em; font-weight: 800; }
.rp-money b { font-family: var(--display); font-weight: 900; font-size: 1.55em; color: #0d2036; line-height: 1.45; display: block; overflow-wrap: anywhere; }
.rp-money u { text-decoration: none; font-size: .8em; color: var(--c); font-weight: 800; }
.rp-money em { display: block; font-style: normal; font-size: .75em; color: #7a8aa0; }
.rp-money p { margin: 0; font-size: .82em; color: #4a5b72; line-height: 1.75; }
.rp-gauge { width: 100%; max-width: 130px; display: block; margin: 4px 0 0; }
.rp-gauge .trk, .rp-gauge .val { fill: none; stroke-width: 12; stroke-linecap: round; }
.rp-gauge .trk { stroke: #fff; }
.rp-gauge .val { stroke: var(--c); }
.rp-ruler { display: block; height: 8px; border-radius: 9px; background: #fff; margin: .4em 0; overflow: hidden; }
.rp-ruler i { display: block; height: 100%; background: linear-gradient(90deg, var(--c), var(--c2)); }
.rp-sheet { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.rp-sheet > div { display: flex; gap: 10px; align-items: flex-start; padding: .6em 0; border-bottom: 1px solid #edf1f6; min-width: 0; }
.rp-sheet > div > svg { width: 1.5em; height: 1.5em; color: var(--c); margin-top: .25em; flex: none; }
.rp-sheet dt { font-size: .78em; color: #7a8aa0; }
.rp-sheet dd { margin: 0; font-weight: 700; color: #1b2f48; font-size: .92em; line-height: 1.7; }

/* project, page two */
.rp-ptitle.sm { display: flex; align-items: baseline; gap: 12px; padding-bottom: .6em; border-bottom: 2px solid var(--soft); }
.rp-ptitle.sm small { font-family: var(--display); }
.rp-ptitle.sm h3 { font-family: var(--display); font-weight: 900; font-size: 1.2em; margin: 0; color: #0d2036; line-height: 1.6; }
.rp-desc p { margin: 0 0 .55em; color: #33465e; text-align: justify; }
.rp-desc .rp-lead { font-size: 1.1em; font-weight: 700; color: #0d2036; line-height: 1.9; }
.rp-page mark { background: linear-gradient(transparent 55%, var(--soft) 55%); color: var(--c); font-weight: 800; }
.rp-mute { color: #8a99ad !important; }
.rp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 1em 0 .2em; }
.rp-facts div { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--soft); background: linear-gradient(180deg, var(--soft), #fff); }
.rp-facts b { font-family: var(--display); font-weight: 900; font-size: 1.7em; color: var(--c); line-height: 1.3; }
.rp-facts u { text-decoration: none; font-size: .8em; font-weight: 800; color: #1b2f48; margin-inline-start: 4px; }
.rp-facts small { display: block; font-size: .78em; color: #5b6c82; line-height: 1.6; }
.rp-model .m { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: .7em; }
.rp-model .m > b { font-family: var(--display); font-weight: 900; font-size: 1.2em; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); padding: .05em .7em; border-radius: 10px; }
.rp-model .m > span { color: #4a5b72; font-size: .9em; }
.rp-model ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; width: 100%; }
.rp-model li { flex: 1; display: flex; align-items: center; gap: 7px; padding: .5em .75em; border-radius: 10px; background: var(--soft); font-weight: 800; font-size: .85em; color: #1b2f48; }
.rp-model li svg { color: var(--c); width: 1.3em; height: 1.3em; }
.rp-path ol { list-style: none; margin: 0 0 .4em; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.rp-path ol::before { content: ""; position: absolute; top: 1.2em; inset-inline: 8%; height: 2px; background: #dfe6ef; }
.rp-path li { text-align: center; position: relative; padding: 0 2px; line-height: 1.5; }
.rp-path li > span { width: 2.4em; height: 2.4em; margin: 0 auto .4em; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #dfe6ef; color: #9aa8ba; position: relative; }
.rp-path li > span svg { width: 1.1em; height: 1.1em; }
.rp-path b { display: block; font-size: .76em; color: #1b2f48; }
.rp-path small { font-size: .7em; color: #8a99ad; }
.rp-path .s-done > span { background: var(--c); border-color: var(--c); color: #fff; }
.rp-path .s-now > span { background: #f59e0b; border-color: #f59e0b; color: #fff; box-shadow: 0 0 0 5px rgba(245, 158, 11, .18); }
.rp-path .s-now small { color: #b45309; font-weight: 800; }
.rp-path .s-pending > span { border-color: var(--c); color: var(--c); }
.rp-path .s-conflict > span { border-color: #dc2626; color: #dc2626; }
.rp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; margin-top: 1.2em; }
.rp-two.noloc { grid-template-columns: 1fr; }
.rp-loc { border-radius: 16px; background: #f5f8fc; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.rp-loc svg.rp-map { width: 100%; height: auto; }
.rp-loc > span { display: flex; gap: 6px; align-items: center; font-size: .82em; font-weight: 800; color: #1b2f48; line-height: 1.6; }
.rp-loc > span svg { color: var(--c); flex: none; }
.rp-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rp-card { padding: 11px 14px; border-radius: 14px; border: 1px solid #e6ecf3; }
.rp-card > svg:first-child { color: var(--c); width: 1.3em; height: 1.3em; vertical-align: -.28em; margin-inline-end: 6px; }
.rp-card small { font-weight: 800; color: #1b2f48; font-size: .85em; }
.rp-card p { margin: .3em 0 0; font-size: .85em; color: #3a4c63; line-height: 1.8; }
.rp-contact p { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.rp-contact p span { display: inline-flex; gap: 6px; align-items: center; }
.rp-contact p span svg { color: var(--c); }
.rp-pdocs > div { display: flex; gap: 10px; align-items: flex-start; padding: .45em 0; border-bottom: 1px solid #eef1f6; }
.rp-pdocs > div > svg { color: var(--c); margin-top: .3em; flex: none; }
.rp-pdocs b { display: block; font-size: .9em; color: #1b2f48; }
.rp-pdocs small { color: #7a8aa0; font-size: .8em; }

/* annexes */
.rp-docs { display: flex; flex-direction: column; gap: 14px; }
.rp-docs article { padding: 18px 20px; border-radius: 16px; border: 1px solid #e6ecf3; border-inline-start: 5px solid var(--c); }
.rp-docs header { display: flex; gap: 12px; align-items: flex-start; }
.rp-docs header svg { width: 2.1em; height: 2.1em; padding: .45em; border-radius: 10px; background: var(--soft); color: var(--c); flex: none; }
.rp-docs header small { display: block; color: var(--c); font-weight: 800; font-size: .8em; }
.rp-docs header b { font-family: var(--display); font-size: 1.12em; color: #0d2036; line-height: 1.6; }
.rp-docs .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82em; color: #5b6c82; margin: .6em 0; }
.rp-docs .meta span { display: inline-flex; align-items: center; gap: 5px; }
.rp-docs .meta svg { color: var(--c); }
.rp-docs p { font-size: .88em; color: #33465e; margin: 0 0 .6em; }
.rp-docs .links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rp-docs .links small { color: #7a8aa0; font-size: .8em; }
.rp-docs .links span { font-family: var(--display); font-weight: 900; font-size: .8em; padding: .1em .65em; border-radius: 99px; background: var(--soft); color: var(--c); }
.rp-scan { height: 100%; display: flex; flex-direction: column; gap: 12px; }
.rp-scan .cap { display: flex; align-items: center; gap: 10px; }
.rp-scan .cap svg { color: var(--c); width: 1.4em; height: 1.4em; }
.rp-scan .cap b { flex: 1; font-family: var(--display); color: #0d2036; }
.rp-scan .cap small { color: #7a8aa0; }
.rp-scan .img { flex: 1; min-height: 0; border-radius: 10px; border: 1px solid #e6ecf3; background: #f7f9fc; overflow: hidden; }
.rp-scan .img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* printing: only the pages go to paper */
#rb-print { display: none; }
@media print {
  @page { size: 210mm 297mm; margin: 0; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; height: auto !important; overflow: visible !important; }
  body > :not(#rb-print) { display: none !important; }
  #rb-print { display: block; }
  #rb-print .rp-page { box-shadow: none; border-radius: 0; outline: 0; break-after: page; page-break-after: always; }
  #rb-print .rb-over::after { display: none; }
  #rb-print * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}
@media (max-width: 420px) { .tb-btn, .tb-logo { width: 33px; height: 33px; font-size: 16px; } .tb-logo img { width: 22px; height: 22px; } .tb-lang { padding-inline: 6px; } }
@media (max-width: 360px) { .tb-btn, .tb-logo { width: 30px; height: 30px; font-size: 15px; } .tb-logo img { width: 20px; height: 20px; } }

/* basmala styles */
.bsm-t.bsm-th { font-family: "AmiriBsm", serif; font-weight: 400; font-size: 48px; line-height: 2.2; white-space: nowrap; text-shadow: 0 2px 0 rgba(185, 138, 46, .3); margin: 10px 0; }
.bsm-img { max-width: 540px; max-height: 360px; object-fit: contain; display: block; }
.rb-bsm { padding: 4px 6px 10px 6px; transition: opacity .3s; }
.rb-bsm.off { opacity: .4; pointer-events: none; }
.rb-bsm > small { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.rb-bsm-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rb-bsm-opts label { min-width: 0; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--glass-line); font-size: 12px; color: var(--ink-2); transition: border-color .25s, background .25s; }
.rb-bsm-opts input { position: absolute; opacity: 0; pointer-events: none; }
.rb-bsm-opts label:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--ink); }
.rb-bsm-opts label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.rb-bsm-opts .pv { height: 34px; display: grid; place-items: center; color: var(--blue); white-space: nowrap; overflow: hidden; max-width: 100%; }
.bsm-thuluth .pv { font-family: "AmiriBsm", serif; font-size: 8.5px; }
.bsm-ruqaa .pv { font-family: "ArefRuqaa", serif; font-size: 19px; }
.bsm-custom .pv svg { width: 20px; height: 20px; }
.rb-up { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--glass-line); cursor: pointer; font-size: 12.5px; }
.rb-up[hidden] { display: none; }
.rb-up:hover { border-color: var(--blue); }
.rb-up svg { width: 18px; height: 18px; color: var(--blue); }
.rb-up span { flex: 1; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-up b { flex-basis: 100%; font-weight: 600; color: var(--blue); }

/* map legend: the same marks as on the map */
.legend { flex-wrap: wrap; row-gap: 6px; }
.legend span { display: inline-flex; align-items: center; cursor: default; transition: opacity .3s, color .3s; outline: none; }
.legend:has(span:hover, span:focus-visible) span:not(:hover, :focus-visible) { opacity: .45; }
.legend span:hover, .legend span:focus-visible { color: #fff; }
.legend i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); margin-inline-end: 8px; }
.legend i.lg-project::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 9px; translate: -50% 0; background: linear-gradient(to top, var(--c), transparent); }
.legend i.lg-province { width: 14px; height: 10px; border-radius: 3px; box-shadow: none; background: radial-gradient(circle, #9fd0ff 32%, transparent 38%) 0 0 / 3.5px 3.5px, #2c6fd0; }

/* over the map the cursor stays a thin ring, so it never hides the point being looked at */
.cursor.drag .c-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: transparent; border-color: rgba(111, 214, 255, .7); box-shadow: none; }
.cursor.drag .c-label { opacity: 0; }
.cursor.drag .c-dot { opacity: 1; }

/* contact us, at the end of every project */
.cu { margin: 26px 0 70px; padding: clamp(22px, 3vw, 40px); border-radius: 26px; border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(74, 163, 255, .10), rgba(255, 91, 58, .05) 70%), rgba(8, 18, 34, .45); backdrop-filter: blur(14px); }
.cu-head { max-width: 640px; margin-bottom: 24px; }
.cu-head h3 { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); margin: 10px 0 8px; }
.cu-head p { margin: 0; color: var(--ink-2); line-height: 1.9; }
.cu-form { display: grid; gap: 18px; }
.cu-form[hidden], .cu-done[hidden], .cu-inbox[hidden], .cu-err[hidden] { display: none; }
.cu-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cu label > span, .cu-projs legend { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; }
.cu label > span svg, .cu-projs legend svg { width: 16px; height: 16px; color: var(--blue); }
.cu input:not([type=checkbox]), .cu textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-line); border-radius: 14px; padding: 12px 14px; transition: border-color .25s, background .25s, box-shadow .25s; }
.cu input:focus, .cu textarea:focus { outline: none; border-color: var(--blue); background: rgba(74, 163, 255, .08); box-shadow: 0 0 0 3px rgba(74, 163, 255, .18); }
.cu input[dir=ltr] { text-align: left; }
.cu textarea { resize: vertical; min-height: 84px; line-height: 1.8; }
.cu label.bad input, .cu label.bad textarea { border-color: #ff5b3a; }
.cu-projs { border: 0; margin: 0; padding: 0; min-width: 0; }
.cu-projs legend { padding: 0; }
.cu-n { color: var(--ink-3); font-weight: 400; margin-inline-start: 6px; }
.cu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow: auto; padding: 2px; scrollbar-width: thin; }
.cu-list label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--glass-line); cursor: pointer; font-size: 13.5px; transition: border-color .25s, background .25s; }
.cu-list label:hover { border-color: rgba(74, 163, 255, .5); }
.cu-list label:has(input:checked) { border-color: var(--blue); background: rgba(74, 163, 255, .12); }
.cu-list label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.cu-list input { accent-color: var(--blue); width: 16px; height: 16px; flex: none; margin: 0; }
.cu-list .n { font-family: var(--display); font-weight: 900; color: var(--flame); flex: none; }
.cu-list .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cu-list label.here .t { font-weight: 700; }
.cu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cu-send { display: inline-flex; align-items: center; gap: 8px; }
.cu-send:disabled { opacity: .6; cursor: progress; }
.cu-send svg { width: 18px; height: 18px; }
.cu-priv { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12.5px; }
.cu-priv svg { width: 14px; height: 14px; }
.cu-err { margin: 0; color: #ff8a6b; font-size: 13.5px; }
.cu-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 0 4px; }
.cu-done > svg { width: 42px; height: 42px; color: #3ddc97; }
.cu-done p { margin: 0; font-size: 17px; font-weight: 700; }
.cu-inbox { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--glass-line); }
.cu-inbox h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-family: var(--display); font-weight: 900; font-size: 18px; }
.cu-inbox h4 svg { width: 18px; height: 18px; color: var(--amber); }
.cu-inbox h4 small { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.cu-only, .cu-none { margin: 0 0 12px; color: var(--ink-3); font-size: 12.5px; }
.cu-rows { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.cu-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1.2fr auto; gap: 6px 14px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13.5px; }
.cu-row p { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: 13px; }
.cu-row time { color: var(--ink-3); font-size: 12px; }
.cu-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cu-tags em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: rgba(74, 163, 255, .16); color: #9cc8ff; }
[data-ui="light"] .cu { background: linear-gradient(160deg, rgba(1, 101, 179, .07), rgba(255, 91, 58, .04) 70%), rgba(255, 255, 255, .7); }
[data-ui="light"] .cu input:not([type=checkbox]), [data-ui="light"] .cu textarea { background: #fff; }
[data-ui="light"] .cu-tags em { color: #0165b3; }
@media (max-width: 760px) {
  .cu-fields, .cu-list { grid-template-columns: 1fr; }
  .cu-row { grid-template-columns: 1fr 1fr; }
}

.cu-list label, .cu-list .t { min-width: 0; }
.cu-list .t { flex: 1; }

/* performance: the ambient glow no longer moves under the glass, and glass that sits
   on the plain dark backdrop drops its live blur (it blurred nothing visible) */
.ambient i { filter: none; mix-blend-mode: normal; animation: none; opacity: .42; }
.figures, .chapters, .card, .info, .plist, .sheet, .keyfig, .mapframe, .ibtn, .chapter .ctext, .locstrip .txt, .filters,
.ig-tile, .ig-card, .cu, .foot, .lm-col button, .lm-col a, .toc a::before, .credit, .dc-kind, .legend, .mapnote {
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.spread .text, .hc-txt { backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
.credit, .dc-kind { background: rgba(4, 10, 20, .62); }
.wm > .w, .w { will-change: auto; }

/* drawings off screen stop animating */
svg.plate.off, svg.plate.off *, .rays.off, .flare.off { animation-play-state: paused !important; }

/* phones */
@media (max-width: 900px) {
  .hgallery { min-height: 0; padding-block: 44px 36px; }
  .spread .text, .hc-txt { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hc-txt { background: rgba(6, 14, 28, .72); }
  .spread .text { background: var(--glass-bg), rgba(6, 14, 28, .78); }
  .btn::after, .tb-logo::before, .tabbar > .sweep::before { animation: none; }
}
@media (max-width: 640px) {
  .mapframe:has(> .legend) > .host { bottom: 62px; }
  .legend { left: 10px; right: 10px; bottom: 10px; justify-content: center; gap: 6px 16px; padding: 8px 12px; font-size: 11.5px; border-radius: 14px; }
  .legend span { white-space: nowrap; }
}
[data-ui="light"] .hc-txt { background: rgba(255, 255, 255, .86); }
