:root {
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --col: 720px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Instrument Sans", "Vazirmatn", system-ui, sans-serif;
  --text: "Instrument Sans", "Vazirmatn", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: #fff;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .status:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 40px, var(--col)); margin-inline: auto; padding-bottom: 132px; }
svg { display: block; }

.nav {
  position: fixed;
  left: 50%;
  bottom: max(32px, calc(env(safe-area-inset-bottom) + 14px));
  z-index: 30;
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(240, 242, 247, .34));
  border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(22px) saturate(190%) brightness(1.04);
  backdrop-filter: blur(22px) saturate(190%) brightness(1.04);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .4),
    inset 0 0 18px rgba(255, 255, 255, .35),
    0 0 0 1px rgba(0, 0, 0, .05),
    0 10px 34px rgba(20, 24, 40, .16),
    0 2px 8px rgba(20, 24, 40, .06);
}
.nav a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4a4a4f;
  text-decoration: none;
  transition: background .45s var(--ease), color .3s, padding .45s var(--ease), box-shadow .45s var(--ease), transform .25s var(--ease);
}
.nav svg { width: 23px; height: 23px; flex: none; }
.nav .label {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-size: .95rem;
  font-weight: 600;
  transition: max-width .45s var(--ease), margin .45s var(--ease), opacity .3s;
}
.nav a:hover { color: var(--ink); }
.nav a:active { transform: scale(.94); }
.nav a.active, .nav a.active:hover {
  padding: 0 20px 0 16px;
  color: #fff;
  background: linear-gradient(180deg, #2c2c30, #0a0a0a);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .28), 0 4px 14px rgba(0, 0, 0, .3), 0 0 0 .5px rgba(0, 0, 0, .5);
}
.nav a.active .label { max-width: 90px; margin-left: 9px; opacity: 1; }

.hero { padding-top: 64px; text-align: center; }
.avatar-wrap { position: relative; width: 92px; height: 92px; margin: 0 auto 22px; }
.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #eee; }
.status {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 20px;
  height: 20px;
  border: 3.5px solid #fff;
  border-radius: 50%;
  cursor: default;
}
.status.is-available { background: #22c55e; }
.status.is-busy { background: #f97316; }
.tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity .25s, transform .35s var(--ease);
}
.status:hover .tip, .status:focus .tip { opacity: 1; transform: translate(0, -50%); }
h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 7.5vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.tagline { margin-top: 12px; font-size: 1.05rem; color: var(--muted); }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.social-link svg { width: 19px; height: 19px; }
.social-link:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.rule {
  height: 1px;
  margin: 52px auto 48px;
  border: 0;
  background: linear-gradient(90deg, transparent, #d6d6d6 22%, #d6d6d6 78%, transparent);
}
.block + .block { margin-top: 56px; }
.section-title { margin-bottom: 20px; font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head .section-title { margin-bottom: 0; }
.more { font-size: .9rem; font-weight: 500; color: #9a9a9a; text-decoration: none; transition: color .3s; }
.more:hover, .more:focus-visible { color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1080 / 1350;
  padding: 18px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background: #1b1b1b;
  color: #fff;
  text-decoration: none;
  transition: transform .45s var(--ease);
}
.card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 58%);
}
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card-text { min-width: 0; }
.card-title {
  display: block;
  font-family: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  unicode-bidi: plaintext;
}
.card-cat { display: block; margin-top: 4px; font-size: .85rem; color: rgba(255, 255, 255, .72); unicode-bidi: plaintext; }
.arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform .4s var(--ease);
}
.arrow svg { width: 20px; height: 20px; }
a.card:hover { transform: translateY(-3px); }
a.card:hover > img { transform: scale(1.05); }
.card .arrow { opacity: 0; transform: translate(-8px, 8px) scale(.7); transition: opacity .3s, transform .5s var(--ease); }
.card:hover .arrow, .card:focus-visible .arrow { opacity: 1; transform: none; }
@media (hover: none) { .card .arrow { opacity: 1; transform: none; } }

.logos {
  display: grid;
  grid-template-columns: repeat(var(--n, 6), minmax(0, 120px));
  justify-content: start;
  gap: 20px;
}
.logo-tile {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  transition: transform .4s var(--ease);
}
.logo-tile img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-tile span { padding: 8px; font-size: .8rem; font-weight: 600; text-align: center; }
.logo-tile:hover { transform: translateY(-3px); }

.back {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s, border-color .3s, transform .25s var(--ease);
}
.back svg { width: 20px; height: 20px; }
.back:hover { color: var(--ink); border-color: var(--ink); }
.back:active { transform: scale(.94); }
.post-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 22px;
  border-radius: 32px;
  object-fit: cover;
  background: #1b1b1b;
}
.post-body { max-width: 620px; margin: 40px auto 0; }
.post-logo { display: block; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 20px; object-fit: cover; }
.post-meta { font-size: 1rem; color: var(--muted); unicode-bidi: plaintext; }
.post-title { margin-top: 8px; font-size: clamp(2rem, 7vw, 3rem); unicode-bidi: plaintext; }
.post-lead { margin-top: 16px; font-size: 1.2rem; line-height: 1.5; color: #3a3a3a; unicode-bidi: plaintext; }
.post-lead:empty { display: none; }
.prose { margin-top: 36px; font-size: 1.05rem; line-height: 1.8; color: #222; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); line-height: 1.15; color: var(--ink); }
.prose h2 { margin-top: 2em; font-size: 1.6rem; font-weight: 600; }
.prose h3 { margin-top: 1.6em; font-size: 1.3rem; font-weight: 600; }
.prose p, .prose li, .prose h2, .prose h3 { unicode-bidi: plaintext; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose a { text-underline-offset: 3px; }
.prose blockquote { padding-inline-start: 1em; border-inline-start: 3px solid var(--ink); }
.prose img { display: block; width: 100%; height: auto; margin-block: 1.8em; border-radius: 26px; }

.page-title { margin-top: 56px; font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1; }
.lead { max-width: 46ch; margin-top: 16px; font-size: 1.15rem; line-height: 1.5; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.btn .arrow { width: 38px; height: 38px; }


.sep { align-self: center; width: 1px; height: 22px; margin-inline: 4px; background: var(--line); }
.social-link.is-mail { background: var(--ink); border-color: var(--ink); color: #fff; }
.social-link.is-mail:hover { background: #333; border-color: #333; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }


.status-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 8px 16px 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; font-size: .9rem; font-weight: 500; }
.status-pill i { width: 9px; height: 9px; border-radius: 50%; }
.status-pill.is-available i { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.status-pill.is-busy i { background: #f97316; box-shadow: 0 0 0 4px rgba(249, 115, 22, .18); }

.bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 12px; margin-top: 28px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  background: #fafafa;
  color: var(--ink);
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .12); }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; }
.tile-icon svg { width: 22px; height: 22px; }
.tile .arrow { width: 40px; height: 40px; border: 1px solid var(--line); opacity: 0; transform: translate(-8px, 8px) scale(.7); transition: opacity .3s, transform .5s var(--ease); }
.tile:hover .arrow, .tile:focus-visible .arrow { opacity: 1; transform: none; }
@media (hover: none) { .tile .arrow { opacity: 1; transform: none; } }
.tile-body { min-width: 0; }
.tile-label { display: block; font-size: .85rem; font-weight: 500; opacity: .65; }
.tile-value { display: block; margin-top: 4px; overflow: hidden; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.tile-hint { display: block; margin-top: 6px; font-size: .9rem; opacity: .75; }
.tile-tg {
  border: 0;
  color: #fff;
  background:
    radial-gradient(120% 90% at 10% 4%, hsl(205 96% 60%) 0, transparent 62%),
    radial-gradient(100% 90% at 96% 96%, hsl(268 92% 58%) 0, transparent 64%),
    hsl(216 56% 11%);
}
.tile-tg::after {
  content: "";
  position: absolute;
  right: -26%;
  bottom: -52%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .06), 0 0 0 54px rgba(255, 255, 255, .04);
}
.tile-tg .tile-icon { border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tile-tg .arrow { border: 0; background: #fff; }
.tile-tg .tile-value { font-size: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row + .field { margin-top: 16px; }
.form { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 32px; background: #fafafa; }
.field { display: block; }
.field > span { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .08); }
.form .btn { margin-top: 22px; }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.form-note:empty { display: none; }
.form + .socials { margin-top: 32px; }

@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .nav, .btn, .socials { display: none !important; }
  .wrap { width: 100%; padding-bottom: 0; }
  .page-title { margin-top: 0; }
  .row, .rv-sec { break-inside: avoid; }
}

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fafafa;
  color: inherit;
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
a.product:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 16px 36px rgba(0, 0, 0, .1); }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 12px 12px 8px; }
.product-logo {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.product-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-logo b { font-family: var(--display); font-size: 1.35rem; }
.product-text { display: block; }
.product-name { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; unicode-bidi: plaintext; }
.product-desc {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  unicode-bidi: plaintext;
}
div.product .product-bottom { display: none; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; }
.product-host { font-size: .85rem; font-weight: 500; color: var(--muted); }
.product .arrow { width: 38px; height: 38px; background: var(--ink); color: #fff; opacity: 0; transform: translate(-8px, 8px) scale(.7); transition: opacity .3s, transform .5s var(--ease); }
.product .arrow svg { width: 17px; height: 17px; }
.product:hover .arrow, .product:focus-visible .arrow { opacity: 1; transform: none; }
@media (hover: none) { .product .arrow { opacity: 1; transform: none; } }



.chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 72px 0 6px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-family: var(--display);
}
.chapter-no { font-size: .95rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter-title { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.chapter-count { margin-left: auto; font-size: .9rem; font-weight: 500; color: var(--muted); }
.rows { margin: 0; padding: 0; list-style: none; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-inline: -14px;
  padding: 20px 14px;
  border-radius: 26px;
  transition: background .35s var(--ease);
}
.row-slim { grid-template-columns: 1fr; padding: 16px 14px; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--line); transition: opacity .2s; }
.row:hover { background: #f6f6f6; }
.row:hover::before, .row:hover + .row::before { opacity: 0; }
.row-lead {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  overflow: hidden;
  background: #efefef;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}
.row-lead img { display: block; width: 100%; height: 100%; object-fit: contain; }
.row-lead.has-icon {
  background: var(--bg);
  color: var(--c);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 70%, transparent);
}
.row-main { min-width: 0; }
.row-title { font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; unicode-bidi: plaintext; }
.row-slim .row-title { font-size: 1.6rem; }
.row-sub { margin-top: 4px; font-size: 1rem; color: var(--muted); unicode-bidi: plaintext; }
.row-text { max-width: 58ch; margin-top: 10px; font-size: 1rem; line-height: 1.65; color: #333; unicode-bidi: plaintext; }
.pill { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; font-weight: 500; white-space: nowrap; }
.pill.is-now { background: var(--ink); border-color: var(--ink); color: #fff; }
.dots { display: flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.co-body { margin-top: 28px; }

.btn-sm { gap: 10px; margin-top: 18px; padding: 5px 5px 5px 16px; font-size: .85rem; }
.btn-sm .arrow { width: 30px; height: 30px; }
.btn-sm .arrow svg { width: 15px; height: 15px; }

.rv { margin-top: 56px; text-align: center; }
.rv-head { display: flex; flex-direction: column; align-items: center; }
.rv-avatar { display: block; width: 68px; height: 68px; border-radius: 50%; object-fit: cover; background: #eee; box-shadow: 0 0 0 1px var(--line), 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.rv-title { margin-top: 22px; font-family: var(--display); font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.rv-lead { max-width: 44ch; margin: 12px auto 0; font-size: .98rem; line-height: 1.6; color: var(--muted); }
.rv-sec { margin-top: 76px; }
.rv-label { display: flex; align-items: center; gap: 14px; font-family: var(--text); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a; }
.rv-label::before, .rv-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rv-label.is-left::before { display: none; }

.rv-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; max-width: 520px; margin: 38px auto 0; padding: 0; list-style: none; }
.rv-logo { width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .05); animation: rv-float 7s ease-in-out infinite; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rv-logo:nth-child(3n + 1) { width: 96px; height: 96px; }
.rv-logo:nth-child(3n + 2) { width: 72px; height: 72px; margin-top: 22px; animation-delay: -2.4s; }
.rv-logo:nth-child(3n + 3) { animation-delay: -4.6s; }
.rv-logo:hover { transform: scale(1.08); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.rv-logo a, .rv-logo span { display: grid; place-items: center; width: 100%; height: 100%; padding: 8%; }
.rv-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes rv-float { 50% { translate: 0 -6px; } }

.rv-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 28px; margin: 34px 0 0; padding: 0; list-style: none; }
.rv-app { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 76px; }
.rv-app-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--bg); color: var(--c); font-family: var(--display); font-size: .95rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 65%, transparent); transition: transform .4s var(--ease); }
.rv-app-icon.has-img { width: 52px; height: 52px; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .14)); }
.rv-app-icon img { display: block; width: 100%; height: 100%; }
.rv-app:hover .rv-app-icon { transform: translateY(-3px) rotate(-4deg); }
.rv-app-name { font-size: .72rem; font-weight: 500; color: var(--muted); }

.rv-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 76px; text-align: left; }
.rv-duo > :only-child { grid-column: 1 / -1; }
.rv-edu { margin: 18px 0 0; padding: 0; list-style: none; }
.rv-edu li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rv-edu li:first-child { padding-top: 0; }
.rv-edu-school { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; unicode-bidi: plaintext; }
.rv-edu-degree { margin-top: 2px; font-size: .82rem; color: var(--muted); unicode-bidi: plaintext; }
.rv-skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.rv-skill { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 500; color: #333; unicode-bidi: plaintext; }

@media (max-width: 620px) {
  .rv-sec { margin-top: 64px; }
  .rv-duo { grid-template-columns: 1fr; gap: 48px; margin-top: 64px; }
  .rv-logo { width: 74px; height: 74px; }
  .rv-logo:nth-child(3n + 1) { width: 84px; height: 84px; }
  .rv-logo:nth-child(3n + 2) { width: 64px; height: 64px; }
}

@media (max-width: 760px) {
  .grid, .logos, .products {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-inline: -20px;
    padding-inline: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .grid::-webkit-scrollbar, .logos::-webkit-scrollbar, .products::-webkit-scrollbar { display: none; }
  .grid .card { flex: 0 0 64vw; max-width: 260px; scroll-snap-align: start; }
  .products .product { flex: 0 0 74vw; max-width: 290px; scroll-snap-align: start; }
  .logo-tile { flex: none; width: 96px; scroll-snap-align: start; }
  .bento {
    display: flex;
    gap: 12px;
    margin-inline: -20px;
    padding-inline: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 72vw; max-width: 290px; min-height: 190px; scroll-snap-align: start; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .grid.grid-all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .grid-all .card { flex: none; max-width: none; border-radius: 26px; }
}
.tile-mail { grid-column: 1 / -1; min-height: 0; }
.back + .page-title { margin-top: 20px; }

.fr { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.filters { display: flex; gap: 8px; margin-top: 28px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 500; cursor: pointer; user-select: none; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.page-title + .grid-all { margin-top: 32px; }
.filters + .grid-all { margin-top: 20px; }


@media (prefers-reduced-motion: reduce) {
  .card, .card > img, .arrow, .nav a, .nav .label, .social-link, .logo-tile, .tip, .row, .tile, .product, .product .arrow, .rv-logo, .rv-app-icon, .chip { transition: none; animation: none; }
  a.card:hover, a.card:hover > img, a.card:hover .arrow, .logo-tile:hover, .social-link:hover, a.product:hover, .rv-app:hover .rv-app-icon, .rv-logo:hover { transform: none; }
}

.ch { position: relative; width: 100%; max-width: 640px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .09); }
.ch-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 140% at 6% 0, hsl(205 96% 58%) 0, transparent 58%),
    radial-gradient(90% 130% at 100% 100%, hsl(268 92% 58%) 0, transparent 62%),
    hsl(216 56% 11%);
  background-size: 170% 170%, 170% 170%, auto;
  animation: ch-flow 12s ease-in-out infinite;
}
.ch-avatar { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.ch-who { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ch-who b { font-family: var(--display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.ch-who small { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 500; opacity: .9; }
.ch-who small i { width: 8px; height: 8px; border-radius: 50%; }
.ch-who small.is-available i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .28); }
.ch-who small.is-busy i { background: #f97316; box-shadow: 0 0 0 3px rgba(249, 115, 22, .28); }
.ch-thread { display: flex; flex-direction: column; gap: 8px; height: clamp(340px, 54vh, 470px); padding: 22px 18px; overflow-y: auto; background: radial-gradient(rgba(0, 0, 0, .075) 1px, transparent 1.4px) 0 0 / 18px 18px, #f6f6f7; scrollbar-width: none; -ms-overflow-style: none; }
.ch-thread::-webkit-scrollbar { display: none; }
.ch-msg { max-width: 84%; animation: ch-pop .4s var(--ease) both; }
.ch-msg p { padding: 11px 16px; border-radius: 22px; font-size: 1rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.ch-msg.is-bot { align-self: flex-start; transform-origin: left bottom; }
.ch-msg.is-bot p { border: 1px solid var(--line); border-bottom-left-radius: 7px; background: #fff; }
.ch-msg.is-user { align-self: flex-end; transform-origin: right bottom; }
.ch-msg.is-user p { border-bottom-right-radius: 7px; background: var(--ink); color: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.ch-msg.is-typing p { display: flex; gap: 5px; padding: 15px 18px; }
.ch-msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b5b5b5; animation: ch-dot 1s ease-in-out infinite; }
.ch-msg.is-typing i:nth-child(2) { animation-delay: .15s; }
.ch-msg.is-typing i:nth-child(3) { animation-delay: .3s; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; animation: ch-pop .45s var(--ease) both; }
.ch-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; transition: background .3s, color .3s, transform .35s var(--ease); }
.ch-chip svg { width: 19px; height: 19px; }
.ch-chip:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.ch-composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ch-composer textarea { flex: 1; min-width: 0; max-height: 120px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 26px; background: #fafafa; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; resize: none; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.ch-composer textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(10, 10, 10, .08); }
.ch-composer textarea:disabled { opacity: .55; }
.ch-send { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: transform .35s var(--ease), opacity .25s; }
.ch-send svg { width: 21px; height: 21px; }
.ch-send:hover:not(:disabled) { transform: scale(1.08) rotate(-8deg); }
.ch-send:disabled { opacity: .3; cursor: default; }
@keyframes ch-pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes ch-dot { 40% { transform: translateY(-5px); background: #7a7a7a; } }
@media (max-width: 760px) {
  .ch { border-radius: 28px; }
  .ch-thread { height: min(58vh, 460px); }
}
@media (prefers-reduced-motion: reduce) {
  .ch-msg, .ch-chips, .ch-msg.is-typing i { animation: none; }
  .ch-chip, .ch-send { transition: none; }
}
.ch-avatar { overflow: hidden; }
.ch-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ch-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(255, 255, 255, .18); font-family: var(--text); font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.ch-note { padding: 9px 20px; border-bottom: 1px solid var(--line); background: #fff; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.ch-actions { position: relative; z-index: 1; display: flex; gap: 8px; margin-left: auto; }
.ch-act { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.ch-act svg { width: 19px; height: 19px; }
.ch-act:hover, .ch-act:focus-visible { transform: translateY(-2px); border-color: transparent; background: #fff; color: var(--ink); }
.ch-act.is-tg:hover, .ch-act.is-tg:focus-visible { background: #229ed9; color: #fff; }
.ch-act.is-wa:hover, .ch-act.is-wa:focus-visible { background: #25d366; color: #fff; }
@media (max-width: 760px) {
  .ch-head { gap: 10px; padding: 16px 16px; }
  .ch-actions { gap: 6px; }
  .ch-act { width: 38px; height: 38px; }
  .ch-badge { margin-left: 5px; }
}
@media (prefers-reduced-motion: reduce) { .ch-act { transition: none; } }
.ch-stage { display: flex; align-items: center; justify-content: center; min-height: calc(100svh - 92px); margin-bottom: -40px; }
@keyframes ch-flow { 0%, 100% { background-position: 0% 0%, 100% 100%, 0 0; } 50% { background-position: 60% 50%, 40% 50%, 0 0; } }
@media (max-height: 760px) { .ch-stage { min-height: 0; margin-bottom: 0; padding-block: 24px 0; } }
@media (prefers-reduced-motion: reduce) { .ch-head { animation: none; } }
.ch-who { flex: 1; }
.ch-composer textarea { font-size: 16px; }
@media (max-width: 760px) {
  .ch-stage { align-items: flex-start; min-height: 0; margin-bottom: 0; padding-top: 12px; }
  .ch { border-radius: 26px; }
  .ch-head { padding: 14px; }
  .ch-avatar { width: 42px; height: 42px; }
  .ch-who b { font-size: .98rem; line-height: 1.25; }
  .ch-who small { font-size: .78rem; }
  .ch-act { width: 36px; height: 36px; }
  .ch-act svg { width: 17px; height: 17px; }
  .ch-actions { gap: 5px; }
  .ch-note { padding: 8px 16px; font-size: .74rem; }
  .ch-thread { height: clamp(260px, calc(100dvh - 340px), 470px); padding: 16px 12px; }
  .ch-msg { max-width: 90%; }
  .ch-msg p { padding: 10px 14px; font-size: .97rem; }
  .ch-composer { gap: 8px; padding: 10px; }
  .ch-composer textarea { padding: 11px 16px; }
  .ch-send { width: 44px; height: 44px; }
  .ch-chip { padding: 9px 14px 9px 12px; font-size: .9rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .nav { view-transition-name: nav; }
  ::view-transition-old(root) { animation: vt-out .2s ease both; }
  ::view-transition-new(root) { animation: vt-in .3s ease both; }
  ::view-transition-group(nav) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(4px); } }
  @keyframes vt-in { from { opacity: 0; } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.93); } to { opacity: 1; transform: none; } }
  @keyframes avatar-in { from { opacity: 0; transform: scale(.4) rotate(-12deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes rule-draw { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
  @keyframes chat-in { from { opacity: 0; transform: translateY(30px) scale(.95); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
  .wrap > :not(input, .ch-stage, .hero, .rv) { animation: rise .85s var(--ease) calc(var(--i, 0) * 110ms + 60ms) both; }
  .hero > *, .rv > * { animation: rise .85s var(--ease) calc(var(--i, 0) * 110ms + 60ms) both; }
  .hero > .avatar-wrap { animation: avatar-in 1s cubic-bezier(.34, 1.56, .64, 1) .05s both; }
  .wrap > .rule { animation: rule-draw 1s var(--ease) .45s both; }
  .grid > *, .products > *, .logos > * { animation: pop-in .7s var(--ease) calc(var(--i, 0) * 70ms + 380ms) both; }
  .ch { animation: chat-in .95s var(--ease) .1s both; }
  .wrap > :not(input):nth-child(1), .hero > *:nth-child(1), .rv > *:nth-child(1), .grid > *:nth-child(1), .products > *:nth-child(1), .logos > *:nth-child(1) { --i: 0; }
  .wrap > :not(input):nth-child(2), .hero > *:nth-child(2), .rv > *:nth-child(2), .grid > *:nth-child(2), .products > *:nth-child(2), .logos > *:nth-child(2) { --i: 1; }
  .wrap > :not(input):nth-child(3), .hero > *:nth-child(3), .rv > *:nth-child(3), .grid > *:nth-child(3), .products > *:nth-child(3), .logos > *:nth-child(3) { --i: 2; }
  .wrap > :not(input):nth-child(4), .hero > *:nth-child(4), .rv > *:nth-child(4), .grid > *:nth-child(4), .products > *:nth-child(4), .logos > *:nth-child(4) { --i: 3; }
  .wrap > :not(input):nth-child(5), .hero > *:nth-child(5), .rv > *:nth-child(5), .grid > *:nth-child(5), .products > *:nth-child(5), .logos > *:nth-child(5) { --i: 4; }
  .wrap > :not(input):nth-child(6), .hero > *:nth-child(6), .rv > *:nth-child(6), .grid > *:nth-child(6), .products > *:nth-child(6), .logos > *:nth-child(6) { --i: 5; }
  .wrap > :not(input):nth-child(7), .hero > *:nth-child(7), .rv > *:nth-child(7), .grid > *:nth-child(7), .products > *:nth-child(7), .logos > *:nth-child(7) { --i: 6; }
  .wrap > :not(input):nth-child(8), .hero > *:nth-child(8), .rv > *:nth-child(8), .grid > *:nth-child(8), .products > *:nth-child(8), .logos > *:nth-child(8) { --i: 7; }
  .wrap > :not(input):nth-child(9), .hero > *:nth-child(9), .rv > *:nth-child(9), .grid > *:nth-child(9), .products > *:nth-child(9), .logos > *:nth-child(9) { --i: 8; }
}

/* image loading: skeleton shimmer + smooth fade-in */
.js .card > img, .js .logo-tile img, .js .product-logo img, .js .row-lead img, .js .rv-logo img, .js .rv-app-icon img, .js .avatar, .js .ch-avatar img, .js .prose img, .js .post-cover {
  opacity: 0;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.js .card > img.is-loaded, .js .logo-tile img.is-loaded, .js .product-logo img.is-loaded, .js .row-lead img.is-loaded, .js .rv-logo img.is-loaded, .js .rv-app-icon img.is-loaded, .js .avatar.is-loaded, .js .ch-avatar img.is-loaded, .js .prose img.is-loaded, .js .post-cover.is-loaded { opacity: 1; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(110deg, #1b1b1b 30%, #2c2c2c 50%, #1b1b1b 70%) 0 0 / 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
.js .avatar { background: #efefef; }
@keyframes shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) {
  .card::before { animation: none; }
  .js .card > img, .js .logo-tile img, .js .product-logo img, .js .row-lead img, .js .rv-logo img, .js .rv-app-icon img, .js .avatar, .js .ch-avatar img, .js .prose img, .js .post-cover { transition: opacity .2s; }
}

.hero { text-align: left; }
.avatar-wrap { margin: 0 0 22px; }
.hero .socials { justify-content: flex-start; }
.hero h1 { font-family: var(--display); font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.bio { max-width: 34em; margin-top: 18px; font-size: 1.05rem; line-height: 1.6; color: #2b2b2b; }
.counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.count { display: inline-flex; align-items: center; gap: 10px; padding: 9px 9px 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; font-size: .92rem; font-weight: 500; text-decoration: none; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.count b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.count:hover { border-color: var(--ink); transform: translateY(-2px); }
.section-title { display: flex; align-items: baseline; gap: 12px; }
.num { font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: #a3a3a3; font-variant-numeric: tabular-nums; }
.foot { margin-top: 88px; padding-top: 36px; border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot-label { margin-bottom: 14px; font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #a3a3a3; }
.foot ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.foot li a { font-size: .95rem; font-weight: 500; text-decoration: none; color: #3a3a3a; transition: color .3s; }
.foot li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: 44px; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.foot-braille { font-size: 1.15rem; letter-spacing: .12em; color: var(--ink); }
.foot-clock { font-weight: 600; color: var(--ink); }
@media (max-width: 620px) {
  .foot-meta { flex-direction: column; align-items: flex-start; }
}

.logo-tile img, .logo-tile span { filter: grayscale(1); opacity: .55; transition: filter .45s var(--ease), opacity .45s var(--ease); }
.logo-tile:hover img, .logo-tile:hover span, .logo-tile:focus-visible img, .logo-tile:focus-visible span { filter: none; opacity: 1; }
@media (hover: none) { .logo-tile img, .logo-tile span { filter: none; opacity: 1; } }

.nav.dock { gap: 2px; padding: 6px; max-width: calc(100vw - 20px); background: #fff; border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(10, 10, 10, .09), 0 1px 3px rgba(10, 10, 10, .05); }
.nav.dock a, .nav.dock a.active, .nav.dock a.active:hover { gap: 0; height: 42px; padding: 0 15px; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.nav.dock a.active, .nav.dock a.active:hover { background: var(--ink); color: #fff; box-shadow: none; }
.nav.dock .label, .nav.dock a.active .label { display: inline; max-width: none; margin: 0; opacity: 1; }
.nav.dock .dock-avatar { width: 42px; padding: 0; justify-content: center; }
.nav.dock .dock-avatar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #eee; }
@media (max-width: 560px) { .nav.dock .dock-avatar { display: none; } .nav.dock a, .nav.dock a.active { padding: 0 11px; font-size: .86rem; } }
.block + .block { margin-top: 64px; }
.shelf { display: flex; gap: 20px; margin-inline: -20px; padding: 10px 20px 22px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf.is-music { gap: 38px; }
.shelf-item { display: flex; flex: none; flex-direction: column; gap: 3px; width: 128px; text-decoration: none; scroll-snap-align: start; }
.shelf.is-books .shelf-item { width: 116px; }
.shelf-cover { position: relative; display: block; width: 100%; margin-bottom: 10px; isolation: isolate; }
.shelf-cover img, .shelf-cover b { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; background: hsl(var(--h, 220) 14% 93%); transition: box-shadow .6s var(--ease); }
.shelf-cover b { font-family: var(--display); font-size: 2rem; font-weight: 600; color: hsl(var(--h, 220) 20% 40%); }
.shelf-item:nth-child(6n+1) { --h: 20; }
.shelf-item:nth-child(6n+2) { --h: 150; }
.shelf-item:nth-child(6n+3) { --h: 215; }
.shelf-item:nth-child(6n+4) { --h: 280; }
.shelf-item:nth-child(6n+5) { --h: 340; }
.shelf-item:nth-child(6n) { --h: 45; }
.is-music .shelf-cover { aspect-ratio: 1; }
.is-music .shelf-cover img, .is-music .shelf-cover b { border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 12px 22px -10px rgba(20, 24, 40, .45); }
.is-music .shelf-cover::before { content: ""; position: absolute; z-index: -1; top: 3%; left: 3%; width: 94%; height: 94%; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 20%, rgba(255, 255, 255, .13) 25%, transparent 30% 70%, rgba(255, 255, 255, .13) 75%, transparent 80%), radial-gradient(circle, #efe9dc 0 3%, hsl(var(--h, 220) 50% 56%) 4% 21%, transparent 22%), repeating-radial-gradient(circle, #0d0d0d 0 2px, #1b1b1b 2px 3px); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); transform: translateX(20%); transition: transform .7s var(--ease); }
.is-music .shelf-item:hover .shelf-cover::before, .is-music a.shelf-item:focus-visible .shelf-cover::before { transform: translateX(46%); animation: vinyl 3.4s linear .7s infinite; }
@keyframes vinyl { from { transform: translateX(46%) rotate(0deg); } to { transform: translateX(46%) rotate(360deg); } }
.is-books .shelf-cover { aspect-ratio: 3 / 4; transform-origin: left center; transition: transform .8s var(--ease); }
.is-books .shelf-cover img, .is-books .shelf-cover b { border-radius: 3px 7px 7px 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 14px 24px -10px rgba(20, 24, 40, .5); }
.is-books .shelf-cover::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 14%; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(255, 255, 255, .22) 18%, rgba(0, 0, 0, .12) 34%, transparent 70%); pointer-events: none; }
.is-books .shelf-cover::after { content: ""; position: absolute; z-index: -1; top: 2px; bottom: 2px; right: -5px; width: 6px; border-radius: 0 3px 3px 0; background: repeating-linear-gradient(90deg, #fff 0 1px, #d6d6d6 1px 2px); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .4); }
.is-books .shelf-item:hover .shelf-cover { transform: perspective(700px) rotateY(-28deg) translateY(-4px) scale(1.03); }
.is-books .shelf-item:hover .shelf-cover img, .is-books .shelf-item:hover .shelf-cover b { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 22px 18px 28px -10px rgba(20, 24, 40, .55); }
.shelf-title { display: -webkit-box; overflow: hidden; font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: left; unicode-bidi: plaintext; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.shelf-by { font-size: .8rem; text-align: left; unicode-bidi: plaintext; color: var(--muted); }
.plist { list-style: none; padding: 0; }
.prow { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.plist li:first-child .prow { border-top: 1px solid var(--line); }
.prow:hover { padding-inline: 10px; }
.ptitle { flex: 1; min-width: 0; font-size: 1.02rem; font-weight: 500; line-height: 1.4; text-align: start; unicode-bidi: plaintext; }
.prow time { flex: none; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.yr + .yr { margin-top: 44px; }
.yr-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.yr-head h2 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.yr-head span { font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: #a3a3a3; font-variant-numeric: tabular-nums; }
.empty { padding: 28px 0; color: var(--muted); }
.post-head { margin: 28px 0 32px; }
.post-head time { font-size: .88rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-head h1 { margin-top: 10px; font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-align: start; unicode-bidi: plaintext; }
.post-sum { margin-top: 14px; font-size: 1.08rem; line-height: 1.6; color: var(--muted); text-align: start; unicode-bidi: plaintext; }
.post-cover { display: block; width: 100%; margin-bottom: 32px; border-radius: 16px; }
.post-body > *, .post-body li { text-align: start; unicode-bidi: plaintext; }
.post-body { line-height: 1.8; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; }

.hero { padding-top: 56px; text-align: start; }
.hero .avatar-wrap { width: 96px; height: 96px; margin: 0 0 26px; }
.hero .avatar { border-radius: 30px; }
.hero .status { right: -4px; bottom: -4px; }
.hero .hero-name { font-family: var(--display); font-size: clamp(2.5rem, 9vw, 3.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: .95rem; font-weight: 600; }
.tag.t1 { background: var(--ink); color: #fff; transform: rotate(-2deg); }
.tag.t2 { border: 1.5px solid var(--ink); transform: rotate(1.5deg); }
.hero .bio { max-width: 32em; margin-top: 22px; font-size: 1.08rem; line-height: 1.9; color: #3a3a3a; }
.hero .socials { margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-block: 1px solid var(--line); }
.facts > div { padding: 16px 0; }
.facts > div + div { padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.facts dt { font-size: .78rem; font-weight: 500; color: #a3a3a3; }
.facts dd { margin-top: 6px; font-size: .98rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.fact-status { display: flex; align-items: center; gap: 8px; }
.fact-status i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.fact-status.is-available i { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.fact-status.is-busy i { background: #f97316; box-shadow: 0 0 0 4px rgba(249, 115, 22, .18); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:last-child { grid-column: 1 / -1; padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); } }
.block { margin-top: 72px; }
.block + .block { margin-top: 72px; }
.section-title { font-size: 1.3rem; font-weight: 700; }
.page-head { margin: 24px 0 44px; }
.page-title { font-family: var(--display); font-size: clamp(2.2rem, 7vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.page-lead { max-width: 34em; margin-top: 14px; font-size: 1.08rem; line-height: 1.9; color: var(--muted); }
.page-head .btn { margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .98rem var(--text); text-decoration: none; cursor: pointer; transition: transform .4s var(--ease), background .3s; }
.btn:hover { background: #2a2a2a; transform: translateY(-2px); }
.btn .arrow, .crow .arrow { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; opacity: 1; transform: none; }
.btn .arrow { background: rgba(255, 255, 255, .16); }
.btn .arrow svg, .crow .arrow svg { width: 18px; height: 18px; }
.nav.dock { padding: 6px; gap: 2px; background: #fff; border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(10, 10, 10, .09), 0 1px 3px rgba(10, 10, 10, .05); }
.nav.dock a, .nav.dock a.active, .nav.dock a.active:hover { justify-content: center; width: 50px; height: 46px; padding: 0; }
.nav.dock svg { width: 22px; height: 22px; }
.shelf { margin: -24px -24px -8px; padding: 36px 28px 34px; }
[dir="rtl"] .is-books .shelf-cover { transform-origin: right center; }
[dir="rtl"] .is-books .shelf-cover img, [dir="rtl"] .is-books .shelf-cover b { border-radius: 7px 3px 3px 7px; }
[dir="rtl"] .is-books .shelf-cover::before { left: auto; right: 0; border-radius: 0 3px 3px 0; background: linear-gradient(270deg, rgba(0, 0, 0, .32), rgba(255, 255, 255, .22) 18%, rgba(0, 0, 0, .12) 34%, transparent 70%); }
[dir="rtl"] .is-books .shelf-cover::after { right: auto; left: -5px; border-radius: 3px 0 0 3px; }
[dir="rtl"] .is-books .shelf-item:hover .shelf-cover { transform: perspective(700px) rotateY(28deg) translateY(-4px) scale(1.03); }
[dir="rtl"] .is-books .shelf-item:hover .shelf-cover img, [dir="rtl"] .is-books .shelf-item:hover .shelf-cover b { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), -22px 18px 28px -10px rgba(20, 24, 40, .55); }
[dir="rtl"] .is-music .shelf-cover::before { transform: translateX(-20%); }
[dir="rtl"] .is-music .shelf-item:hover .shelf-cover::before, [dir="rtl"] .is-music a.shelf-item:focus-visible .shelf-cover::before { transform: translateX(-46%); animation: vinyl-r 3.4s linear .7s infinite; }
@keyframes vinyl-r { from { transform: translateX(-46%) rotate(0deg); } to { transform: translateX(-46%) rotate(360deg); } }
.shelf-title, .shelf-by { text-align: start; }
.plist { display: flex; flex-direction: column; list-style: none; padding: 0; }
.pcard { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease); }
.plist > .pcard:first-child { border-top: 1px solid var(--line); }
.pcard:hover { padding-inline: 10px; }
.pc-thumb { display: grid; place-items: center; flex: none; width: 112px; height: 84px; overflow: hidden; border-radius: 14px; background: #f1f1f1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pc-thumb b { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: #b5b5b5; }
.pcard:hover .pc-thumb img { transform: scale(1.06); }
.pc-body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.pc-body time { font-size: .8rem; font-weight: 500; color: #a3a3a3; }
.pc-title { font-family: var(--display); font-size: 1.12rem; font-weight: 700; line-height: 1.5; text-align: start; unicode-bidi: plaintext; }
.pc-sum { display: -webkit-box; overflow: hidden; font-size: .92rem; line-height: 1.8; color: var(--muted); text-align: start; unicode-bidi: plaintext; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 520px) { .pc-thumb { width: 88px; height: 68px; } }
.yr-head h2 { font-weight: 700; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.app { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 8px 16px; border: 1px solid var(--line); border-radius: 22px; background: #fafafa; }
.app-icon { display: grid; place-items: center; width: 52px; height: 52px; }
.app-icon img { width: 100%; height: 100%; object-fit: contain; }
.app-name { font-size: .9rem; font-weight: 600; }
.lrows { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lrows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lr-main { display: flex; flex-direction: column; gap: 4px; }
.lr-main b { font-family: var(--display); font-size: 1.08rem; font-weight: 700; }
.lr-main small { font-size: .9rem; color: var(--muted); }
.lr-end { font-size: .9rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.chips li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; font-size: .95rem; font-weight: 600; }
.clist { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.clist li { border-bottom: 1px solid var(--line); }
.crow { display: flex; align-items: center; gap: 16px; padding: 16px 0; text-decoration: none; transition: padding .5s var(--ease); }
.crow:hover { padding-inline: 10px; }
.ci { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: #fafafa; }
.ci svg { width: 21px; height: 21px; }
.cm { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.cm b { font-family: var(--display); font-size: 1.02rem; font-weight: 700; }
.cm small { font-size: .88rem; color: var(--muted); text-align: end; align-self: flex-start; }
.crow .arrow { border: 1px solid var(--line); }
.cf { display: grid; gap: 18px; }
.cf label { display: grid; gap: 8px; }
.cf label span { font-size: .88rem; font-weight: 600; }
.cf input, .cf textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fafafa; font: 500 1rem var(--text); color: var(--ink); resize: vertical; transition: border-color .3s, background .3s; }
.cf input:focus, .cf textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.cf .btn { justify-self: start; }
.cf-note { min-height: 1.4em; font-size: .92rem; color: var(--muted); }
.foot-meta { gap: 10px 24px; }

.hero .hero-name { font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.page-title { font-size: clamp(1.7rem, 4.5vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.section-title, .yr-head h2 { font-size: 1.1rem; font-weight: 600; }
.post-head h1 { font-size: clamp(1.6rem, 4.5vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.pc-title, .lr-main b, .cm b { font-size: 1.02rem; font-weight: 600; }
.tag.t1, .tag.t2 { transform: none; }
.hero .bio, .page-lead { line-height: 1.65; }
.facts { grid-template-columns: repeat(2, 1fr); }
.facts > div:last-child { grid-column: auto; border-top: 0; padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.foot-braille { margin-inline-start: auto; }

.nav.dock { align-items: center; gap: 2px; padding: 6px; background: #fafaf8; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 12px 32px rgba(10, 10, 10, .1), 0 1px 2px rgba(10, 10, 10, .05); }
.nav.dock a, .nav.dock a:hover { position: relative; width: 46px; height: 46px; padding: 0; border-radius: 999px; background: transparent; color: #8a8a8a; box-shadow: none; transition: color .3s, background .3s, transform .4s var(--ease); }
.nav.dock a:hover { color: var(--ink); transform: translateY(-2px); }
.nav.dock a.active, .nav.dock a.active:hover { background: rgba(0, 0, 0, .07); color: var(--ink); }
.nav.dock a svg { width: 22px; height: 22px; }
.dock-sep { flex: none; width: 1px; height: 22px; margin: 0 6px; background: var(--line); }
.nav.dock a::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 14px); left: 50%; padding: 6px 11px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .25s, transform .35s var(--ease); }
.nav.dock a:hover::after, .nav.dock a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .nav.dock a::after { display: none; } }

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #111 transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3.5px solid #fff; border-radius: 999px; background: #111; background-clip: padding-box; }
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.js .rvl { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .rvl.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rvl { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .ring { transform: none !important; } }
.hero { padding-top: 48px; text-align: center; }
.hero .avatar-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto 10px; }
.hero .avatar { position: absolute; inset: 30px; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(calc(var(--sy, 0) * .3deg)); }
.ring text { fill: var(--ink); font: 600 9.5px var(--text); }
.hero-tags { justify-content: center; }
.hero .bio { margin-inline: auto; }
.hero .socials { justify-content: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; font-size: .88rem; font-weight: 500; }
.pill-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.pill-dot.is-available { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.pill-dot.is-busy { background: #f97316; box-shadow: 0 0 0 4px rgba(249, 115, 22, .18); }
.pill-sep { width: 1px; height: 14px; background: var(--line); }
.block, .block + .block { margin-top: 80px; }
.hero + .block { margin-top: 72px; }
.section-head { margin-bottom: 22px; }
.shelf { margin: -24px -28px -34px; padding: 36px 28px 34px; }
.head-end { display: inline-flex; align-items: center; gap: 14px; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lang-toggle { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; font: 600 .82rem var(--text); color: var(--ink); cursor: pointer; transition: border-color .3s; }
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle .t-fa { display: none; }
html[data-lang="fa"] .lang-toggle .t-en { display: none; }
html[data-lang="fa"] .lang-toggle .t-fa { display: inline; }
.fa { display: none; font-family: "Vazirmatn", var(--text); line-height: 1.9; }
html[data-lang="fa"] .en { display: none; }
html[data-lang="fa"] .fa { display: block; }
.grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.card { padding: 13px; border-radius: 22px; }
.card .card-title { font-size: .95rem; }
.card .card-cat { margin-top: 2px; font-size: .76rem; }
.products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.product { padding: 6px; border-radius: 22px; }
.product-body { flex-direction: row; align-items: center; gap: 14px; padding: 10px 12px; }
.product-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; }
.product-text { flex: 1; min-width: 0; }
.product-name { font-size: 1.02rem; }
.product-desc { display: -webkit-box; overflow: hidden; margin-top: 2px; font-size: .84rem; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-bottom { flex: none; min-height: 0; }
.product-host { display: none; }
.product .arrow { width: 32px; height: 32px; }
@media (max-width: 620px) {
  .grid .card { flex: 0 0 44vw; max-width: 180px; }
  .products .product { flex: 0 0 82vw; max-width: 320px; }
}
.nav.dock { bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
.nav.dock a:hover { transform: none; }
@media (hover: hover) { .nav.dock a:hover { color: var(--ink); transform: translateY(-2px); } }
@media (hover: none) { .nav.dock a:hover { color: #8a8a8a; } .nav.dock a.active:hover { color: var(--ink); } }

.hero .hero-name { margin-top: -6px; }
.hero-role { margin-top: 10px; font-size: 1.02rem; font-weight: 500; color: var(--muted); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 28px; }
.hero-row .socials { margin: 0; }
.hero-meta { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: #3a3a3a; }
.hero-pill { display: none; }
.pill-sep { width: 1px; height: 14px; background: #d4d4d4; }
@media (min-width: 621px) { .logos { justify-content: center; } }
.foot, .foot * { text-align: start; }
.lang-toggle { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; }
.lang-toggle svg { width: 18px; height: 18px; }
html[data-lang="fa"] .lang-toggle { border-color: var(--ink); background: var(--ink); color: #fff; }
.product-text, .product-name, .product-desc { text-align: start; }
.card .card-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card .arrow { width: 30px; height: 30px; }
.card .arrow svg { width: 15px; height: 15px; }
@media (hover: hover) {
  .card { transition: transform .25s ease-out; }
  .card:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
}
.rs-head { margin: 24px 0 36px; }
.rs-kicker { margin-bottom: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #a3a3a3; }
.rs-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.rs-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; }
.rs-stats > div + div { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.rs-stats b { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rs-stats span { font-size: .82rem; font-weight: 500; color: var(--muted); }
.tl { position: relative; padding: 0; list-style: none; }
.tl::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 7px; width: 1px; background: var(--line); }
.tl li { position: relative; padding-left: 40px; }
.tl li + li { margin-top: 12px; }
.tl li::before { content: ""; position: absolute; top: 50%; left: 2px; width: 11px; height: 11px; margin-top: -5.5px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; transition: background .4s; }
.tl li:hover::before { background: var(--ink); }
.tl-card { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 20px; background: #fafafa; text-decoration: none; transition: border-color .3s, transform .5s var(--ease); }
.tl-card:hover { border-color: var(--ink); transform: translateX(4px); }
.tl-logo { display: grid; place-items: center; flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.tl-logo img { width: 100%; height: 100%; padding: 8px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s; }
.tl-card:hover .tl-logo img { filter: none; opacity: 1; }
.tl-name { flex: 1; font-size: 1.02rem; font-weight: 600; }
.tl-go .arrow, .tl-go svg { width: 18px; height: 18px; opacity: .5; }
.marquee { overflow: hidden; margin-inline: -20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 12px; width: max-content; padding-inline: 6px; animation: mq 36s linear infinite; }
.marquee.is-rev .mq-track { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-app, .mq-chip { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.mq-app img { width: 26px; height: 26px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .marquee { overflow-x: auto; } }

.wrap a, .card-text, .card-title, .card-cat, .pc-body, .pc-body *, .product-text, .product-text * { text-align: start; }
.hero-meta { gap: 22px; }
.meta-item { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: #4a4a4a; }
.meta-item svg { width: 16px; height: 16px; color: #9a9a9a; }
.pill-dot { position: relative; width: 8px; height: 8px; box-shadow: none; }
.pill-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
.pill-dot.is-available, .pill-dot.is-busy { box-shadow: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pill-dot::after { animation: none; } }
.pill-sep { display: none; }
.logos { gap: 24px 56px; grid-template-columns: repeat(var(--n, 6), 110px); }
.logo-tile { width: 110px; }
@media (max-width: 620px) { .logos { gap: 20px; } }
.lang-toggle { border-color: #ececec; background: transparent; color: #a8a8a8; transition: color .3s, border-color .3s, background .3s; }
.lang-toggle:hover { border-color: #cfcfcf; color: #5a5a5a; }
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pcard, .pcard:hover { position: relative; flex-direction: column; align-items: stretch; gap: 14px; padding: 10px 10px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fafafa; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.plist > .pcard:first-child { border-top: 1px solid var(--line); }
.pcard:hover { transform: translateY(-4px); border-color: #cfcfcf; box-shadow: 0 18px 36px -16px rgba(10, 10, 10, .18); }
.pcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 0, 0, .055), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.pcard:hover::before { opacity: 1; }
.pc-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 16px; background: linear-gradient(135deg, #f1f1f1, #e6e6e6); }
.pc-thumb b { font-size: 2.6rem; color: #c4c4c4; }
.pc-body { gap: 8px; padding: 0 10px; }
.pc-body time { order: -1; font-size: .78rem; font-weight: 500; color: #a3a3a3; }
.pc-title { font-size: 1.08rem; font-weight: 600; }
.pc-go { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); opacity: 0; transform: translate(-6px, 6px) scale(.8); transition: opacity .3s, transform .5s var(--ease); }
.pc-go svg { width: 16px; height: 16px; }
.pcard:hover .pc-go { opacity: 1; transform: none; }
@media (max-width: 620px) { .plist { grid-template-columns: 1fr; } }
.htl { position: relative; display: flex; gap: 12px; padding: 0; list-style: none; }
.htl::before { content: ""; position: absolute; top: 32px; left: 0; right: 0; height: 1px; background: var(--line); }
.htl li { flex: 1; min-width: 112px; }
.htl-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.htl-logo { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; background: #fff; transition: border-color .3s, transform .5s var(--ease); }
.htl-logo img { width: 36px; height: 36px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s; }
.htl-name { font-size: .92rem; font-weight: 600; text-align: center; }
.htl-item:hover .htl-logo { border-color: var(--ink); transform: translateY(-3px); }
.htl-item:hover img { filter: none; opacity: 1; }
@media (max-width: 620px) { .htl { overflow-x: auto; scrollbar-width: none; } .htl::before { right: auto; width: 100%; min-width: 360px; } }

.hero-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.hero-meta .meta-item { font-size: .88rem; color: #6b6b6b; }
.hero .bio { margin-top: 20px; }
.hero .socials { margin-top: 26px; }
.plist { display: flex; flex-direction: column; gap: 0; }
.pcard, .pcard:hover { flex-direction: row; align-items: center; gap: 18px; padding: 16px 0; overflow: visible; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; transform: none; }
.plist > .pcard:first-child { border-top: 1px solid var(--line); }
.pcard:hover { padding-inline: 8px; }
.pcard::before { display: none; }
.pc-thumb { width: 96px; height: 72px; aspect-ratio: auto; border-radius: 12px; }
.pc-thumb b { font-size: 1.6rem; }
.pc-body { gap: 4px; padding: 0; }
.pc-title { order: 1; font-size: 1rem; font-weight: 600; }
.pc-sum { order: 2; font-size: .86rem; line-height: 1.6; }
.pc-body time { order: 3; margin-top: 2px; font-size: .76rem; }
.pc-go { top: 50%; right: 0; width: auto; height: auto; background: transparent; box-shadow: none; color: #9a9a9a; transform: translate(-6px, -50%); }
.pcard:hover .pc-go { opacity: 1; transform: translate(-8px, -50%); }
@media (max-width: 620px) { .pc-thumb { width: 80px; height: 62px; } .pc-go { display: none; } }

.progress { display: none; }
.js .rvl { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .stg { opacity: 0; }
.js .in .stg { animation: pop 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes pop { from { opacity: 0; translate: 0 28px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .js .stg { opacity: 1; } .js .in .stg { animation: none; } }
.block, .block + .block { margin-top: 64px; }
.hero + .block { margin-top: 60px; }
.section-head { margin-bottom: 18px; }
.logo-tile { aspect-ratio: auto; height: 76px; }
.logos { gap: 16px 56px; }
.hero .socials { margin-top: 24px; }
.pc-body { padding-inline-end: 32px; }
.pc-go .arrow { width: auto; height: auto; background: none; color: #a3a3a3; opacity: 1; transform: none; }
.pc-go svg { width: 18px; height: 18px; }
.prose blockquote, .post-body blockquote { margin: 0; padding: 0; border: 0; }
.post-body, .post-body > * { max-width: none; margin-inline: 0; }

.section-head { align-items: center; }
.pc-body { padding-inline-end: 46px; }
.pcard:hover { padding-inline: 0; }
@media (hover: hover) {
  .pcard { isolation: isolate; }
  .pcard::before { display: block; content: ""; position: absolute; z-index: -1; inset: 6px -14px; border-radius: 20px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #ececec, #f6f6f6 70%); opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .8s var(--ease); }
  .pcard:hover::before { opacity: 1; transform: none; }
  .pc-thumb { transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s var(--ease), border-radius .6s var(--ease); }
  .pcard:hover .pc-thumb { transform: translateY(-3px) rotate(-2.5deg) scale(1.06); border-radius: 16px; box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .38); }
  .pcard:hover .pc-thumb img { transform: scale(1.12); }
  .pc-body { transition: translate .8s var(--ease); }
  .pcard:hover .pc-body { translate: 6px 0; }
  .pc-sum { transition: color .5s; }
  .pcard:hover .pc-sum { color: #4a4a4a; }
  .pc-go { right: 4px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dcdcdc; border-radius: 50%; background: #fff; opacity: 0; transform: translate(-14px, -50%) rotate(-45deg) scale(.7); transition: opacity .4s, transform .8s cubic-bezier(.34, 1.56, .64, 1); }
  .pcard:hover .pc-go { opacity: 1; transform: translate(0, -50%) rotate(0) scale(1); }
}

.products { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.product { height: 100%; min-height: 88px; }
.marquee.is-logos { margin-block: 4px; }
.is-logos .mq-track { gap: 64px; padding-inline: 32px; align-items: center; animation-duration: 40s; }
.mq-logo { display: grid; place-items: center; flex: none; height: 56px; text-decoration: none; }
.mq-logo img { display: block; width: auto; height: 100%; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease); }
.mq-logo span { font-size: .95rem; font-weight: 600; color: #8a8a8a; }
.mq-logo:hover img { filter: none; opacity: 1; transform: scale(1.08); }
@media (hover: none) { .mq-logo img { filter: none; opacity: .85; } }

.logo-wall { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.lw-cell { display: grid; place-items: center; height: 104px; padding: 0 20px; background: #fff; text-decoration: none; transition: background .4s; }
.lw-cell img { display: block; width: auto; height: auto; max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease); }
.lw-cell span { font-size: .95rem; font-weight: 600; color: #8a8a8a; }
.lw-cell:hover { background: #fafafa; }
.lw-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@media (hover: none) { .lw-cell img { filter: none; opacity: .85; } }
@media (max-width: 560px) { .lw-cell { height: 84px; padding: 0 12px; } .lw-cell img { max-height: 32px; } }

html { scrollbar-gutter: stable; }
.nav.dock { left: 0; right: 0; width: max-content; margin-inline: auto; -webkit-transform: none; transform: none; }
.nav.dock a, .nav.dock a.active, .nav.dock a:hover, .nav.dock a.active:hover { box-sizing: border-box; flex: none; width: 46px; min-width: 46px; height: 46px; aspect-ratio: 1 / 1; padding: 0; border-radius: 50%; }
@media (max-width: 560px) { .nav.dock a, .nav.dock a.active { padding: 0; } }
@media (hover: hover) { .nav.dock a:hover { transform: none; } }

.section-title { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #555; }
.section-title .num { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px 3px 7px; border: 1px solid var(--line); border-radius: 4px; font-size: .7rem; font-weight: 500; letter-spacing: .06em; color: #8a8a8a; }
.section-title .num::after { content: ""; width: 12px; height: 12px; border-radius: 2px; background: repeating-linear-gradient(135deg, #b8b8b8 0 1px, transparent 1px 3px); }
.wlist { display: flex; flex-direction: column; }
.wrow { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.wlist > .wrow:first-child { border-top: 1px solid var(--line); }
.wr-thumb { display: grid; place-items: center; flex: none; width: 64px; height: 46px; overflow: hidden; border-radius: 6px; background: #efefef; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.wr-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease), transform 1s var(--ease); }
.wr-thumb b { font-size: 1.1rem; font-weight: 600; color: #b5b5b5; }
.wr-title { flex: 0 1 auto; min-width: 0; font-size: .95rem; font-weight: 500; line-height: 1.4; text-align: start; unicode-bidi: plaintext; transition: translate .8s var(--ease); }
.wr-dots { flex: 1; align-self: center; min-width: 16px; height: 0; border-bottom: 1px dotted #d2d2d2; transform: translateY(3px); transition: border-color .5s; }
.wrow time { flex: none; font-size: .85rem; color: #8a8a8a; font-variant-numeric: tabular-nums; transition: color .4s; }
@media (hover: hover) {
  .wrow:hover .wr-thumb img { filter: none; transform: scale(1.1); }
  .wrow:hover .wr-title { translate: 6px 0; }
  .wrow:hover .wr-dots { border-color: #8a8a8a; }
  .wrow:hover time { color: var(--ink); }
}
@media (max-width: 620px) { .wr-dots { display: none; } .wr-title { flex: 1; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
.prods { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.prod { display: grid; grid-template-columns: 44px minmax(120px, 210px) 1fr; align-items: center; gap: 0 18px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.prod-icon { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 12px; background: #f1f1f1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.prod-icon img { width: 100%; height: 100%; object-fit: cover; }
.prod-icon b { font-weight: 600; color: #8a8a8a; }
.prod-main b { display: inline-flex; align-items: center; gap: 5px; font-size: .95rem; font-weight: 600; }
.prod-main small { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); }
.prod .ext { width: 12px; height: 12px; color: #a3a3a3; transition: translate .5s var(--ease), color .3s; }
.prod-desc { font-size: .9rem; line-height: 1.55; color: var(--muted); text-align: start; transition: color .4s; }
@media (hover: hover) {
  a.prod:hover .prod-icon { transform: scale(1.08) rotate(-3deg); }
  a.prod:hover .ext { translate: 2px -2px; color: var(--ink); }
  a.prod:hover .prod-desc { color: #4a4a4a; }
}
@media (max-width: 620px) { .prod { grid-template-columns: 44px 1fr; } .prod-desc { grid-column: 2; margin-top: 6px; } }
.fav-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.fav-tab { padding: 5px 14px; border: 0; border-radius: 999px; background: transparent; font: 500 .8rem var(--text); color: #8a8a8a; cursor: pointer; transition: color .3s, background .4s var(--ease); }
.fav-tab:hover { color: var(--ink); }
.fav-tab.on { background: var(--ink); color: #fff; }
.fav-panel { display: none; }
.fav-panel.on { display: block; }
.is-films .shelf-item { width: 116px; }
.is-films .shelf-cover { aspect-ratio: 2 / 3; transition: transform .8s var(--ease); }
.is-films .shelf-cover img, .is-films .shelf-cover b { border-radius: 5px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 14px 24px -12px rgba(20, 24, 40, .5); }
.is-films .shelf-cover::after { content: ""; position: absolute; inset: 0; border-radius: 5px; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat; pointer-events: none; transition: background-position 1.1s var(--ease); }
.is-films .shelf-item:hover .shelf-cover { transform: translateY(-5px) scale(1.03); }
.is-films .shelf-item:hover .shelf-cover::after { background-position: -30% 0; }

.section-title { align-items: baseline; gap: 12px; font-size: 1.1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.section-title .num { display: inline; padding: 0; border: 0; border-radius: 0; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: #a3a3a3; }
.section-title .num::after { content: none; }
.lw-cell { height: 128px; padding: 0 24px; }
.lw-cell img { width: 100%; height: 64px; max-width: 180px; max-height: none; object-fit: contain; }
@media (max-width: 560px) { .lw-cell { height: 96px; padding: 0 12px; } .lw-cell img { height: 44px; max-width: 110px; } }

.logo-wall { gap: 12px; overflow: visible; border: 0; border-radius: 0; background: none; }
.lw-cell { height: 150px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fafafa; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.lw-cell img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.lw-cell:hover { border-color: #cfcfcf; background: #fff; transform: translateY(-3px); }
@media (max-width: 560px) { .logo-wall { gap: 8px; } .lw-cell { height: 104px; padding: 16px; border-radius: 18px; } .lw-cell img { height: 100%; max-width: none; } }

.lw-cell { position: relative; display: block; overflow: hidden; }
.lw-cell img { position: absolute; inset: 26px; width: calc(100% - 52px); height: calc(100% - 52px); object-fit: contain; }
.lw-cell span { position: absolute; inset: 0; display: grid; place-items: center; }
@media (max-width: 560px) { .lw-cell img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); } }


.hero .avatar { box-sizing: border-box; border: 5px solid #fff; box-shadow: 0 0 0 1px rgba(10, 10, 10, .07), 0 10px 22px -8px rgba(10, 10, 10, .3); transform: rotate(-5deg); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.hero .avatar:hover { transform: rotate(3deg) scale(1.05); }

.prods { gap: 10px; border-top: 0; }
.prod { padding: 14px 18px; border: 1px solid var(--line); border-radius: 22px; background: #fafafa; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.wlist { gap: 10px; }
.wrow, .wlist > .wrow:first-child { padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 22px; background: #fafafa; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.wr-thumb { border-radius: 12px; }
@media (hover: hover) {
  a.prod:hover, .wrow:hover { border-color: #cfcfcf; background: #fff; transform: translateY(-3px); }
}
@media (max-width: 560px) { .lw-cell { border-radius: 22px; } }

.wlist { gap: 0; }
.wrow, .wlist > .wrow:first-child { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.wlist > .wrow:first-child { border-top: 1px solid var(--line); }
@media (hover: hover) { a.wrow:hover, .wrow:hover { border-color: var(--line); background: transparent; transform: none; } }
.wr-thumb.is-logo { width: 72px; height: 52px; background: #fff; }
.wr-thumb.is-logo img { padding: 7px; object-fit: contain; filter: grayscale(1); opacity: .6; }
.wr-thumb.is-app { width: 46px; height: 46px; border-radius: 12px; }
.wr-thumb.is-app img { filter: none; }
.wr-text { display: flex; flex: 0 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.wr-sub { font-size: .84rem; line-height: 1.4; color: var(--muted); text-align: start; transition: color .4s; }
.wr-end { display: inline-flex; align-items: center; flex: none; font-size: .85rem; color: #8a8a8a; transition: color .4s; }
.wr-arrow { width: 16px; height: 16px; transition: translate .6s var(--ease); }
@media (hover: hover) {
  .wrow:hover .wr-thumb.is-logo img { filter: none; opacity: 1; transform: scale(1.06); }
  .wrow:hover .wr-text { translate: 6px 0; }
  .wrow:hover .wr-end { color: var(--ink); }
  .wrow:hover .wr-arrow { translate: 3px 0; }
}
@media (max-width: 620px) { .wr-text { flex: 1; } .wr-sub { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .wr-end:not(:has(svg)) { display: none; } }

.ring { transform: none; will-change: transform; }



/* Companies: a hand of logo cards, fanned and overlapping, that straightens and lifts under the pointer. */
.brands { display: flex; align-items: center; justify-content: center; max-width: 100%; padding: 18px 0 6px; }
.brand {
  position: relative; z-index: 1; display: block; flex: none;
  width: min(134px, calc((100% + 20px * (var(--n, 6) - 1)) / var(--n, 6))); aspect-ratio: 1; margin-left: -20px;
  border-radius: 32px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 38px -30px rgba(10, 10, 10, .7);
  text-decoration: none; isolation: isolate;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
  transition: transform .65s var(--ease), box-shadow .5s var(--ease);
}
.brand:first-child { margin-left: 0; }
.brand:nth-child(2) { --r: -6deg; --y: 8px; }
.brand:nth-child(3) { --r: -2deg; --y: -6px; }
.brand:nth-child(4) { --r: 2deg; --y: 4px; z-index: 2; }
.brand:nth-child(5) { --r: 6deg; --y: -8px; }
.brand:nth-child(6) { --r: -3deg; --y: 6px; }
.brand:hover, .brand:focus-visible {
  z-index: 5; transform: rotate(0deg) translateY(-14px) scale(1.05);
  box-shadow: 0 0 0 1px #d6d6d6, 0 34px 48px -30px rgba(10, 10, 10, .55);
}
.brand-mark { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .55s, opacity .55s, transform .7s var(--ease); }
.brand-mark b { font-size: 1.9rem; font-weight: 600; color: #c9c9c9; }
.brand:hover .brand-mark img, .brand:focus-visible .brand-mark img { filter: none; opacity: 1; transform: scale(1.08); }
.brand-name {
  position: absolute; left: 50%; bottom: 9px; transform: translate(-50%, 5px);
  padding: 3px 10px 4px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .66rem; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--ease);
}
.brand:hover .brand-name, .brand:focus-visible .brand-name { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .brand-name { opacity: 1; transform: translate(-50%, 0); } }

/* Adapted from Bencho's "Carousel" (MIT, bencho.dev/licence). Its tokens are mapped to this site's own and defined on the root so nothing leaks out. */
.car-fit { position: relative; width: 100%; height: calc(340px * var(--k, 1)); }
.car {
  --bg: #fff;
  --font-ui: var(--text);
  --ink-rgb: 10, 10, 10;
  --shadow-rgb: 10, 10, 10;
  position: absolute; top: 0; left: 50%; width: 476px; height: 340px; margin-left: -238px;
  transform: scale(var(--k, 1)); transform-origin: top center; font-family: var(--font-ui);
}
.car-track { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; perspective: 1500px; perspective-origin: 50% 50%; }
.car-fit.is-dragging .car-track, .car-fit.is-dragging .car-slot, .car-fit.is-dragging .car-card { cursor: grabbing; }
.car-fit.is-dragging .car-sheen { opacity: 0; }
.car-track:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(var(--ink-rgb), .4); border-radius: 24px; }
.car-slot { position: absolute; left: 50%; top: 50%; width: 206px; height: 292px; transform-origin: center; will-change: transform, opacity; }
.car-float { width: 100%; height: 100%; perspective: 760px; animation: car-bob 5s ease-in-out infinite; --lift: 2.4px; --sway: .21deg; }
.car-card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 20px; background: #efefef; box-shadow: 0 12px 28px -10px rgba(var(--shadow-rgb), .28); -webkit-user-drag: none; }
.car-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.car-sheen { position: absolute; inset: 0; display: block; pointer-events: none; }
@keyframes car-bob {
  0%, 100% { transform: translateY(calc(var(--lift, 4px) * -1)) rotate(calc(var(--sway, 1deg) * -1)); }
  50% { transform: translateY(var(--lift, 4px)) rotate(var(--sway, 1deg)); }
}
@media (prefers-reduced-motion: reduce) { .car-float { animation: none; } }
.car-cap { margin-top: 18px; text-align: center; }
.car-cap-link { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.car-cap-link b { font-size: 1rem; font-weight: 600; }
.car-cap-link span { font-size: .88rem; color: var(--muted); }
.car-cap-link[aria-disabled] { pointer-events: none; }

/* Dragging the project ring must not select text or paint a highlight over the cards. */
.car-fit, .car-slot, .car-card, .car-cap { -webkit-user-select: none; user-select: none; }
.car-card img { -webkit-user-drag: none; }
.car-fit ::selection, .car-cap ::selection { background: transparent; color: inherit; }

/* Portfolio stack: one tall card in front, two smaller ones tucked behind it on each side, dots in a pill. */
.car { width: var(--stage, 720px); height: 372px; margin-left: calc(var(--stage, 720px) / -2); }
.car-fit { height: calc(372px * var(--k, 1)); overflow-x: clip; }
.car-slot { width: 210px; height: 312px; }
.car-float { animation: none; }
.car-card { border: 0; border-radius: 24px; background: #ededed; box-shadow: 0 22px 44px -26px rgba(var(--shadow-rgb), .55), 0 2px 8px rgba(var(--shadow-rgb), .05); transform: rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)); transform-style: preserve-3d; transition: transform .45s var(--ease); }
.car-fit.is-dragging .car-card { transition: none; }
.car-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; opacity: var(--veil, 0); transition: opacity .35s var(--ease); pointer-events: none; }
.car-cap { margin-top: 12px; }

/* The name and the category ride on the card itself, not in a line underneath it. */
.car-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 12, .72) 0%, rgba(8, 8, 12, .26) 26%, rgba(8, 8, 12, 0) 54%); pointer-events: none; }
.car-label { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 1px; padding: 13px 15px; color: #fff; pointer-events: none; }
.car-label b { font-family: var(--display); font-size: .95rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; unicode-bidi: plaintext; }
.car-label span { font-size: .76rem; font-weight: 500; color: rgba(255, 255, 255, .74); unicode-bidi: plaintext; }
/* A project without a cover shows its initial rather than a broken image. */
.car-card.is-empty { background: linear-gradient(145deg, #f2f2f2, #e4e4e4); }
.car-card.is-empty::before { content: attr(data-mono); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 4rem; font-weight: 600; color: #d3d3d3; }
.car-card.is-empty .car-shade, .car-card.is-empty .car-sheen { display: none; }
.car-card.is-empty .car-label { color: var(--ink); }
.car-card.is-empty .car-label span { color: #8a8a8a; }

/* Both faces are served from this site, so a blocked font CDN can never fall back to a system face. */
/* Type is served from this site: one grotesque for Latin, Vazirmatn for Persian, so neither falls back to a system face. */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/vazirmatn-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/vazirmatn-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The quiet row that closes a section instead of a heading. */
.block-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.block-foot .more { font-size: .86rem; }
.block-foot .lang-toggle { order: 2; }

/* Things I've built: each app is a tile with its own oversized initial sitting behind the text. */
.papps { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 14px; }
.papp {
  position: relative; display: flex; flex-direction: column; gap: 9px; padding: 22px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 26px; background: #fbfbfb; text-decoration: none; isolation: isolate;
  transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease), background .4s;
}
/* A dot grid fades out of the top corner, and the light behind it warms up on hover. */
.papp::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(10, 10, 10, .1) 1px, transparent 0); background-size: 11px 11px; -webkit-mask-image: radial-gradient(115% 105% at 100% 0%, #000 0%, transparent 58%); mask-image: radial-gradient(115% 105% at 100% 0%, #000 0%, transparent 58%); opacity: .5; transition: opacity .55s var(--ease); }
.papp::after { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(120% 110% at 100% 0%, #e6e6e6, transparent 58%); opacity: 0; transition: opacity .55s var(--ease); }
.papp:hover { border-color: #d8d8d8; background: #fff; transform: translateY(-4px); box-shadow: 0 30px 50px -38px rgba(10, 10, 10, .95); }
.papp:hover::before { opacity: 1; }
.papp:hover::after { opacity: 1; }
.papp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.papp-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 8px 16px -12px rgba(10, 10, 10, .8); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.papp-icon img { width: 100%; height: 100%; object-fit: cover; }
.papp-icon b { font-size: 1.1rem; font-weight: 600; color: #b5b5b5; }
.papp:hover .papp-icon { transform: rotate(-6deg) scale(1.06); }
.papp-type { padding: 4px 10px 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #9a9a9a; }
.papp-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; unicode-bidi: plaintext; }
.papp-desc { font-size: .87rem; line-height: 1.55; color: var(--muted); text-align: start; unicode-bidi: plaintext; }
.papp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: .78rem; color: #a8a8a8; }
.papp-host { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.papp-go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: #9a9a9a; transition: background .4s var(--ease), color .3s, box-shadow .4s var(--ease), translate .5s var(--ease); }
.papp-go svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.papp:hover .papp-go { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); translate: 0 -2px; }
.papp:hover .papp-go svg { transform: rotate(45deg); }

/* Writing: the newest post is a poster — the cover fills the card and the words sit on it. */
.pfeat {
  position: relative; display: grid; grid-template-columns: 1fr; align-items: end; min-height: 340px; overflow: hidden;
  border-radius: 26px; background: #101012; text-decoration: none; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pfeat::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(94deg, rgba(10, 10, 12, .95) 0%, rgba(10, 10, 12, .8) 38%, rgba(10, 10, 12, .34) 70%, rgba(10, 10, 12, .08) 100%); }
.pfeat:hover { transform: translateY(-3px); box-shadow: 0 34px 60px -40px rgba(10, 10, 10, .95); }
.pfeat-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: #1b1b1b; }
.pfeat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pfeat:hover .pfeat-media img { transform: scale(1.05); }
.pfeat-body { display: flex; flex-direction: column; gap: 10px; max-width: 600px; padding: 38px 36px 30px; }
.pfeat-tag { align-self: flex-start; padding: 4px 11px 5px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pfeat-title { font-family: var(--display); font-size: clamp(1.45rem, 3.1vw, 2.05rem); font-weight: 600; line-height: 1.2; letter-spacing: -.022em; color: #fff; unicode-bidi: plaintext; }
.pfeat-sum { display: -webkit-box; overflow: hidden; max-width: 50ch; font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .74); -webkit-line-clamp: 3; -webkit-box-orient: vertical; unicode-bidi: plaintext; }
.pfeat-meta { display: flex; align-items: center; gap: 16px; margin-top: 6px; font-size: .78rem; color: rgba(255, 255, 255, .62); }
.pfeat-go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; transition: background .35s, color .35s; }
.pfeat-go::after { content: "\2192"; transition: translate .5s var(--ease); }
.pfeat:hover .pfeat-go { background: rgba(255, 255, 255, .86); }
.pfeat:hover .pfeat-go::after { translate: 4px 0; }
.post-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 10px; margin-top: 10px; }
.post-more .wrow, .post-more .wlist > .wrow:first-child {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; align-content: center;
  padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fafafa;
  transition: border-color .45s, box-shadow .55s var(--ease), transform .55s var(--ease);
}
.post-more .wrow:hover { border-color: #dcdcdc; background: #fff; transform: translateY(-2px); box-shadow: 0 22px 40px -32px rgba(10, 10, 10, .8); }
.post-more .wr-thumb { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 16px; }
.post-more .wr-title { grid-column: 2; grid-row: 1; font-size: .93rem; font-weight: 600; line-height: 1.45; }
.post-more .wr-dots { display: none; }
.post-more time { grid-column: 2; grid-row: 2; justify-self: start; font-size: .74rem; letter-spacing: .04em; color: #a3a3a3; }
@media (max-width: 560px) {
  .pfeat { min-height: 300px; }
  .pfeat::after { background: linear-gradient(to top, rgba(10, 10, 12, .96) 22%, rgba(10, 10, 12, .72) 55%, rgba(10, 10, 12, .22) 100%); }
  .pfeat-body { gap: 8px; padding: 24px 20px 20px; }
  .pfeat-title { font-size: 1.32rem; }
  .pfeat-sum { -webkit-line-clamp: 2; font-size: .86rem; }
  .post-more .wrow { grid-template-columns: 56px minmax(0, 1fr); }
  .post-more .wr-thumb { width: 56px; height: 56px; }
}

@media (max-width: 560px) {
  .brands { flex-wrap: wrap; gap: 10px; padding: 6px 0; }
  .brand { width: calc(33.333% - 7px); margin-left: 0; border-radius: 22px; }
  .brand:nth-child(n) { --r: 0deg; --y: 0px; }
  .brand-mark { padding: 18px; }
  .brand-name { bottom: 5px; font-size: .58rem; padding: 2px 8px 3px; }
}

/* Footer: the email leads, then three quiet columns. */
.foot { margin-top: 96px; padding-top: 34px; border-top: 1px solid var(--line); }
.foot-lead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 36px; }
.foot-kicker { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #a8a8a8; }
.foot-mail {
  font-family: var(--display); font-size: clamp(1.15rem, 3.6vw, 1.45rem); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 1px; transition: background-size .55s var(--ease);
}
.foot-mail:hover, .foot-mail:focus-visible { background-size: 100% 1px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.foot-col .foot-label { margin-bottom: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; }
.foot ul { gap: 7px; }
.foot li a { font-size: .9rem; }
.foot-meta { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; }
.foot-place { color: #a3a3a3; }
.foot-top { color: #6b6b6b; text-decoration: none; transition: color .3s; }
.foot-top:hover { color: var(--ink); }
@media (max-width: 560px) {
  .foot-lead { flex-direction: column; align-items: flex-start; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .foot-meta { margin-top: 30px; }
}

/* ------------------------------------------------------------------
   Persian type.
   Vazirmatn now ships with the site, so Farsi stops falling back to a
   system face. Tracking is removed (it breaks the joins), the leading is
   opened for the taller Persian bowl, and RTL writing flips the poster so
   the words sit on the dark side of the cover instead of the busy side.
   ------------------------------------------------------------------ */
[lang="fa"], :lang(fa), .fa {
  font-family: "Vazirmatn", system-ui, sans-serif;
  letter-spacing: 0;
  word-spacing: normal;
}
.pfeat-title [lang="fa"] { font-size: 1.02em; font-weight: 700; line-height: 1.5; }
.pfeat-sum [lang="fa"] { line-height: 1.95; }
html[data-lang="fa"] .pfeat::after { background: linear-gradient(266deg, rgba(10, 10, 12, .96) 0%, rgba(10, 10, 12, .9) 34%, rgba(10, 10, 12, .58) 62%, rgba(10, 10, 12, .1) 100%); }
html[data-lang="fa"] .pfeat-body { margin-inline-start: auto; align-items: flex-end; }
html[data-lang="fa"] .pfeat-tag { align-self: flex-end; }
html[data-lang="fa"] .pfeat-title, html[data-lang="fa"] .pfeat-sum, html[data-lang="fa"] .pfeat-meta { text-align: right; }
html[data-lang="fa"] .pfeat-meta { justify-content: flex-end; }
html[data-lang="fa"] .post-head h1 { letter-spacing: 0; line-height: 1.55; }
.post-body.fa { font-size: 1.02rem; line-height: 2.05; }
@media (max-width: 560px) {
  html[data-lang="fa"] .pfeat::after { background: linear-gradient(to top, rgba(10, 10, 12, .96) 22%, rgba(10, 10, 12, .72) 55%, rgba(10, 10, 12, .22) 100%); }
  .pfeat-title [lang="fa"] { font-size: 1.06em; }
}

/* The seam between two blocks: hairline, mark, hairline. A designed pause
   in place of a blank gap, revealed with the section that follows it. */
.chgap { display: flex; align-items: center; gap: clamp(12px, 3vw, 22px); margin-top: clamp(44px, 7vw, 74px); }
.chgap i { flex: 1 1 0; height: 1px; background: linear-gradient(90deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, .2)); }
.chgap i:last-child { background: linear-gradient(270deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, .2)); }
.chgap b { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .2); }
.chgap b::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; background: var(--ink); rotate: 45deg; translate: -50% -50%; transition: rotate .8s var(--ease), scale .8s var(--ease); }
.chgap.in b::before, .chgap:hover b::before { rotate: 135deg; scale: 1.15; }
.chgap + .block { margin-top: clamp(26px, 4vw, 38px); }
