.artist-page { --artist-soft: color-mix(in srgb, var(--ink) 4%, var(--paper)); padding: clamp(24px, 4vw, 55px) max(3.6vw, 16px) clamp(55px, 8vw, 110px); background: var(--paper); color: var(--ink); overflow: clip; }
.artist-wrap { max-width: 1280px; margin-inline: auto; }
.artist-page a { color: inherit; text-underline-offset: 6px; }
.artist-topline { display: flex; align-items: center; gap: 20px; padding-block-end: 22px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.artist-topline > span { color: var(--muted); }
.artist-languages { display: flex; margin-inline-start: auto; padding: 4px; border: 1px solid var(--line); border-radius: 30px; gap: 3px; }
.artist-languages button { min-height: 38px; min-width: 67px; padding: 5px 12px; border-radius: 24px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; }
.artist-languages button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.artist-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(35px, 6vw, 95px); padding-block: clamp(38px, 6vw, 85px) clamp(50px, 8vw, 100px); }
.artist-kicker { color: var(--muted); margin: 0 0 14px; font-size: .875rem; }
.artist-intro h1 { margin: 0 0 18px; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
.artist-tagline { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; margin: 0 0 22px; }
.artist-lead { color: var(--muted); max-width: 470px; font-size: 1rem; line-height: 2.15; }
.artist-intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; font-size: .9rem; }
.artist-primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 20px; border: 1px solid var(--ink); border-radius: 9px; background: var(--ink); color: var(--paper) !important; text-decoration: none; font-weight: 500; }
.artist-primary-link:hover { opacity: .8; }
.artist-material-note { display: flex; align-items: center; gap: 13px; margin-top: 38px; color: var(--muted); }
.artist-material-note p { font-size: .8rem; margin: 0; }
.artist-material-note > span { width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: repeating-linear-gradient(15deg, transparent 0 5px, var(--line) 5px 6px); }
.artist-portrait-stage { position: relative; margin: 12px 20px 15px; isolation: isolate; }
.artist-main-portrait { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.04; object-fit: cover; background: #101011; border-radius: 48% 48% 8px 8px; position: relative; }
.artist-portrait-stage::after { content: ""; position: absolute; z-index: -1; inset: -10px 12px 48px; border: 1px solid var(--line); border-radius: 50% 50% 12px 12px; transform: rotate(7deg); }
.artist-portrait-orbit { position: absolute; z-index: -1; inset: -8% -10% 12%; background: var(--ink); mask: url("assets/darmag-mandala.png") center / contain no-repeat; -webkit-mask: url("assets/darmag-mandala.png") center / contain no-repeat; mask-mode: luminance; opacity: .17; animation: artist-orbit 140s linear infinite; }
.artist-portrait-stage figcaption { display: flex; align-items: center; gap: 15px; margin: 18px 0 0; color: var(--muted); font-size: .8rem; padding-inline-start: 33%; }
.artist-caption-rule { height: 1px; background: var(--line); flex: 1; }
.artist-portrait-detail { position: absolute; width: 29%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; inset-inline-start: -24px; bottom: -8px; border: 7px solid var(--paper); border-radius: 5px; transform: rotate(-7deg); box-shadow: 0 12px 30px #0000001f; }
.artist-perspective { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 40px; padding-block: clamp(30px, 5vw, 60px); border-block: 1px solid var(--line); }
.artist-page h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 550; line-height: 1.7; margin: 0 0 16px; }
.artist-perspective > div > p { max-width: 720px; margin: 0; color: var(--muted); line-height: 2.15; font-size: 1rem; }
.artist-process { margin-block: clamp(55px, 8vw, 100px); }
.artist-process > header > p:last-child { color: var(--muted); font-size: .9rem; }
.artist-process-layout { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(0, 1.8fr); gap: 35px; margin-top: 35px; }
.artist-process-tabs { display: flex; flex-direction: column; justify-content: center; }
.artist-process-tabs button { display: flex; align-items: center; gap: 20px; min-height: 90px; padding: 20px 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: start; font: inherit; cursor: pointer; }
.artist-process-tabs button[aria-selected="true"] { color: var(--ink); background: var(--artist-soft); border-radius: 12px; border-color: transparent; }
.artist-step-mark { width: 29px; height: 29px; flex-shrink: 0; color: inherit; border: 1px solid currentColor; }
.artist-step-wood { border-radius: 50%; background: repeating-linear-gradient(20deg, transparent 0 5px, currentColor 5px 6px); opacity: .75; }
.artist-step-pattern { transform: rotate(45deg); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px currentColor; }
.artist-step-depth { border: 0; background: repeating-linear-gradient(135deg, transparent 0 6px, currentColor 6px 7px); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.artist-process-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 25px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--artist-soft); align-items: center; }
.artist-process-panel > div { padding: 15px; }
.artist-process-panel h3 { font-weight: 550; font-size: 1.25rem; margin: 0 0 15px; }
.artist-process-panel p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 2; }
.artist-process-panel img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: #151515; }
.artist-selected > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.artist-selected > header h2 { margin: 0; }
.artist-selected > header > a { font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; }
.artist-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); align-items: start; }
.artist-works a { text-decoration: none; }
.artist-works a:nth-child(2) { margin-top: 65px; }
.artist-works img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; transition: filter .25s ease; }
.artist-works a:hover img { filter: brightness(1.12); }
.artist-works span { display: block; margin-top: 16px; font-size: .875rem; }
.artist-outro { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: clamp(60px, 8vw, 110px); padding-top: 40px; border-top: 1px solid var(--line); }
.artist-outro h2 { margin-bottom: 10px; }
.artist-outro > div > p:last-child { margin: 0; color: var(--muted); max-width: 530px; line-height: 2; font-size: .95rem; }
.artist-outro-actions { display: grid; gap: 12px; }
.artist-outro-actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: transparent; font: inherit; font-size: .9rem; padding: 10px 20px; cursor: pointer; }
.artist-page :is(a,button,[role="tabpanel"]):focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.artist-page[lang="en"] { font-family: "Vazirmatn", Arial, sans-serif; }
.artist-page[lang="en"] :is(.artist-lead,.artist-perspective > div > p,.artist-process-panel p) { line-height: 1.85; }
@keyframes artist-orbit { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .artist-intro { gap: 35px; } .artist-process-layout { grid-template-columns: 1fr; gap: 20px; } .artist-process-tabs { flex-direction: row; } .artist-process-tabs button { flex: 1; justify-content: center; min-height: 78px; gap: 14px; } }
@media (max-width: 640px) {
  .artist-topline { gap: 12px; flex-wrap: wrap; }
  .artist-topline > span { font-size: .8rem; }
  .artist-languages { margin-inline-start: auto; }
  .artist-languages button { min-width: 58px; padding-inline: 8px; }
  .artist-intro { grid-template-columns: 1fr; padding-top: 30px; gap: 38px; }
  .artist-portrait-stage { max-width: 430px; width: calc(100% - 38px); margin-inline: auto; }
  .artist-intro-copy { max-width: 500px; }
  .artist-intro h1 { font-size: 2rem; }
  .artist-material-note { margin-top: 24px; }
  .artist-perspective { grid-template-columns: 1fr; gap: 8px; }
  .artist-process-panel { gap: 12px; padding: 16px; }
  .artist-process-panel > div { padding: 0; }
  .artist-process-tabs button { flex-direction: column; padding: 15px 8px; gap: 13px; font-size: .875rem; }
  .artist-step-mark { width: 23px; height: 23px; }
  .artist-process-panel { grid-template-columns: 1fr; }
  .artist-process-panel img { max-height: 370px; aspect-ratio: 1 / 1; }
  .artist-selected > header { align-items: start; flex-direction: column; gap: 5px; }
  .artist-works { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-works a:nth-child(2) { margin-top: 35px; }
  .artist-works a:last-child { grid-column: 1 / -1; width: 70%; margin: 14px auto 0; }
  .artist-works span { font-size: .8rem; line-height: 1.8; margin-top: 10px; }
  .artist-outro-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .artist-portrait-orbit { animation: none; } .artist-works img { transition: none; } }
