@font-face {
    font-family: Geist;
    src: url('assets/geist.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap
}

@font-face {
    font-family: Estedad;
    src: url('assets/estedad.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap
}

:root {
    --bg: #f8f8f7;
    --paper: #fff;
    --text: #282928;
    --muted: #7a7b7d;
    --soft: #a1a1a3;
    --line: #e7e7e6;
    --blue: #2548ed;
    --blue-soft: #edf0ff;
    --surface: #f1f1f0;
    --glass: rgba(253,253,252,.8);
    --shadow: 0 18px 42px -24px #0004,0 4px 12px -6px #0002;
    --font: Geist,Arial,sans-serif;
    color-scheme: light
}

* {
    box-sizing: border-box
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    transition: background .3s,color .3s;
    min-width: 320px
}

html[lang=fa] {
    --font: Estedad,Geist,sans-serif
}

html[data-theme=dark] {
    --bg: #181919;
    --paper: #222323;
    --text: #eeeeea;
    --muted: #a0a29f;
    --soft: #737572;
    --line: #343635;
    --blue: #8d9fff;
    --blue-soft: #262d46;
    --surface: #232525;
    --glass: rgba(37,39,38,.84);
    --shadow: 0 18px 42px -20px #0009,0 4px 12px -6px #0008;
    color-scheme: dark
}

button,input,textarea,select {
    font: inherit
}

button,a,input,textarea {
    -webkit-tap-highlight-color: transparent
}

button,a {
    touch-action: manipulation
}

button {
    color: inherit;
    border: 0;
    background: none;
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button {
    padding: 0
}

button:disabled {
    cursor: default;
    opacity: .45
}

a,button,input,textarea,select {
    outline: none
}

a:focus-visible,button:focus-visible,select:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 5px;
    border-radius: 6px
}

::selection {
    background: #2548ed22;
    color: var(--blue)
}

svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 1.65;
    vertical-align: middle
}

button svg,a svg {
    pointer-events: none
}

p,h1,h2,h3 {
    margin: 0
}

h1,h2,h3 {
    font-weight: 450
}

button:disabled:hover {
    transform: none
}

img {
    display: block;
    max-width: 100%
}

.skip-link {
    position: fixed;
    top: -70px;
    left: 20px;
    background: var(--paper);
    padding: 14px;
    z-index: 100
}

.skip-link:focus {
    top: 15px
}

.masthead {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    position: relative;
    z-index: 20
}

.wordmark {
    font-size: 29px;
    letter-spacing: -1.8px;
    font-weight: 550;
    direction: ltr;
    line-height: 1
}

.wordmark span {
    color: var(--blue)
}

.control-dock {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 1px solid var(--line);
    background: var(--glass);
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 2px 3px #00000002,0 1px 0 #fff8 inset;
    direction: ltr
}

.control-dock button {
    width: 33px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: var(--muted);
    transition: color .2s,background .2s
}

.control-dock button:hover {
    color: var(--text);
    background: var(--surface)
}

.control-dock button.active {
    color: var(--text);
    background: var(--paper);
    box-shadow: 0 1px 4px #0000000b
}

.control-dock .language-button {
    font-size: 11px;
    font-weight: 500
}

.control-dock button[lang=fa] {
    font-family: Estedad;
    font-size: 12px
}

.theme-button svg {
    width: 15px;
    height: 15px
}

.control-divider {
    height: 13px;
    width: 1px;
    background: var(--line);
    margin: 0 4px
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted)
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6a9b79;
    box-shadow: 0 0 0 3px #6a9b790c
}

.availability:hover {
    color: var(--text)
}

main {
    min-height: calc(100svh - 112px)
}

.view {
    animation: appear .45s cubic-bezier(.2,.7,.3,1) both
}

.home-view {
    min-height: calc(100svh - 112px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(30px,6vh,80px) 24px 154px
}

.hero {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center
}

.portrait-wrap {
    width: 96px;
    height: 96px;
    position: relative;
    margin: 0 0 24px;
    border-radius: 50%;
    display: block
}

.portrait-wrap img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: center 35%;
    filter: grayscale(1);
    border-radius: 50%;
    transition: filter .5s,transform .5s;
    box-shadow: 0 0 0 5px var(--bg)
}

.portrait-wrap:hover img {
    filter: grayscale(0);
    transform: scale(1.035)
}

.orbit {
    position: absolute;
    inset: -16px -23px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transform: rotate(-32deg) scaleY(.75);
    transition: transform .8s
}

.portrait-wrap:hover .orbit {
    transform: rotate(0) scaleY(.85)
}

.portrait-dot {
    position: absolute;
    top: 0;
    right: -6px;
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg)
}

.hero-name {
    font-size: 17px;
    letter-spacing: -.3px;
    margin-bottom: 25px
}

.hero h1 {
    font-size: clamp(43px,5.2vw,73px);
    font-weight: 430;
    line-height: 1.1;
    letter-spacing: -3.9px
}

.blue-period {
    color: var(--blue)
}

.hero-description {
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 350;
    letter-spacing: .05px;
    line-height: 1.7
}

.ask-form {
    display: flex;
    align-items: center;
    width: min(100%,516px);
    min-height: 60px;
    border: 1px solid #d9dada;
    border-radius: 40px;
    background: linear-gradient(115deg,var(--paper),var(--bg));
    box-shadow: 0 2px 3px #00000002,0 1px 1px #fff8 inset;
    padding: 9px 10px 9px 21px;
    gap: 13px;
    transition: border-color .25s,box-shadow .25s
}

.hero .ask-form {
    margin-top: 40px
}

.ask-form:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px #2548ed09,0 6px 22px #00000004
}

.ask-form input {
    border: 0;
    background: transparent;
    min-width: 0;
    flex: 1;
    color: var(--text);
    font-size: 14px;
    padding: 8px 0;
    height: 38px;
    outline: 0
}

.ask-form input::placeholder {
    color: var(--muted);
    opacity: 1
}

.input-icon {
    display: flex;
    color: var(--muted)
}

.input-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.4
}

.send-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px #ffffff40,0 2px 6px #2548ed25;
    transition: transform .2s,box-shadow .2s
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #2548ed35
}

.send-button:active {
    transform: scale(.92)
}

.send-button svg {
    width: 18px;
    height: 18px
}

.hero-links {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 12px
}

.hero-links a {
    padding: 7px 0;
    transition: color .2s
}

.hero-links a:hover {
    color: var(--blue)
}

.hero-links a span {
    margin-inline-start:6px;display: inline-block;
    transition: transform .2s
}

.hero-links a:hover span {
    transform: translate(2px,-2px)
}

.hero-links i {
    height: 2px;
    width: 2px;
    border-radius: 50%;
    background: var(--soft)
}

.selected-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    font-size: 11px;
    color: var(--muted);
    margin-top: auto;
    padding-top: 65px;
    min-height: 95px
}

.selected-strip>span {
    font-size: 10px;
    color: var(--soft)
}

.selected-strip a {
    transition: color .2s
}

.selected-strip a:hover {
    color: var(--blue)
}

.navigation-dock {
    position: fixed;
    bottom: max(28px,env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 12px 8px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--glass);
    box-shadow: var(--shadow),inset 0 1px 1px #ffffff88;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 30;
    direction: ltr
}

.dock-item {
    width: 62px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 17px;
    position: relative;
    color: var(--muted);
    transition: background .2s,color .2s,transform .25s cubic-bezier(.2,.8,.2,1)
}

.dock-item svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.45;
    transition: transform .25s
}

.dock-item span {
    font-size: 10px;
    line-height: 1.3
}

.dock-item:hover {
    transform: translateY(-4px);
    color: var(--text);
    background: var(--paper)
}

.dock-item:hover svg {
    transform: scale(1.1)
}

.dock-item.active {
    color: var(--blue);
    background: var(--blue-soft)
}

.dock-item:active {
    transform: scale(.94)
}

.dock-divider {
    height: 24px;
    width: 1px;
    background: var(--line);
    margin: 0 3px
}

.dock-home {
    display: none
}

.toast {
    position: fixed;
    bottom: 126px;
    left: 50%;
    transform: translate(-50%,15px);
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s,transform .2s;
    z-index: 50;
    font-size: 12px;
    max-width: 90vw;
    text-align: center
}

.toast.visible {
    opacity: 1;
    transform: translate(-50%,0)
}

.content-view {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 30px 158px;
    min-height: calc(100svh - 112px)
}

.page-intro {
    margin-bottom: 38px
}

.eyebrow {
    color: var(--soft);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px
}

.eyebrow:before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--soft)
}

.page-title {
    font-size: 45px;
    line-height: 1.15;
    letter-spacing: -2px;
    font-weight: 450
}

.page-description {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    margin-top: 14px;
    max-width: 510px
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.project-card {
    display: block;
    border-radius: 20px;
    padding: 5px;
    transition: transform .3s,box-shadow .3s;
    border: 1px solid transparent
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--line);
    background: var(--paper);
    box-shadow: 0 14px 28px -20px #0004
}

.project-art {
    aspect-ratio: 1.18;
    border: 1px solid var(--line);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr
}

.project-art.rbcafe {
    background: #eeeae2;
    color: #423b31
}

.project-art.fitnet {
    background: #eeedf6;
    color: #302881
}

.project-art.myris {
    background: #e8edf0;
    color: #3a5a6a
}

.project-number {
    position: absolute;
    top: 14px;
    left: 15px;
    font-size: 9px;
    opacity: .4
}

.project-art-caption {
    position: absolute;
    bottom: 13px;
    left: 15px;
    font-size: 9px;
    opacity: .55;
    letter-spacing: .3px
}

.project-text {
    padding: 17px 5px 12px
}

.project-title-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px
}

.project-title-line h2 {
    font-size: 16px;
    font-weight: 500
}

.project-title-line svg {
    width: 14px;
    height: 14px;
    color: var(--soft)
}

.project-text p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.8
}

.project-meta {
    margin-top: 9px;
    font-size: 9px;
    color: var(--soft)
}

.receipt-stack {
    position: relative;
    width: 99px;
    height: 126px
}

.receipt {
    position: absolute;
    inset: 0;
    background: #fbfaf7;
    box-shadow: 0 5px 15px #51401e0d;
    border-radius: 4px 4px 0 0;
    padding: 16px 14px;
    transform: rotate(-8deg);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.receipt:after {
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg,#fbfaf7 25%,transparent 25%) -3px 0,linear-gradient(225deg,#fbfaf7 25%,transparent 25%) -3px 0;
    background-size: 6px 6px;
    content: ''
}

.receipt.back {
    transform: rotate(8deg) translateX(11px);
    background: #e5dfd2
}

.receipt strong {
    font-size: 17px;
    letter-spacing: -1px;
    font-weight: 500
}

.receipt b {
    height: 1px;
    background: #e6e1d7;
    margin: 2px 0
}

.receipt i {
    height: 3px;
    background: #ddd7ca;
    display: block;
    border-radius: 4px
}

.receipt i:nth-of-type(2) {
    width: 75%
}

.receipt i:nth-of-type(3) {
    width: 90%
}

.receipt em {
    align-self: flex-end;
    font-style: normal;
    margin-top: 8px;
    font-size: 8px;
    color: #89806d
}

.fitnet-symbol {
    width: 97px;
    height: 97px;
    border: 17px solid #27218a;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 30px -20px #170b9390;
    transform: rotate(-15deg)
}

.fitnet-symbol:after {
    content: '';
    position: absolute;
    right: -17px;
    bottom: -6px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #e36f2e;
    border: 5px solid #eeedf6
}

.fitnet-orbit {
    position: absolute;
    border: 1px solid #30288112;
    border-radius: 50%;
    width: 180px;
    height: 180px
}

.fitnet-orbit.second {
    width: 240px;
    height: 240px
}

.myris-symbol {
    display: flex;
    gap: 5px;
    align-items: center;
    transform: rotate(-12deg)
}

.myris-symbol i {
    width: 12px;
    border-radius: 20px;
    background: linear-gradient(#7697a8,#b3c9d1);
    height: 60px;
    box-shadow: 0 5px 8px #3a5a6a0d
}

.myris-symbol i:nth-child(2) {
    height: 105px
}

.myris-symbol i:nth-child(3) {
    height: 83px
}

.myris-symbol i:nth-child(4) {
    height: 48px
}

.work-footer {
    border-top: 1px solid var(--line);
    margin-top: 34px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    gap: 20px;
    line-height: 1.7
}

.text-link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    transition: color .2s
}

.text-link:hover {
    color: var(--blue)
}

.text-link svg {
    width: 14px;
    height: 14px
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 25px;
    padding: 4px 0
}

.back-button svg {
    width: 14px;
    height: 14px
}

.case-layout {
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 38px;
    align-items: start;
    margin-top: 25px
}

.case-layout .project-art {
    border-radius: 18px;
    aspect-ratio: 1
}

.case-lead {
    font-size: 19px;
    line-height: 1.8;
    letter-spacing: -.4px
}

.case-label {
    font-size: 10px;
    color: var(--soft);
    margin: 25px 0 9px
}

.case-body {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.95
}

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 20px
}

.tag {
    font-size: 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 8px;
    color: var(--muted)
}

.case-flow {
    display: flex;
    align-items: center;
    margin-top: 32px;
    padding: 22px 18px;
    background: var(--surface);
    border-radius: 13px;
    gap: 12px
}

.case-flow span {
    font-size: 11px;
    flex: 1;
    text-align: center
}

.case-flow svg {
    width: 15px;
    color: var(--soft)
}

.case-actions {
    display: flex;
    gap: 20px;
    margin-top: 26px
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 22px;
    padding: 11px 16px;
    transition: border-color .2s,transform .2s
}

.pill-button:hover {
    border-color: var(--blue);
    transform: translateY(-1px)
}

.pill-button.primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff
}

.pill-button svg {
    width: 15px;
    height: 15px
}

.about-view {
    max-width: 700px
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px
}

.about-intro img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(1)
}

.about-intro .eyebrow {
    margin-bottom: 9px
}

.about-intro h1 {
    font-size: 32px;
    letter-spacing: -1.4px
}

.about-copy {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: -.2px
}

.about-copy p+p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2
}

.about-copy a {
    border-bottom: 1px solid var(--line)
}

.about-details {
    margin-top: 30px;
    padding-top: 8px;
    border-top: 1px solid var(--line)
}

.detail-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 16px 0;
    font-size: 12px;
    line-height: 1.8
}

.detail-row>span:first-child {
    color: var(--soft);
    font-size: 11px
}

.detail-row>span:last-child {
    color: var(--muted)
}

.about-end {
    margin-top: 30px;
    display: flex;
    gap: 22px;
    font-size: 12px
}

.about-signature {
    font-family: Georgia,serif;
    font-style: italic;
    font-size: 28px;
    letter-spacing: -1.5px;
    margin-top: 30px;
    direction: ltr;
    opacity: .65
}

.chat-view {
    max-width: 700px;
    padding-top: 25px
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.chat-identity {
    display: flex;
    gap: 10px;
    align-items: center
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    filter: grayscale(1);
    object-fit: cover
}

.chat-identity strong {
    font-size: 12px;
    font-weight: 500
}

.chat-identity small {
    display: block;
    color: var(--soft);
    font-size: 9px;
    margin-top: 4px
}

.clear-chat {
    color: var(--soft);
    padding: 8px;
    border-radius: 10px
}

.clear-chat:hover {
    background: var(--surface);
    color: var(--text)
}

.clear-chat svg {
    width: 16px;
    height: 16px
}

.chat-welcome {
    padding: 28px 0 38px
}

.chat-welcome h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
    line-height: 1.3
}

.chat-welcome p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    margin-top: 14px;
    max-width: 380px
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 21px
}

.chat-suggestions button {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 9px 13px;
    background: var(--paper);
    font-size: 10px;
    color: var(--muted);
    transition: border-color .2s,color .2s
}

.chat-suggestions button:hover {
    border-color: var(--blue);
    color: var(--blue)
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.message {
    animation: appear .3s ease both
}

.message.user {
    align-self: flex-end;
    max-width: 85%;
    font-size: 12px;
    background: var(--surface);
    padding: 11px 16px;
    border-radius: 18px 18px 5px 18px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.message.assistant {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: 100%
}

.assistant-mark {
    background: var(--paper);
    border: 1px solid var(--line);
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    color: var(--blue);
    font-size: 11px;
    margin-top: 1px
}

.assistant-content {
    min-width: 0;
    flex: 1;
    font-size: 13px;
    line-height: 1.9
}

.assistant-content p+p {
    margin-top: 13px
}

.assistant-content strong {
    font-weight: 550
}

.answer-footnote {
    color: var(--soft);
    font-size: 9px;
    margin-top: 9px
}

.chat-project-links {
    display: grid;
    gap: 7px;
    margin-top: 16px
}

.chat-project-links a {
    border: 1px solid var(--line);
    padding: 13px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .2s
}

.chat-project-links a:hover {
    background: var(--surface)
}

.chat-project-links strong {
    font-size: 12px;
    display: block
}

.chat-project-links small {
    font-size: 10px;
    color: var(--muted)
}

.chat-project-links svg {
    width: 15px;
    height: 15px
}

.chat-composer {
    position: sticky;
    bottom: 112px;
    padding-top: 28px;
    padding-bottom: 8px;
    background: linear-gradient(transparent,var(--bg) 35%);
    margin-top: 23px
}

.chat-composer .ask-form {
    width: 100%;
    background: var(--paper)
}

.chat-disclosure {
    font-size: 9px;
    text-align: center;
    color: var(--soft);
    margin-top: 10px;
    line-height: 1.7
}

.chat-view.has-messages .chat-welcome {
    display: none
}

.contact-view {
    max-width: 630px;
    padding-top: 80px
}

.contact-view .page-title {
    font-size: 49px
}

.contact-links {
    display: grid;
    margin-top: 38px
}

.contact-link {
    display: flex;
    gap: 17px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 22px 0
}

.contact-link>svg:first-child {
    width: 22px;
    height: 22px;
    color: var(--muted)
}

.contact-link .link-copy {
    flex: 1
}

.contact-link strong {
    font-size: 14px;
    font-weight: 450;
    display: block
}

.contact-link small {
    font-size: 11px;
    color: var(--soft);
    margin-top: 5px;
    display: block;
    direction: ltr
}

.contact-link>svg:last-child {
    width: 17px;
    color: var(--soft);
    transition: transform .2s
}

.contact-link:hover>svg:last-child {
    transform: translate(3px,-3px);
    color: var(--blue)
}

.contact-note {
    margin-top: 27px;
    color: var(--muted);
    font-size: 11px;
    display: flex;
    gap: 9px;
    align-items: center;
    line-height: 1.8
}

.lab-view {
    max-width: 760px
}

.lab-panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    padding: 25px
}

.lab-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.lab-panel-head h2 {
    font-size: 14px
}

.lab-panel-head span {
    font-size: 10px;
    color: var(--soft)
}

.sort-bars {
    height: 160px;
    display: flex;
    gap: 5px;
    align-items: flex-end;
    padding: 20px 0 0;
    direction: ltr
}

.sort-bars i {
    flex: 1;
    background: var(--line);
    border-radius: 3px 3px 0 0;
    min-height: 5px;
    transition: height .2s,background .2s
}

.sort-bars i.current {
    background: var(--blue)
}

.sort-bars.sorted i {
    background: var(--blue);
    opacity: .65
}

.lab-controls {
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 20px;
    gap: 15px
}

.lab-controls select {
    background: var(--bg);
    color: var(--muted);
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    max-width: 50%;
    font-size: 11px
}

.lab-control-buttons {
    display: flex;
    gap: 9px
}

.lab-caption {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.9;
    margin-top: 20px
}

.lab-topics {
    display: flex;
    gap: 20px;
    margin-top: 22px;
    color: var(--soft);
    font-size: 10px
}

.noscript {
    max-width: 600px;
    margin: 20px auto 150px;
    line-height: 2
}

html[lang=fa] .hero h1 {
    font-size: clamp(35px,4.5vw,62px);
    letter-spacing: -2px;
    font-weight: 450;
    line-height: 1.5
}

html[lang=fa] .hero-name {
    font-size: 15px;
    letter-spacing: 0;
    margin-bottom: 16px
}

html[lang=fa] .hero-description {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0;
    margin-top: 10px
}

html[lang=fa] .hero-links {
    font-size: 11px
}

html[lang=fa] .ask-form {
    padding: 9px 21px 9px 10px
}

html[lang=fa] .ask-form input {
    font-size: 12px
}

html[lang=fa] .send-button svg {
    transform: rotate(180deg)
}

html[lang=fa] .page-title {
    font-size: 37px;
    letter-spacing: -1px;
    line-height: 1.7
}

html[lang=fa] .eyebrow {
    letter-spacing: 0;
    font-size: 10px
}

html[lang=fa] .page-description {
    font-size: 12px;
    line-height: 2.2
}

html[lang=fa] .case-lead {
    font-size: 17px;
    line-height: 2
}

html[lang=fa] .case-body,html[lang=fa] .assistant-content {
    font-size: 12px;
    line-height: 2.2
}

html[lang=fa] .about-copy {
    font-size: 15px;
    line-height: 2.2
}

html[lang=fa] .about-copy p+p {
    font-size: 12px;
    line-height: 2.3
}

html[lang=fa] .chat-welcome h1 {
    font-size: 27px;
    letter-spacing: -1px;
    line-height: 1.7
}

html[lang=fa] .back-button svg {
    transform: rotate(180deg)
}

html[lang=fa] .case-flow svg {
    transform: rotate(180deg)
}

html[lang=fa] .navigation-dock {
    direction: rtl
}

html[lang=fa] .dock-item span {
    font-size: 9px
}

html[lang=fa] .message.user {
    border-radius: 18px 18px 18px 5px
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(9px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(min-height: 850px) and (min-width:700px) {
    .home-view {
        padding-top:8vh;
        padding-bottom: 165px
    }

    .hero .ask-form {
        margin-top: 44px
    }

    .hero-name {
        margin-bottom: 29px
    }

    .hero-description {
        margin-top: 20px
    }

    .selected-strip {
        padding-top: 75px
    }
}

@media(min-height: 1100px) {
    .home-view {
        padding-top:13vh
    }

    .selected-strip {
        margin-top: 90px
    }
}

@media(max-width: 700px) {
    .masthead {
        height:90px;
        padding: 0 25px
    }

    .wordmark {
        font-size: 26px
    }

    .availability span:last-child {
        display: none
    }

    .availability {
        width: 24px;
        justify-content: center;
        padding: 10px 0
    }

    .control-dock {
        height: 37px
    }

    .control-dock button {
        height: 27px
    }

    .home-view {
        min-height: calc(100svh - 90px);
        padding: 51px 23px 140px
    }

    .hero h1 {
        font-size: clamp(37px,7.8vw,53px);
        letter-spacing: -2.2px
    }

    .hero-name {
        font-size: 15px;
        margin-bottom: 25px
    }

    .hero-description {
        font-size: 14px;
        max-width: 290px;
        line-height: 1.8;
        margin-top: 16px
    }

    .portrait-wrap,.portrait-wrap img {
        width: 82px;
        height: 82px
    }

    .portrait-wrap {
        margin-bottom: 24px
    }

    .orbit {
        inset: -13px -20px
    }

    .portrait-dot {
        right: -5px;
        top: -1px
    }

    .hero .ask-form {
        margin-top: 32px
    }

    .ask-form {
        min-height: 57px;
        padding: 7px 9px 7px 17px;
        gap: 11px
    }

    .ask-form input {
        font-size: 13px
    }

    .selected-strip {
        gap: 18px;
        font-size: 10px;
        padding-top: 42px;
        min-height: 80px;
        flex-wrap: wrap;
        row-gap: 13px;
        max-width: 350px
    }

    .selected-strip>span {
        width: 100%;
        text-align: center;
        font-size: 9px
    }

    .hero-links {
        gap: 17px;
        font-size: 11px;
        margin-top: 19px
    }

    .navigation-dock {
        bottom: max(18px,env(safe-area-inset-bottom));
        padding: 7px 9px;
        border-radius: 24px;
        gap: 3px
    }

    .dock-item {
        width: 55px;
        height: 54px;
        gap: 5px
    }

    .dock-item svg {
        width: 21px;
        height: 21px
    }

    .dock-item span {
        font-size: 9px
    }

    .dock-divider {
        margin: 0 2px
    }

    .content-view {
        padding: 30px 25px 135px;
        min-height: calc(100svh - 90px)
    }

    .page-title {
        font-size: 38px
    }

    .page-description {
        font-size: 13px
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .project-card {
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 18px;
        align-items: center;
        padding: 5px
    }

    .project-art {
        aspect-ratio: 1
    }

    .project-art-caption {
        font-size: 7px;
        left: 9px;
        bottom: 9px
    }

    .project-number {
        font-size: 7px;
        top: 9px;
        left: 9px
    }

    .project-text {
        padding: 8px 0
    }

    .project-title-line h2 {
        font-size: 15px
    }

    .project-title-line svg {
        margin-inline-end:5px}

    .receipt-stack {
        width: 61px;
        height: 79px
    }

    .receipt {
        padding: 9px;
        gap: 5px
    }

    .receipt strong {
        font-size: 12px
    }

    .receipt i {
        height: 2px
    }

    .receipt em {
        font-size: 6px;
        margin-top: 3px
    }

    .fitnet-symbol {
        width: 62px;
        height: 62px;
        border-width: 11px
    }

    .fitnet-symbol:after {
        width: 18px;
        height: 18px;
        right: -12px;
        bottom: -5px;
        border-width: 4px
    }

    .fitnet-orbit {
        width: 110px;
        height: 110px
    }

    .fitnet-orbit.second {
        width: 150px;
        height: 150px
    }

    .myris-symbol {
        gap: 4px;
        transform: scale(.7) rotate(-12deg)
    }

    .work-footer {
        font-size: 10px;
        margin-top: 25px;
        flex-direction: column;
        gap: 13px
    }

    .case-layout {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .case-layout .project-art {
        height: 180px;
        aspect-ratio: auto;
        grid-row: 1
    }

    .case-layout .project-art .receipt-stack {
        transform: scale(1.3)
    }

    .case-layout .project-art .fitnet-symbol {
        transform: scale(1.2) rotate(-15deg)
    }

    .case-lead {
        font-size: 18px
    }

    .case-body {
        font-size: 12px
    }

    .case-flow {
        padding: 20px 10px;
        gap: 7px
    }

    .case-flow span {
        font-size: 10px
    }

    .about-intro h1 {
        font-size: 28px
    }

    .about-copy {
        font-size: 16px
    }

    .about-copy p+p {
        font-size: 13px
    }

    .detail-row {
        grid-template-columns: 85px 1fr;
        font-size: 11px;
        gap: 10px
    }

    .detail-row>span:first-child {
        font-size: 10px
    }

    .chat-view {
        padding-top: 18px
    }

    .chat-welcome {
        padding: 30px 0
    }

    .chat-welcome h1 {
        font-size: 29px
    }

    .assistant-content {
        font-size: 12px
    }

    .message.user {
        font-size: 11px
    }

    .chat-composer {
        bottom: 98px
    }

    .chat-disclosure {
        font-size: 8px
    }

    .contact-view {
        padding-top: 55px
    }

    .contact-view .page-title {
        font-size: 41px
    }

    .lab-panel {
        padding: 20px 16px
    }

    .sort-bars {
        gap: 3px;
        height: 145px
    }

    .lab-controls {
        align-items: center;
        gap: 8px
    }

    .lab-control-buttons {
        gap: 6px
    }

    .lab-control-buttons .pill-button {
        padding: 9px 12px;
        font-size: 10px
    }

    .lab-topics {
        gap: 15px;
        flex-wrap: wrap
    }

    .toast {
        bottom: 110px
    }

    html[lang=fa] .hero h1 {
        font-size: 35px;
        letter-spacing: -1.4px
    }

    html[lang=fa] .hero-description {
        font-size: 12px;
        max-width: 290px
    }

    html[lang=fa] .hero-name {
        font-size: 14px
    }

    html[lang=fa] .hero-links {
        font-size: 10px
    }

    html[lang=fa] .page-title {
        font-size: 30px
    }

    html[lang=fa] .project-text p {
        font-size: 10px
    }

    html[lang=fa] .chat-welcome h1 {
        font-size: 24px
    }

    html[lang=fa] .ask-form {
        padding: 7px 17px 7px 9px
    }
}

@media(max-width: 370px) {
    .masthead {
        padding:0 20px
    }

    .navigation-dock {
        padding-inline:6px}

    .dock-item {
        width: 49px
    }

    .hero h1 {
        font-size: 35px
    }

    .hero-links {
        font-size: 10px;
        gap: 13px
    }

    .content-view {
        padding-inline:20px}

    .project-card {
        grid-template-columns: 110px 1fr;
        gap: 12px
    }

    .lab-controls {
        flex-wrap: wrap
    }

    .lab-controls select {
        max-width: 100%
    }

    html[lang=fa] .hero h1 {
        font-size: 31px
    }
}

.wordmark {
    font-family: Geist,Arial,sans-serif
}

.hero-links svg {
    width: 12px;
    height: 12px
}

.selected-strip a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    direction: ltr
}

.selected-strip svg {
    width: 11px;
    height: 11px
}

.chat-suggestions svg {
    width: 11px;
    height: 11px;
    margin-inline-start:4px}

.hero-links {
    font-size: 13px
}

.selected-strip {
    font-size: 12px
}

.selected-strip>span {
    font-size: 11px
}

.navigation-dock {
    gap: 7px;
    padding: 11px 15px 10px
}

.dock-item {
    width: 68px;
    height: 60px
}

.dock-item span {
    font-size: 11px
}

.ask-form input {
    font-size: 15px
}

.page-description {
    font-size: 15px
}

.project-text p {
    font-size: 12px
}

.project-meta {
    font-size: 10px
}

.work-footer {
    font-size: 12px
}

.availability {
    font-size: 12px
}

html[lang=fa] .hero-links {
    font-size: 12px
}

html[lang=fa] .ask-form input {
    font-size: 13px
}

html[lang=fa] .page-description {
    font-size: 13px
}

html[lang=fa] .project-text p {
    font-size: 11px
}

html[lang=fa] .dock-item span {
    font-size: 10px
}

.chat-suggestions button {
    line-height: 1.6
}

.contact-link small {
    direction: inherit
}

@media(max-width: 700px) {
    .navigation-dock {
        gap:3px;
        padding: 8px 10px
    }

    .dock-item {
        width: 55px;
        height: 54px
    }

    .dock-item span {
        font-size: 10px
    }

    .hero-links {
        font-size: 12px
    }

    .selected-strip {
        font-size: 11px
    }

    .selected-strip>span {
        font-size: 10px
    }

    .ask-form input {
        font-size: 16px
    }

    .work-footer {
        font-size: 11px
    }

    .page-description {
        font-size: 13px
    }

    html[lang=fa] .hero-links {
        font-size: 11px
    }

    html[lang=fa] .ask-form input {
        font-size: 16px
    }

    html[lang=fa] .dock-item span {
        font-size: 9px
    }
}

@media(max-width: 370px) {
    .navigation-dock {
        padding-inline:7px
    }

    .dock-item {
        width: 48px
    }

    .hero-links {
        font-size: 11px
    }

    html[lang=fa] .ask-form input {
        font-size: 16px
    }
}

html[data-theme=dark] .ask-form {
    border-color: #414442;
    box-shadow: 0 1px 1px #ffffff08 inset
}

html[data-theme=dark] .ask-form:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px #8d9fff0b
}

.message[lang=fa] {
    font-family: Estedad,Geist,sans-serif
}

.message[lang=en] {
    font-family: Geist,Arial,sans-serif
}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
        scroll-behavior: auto!important
    }
}
