@font-face {
  font-family: "MINEL Arabic";
  src: url("./assets/house-arabic.woff") format("woff");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "MINEL Arabic";
  src: url("./assets/house-arabic-bold.woff") format("woff");
  font-display: swap;
  font-weight: 700;
}
:root {
  color-scheme: light;
  --home-muted: #595959;
  --home-rule: #ddd;
  --home-accent: #626262;
  --ink: #f5f5f5;
  --muted: #ccc;
  --accent: #c4c4c4;
  --button: #e3e3e3;
  --dark: #111;
  --surface: #383838;
  --edge: #696969;
  --line: #99999970;
  --focus: #d2d2d2;
  --latin: "Arial Black", Arial, Helvetica, sans-serif;
  --text: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --persian: "MINEL Arabic", Tahoma, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: #252525;
  min-height: 100vh;
  background: #fff;
  font: 16px/1.65 var(--text);
}
html[lang="fa"] body { font-family: var(--persian); }
body:has(dialog[open]) { overflow: hidden; }
[lang="en"] { font-family: var(--text); }
a { text-decoration: none; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
img { display: block; width: 100%; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; vertical-align: middle; }
.shell { width: min(calc(100% - 96px), 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; inset-block-start: 10px; inset-inline-start: 10px; padding: 12px 18px; background: var(--button); color: var(--dark); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.topbar { display: grid; direction: ltr; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; gap: 14px; }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 9px; font: 900 19px/1 var(--latin); letter-spacing: -.035em; }
.logo-mark { display: grid; place-items: center; width: 33px; aspect-ratio: 1; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge); font-size: 21px; }
.logo-dot { color: var(--home-accent); }
.logo .logo-dot { margin-left: -8px; }
.masthead-label { font: 11px/1 var(--mono); letter-spacing: .13em; color: var(--home-muted); white-space: nowrap; }
.languages { display: flex; align-items: center; justify-self: end; gap: 2px; }
.language {
  display: grid;
  place-items: center;
  width: 37px;
  min-height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
}
.language svg {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #22222225;
}
.language:hover, .language[aria-pressed="true"] {
  border-color: var(--home-accent);
  background: #f1f1f1;
}
.masthead :focus-visible, .chapters a:focus-visible, .footer a:focus-visible { outline-color: var(--home-accent); }

.layout { padding-block: 14px clamp(25px, 5vw, 62px); }
.chapters { width: min(100%, 820px); margin-inline: auto; scroll-margin-block-start: 18px; }
.chapter-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.chapter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px clamp(4px, 2vw, 20px);
  border-block-end: 1px solid var(--home-rule);
  padding-block-end: 8px;
  margin-block-end: clamp(14px, 2.5vw, 26px);
}
.chapter-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: clamp(7px, 1.6vw, 16px);
  border-radius: 7px;
  font-size: clamp(12px, 2.6vw, 15px);
  font-weight: 700;
  text-align: center;
}
.chapter-bar a:hover { background: #f1f1f1; color: var(--home-accent); }
.chapters > .chapter-bar {
  position: sticky;
  z-index: 3;
  top: 0;
  background: #fff;
}
.chapter-bar--inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  grid-column: 1 / -1;
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 0;
  border: 0;
}
html[dir="rtl"] .chapter-bar--inner { direction: rtl; }
.chapter-bar--inner a {
  padding-inline: 3px;
  font-size: clamp(11px, 2.8vw, 14px);
  line-height: 1.35;
}
.chapter-bar--inner a:focus-visible { outline-offset: -3px; }
.chapter-bar--inner a[aria-current="page"] {
  background: #e9e9e9;
  color: #333;
}

.card-deck {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 694 / 1105;
}
.card {
  --card-width: 59.4%;
  --card-ratio: 1.615;
  position: absolute; top: var(--card-y); left: var(--card-x);
  display: grid; direction: ltr; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  width: var(--card-width); aspect-ratio: var(--card-ratio);
  padding: clamp(5px, 1.4cqw, 12px); border-radius: clamp(5px, 1.35cqw, 10px);
  transform: translate(-50%, -50%) rotate(var(--angle));
  box-shadow: inset 0 0 0 1px var(--edge), 0 2px 5px #24242429,
    0 10px 18px -6px #29292940, 0 25px 40px -18px #22222255;
  color: var(--ink);
  background: var(--card-bg, var(--surface));
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease;
}
.card:hover, .card:focus-within {
  z-index: 1; transform: translate(-50%, calc(-50% - 3px)) rotate(var(--angle));
  box-shadow: inset 0 0 0 1px var(--edge), 0 4px 8px #241a242b,
    0 15px 23px -8px #2f223a47, 0 31px 44px -16px #261a2d60;
}
/* Measured centers, aspect ratios and angles for the first four cards in the reference. */
.card-music { --angle: -32deg; --card-x: 38.7%; --card-y: 19.8%; --card-ratio: 1.61; }
.card-fans { --angle: -16.1deg; --card-x: 52.7%; --card-y: 39.8%; --card-ratio: 1.618; }
.card-world { --angle: -.9deg; --card-x: 57.2%; --card-y: 60.9%; --card-width: 58.2%; --card-ratio: 1.653; }
.card-contact { --angle: 14.3deg; --card-x: 53.8%; --card-y: 82.9%; --card-ratio: 1.612; }

.card-body {
  position: relative; min-width: 0; display: grid; align-content: start;
  gap: clamp(4px, 1.7cqw, 15px); padding: clamp(3px, 1cqw, 9px) clamp(5px, 1.5cqw, 14px) 0 clamp(2px, .8cqw, 7px);
}
.card-meta {
  display: flex; align-items: center;
  min-height: clamp(13px, 3cqw, 25px); padding-block-end: clamp(3px, .85cqw, 7px);
  border-block-end: 1px solid var(--line);
  padding-inline-end: clamp(12px, 2.8cqw, 22px);
  font: 700 clamp(8px, 1.5cqw, 12px)/1.25 var(--text);
}
.card-meta span:last-child { display: none; }
html[lang="fa"] .card-meta { font-family: var(--persian); }
html[lang="fa"] .card-copy { direction: rtl; }
.card h3 { font-size: clamp(14px, 5cqw, 42px); line-height: 1.12; font-weight: 900; letter-spacing: -.045em; }
html[lang="fa"] .card h3 { font-size: clamp(14px, 4.8cqw, 38px); font-weight: 700; line-height: 1.3; letter-spacing: normal; }
.card-copy p { font-size: clamp(9px, 1.85cqw, 14px); line-height: 1.45; margin-block-start: clamp(3px, .85cqw, 7px); }
.card-open { position: absolute; top: clamp(2px, .85cqw, 8px); right: clamp(5px, 1.5cqw, 14px); }
.card-open span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.card-open .icon { display: block; width: clamp(12px, 2.4cqw, 20px); height: clamp(12px, 2.4cqw, 20px); }
.card-image, .detail-photo { position: relative; overflow: hidden; background: #262626; }
.card-image { border-radius: 3px; }
.card-image img, .detail-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--image-position, center); }
.card-image img { transition: transform .36s ease; }
.card:hover .card-image img { transform: scale(1.05); }
.card-image span {
  position: absolute; inset-block-end: clamp(5px, 1.2cqw, 10px); inset-inline-end: clamp(5px, 1.2cqw, 10px);
  color: var(--ink); text-shadow: 0 2px 8px #0009; font: 900 clamp(23px, 8.1cqw, 64px)/.9 var(--latin); letter-spacing: -.095em;
}
.card-music { --image-position: 50% 42%; }
.card-music .card-image { background: #f1f0ee; }
.card-music .card-image span,
.card-world .card-image span { color: #fff; -webkit-text-stroke: .5px #252525; text-shadow: 0 2px 4px #222222c4; }
.card-fans { --image-position: 57% center; }
.card-world { --card-bg: #363636; }
.card-world h3 { direction: ltr; white-space: nowrap; }
.card-world h3, html[lang="fa"] .card-world h3 { font-size: clamp(13px, 4.5cqw, 38px); }
.card-world .card-image { background: #efdfd1; }
.card-world .card-image img { object-fit: contain; }
.card-fans h3 { direction: ltr; }
.card-fans h3, html[lang="fa"] .card-fans h3 { font-size: clamp(11px, 4.1cqw, 34px); }
html[lang="fa"] .card-fans h3 { text-align: right; }
.card-contact { --image-position: 50% 8%; --card-bg: #353535; }
.card-music h3 { font-size: clamp(19px, 7.5cqw, 63px); }
html[lang="fa"] .card-music h3 { font-size: clamp(18px, 7cqw, 59px); }
.card-music .card-copy p { margin-block-end: clamp(5px, 1.4cqw, 12px); }
.release-link {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: clamp(3px, 1cqw, 8px);
  min-height: clamp(28px, 6cqw, 44px); padding: 3px clamp(4px, 1.4cqw, 11px);
  color: var(--dark); background: var(--button); font-size: clamp(8px, 1.7cqw, 13px); font-weight: 700; line-height: 1.25;
}
.release-link:hover { background: var(--ink); }
.release-link .icon { width: clamp(10px, 2.15cqw, 16px); height: auto; aspect-ratio: 1; flex: 0 0 auto; }
.music-open { top: clamp(8px, 2.2cqw, 20px); right: 50%; }
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 25px;
  border-block-start: 1px solid var(--home-rule); padding-block: 20px 24px; font-size: 13px; direction: ltr;
}
.footer > span { font: 900 19px/1 var(--latin); letter-spacing: -.05em; }
.footer-agency { margin-inline-start: 8px; color: var(--home-muted); font: 10px/1 var(--mono); letter-spacing: .09em; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer nav a:hover { text-decoration: underline; }

.detail {
  width: min(720px, calc(100% - 32px)); max-height: min(88dvh, 960px);
  padding: 0; border: 1px solid var(--edge); border-radius: 8px;
  background: #1b1b1b; color: var(--ink); color-scheme: dark; box-shadow: 0 22px 90px #0007;
}
.detail[open] { animation: detail-in .25s ease both; }
.detail::backdrop { background: #080808d1; backdrop-filter: blur(4px); }
@keyframes detail-in { from { opacity: .25; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.detail-bar { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 12px; padding: 5px 15px; direction: ltr; background: #262626; color: var(--ink); }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--edge); color: var(--ink); background: transparent; }
.close-button:hover { background: var(--surface); }
.detail-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); min-height: 230px; background: var(--card-bg, var(--surface)); }
.detail-headline { align-self: center; padding: clamp(20px, 5vw, 42px); }
.detail-headline h2 { font-size: clamp(26px, 5vw, 50px); line-height: 1.2; letter-spacing: -.05em; }
html[lang="fa"] .detail-headline h2 { line-height: 1.42; letter-spacing: normal; }
.detail-headline p { margin-block-start: 10px; font-size: 13px; }
.detail-photo img { object-position: var(--image-position); }
.detail-content { padding: 23px clamp(18px, 5vw, 42px) 35px; display: grid; gap: 14px; line-height: 1.9; }
.detail-content p { max-width: 66ch; }
.detail-content .lede { font-size: clamp(15px, 2.4vw, 19px); }
.detail-content h3 { font-size: 19px; line-height: 1.55; }
.detail-links { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-link { display: inline-flex; align-items: center; width: fit-content; min-height: 43px; background: var(--button); color: var(--dark); padding: 7px 13px; font-size: 13px; font-weight: 700; }
.detail-link:hover { background: var(--ink); }
.track-list, .vision-list { margin: 0; padding: 0; list-style: none; }
.track-list li { border-block-start: 1px solid var(--line); }
.track-list li:last-child { border-block-end: 1px solid var(--line); }
.track-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 49px; padding: 4px 5px; font-weight: 700; }
.track-list a:hover { background: #c4c4c41a; }
.track-list small { font: 11px/1.25 var(--mono); direction: ltr; text-align: end; color: var(--muted); }
.vision-list { counter-reset: goals; }
.vision-list li { padding-block: 9px; border-block-start: 1px solid var(--line); }
.vision-list h3::before { counter-increment: goals; content: "0" counter(goals); display: inline-block; color: var(--accent); margin-inline-end: 12px; font: 700 13px/1 var(--mono); }
.mini-label { direction: ltr; color: var(--muted); font: 700 10px/1.5 var(--mono); letter-spacing: .08em; }


@media (max-width: 1020px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 28px); }
  .topbar { min-height: 60px; }
  .masthead-label { font-size: 9px; }
  .logo { font-size: 16px; }
  .logo-mark { width: 29px; font-size: 18px; }
  .layout { padding-block: 6px 24px; }
  .chapter-bar { margin-block-end: 14px; }
  .card-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-music .card-copy p { display: none; }
  .release-link { margin-block-start: clamp(4px, 1.65cqw, 12px); }
  .detail { max-height: 91dvh; }
  .detail-header { min-height: 174px; }
}
@media (max-width: 480px) {
  .topbar { grid-template-columns: 1fr auto; }
  .masthead-label { display: none; }
  .chapters > .chapter-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }
  .chapters > .chapter-bar a { padding-inline: 3px; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Full-screen chapters share the same back control and canvas. */
.chapter-back-icon { display: none; }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  color: #141c24;
  color-scheme: light;
  overscroll-behavior: contain;
}
.detail[data-view="music"] { background: #fff; }
.detail[data-view="music"]::backdrop { background: #fff; backdrop-filter: none; }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"])[open] { animation: none; }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .detail-header,
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .detail-close-icon { display: none; }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .detail-bar {
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  row-gap: 2px;
  padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  background: linear-gradient(#e1e9f0ee, #e1e9f000);
  color: inherit;
}
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .detail-bar form { order: -1; }
.detail[data-view="music"] .detail-bar { background: #fffffff5; }
.detail-label {
  position: absolute;
  inset-inline: 62px;
  top: calc(max(8px, env(safe-area-inset-top)) + 22px);
  transform: translateY(-50%);
  text-align: center;
  font: 700 clamp(12px, 2.8vw, 16px)/1.3 var(--text);
  pointer-events: none;
}
html[lang="fa"] .detail-label { direction: rtl; font-family: var(--persian); }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .close-button,
.music-platforms summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: #fbfdffdf;
  color: #17212c;
}
.music-platforms summary { list-style: none; cursor: pointer; }
.music-platforms summary::-webkit-details-marker { display: none; }
.music-platforms summary .icon { fill: currentColor; stroke: none; }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .chapter-back-icon { display: block; }
.detail:is([data-view="music"], [data-view="fans"], [data-view="world"], [data-view="contact"]) .detail-content {
  display: block;
  padding: 0;
}
.music-platforms {
  position: fixed;
  z-index: 5;
  top: max(8px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  direction: ltr;
}
.music-platforms nav {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  width: max-content;
  padding: 4px;
  border-radius: 12px;
  background: #f7fafc;
  box-shadow: 0 10px 30px #17212c32;
}
.music-platforms nav a { padding: 10px 14px; border-radius: 8px; }
.music-platforms nav a:hover { background: #dbe4ec; }
.detail[data-view="music"] :is(a, button, summary):focus-visible { outline: 3px solid #27496b; outline-offset: 3px; }

.music-catalog {
  width: min(100%, 690px);
  margin: clamp(20px, 5vw, 42px) auto 0;
  padding-block-end: max(36px, env(safe-area-inset-bottom));
}
.music-catalog h2, .music-catalog h3, .music-catalog-sources { padding-inline: 9%; }
.music-catalog h2 { margin-block-end: 12px; font-size: clamp(23px, 5vw, 34px); }
.music-catalog-group { margin-block-start: 26px; }
.music-catalog-group h3 { margin-block-end: 14px; font-size: clamp(16px, 3vw, 20px); }
.music-catalog-sources { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block-start: 20px; }
.music-catalog-sources a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

.record-stack {
  container-type: inline-size;
  width: min(100%, 690px);
  margin: 0 auto;
  padding: 8px 0 max(24px, env(safe-area-inset-bottom));
  list-style: none;
}
.record {
  width: 82%;
  height: max(62px, 22cqw);
  margin-inline: auto;
}
.record:last-child { height: auto; }
.record:nth-child(1) { --tilt: 62deg; }
.record:nth-child(2) { --tilt: 64deg; }
.record:nth-child(3) { --tilt: 75deg; }
.record:nth-child(4) { --tilt: 86deg; }
.record:nth-child(5) { --tilt: 86deg; }
.record:nth-child(6) { --tilt: 74deg; }
.record:nth-child(7) { --tilt: 64deg; }
.record:nth-child(8) { --tilt: 66deg; }
.record a {
  position: relative;
  isolation: isolate;
  display: block;
}
.record-spine {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 .45em;
  min-height: clamp(18px, 4.1cqw, 28px);
  padding-inline: 8px;
  background: linear-gradient(#fff1, #0001), var(--spine);
  color: var(--spine-ink);
  font-size: clamp(11px, 2.4cqw, 16px);
  line-height: 1.25;
  text-align: center;
}
.record a::after {
  position: absolute;
  inset: -10px 0;
  content: "";
}
.record-cover {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  aspect-ratio: 1;
  transform-origin: center top;
  transform: perspective(68cqw) rotateX(calc(-1 * var(--tilt)));
}
.record-cover img { width: 100%; height: 100%; object-fit: cover; }
.record-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(#0002, #0004);
  content: "";
  pointer-events: none;
}
.catalog-shelf { margin-block-end: 12px; }
.record--catalog { --spine: #303032; --spine-ink: #fff5ee; }
.record--catalog:nth-child(4n + 1) { --spine: #412b2c; }
.record--catalog:nth-child(4n + 2) { --spine: #6b0b0c; }
.record--catalog:nth-child(4n + 3) { --spine: #222e4e; }
.record--catalog:last-child:not(:first-child) .record-cover,
.record:nth-child(n+5) .record-cover {
  top: auto;
  bottom: 100%;
  transform-origin: center bottom;
  transform: perspective(68cqw) rotateX(var(--tilt));
}
.record--catalog:last-child:not(:first-child) .record-cover::after,
.record:nth-child(n+5) .record-cover::after { background: linear-gradient(#0003, transparent); }
@media (hover: hover) {
  .record a:hover .record-spine { box-shadow: inset 0 0 0 2px currentColor; }
}

#record-dialog {
  width: min(calc(100% - 40px), 480px, max(280px, calc(100dvh - 166px)));
  max-width: none;
  max-height: calc(100dvh - 16px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7fafc;
  overscroll-behavior: contain;
}
#record-dialog::backdrop { background: #0e172b99; }
.record-detail {
  display: grid;
  justify-items: center;
  gap: 10px;
  direction: ltr;
}
.record-close, .record-listen {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  color: inherit;
  background: #1b293ce6;
}
.record-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  width: 100%;
  display: grid;
  justify-items: end;
  gap: 2px;
  padding: 4px;
  border-radius: 9px;
  background: #000;
}
.record-bar .chapter-bar--inner { justify-self: stretch; }
.record-bar .chapter-bar--inner a:is(:hover, [aria-current="page"]),
.record-close:hover {
  background: #292929;
  color: #fff;
}
.record-close { background: #141414; }
.record-listen:hover { background: #354962; }
#record-dialog :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.record-listen .icon { fill: currentColor; stroke: none; }

.record-case {
  --hinge: 9%;
  position: relative;
  width: 100%;
  padding: 5px 5px 5px var(--hinge);
  border: 1px solid #b4bcc5;
  border-radius: 4px;
  background: linear-gradient(155deg, #f2f7fc, #818b98 45%, #e0e7ef 72%, #6a7381);
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 2px #2c3545, 0 20px 48px #0e152c73;
}
.record-case::before {
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc(var(--hinge) - 6px);
  border-radius: 2px 0 0 2px;
  background:
    repeating-linear-gradient(90deg, #141821 0 2px, #3f4652 2px 3px, #282d36 3px 5px),
    #2b313c;
  box-shadow: inset 0 1px 1px #fff7, inset 0 -1px 2px #0009;
  content: "";
}
.record-artwork {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.record-artwork.catalog-artwork { object-fit: cover; }

.detail[data-player] {
  background: #fff;
  color: #17171a;
}
.detail[data-player]::backdrop { background: #fff; }
.detail[data-player] .detail-content { display: none; }
.detail[data-player] .detail-bar { background: #fffffff5; }
.detail[data-player] .detail-label { color: #56565e; }
.detail[data-player] .close-button { background: #f2f2f4; color: #17171a; }

.track-player {
  width: min(calc(100% - 32px), 520px);
  margin-inline: auto;
  padding: 5px 0 max(32px, env(safe-area-inset-bottom));
  text-align: center;
}
.player-heading {
  margin-block: 3px 14px;
  padding-inline: 8px;
}
#player-artist {
  display: block;
  color: #4e4f55;
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .19em;
}
#player-title {
  margin-block-start: 6px;
  font-size: clamp(32px, 7.8vw, 58px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}
html:not([lang="fa"]) #player-title { font-family: Georgia, serif; font-weight: 400; }
.turntable {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  margin: 0 auto clamp(16px, 4vw, 27px);
  direction: ltr;
}
.vinyl-platter {
  position: absolute;
  inset: 6% 9% 2% 0;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 14px 25px -5px #18182147, 0 3px 6px #18182130;
}
.vinyl {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid #101015;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #ffffff0a 0 1px, #0002 1px 3px, transparent 3px 4px),
    conic-gradient(from 12deg, #1b1b21, #39393f 36deg, #141417 64deg, #0f0f12 172deg, #38383e 213deg, #141417 240deg, #1b1b21);
  box-shadow: inset 0 0 0 4px #ffffff16;
  animation: vinyl-spin 3s linear infinite paused;
}
.track-player.is-playing .vinyl { animation-play-state: running; }
@keyframes vinyl-spin { to { transform: rotate(1turn); } }
.vinyl::after {
  position: absolute;
  width: 3.4%;
  aspect-ratio: 1;
  border: 1px solid #33343a;
  border-radius: 50%;
  background: linear-gradient(145deg, #b9bac1, #fafafa);
  content: "";
}
.vinyl-label {
  width: 39%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #121217, 0 0 0 5px #404047;
}
.tonearm {
  position: absolute;
  z-index: 1;
  top: 2%;
  right: 0;
  width: 34%;
  filter: drop-shadow(2px 4px 3px #0808114d);
  transform-origin: 73% 15%;
  transition: transform .45s ease;
}
.track-player.is-playing .tonearm { transform: rotate(4deg); }
@media (prefers-reduced-motion: reduce) {
  .vinyl { animation: none; }
  .track-player.is-playing .tonearm { transform: none; }
}
.player-preview[hidden] { display: none; }
.player-preview {
  display: grid;
  justify-items: center;
  gap: 7px;
}
#preview-label { font-size: 13px; font-weight: 700; }
#track-audio {
  display: block;
  width: 100%;
  height: 46px;
  color-scheme: light;
  direction: ltr;
}
.preview-credit, .preview-error { color: #595961; font-size: 11px; }
.preview-itunes { display: grid; place-items: center; min-height: 44px; }
.preview-itunes img { width: 110px; height: auto; }
.player-listen {
  margin-block-start: 16px;
  padding-block-start: 14px;
  border-block-start: 1px solid #e5e5e8;
}
.player-listen h3 { font-size: 14px; }
.player-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block-start: 10px;
}
.player-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 15px;
  border: 1px solid #d7d7df;
  border-radius: 999px;
  background: #fff;
  color: #24242a;
  font: 700 13px/1.3 var(--text);
}
.player-links a:hover { background: #eeeef1; }

.detail[data-view="fans"] { background: #fff; color: #222; }
.detail[data-view="fans"]::backdrop { background: #fff; backdrop-filter: none; }
.detail[data-view="fans"] .detail-bar { background: #fffffff5; }
.detail[data-view="fans"] .close-button { background: #fff; color: #222; }
.detail[data-view="fans"] .close-button:hover { background: #f0f0f0; }
.detail[data-view="fans"] .chapter-bar--inner a:is(:hover, [aria-current="page"]) {
  background: #e9e9e9;
  color: #333;
}
.detail[data-view="fans"] :is(a, button):focus-visible { outline-color: var(--home-accent); }
.detail[data-view="fans"] .detail-bar :is(a, button):focus-visible { outline-color: #626262; }

.fans-page {
  width: min(calc(100% - 24px), 680px);
  margin-inline: auto;
  padding: clamp(33px, 8vw, 68px) 0 max(36px, env(safe-area-inset-bottom));
  text-align: center;
}
.fans-heading > .icon { width: 25px; height: 25px; }
.fans-heading h2 {
  margin-block-start: 8px;
  font: 400 clamp(45px, 9vw, 79px)/1.03 Georgia, "Times New Roman", serif;
  letter-spacing: -.052em;
}
html[lang="fa"] .fans-heading h2 { font-family: var(--persian); font-size: clamp(34px, 7.5vw, 64px); letter-spacing: 0; }
.fans-heading p {
  margin-block-start: 11px;
  font: 700 10px/1.5 var(--mono);
  letter-spacing: .27em;
}
html[lang="fa"] .fans-heading p { font-family: var(--persian); letter-spacing: 0; }
.fans-arch {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1.42;
  margin-block-start: clamp(29px, 6vw, 58px);
}
.fans-photos { position: absolute; inset: 0; pointer-events: none; }
.fans-photos a {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12%;
  aspect-ratio: 4 / 5;
  border-radius: clamp(5px, 1.5cqw, 12px);
  transform: translate(-50%, -50%) rotate(var(--tilt));
  box-shadow: 0 3px 10px #22222220;
  pointer-events: auto;
}
.fans-photos img {
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: var(--crop, center);
}
.fans-photos .fans-poster img { background: #242424; object-fit: contain; }
.fans-photos a:first-child,
.fans-photos a:last-child {
  -webkit-box-reflect: below 5px linear-gradient(transparent 36%, #0003);
}
.fans-intro {
  position: absolute;
  top: 49%;
  left: 21%;
  right: 21%;
}
.fans-intro h3 { font-size: clamp(15px, 4.1cqw, 27px); line-height: 1.28; }
html:not([lang="fa"]) .fans-intro h3 { font-family: Georgia, serif; font-weight: 400; }
.fans-intro p {
  margin-block-start: 4px;
  color: #5c5c5c;
  font-size: clamp(10px, 2.65cqw, 14px);
  line-height: 1.5;
}
.fans-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin-block-start: 10px;
  padding-inline: 14px;
  border-radius: 99px;
  background: #242424;
  color: #fff;
  font-size: clamp(10px, 2.7cqw, 14px);
  font-weight: 700;
}
.fans-follow:hover { background: #444; }
.fans-follow .icon { width: 13px; height: 13px; }

.fans-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(94%, 480px);
  margin: 18px auto 0;
}
.fans-links a {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 50px;
  padding-inline: 4px;
}
.fans-links a + a { border-inline-start: 1px solid #ddd; }
.fans-links a:hover { color: var(--home-accent); }
.fans-links strong { font-size: clamp(12px, 2.6vw, 15px); line-height: 1.3; }
.fans-links span { color: #5e5e5e; font-size: clamp(10px, 2.1vw, 12px); line-height: 1.45; }
.fans-streaming { margin-block-start: 28px; }
.fans-streaming h3 { font-size: clamp(15px, 3.4vw, 19px); }
.fans-streaming .fans-links { margin-block-start: 8px; }
.fans-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(92%, 410px);
  margin: clamp(40px, 9vw, 66px) auto 0;
  font-size: clamp(12px, 2.5vw, 14px);
  line-height: 1.8;
  color: #505050;
}
.fans-footer img { width: 24px; }

.detail[data-view="world"] { background: #fff; color: #212121; }
.detail[data-view="world"]::backdrop { background: #fff; backdrop-filter: none; }
.detail[data-view="world"] .detail-bar { background: #fff; }
.detail[data-view="world"] .close-button { background: #fff; color: #212121; }
.detail[data-view="world"] .close-button:hover { background: #f0f0f0; }
.detail[data-view="world"] :is(a, button):focus-visible,
#about-topic :is(a, button):focus-visible { outline-color: var(--home-accent); }

.about-page {
  container-type: inline-size;
  width: min(100%, 709px);
  margin-inline: auto;
  padding: clamp(24px, 6vw, 48px) 0 max(34px, env(safe-area-inset-bottom));
  text-align: center;
}
.about-cabinet {
  display: grid;
  direction: ltr;
  gap: 2.1cqw;
  padding: 4cqw 6cqw 0;
  background: #fff;
}
.about-row {
  display: grid;
  gap: 2.1cqw;
}
.about-row--top { grid-template-columns: 5fr 3fr; height: 43cqw; }
.about-row--middle { grid-template-columns: 3fr 5fr; height: 37cqw; }
.about-row--bottom { grid-template-columns: 4.5fr 3.5fr; height: 39cqw; }
.about-niche {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eeedeb;
  background: #fff;
  box-shadow: inset 0 12px 17px -8px #2827246b,
    inset 8px 0 12px -7px #28272463, inset -6px 0 10px -7px #2827244a,
    inset 0 -7px 10px -7px #2827244a,
    0 2px 5px #25242224, 0 11px 19px -9px #25242252;
}
.about-niche:focus-visible { outline-offset: -3px; }
.about-niche:hover .about-niche-name { color: var(--home-accent); }
.about-niche-name {
  position: absolute;
  z-index: 1;
  inset: 5.5% 2px auto;
  color: #252524;
  font-size: clamp(11px, 2.5cqw, 17px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.about-figures {
  display: flex;
  position: absolute;
  inset: 19% 1px 1px;
  justify-content: center;
  align-items: end;
}
.about-portrait { height: 100%; object-fit: cover; object-position: center 35%; }
.about-niche[data-about="founder"] .about-portrait { object-position: center top; }
.about-niche[data-about="vision"] .about-portrait { object-position: center 72%; }
.about-figure {
  position: relative;
  height: 100%;
  aspect-ratio: 3 / 5;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  filter: drop-shadow(1px 3px 2px #25252526);
}
.about-figure img {
  position: absolute;
  top: calc(-100% * var(--row));
  left: 50%;
  width: auto;
  height: 300%;
  max-width: none;
  transform: translateX(calc(-12.5% - 25% * var(--column) - var(--offset, 0%)));
}
.about-name { color: #191919; }
.about-name p {
  color: #605955;
  font-size: clamp(11px, 2.4cqw, 14px);
  font-weight: 700;
}
.about-name h2 {
  font: 400 clamp(52px, 12cqw, 86px)/.94 Georgia, "Times New Roman", serif;
  letter-spacing: -.08em;
}
.about-stats {
  --stats-cream: #fff8ca;
  --stats-blue: #cde3e8;
  --stats-rosewood: #6b0b0c;
  --stats-coffee: #2d120d;
  --stats-wine: #51000f;
  --stats-cornflower: #87b3fe;
  color: var(--stats-coffee);
  direction: inherit;
  gap: clamp(13px, 2.6cqw, 20px);
  padding: clamp(16px, 4cqw, 28px);
  text-align: start;
}
html[lang="fa"] .about-niche-name,
html[lang="fa"] .about-stats { direction: rtl; }
.about-stats .about-niche-name {
  position: static;
  color: inherit;
  font-size: clamp(16px, 3.5cqw, 23px);
}
.about-stats:hover .about-niche-name { color: var(--stats-rosewood); }
.detail[data-view="world"] .about-stats:focus-visible { outline-color: var(--stats-rosewood); }
.about-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(105px, 29%)), 1fr));
  gap: clamp(9px, 2.2cqw, 15px);
}
.about-metric {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: clamp(10px, 2.3cqw, 16px);
  border-radius: 6px;
  font-size: clamp(11px, 1.9cqw, 13px);
  line-height: 1.4;
}
.about-metric:nth-child(1) { background: var(--stats-cream); color: var(--stats-rosewood); }
.about-metric:nth-child(2) { background: var(--stats-rosewood); color: var(--stats-cream); }
.about-metric:nth-child(3) { background: var(--stats-coffee); color: var(--stats-blue); }
.about-metric:nth-child(4) { background: var(--stats-blue); color: var(--stats-coffee); }
.about-metric:nth-child(5) { background: var(--stats-wine); color: var(--stats-cornflower); }
.about-metric:nth-child(6) { background: var(--stats-cornflower); color: var(--stats-wine); }
.about-metric strong {
  font-size: clamp(19px, 4cqw, 28px);
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.about-stats-note { font-size: 11px; }

#about-topic {
  width: min(calc(100% - 32px), 530px);
  max-height: min(85dvh, 720px);
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #fffdfb;
  color: #252525;
  color-scheme: light;
  box-shadow: 0 24px 65px #22222248;
  overscroll-behavior: contain;
}
#about-topic::backdrop { background: #2222226b; }
.about-topic-bar {
  position: sticky;
  z-index: 1;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  direction: ltr;
  align-items: center;
  gap: 2px 12px;
  padding: 6px 12px 6px 18px;
  border-bottom: 1px solid #e3e3e3;
  background: #fffdfb;
}
.about-topic-bar > span { font: 700 10px/1.4 var(--mono); letter-spacing: .15em; }
.about-topic-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #eee;
}
.about-topic-close:hover { background: #e0e0e0; }
.about-topic-body { padding: 18px clamp(18px, 5vw, 32px) 29px; }
.about-topic-body h2 { margin-block-end: 11px; font-size: clamp(25px, 5vw, 36px); line-height: 1.35; }
#about-topic-content { display: grid; gap: 14px; font-size: 14px; line-height: 1.85; }
#about-topic:is([data-topic="who"], [data-topic="music"]) { width: min(calc(100% - 32px), 740px); }
.profile-poster {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(clamp(210px, 52vw, 335px), 1fr) auto;
  min-height: clamp(520px, 100vw, 680px);
  overflow: hidden;
  border-radius: 8px;
  background: #181818;
  color: #fff;
}
.profile-poster-image {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.profile-poster-copy {
  grid-row: 2;
  display: grid;
  gap: 10px;
  padding: 58px clamp(15px, 5vw, 36px) clamp(18px, 4vw, 30px);
  background: linear-gradient(to bottom, transparent, #111c 53px, #111e 100%);
  line-height: 1.7;
}
.profile-poster-copy .lede { font-weight: 700; }
.music-profile .profile-poster-copy strong {
  font-size: clamp(17px, 4vw, 23px);
  line-height: 1.4;
}
.music-profile .about-topic-link { border: 1px solid #ffffff55; }
#about-topic .music-profile .about-topic-link:focus-visible { outline-color: #fff; }
.who-profile-tagline {
  color: #eee;
  font: 700 11px/1.5 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  text-align: start;
}
html[dir="rtl"] .who-profile-tagline { text-align: right; }
#about-topic[data-topic="founder"] .about-topic-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(390px, 122vw, 585px);
  padding-block-start: clamp(235px, 70vw, 360px);
  background:
    linear-gradient(to bottom, transparent 38%, #0a1119dd 71%, #0a1119 100%),
    #0a1119 url("./assets/about-founder-drive.webp") center 30% / cover no-repeat;
  color: #fff;
  text-shadow: 0 2px 8px #000c;
}
.vision-poster {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  align-content: start;
  aspect-ratio: 4 / 5;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #390609;
  color: #fff5ef;
  text-align: left;
}
.vision-poster img, .vision-poster::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vision-poster img { z-index: -2; object-fit: cover; object-position: 57% center; }
.vision-poster::before {
  content: "";
  z-index: -1;
  background: linear-gradient(#170204e8, #2c0306bf 32%, transparent 58%);
}
.vision-poster dl {
  display: grid;
  gap: clamp(8px, 2cqi, 12px);
  margin: 0;
  padding: clamp(15px, 4.6cqi, 25px);
}
.vision-poster dl > div { border-inline-start: 2px solid #bcbcbc; padding-inline-start: 10px; }
.vision-poster dt {
  color: #eee;
  font: 700 clamp(9px, 2.65cqi, 12px)/1.2 var(--mono);
  letter-spacing: .11em;
}
.vision-poster dd {
  margin: 3px 0 0;
  font: 700 clamp(14px, 4.2cqi, 21px)/1.2 var(--text);
}
.quchan-story { display: grid; gap: 10px; }
.quchan-poster {
  display: grid;
  align-items: end;
  aspect-ratio: 4 / 5;
  min-height: 330px;
  padding: clamp(18px, 5.5vw, 32px);
  border-radius: 8px;
  background:
    linear-gradient(to bottom, transparent 44%, #180b086e 66%, #180b08f5 100%),
    #392017 url("./assets/about-story-quchan.webp") center 23% / cover no-repeat;
  color: #fff8ec;
  text-align: start;
}
.quchan-poster-copy { display: grid; gap: 7px; text-shadow: 0 2px 12px #160a08; }
.quchan-poster-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffdaae;
  font-size: 11px;
  font-weight: 700;
}
.quchan-poster-kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.quchan-poster h3 {
  font: 600 clamp(31px, 8.5vw, 55px)/1.05 Georgia, serif;
  text-wrap: balance;
}
html[lang="fa"] .quchan-poster h3 { font-family: var(--persian); line-height: 1.3; }
.quchan-poster-subtitle { font-size: clamp(14px, 3.3vw, 17px); line-height: 1.4; }
.quchan-story h4 { margin: 7px 0 0; font-size: 16px; }
.quchan-track {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f0f0f0;
}
.quchan-track-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
}
.quchan-track-heading h3 { font-size: 16px; }
.quchan-track-status {
  padding: 1px 8px;
  border-radius: 99px;
  background: #e2e2e2;
  color: #444;
  font-size: 11px;
  font-weight: 700;
}
.quchan-track audio { width: 100%; }
.quchan-image-note, .quchan-source { font-size: 12px; color: #5b5b5b; }
.quchan-source a { text-decoration: underline; text-underline-offset: 3px; }
#about-topic[data-topic="fashion"] { width: min(calc(100% - 24px), 680px); }
.minel-jewelry {
  display: grid;
  overflow: hidden;
  border-radius: 9px;
  background: #2a0d16;
  color: #fff8ef;
}
.jewelry-poster {
  grid-template-rows: auto auto;
  align-content: start;
  min-height: 0;
  border-radius: 0;
  background: #17070b;
}
.jewelry-poster .profile-poster-image {
  position: static;
  grid-row: 1;
  height: auto;
}
.jewelry-poster .profile-poster-copy {
  position: relative;
  margin-block-start: -38%;
  padding-block-start: 40px;
  padding-inline: clamp(14px, 3vw, 26px);
  background: linear-gradient(to bottom, transparent, #17070be8 36px, #17070b 100%);
}
.minel-fashion-kicker { color: #f5c6ad; font-size: 11px; font-weight: 700; }
html:not([lang="fa"]) .minel-fashion-kicker { letter-spacing: .17em; }
.minel-jewelry h3, .minel-fashion-editorial h3 {
  font-size: clamp(21px, 4.8vw, 31px);
  line-height: 1.25;
  text-wrap: balance;
}
html:not([lang="fa"]) :is(.minel-jewelry, .minel-fashion-editorial) h3 { font-family: Georgia, serif; }
.minel-fashion-editorial { display: grid; gap: 11px; margin-block-start: 12px; }
.minel-jewelry-images, .minel-fashion-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.minel-jewelry-images > img, .minel-fashion-looks img { display: block; width: 100%; height: auto; }
.minel-jewelry-images > img { aspect-ratio: 9 / 16; align-self: start; }
.minel-fashion-looks { overflow: hidden; border-radius: 9px; }
.minel-fashion-looks img { aspect-ratio: 2 / 3; object-fit: cover; object-position: center 40%; }
.minel-fashion-looks img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 480px) {
  .minel-jewelry-images { grid-template-columns: 1fr; }
}
.journal-note {
  grid-template-rows: auto auto;
  min-height: 0;
}
.journal-note .profile-poster-image {
  position: static;
  grid-row: 1;
  height: auto;
}
.journal-note .profile-poster-copy {
  position: relative;
  margin-block-start: -40%;
  padding-block-start: 42px;
  background: linear-gradient(to bottom, transparent, #181818e8 38px, #181818 100%);
}
.journal-note h3 { font-size: clamp(19px, 4.5vw, 28px); line-height: 1.4; text-wrap: balance; }
#about-topic .journal-note .mini-label { color: #e3e3e3; }
#about-topic .mini-label, #about-topic .vision-list h3::before { color: var(--home-accent); }
.about-topic-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  padding: 7px 15px;
  border-radius: 7px;
  background: #333;
  color: #fff;
}
.about-topic-link:hover { background: #454545; }

.detail[data-view="contact"] {
  --letter-ink: #33191e;
  --letter-paper: #fff8ee;
  background: #3d0e19;
  color: var(--letter-paper);
}
.detail[data-view="contact"]::backdrop { background: #3d0e19; backdrop-filter: none; }
.detail[data-view="contact"] .detail-bar { background: #3d0e19f5; }
.detail[data-view="contact"] .chapter-bar--inner a:is(:hover, [aria-current="page"]) {
  background: #672634;
  color: var(--letter-paper);
}
.detail[data-view="contact"] .close-button { background: #672634; color: var(--letter-paper); }
.detail[data-view="contact"] .close-button:hover { background: #783340; }
.detail[data-view="contact"] :focus-visible { outline: 2px solid #c69256; outline-offset: 4px; }
.contact-stage {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: calc(100svh - 98px - max(8px, env(safe-area-inset-top)));
  padding: 30px 20px 60px;
  background: radial-gradient(ellipse at 50% 32%, #6b2937, #3d0e19 72%);
  text-align: center;
}
.contact-eyebrow { font: 700 10px/1.45 var(--mono); letter-spacing: .15em; }
.contact-stage .contact-eyebrow { color: #f1c89d; }
.contact-stage h2, .contact-letter h2 { font-size: clamp(25px, 6vw, 42px); line-height: 1.35; }
.contact-open {
  display: grid;
  justify-items: center;
  gap: clamp(24px, 5vw, 36px);
  width: min(100%, 360px);
  margin-block-start: clamp(24px, 6vw, 40px);
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-weight: 700;
}
.contact-open-label { color: #f6d9b8; font-size: 14px; }
.contact-envelope {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 1.64;
  perspective: 800px;
  filter: drop-shadow(0 14px 18px #20060ea0);
}
.contact-envelope > span { position: absolute; }
.contact-envelope-back {
  inset: 0;
  border-radius: 5px;
  background: #42121e;
}
.contact-envelope-paper {
  z-index: 2;
  inset: 9% 6% 7%;
  border-radius: 2px;
  background: linear-gradient(160deg, #fffaf0, #e9d9c4);
  box-shadow: 0 1px 11px #24111365;
  transition: transform .42s cubic-bezier(.2,.7,.2,1) .13s;
}
.contact-envelope-pocket {
  z-index: 3;
  inset: 0;
  border-radius: 5px;
  clip-path: polygon(0 0, 50% 59%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(32deg, transparent 48.5%, #3e0d1980 49.7%, transparent 51.5%),
    linear-gradient(-32deg, transparent 48.5%, #3e0d1980 49.7%, transparent 51.5%),
    linear-gradient(165deg, #823747, #5a1829);
}
.contact-envelope-flap {
  z-index: 4;
  inset: 0 0 34%;
  border-radius: 5px 5px 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: center top;
  background: linear-gradient(165deg, #a35563, #6a2738 76%);
  transition: transform .38s ease, z-index 0s .19s;
}
.contact-envelope-seal {
  z-index: 5;
  inset: 53% auto auto 50%;
  display: grid;
  place-items: center;
  width: 14%;
  aspect-ratio: 1;
  border: 2px solid #f2ca8c;
  border-radius: 46% 54% 50% 49%;
  background: radial-gradient(circle at 36% 31%, #e8bd78, #a9662f);
  box-shadow: inset 0 0 0 2px #7d411d80, 0 4px 7px #22081180;
  color: #4b2013;
  font: 700 clamp(14px, 4vw, 24px)/1 Georgia, serif;
  transform: translate(-50%, -50%) rotate(-10deg);
  transition: transform .35s ease, opacity .22s ease;
}
.contact-open[aria-expanded="false"]:hover .contact-envelope { filter: drop-shadow(0 16px 22px #20060ed0) brightness(1.06); }
.contact-open[aria-expanded="true"] .contact-envelope-flap { z-index: 1; transform: rotateX(172deg); }
.contact-open[aria-expanded="true"] .contact-envelope-paper { transform: translateY(-54%); }
.contact-open[aria-expanded="true"] .contact-envelope-seal { opacity: 0; transform: translate(-120%, 30%) rotate(-40deg); }

.contact-letter {
  width: min(calc(100% - 28px), 700px);
  margin: 0 auto 38px;
  padding: clamp(21px, 6vw, 48px);
  scroll-margin-block-start: calc(106px + max(8px, env(safe-area-inset-top)));
  border: 1px solid #f0e0ce;
  border-radius: 8px;
  background: var(--letter-paper);
  color: var(--letter-ink);
  box-shadow: 0 14px 36px #2407117d;
}
.contact-letter .contact-eyebrow { color: #606060; }
.contact-letter h2 { margin-block: 8px 20px; }
.contact-form { display: grid; gap: 15px; }
.contact-topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-topics legend, .contact-message label { padding: 0; font-weight: 700; }
.contact-topic-options, .contact-links { display: flex; flex-wrap: wrap; gap: 7px; }
.contact-topic-options { margin-block-start: 5px; }
.contact-topic-options label, .contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-topic-options input { margin: 0; accent-color: #6b2437; }
.contact-topic-options label:has(:checked), .contact-links a:hover { background: #e9e9e9; }
.contact-message label { display: block; margin-block-end: 5px; }
.contact-message textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  padding: 9px 12px;
  resize: vertical;
  border: 1px solid #929292;
  border-radius: 5px;
  background: #fffdf9;
  color: inherit;
  font: inherit;
}
.contact-message-meta { display: flex; justify-content: space-between; gap: 10px; margin-block-start: 4px; }
.contact-message-meta, #contact-form-hint { color: #565656; font-size: 12px; }
.contact-send {
  justify-self: start;
  min-height: 44px;
  padding: 5px 19px;
  border: 0;
  border-radius: 5px;
  background: #6b2437;
  color: #fff8ee;
  font-weight: 700;
}
.contact-send:hover { background: #4d1828; }
.contact-directory { display: grid; gap: 20px; margin-block-start: 26px; padding-block-start: 20px; border-block-start: 1px solid #ccc; }
.contact-directory h3 { margin-block-end: 8px; }
.contact-links { font-size: 13px; }
.contact-emails { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.contact-emails a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }

/* Layered interactive cards, scoped to Home and About. */
.card-deck,.about-row{perspective:1100px}
.card,.about-niche{--tilt-x:0deg;--tilt-y:0deg;--lift:0px;transform-style:preserve-3d;transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s;isolation:auto}
.card{transform:translate(-50%,-50%) perspective(1000px) rotate(var(--angle)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(var(--lift))}
.card:is(:hover,:focus-visible,.depth-active){z-index:4;transform:translate(-50%,-50%) perspective(1000px) rotate(var(--angle)) rotateX(var(--tilt-x,-7deg)) rotateY(var(--tilt-y,6deg)) translateZ(24px);box-shadow:inset 0 0 0 1px #ffffff80,0 3px 0 #b6b1b3,0 6px 0 #ddd8db,0 24px 35px -12px #30212f70,0 45px 65px -25px #30212f65}
.card-body,.card-image,.card-open,.about-figures,.about-niche-name{transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .5s;backface-visibility:hidden}
.card:is(:hover,:focus-visible,.depth-active) .card-image{transform:translateZ(36px) translateY(-9px) scale(1.04);filter:drop-shadow(0 15px 12px #0004)}
.card:is(:hover,:focus-visible,.depth-active) .card-body{transform:translateZ(20px)}
.card:is(:hover,:focus-visible,.depth-active)>.card-open{transform:translateZ(46px)}
.about-niche{overflow:visible;transform:perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));border-radius:4px}
.about-niche:is(:hover,:focus-visible,.depth-active){z-index:3;transform:perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(20px);box-shadow:inset 0 0 0 1px #fff,0 3px 0 #c6c0c3,0 6px 0 #e4dee0,0 22px 32px -10px #34243255,0 40px 50px -22px #34243266}
.about-niche:is(:hover,:focus-visible,.depth-active) .about-figures{transform:translateZ(40px) translateY(-10px) scale(1.035);filter:drop-shadow(0 16px 10px #0003)}
.about-niche:is(:hover,:focus-visible,.depth-active) .about-niche-name{transform:translateZ(55px) translateY(-5px)}
@media(prefers-reduced-motion:reduce){.card,.about-niche,.card-body,.card-image,.card-open,.about-figures,.about-niche-name{transition:none!important}.card:is(:hover,:focus-visible,.depth-active){transform:translate(-50%,-50%) rotate(var(--angle))}.about-niche:is(:hover,:focus-visible,.depth-active),.card:is(:hover,:focus-visible,.depth-active) :is(.card-body,.card-image,.card-open),.about-niche:is(:hover,:focus-visible,.depth-active) :is(.about-figures,.about-niche-name){transform:none}}

/* Separate alpha foregrounds rise independently of the photographic plane. */
.card { overflow: visible; }
.card-image { overflow: visible; transform-style: preserve-3d; }
.card-image > img:not(.popout-subject) { border-radius: 3px; }
.card-image > img, .about-figures > img { transition: opacity .38s ease, transform .55s cubic-bezier(.2,.7,.2,1), filter .55s; }
.card-image .popout-subject, .about-figures .popout-subject {
 position: absolute; inset: 0; width: 100%; height: 100%;
 object-fit: contain; object-position: center bottom; opacity: 0;
 pointer-events: none; transform-origin: center bottom;
 transform: translateZ(0) scale(.97); backface-visibility: hidden;
}
.card:is(:hover,:focus-visible,.depth-active) .card-image,
.about-niche:is(:hover,:focus-visible,.depth-active) .about-figures { transform: none; filter: none; }
.card:is(:hover,:focus-visible,.depth-active) .card-image > img:not(.popout-subject),
.about-niche:is(:hover,:focus-visible,.depth-active) .about-portrait { opacity: .12; transform: none; }
.card:is(:hover,:focus-visible,.depth-active) .card-image .popout-subject {
 opacity: 1; transform: translateZ(28px) translateY(-3%) scale(1.12);
 filter: drop-shadow(0 16px 9px #26172255);
}
.about-niche:is(:hover,:focus-visible,.depth-active) .popout-subject {
 opacity: 1; transform: translateZ(36px) translateY(-5%) scale(1.17);
 filter: drop-shadow(0 18px 10px #26172250);
}
.about-niche:is(:hover,:focus-visible,.depth-active) .about-niche-name {
 z-index: 6; transform: translateZ(90px); background: #fffffff0;
 width: fit-content; max-width: 94%; margin-inline: auto; padding: 3px 8px; border-radius: 3px;
}
.card-image span { z-index: 5; transform: translateZ(85px); }
@media(prefers-reduced-motion:reduce) {
 .popout-subject { display: none!important; }
 .card-image > img:not(.popout-subject),.about-portrait { opacity: 1!important; transform: none!important; }
}
.about-niche:not(.about-stats):is(:hover,:focus-visible,.depth-active) .popout-subject { transform: translateZ(36px) translateY(-10%) scale(1.35); }
.about-niche:not(.about-stats):is(:hover,:focus-visible,.depth-active) .about-niche-name { top: auto; bottom: 4%; }
.about-cabinet { padding-block-start: 8cqw; }

.journal-note .profile-poster-copy { margin-block-start: 0; padding-block-start: 28px; background: #181818; }

/* Responsive readability fixes verified at narrow viewport widths. */
html { min-width: 0; }
#about-topic :focus-visible, .detail[data-view="world"] :focus-visible { outline-color: #555; }
@media (max-width: 480px) {
 .about-niche-name { font-size: 12px; }
}
#about-topic[data-topic="founder"] .about-topic-body { display: block; min-height: 0; padding: 18px clamp(18px, 5vw, 32px) 29px; background: #fffdfb; color: #252525; text-shadow: none; }
.creator-portrait { width: 100%; height: auto; border-radius: 8px; }

/* Original Home arrangement with deeper shadows beneath the cards. */
.card-deck > .card {
 box-shadow: inset 0 0 0 1px var(--edge),
  0 4px 7px #2424243d,
  0 16px 24px -7px #29292973,
  0 32px 46px -15px #22222266;
}
.card-deck > .card:is(:hover,:focus-visible,.depth-active) {
 box-shadow: inset 0 0 0 1px #ffffff80,
  0 3px 0 #b6b1b3, 0 6px 0 #ddd8db,
  0 24px 34px -10px #30212f85,
  0 46px 64px -20px #30212f80;
}
