/* Public studio pages share the reference board's compact panels and readable rhythm. */
.studio-layout {padding-block: 22px 56px; max-width: 1220px;}
.studio-layout :where(h1,h2,h3,p,figure,ul,ol) {margin:0;}
.studio-layout h1 {font-size:clamp(38px,4.4vw,67px);font-weight:650;line-height:1.12;letter-spacing:-.052em;text-wrap:balance;}
html[lang=fa] .studio-layout h1 {font-size:clamp(37px,4.2vw,60px);line-height:1.52;letter-spacing:-.025em;}
.studio-layout h2 {font-size:clamp(23px,2.25vw,32px);font-weight:650;line-height:1.35;}
.studio-layout h3 {font-size:clamp(17px,1.45vw,21px);font-weight:600;line-height:1.35;}
.studio-layout .section-heading {align-items:center;gap:12px;margin:0 0 16px;}
.studio-layout .section-heading h2 {margin:0;}
.studio-layout .button-row {display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0;}
.studio-layout .button {min-height:44px;padding:9px 19px;border-radius:12px;font-size:15px;}
.studio-layout .text-link {font-size:14px;}
.st-kicker {display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--green);margin-bottom:10px!important;}
.st-kicker>span {width:8px;height:8px;border-radius:50%;background:var(--accent-pressed);}
.st-deck {font-size:clamp(17px,1.5vw,21px);color:var(--muted);line-height:1.6;margin:12px 0 0!important;max-width:53ch;}
.studio-layout[dir=rtl] .st-deck,html[lang=fa] .st-deck {line-height:1.85;}
.st-hero {min-height:clamp(320px,30vw,408px);display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,5vw,80px);align-items:center;padding:16px clamp(2px,1.2vw,20px) 26px;}
.st-hero-art {position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;}
.st-hero-art::before {content:"";position:absolute;z-index:-1;inset:18% 12% 10% 11%;border-radius:26px;background:linear-gradient(125deg,var(--soft),var(--selected));}
.st-hero-art img {width:100%;max-width:540px;height:clamp(260px,26vw,360px);object-fit:contain;filter:drop-shadow(0 10px 13px #1c27181b);}
.st-hero-copy {min-width:0;}
.st-board {display:grid;grid-template-columns:1.05fr 1fr;gap:18px;}
.st-box {background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:clamp(16px,1.7vw,25px);min-width:0;}
.st-work-grid,.st-about-work {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.st-work-tile {min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;padding:8px;background:var(--bg);}
.st-work-tile:hover,.st-family:hover,.st-product-row:hover {border-color:var(--accent-pressed);}
.st-work-media {isolation:isolate;position:relative;text-align:center;display:grid;place-items:center;min-width:0;}
.st-work-media img {width:100%;height:clamp(106px,10.5vw,150px);object-fit:contain;max-width:100%;position:relative;}
.st-work-media.photo img {object-fit:cover;border-radius:10px;}
.st-work-media.cut::before,.st-family-media.cut::before {content:"";position:absolute;z-index:-1;inset:23% 14% 8%;background:linear-gradient(145deg,var(--soft),var(--selected));border-radius:12px;}
.st-work-caption {display:flex;justify-content:space-between;align-items:center;gap:5px;padding:9px 3px 0;}
.st-work-caption>.icon,.st-family-body>.icon {flex-shrink:0;width:17px;height:17px;color:var(--green);}
.st-work-tile small {padding:3px 3px 4px;color:var(--muted);font-size:13px;line-height:1.5;}
.st-icon {width:36px;height:36px;display:inline-grid;place-items:center;background:var(--selected);color:var(--green);border-radius:10px;flex-shrink:0;}
.st-icon>.icon {width:20px;height:20px;}
.st-service-shortcuts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.st-service-shortcuts>a {display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:start;padding:12px 10px;background:var(--bg);border:1px solid var(--line);border-radius:12px;position:relative;}
.st-service-shortcuts>a:hover,.st-choice a:hover,.st-app-links>a:hover,.st-options a:hover {background:var(--selected);}
.st-service-shortcuts>a>.icon {display:none;}
.st-service-shortcuts h3 {font-size:15.5px;}
.st-service-shortcuts p,.st-app-links p,.st-family p,.st-note p,.st-workflow p,.st-roles p,.st-options p {font-size:14px;line-height:1.65;margin:4px 0 0;}
.st-inline-band,.st-start,.st-product-status {display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--selected);border-radius:14px;padding:15px 18px;}
.st-inline-band {margin-top:12px;}
.st-inline-band .icon,.st-app-links>a>.icon,.st-options a>.icon,.st-choice a>.icon {width:18px;height:18px;flex-shrink:0;color:var(--green);}
.st-start,.st-product-status {margin:24px 0 0;border:1px solid var(--line);padding:clamp(18px,2.5vw,36px);border-radius:20px;}
.st-start .button {flex-shrink:0;}
.st-start p,.st-product-status p {margin:6px 0 0;}
.st-start .text-link {margin-top:6px;}
.st-process-box {margin-block:18px;}
.st-process {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0;}
.st-process li {display:flex;align-items:center;gap:10px;}
.st-process b,.st-process small {display:block;}
.st-process small {color:var(--muted);font-size:13px;line-height:1.45;}
.st-app-links>a {display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:10px 3px;}
.st-app-links>a>div {flex:1;min-width:0;}
.st-app-mini {width:46px;height:46px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;padding:5px;background:#fff;flex-shrink:0;}
.st-app-mini img {width:100%;height:34px;object-fit:contain;}
.st-note {display:grid;grid-template-columns:37% 1fr;gap:18px;align-items:center;}
.st-note img {width:100%;height:190px;object-fit:cover;border-radius:14px;}
.st-note .text-link {margin-top:14px;}
.st-intro,.st-split-intro {margin-block:20px 28px;}
.st-split-intro {display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:32px;}
.st-choice {display:grid;gap:8px;}
.st-choice a {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;}
.st-choice a:first-child {background:var(--selected);}
.st-service-photo {border-radius:20px;overflow:hidden;}
.st-service-photo img {width:100%;height:clamp(175px,22vw,310px);object-fit:cover;object-position:center 53%;}
.st-section {margin-block:clamp(26px,4vw,52px);}
.st-family-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.st-family {min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:9px;}
.st-family.is-current {background:var(--selected);border-color:var(--green);}
.st-family-media {isolation:isolate;position:relative;display:grid;place-items:center;min-width:0;}
.st-family-media img {width:100%;height:clamp(104px,10.5vw,150px);object-fit:contain;}
.st-family-media.photo img {object-fit:cover;border-radius:10px;}
.st-family-body {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 4px 3px;}
.st-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;}
.st-options a {display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:12px 3px;}
.st-options h3 {font-size:17px;}
.st-notice {display:inline-flex;align-items:center;gap:8px;padding:8px 12px;margin:16px 0 0!important;border-radius:10px;background:var(--soft);font-size:14px;}
.st-product-list>h2 {margin-bottom:14px;}
.st-product-row {margin-top:12px;display:grid;grid-template-columns:minmax(150px,22%) minmax(0,1fr);align-items:center;gap:clamp(18px,3vw,40px);padding:14px 20px;border:1px solid var(--line);border-radius:20px;background:var(--surface);}
.st-product-title {display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.st-product-title h3 {font-size:23px;}
.st-product-row .application-cover {--project-image-height:144px;max-width:100%;}
.st-product-row .application-logo {width:66px;height:43px;padding:4px 6px;}
.st-product-row p {margin:5px 0 0;}
.st-product-row .button-row {margin-top:10px;}
.st-product-hero,.st-about-hero {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(22px,5vw,70px);padding:14px 0 24px;}
.st-product-hero .application-cover {--project-image-height:clamp(200px,23vw,310px);}
.st-workflow,.st-roles,.st-about-work {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.st-workflow {list-style:none;padding:0;margin:16px 0 0!important;}
.st-workflow li,.st-roles article {padding:17px;background:var(--surface);border:1px solid var(--line);border-radius:14px;}
.st-workflow h3,.st-roles h3 {margin-top:10px;}
.st-lead {margin-top:7px!important;}
.st-about-hero {grid-template-columns:.85fr 1.15fr;}
.st-about-hero h1 {font-size:clamp(31px,3.4vw,52px);}
html[lang=fa] .st-about-hero h1 {font-size:clamp(30px,3.3vw,49px);}
.st-about-hero figure img {height:clamp(240px,27vw,380px);width:100%;object-fit:cover;border-radius:20px;}
.st-about-hero .button {margin-top:16px;}
.st-roles {grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;}
.st-section[id],.st-app-page [id],.st-box[id] {scroll-margin-top:110px;}
@media (max-width:950px) {
    .st-board {grid-template-columns:1fr 1fr;gap:12px;}
    .st-service-shortcuts>a {grid-template-columns:minmax(0,1fr);}
    .st-service-shortcuts .st-icon {display:none;}
    .st-work-grid {gap:8px;}
    .st-process li {align-items:flex-start;flex-direction:column;gap:5px;}
    .st-note {grid-template-columns:1fr;}
    .st-note img {height:125px;}
}
@media (max-width:760px) {
    .studio-layout {padding-block:16px 36px;}
    .st-hero,.st-about-hero,.st-product-hero,.st-split-intro {grid-template-columns:minmax(0,1fr);gap:14px;}
    .st-hero {min-height:0;padding:8px 0 18px;}
    .st-hero-art img {height:clamp(185px,49vw,275px);}
    .st-hero-art::before {inset-inline:20%;}
    .st-board {grid-template-columns:minmax(0,1fr);}
    .st-service-shortcuts>a {grid-template-columns:auto minmax(0,1fr);}
    .st-service-shortcuts .st-icon {display:grid;width:25px;height:25px;border-radius:6px;}
    .st-service-shortcuts .st-icon .icon {width:15px;height:15px;}
    .st-box {padding:15px;}
    .st-work-media img {height:clamp(105px,25vw,160px);}
    .st-process {grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px;}
    .st-note {grid-template-columns:35% 1fr;gap:12px;}
    .st-note img {height:145px;}
    .st-family-grid,.st-roles {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
    .st-family-body {padding:6px 1px 2px;}
    .st-family-body>.icon {display:none;}
    .st-family-media img {height:clamp(90px,21vw,150px);}
    .st-start,.st-product-status {align-items:flex-start;flex-direction:column;}
    .st-options {grid-template-columns:minmax(0,1fr);}
    .st-product-row {grid-template-columns:minmax(0,31%) minmax(0,1fr);padding:12px;gap:12px;}
    .st-product-row .application-cover {--project-image-height:98px;}
    .st-product-row .application-logo {width:45px;height:29px;}
    .st-product-row .button-row {gap:7px;}
    .st-product-row .button {font-size:13px;padding:7px 10px;}
    .st-product-title {gap:8px;}
    .st-product-title h3 {font-size:20px;}
    .st-product-hero .application-cover {--project-image-height:235px;}
    .st-workflow {grid-template-columns:minmax(0,1fr);gap:8px;}
    .st-workflow li {display:grid;grid-template-columns:auto 1fr;column-gap:12px;}
    .st-workflow .st-icon {grid-row:span 2;}
    .st-workflow h3 {margin:0;}
    .st-about-hero figure img {height:clamp(180px,50vw,280px);}
    .st-about-work {grid-template-columns:repeat(2,minmax(0,1fr));}
    .st-about-work .st-work-tile:last-child:nth-child(odd) {grid-column:1/-1;}
}
@media (max-width:420px) {
    .st-service-shortcuts>a {grid-template-columns:minmax(0,1fr);padding:9px;}
    .st-service-shortcuts .st-icon {display:none;}
    .st-work-caption h3,.st-family h3 {font-size:16px;}
    .st-work-caption .icon {display:none;}
    .studio-layout .section-heading .text-link {font-size:13px;}
    .st-product-row {grid-template-columns:minmax(0,1fr);}
    .st-product-row .application-cover {--project-image-height:132px;}
    .st-product-row .application-logo {width:62px;height:35px;}
    .st-product-title {justify-content:space-between;}
    .st-about-work {gap:8px;}
}
.st-service-index>summary {display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:44px;cursor:pointer;font-size:19px;font-weight:650;}
.st-service-index>summary::-webkit-details-marker {display:none;}
.st-service-index[open]>summary {margin-bottom:12px;}
.st-service-index[open]>summary .icon {transform:rotate(45deg);}
.st-service-example {position:relative;isolation:isolate;display:grid;justify-items:center;align-content:center;min-width:0;}
.st-service-example::before {content:"";position:absolute;z-index:-1;inset:18% 14% 12%;background:var(--selected);border-radius:18px;}
.st-service-example img {width:100%;height:clamp(170px,22vw,280px);object-fit:contain;}
.st-service-example span {display:flex;align-items:center;gap:8px;margin-top:7px;color:var(--green);font-size:14px;font-weight:550;}
.st-service-example span .icon {width:16px;height:16px;}
.st-specs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.st-specs article {background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:17px;}
.st-specs h2 {font-size:20px;}
.st-specs p {margin:8px 0 0;}
.st-specs .text-link {margin-top:12px;}
@media(max-width:760px){.st-specs {grid-template-columns:1fr;}}

/* The foreground is one transparent studio still life, with a smaller colour field behind it. */
.st-home-page .st-hero {
    grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
    gap:clamp(16px,3vw,40px);
    padding:8px 0 24px;
}
.st-home-page .st-hero-copy {padding-inline-start:clamp(0px,1.4vw,21px);}
.st-home-page .st-kicker {
    color:var(--muted);font-size:15px;font-weight:550;
    margin-bottom:14px!important;
}
.st-home-page .st-hero-copy h1 {max-width:13ch;}
.st-home-page .st-deck {max-width:45ch;font-size:clamp(17px,1.45vw,20px);}
.st-home-page .st-hero .button-row {align-items:center;gap:18px;row-gap:4px;}
.st-home-page .st-hero .text-link {min-height:44px;}
.st-home-page .st-hero .button,.st-start .button {border-radius:999px;}
.st-home-page .st-hero-art {min-height:0;}
.st-home-page .st-hero-art::before {
    inset:19% 12% 14% 14%;border-radius:clamp(18px,2.7vw,39px);
    background:linear-gradient(126deg,color-mix(in srgb,var(--accent),var(--soft) 66%),var(--selected) 80%);
}
.st-home-page .st-hero-art picture {position:relative;width:100%;display:grid;place-items:center;}
.st-home-page .st-hero-art picture img {
    display:block;width:100%;height:clamp(284px,28vw,377px);max-width:none;
    object-fit:contain;filter:none;
}
.st-home-page .st-work-grid {gap:12px;}
.st-home-page .st-work-tile {padding:8px 9px 9px;background:var(--surface);}
.st-home-page .st-work-media.cut::before {
    inset:24% 12% 11%;border-radius:11px;
    background:linear-gradient(128deg,var(--soft),var(--selected));
}
.st-home-page .st-work-media.cut img {height:clamp(115px,10.2vw,144px);width:100%;object-fit:contain;}
.st-home-page .st-work-caption {padding-top:8px;}
.st-home-page .st-work-caption h3 {font-size:clamp(17px,1.4vw,21px);}
.st-home-page .st-work-caption>.icon {
    display:block;border-radius:50%;background:var(--selected);padding:4px;width:23px;height:23px;
}
.st-home-page .st-work-tile small {font-size:14px;line-height:1.5;}
.st-home-page .st-box .section-heading h2 {font-size:clamp(21px,2vw,28px);}
.st-home-page .st-inline-band {margin-top:14px;gap:12px;background:var(--selected);}
.st-band-icon {width:38px;height:38px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex:none;}
.st-inline-band .st-band-icon .icon {height:20px;width:20px;}
.st-inline-band>span:nth-child(2) {flex:1;}
.st-inline-band small,.st-choice small {display:block;font-size:14px;line-height:1.5;color:var(--muted);margin-top:4px;}
.st-home-page .st-service-shortcuts>a {
    grid-template-columns:32px minmax(0,1fr);align-items:start;
    gap:9px;min-height:76px;padding:12px 8px;background:var(--surface);
}
.st-home-page .st-service-shortcuts .st-icon {display:grid;width:32px;height:32px;border-radius:9px;}
.st-home-page .st-service-shortcuts .st-icon .icon {width:18px;height:18px;}
.st-home-page .st-service-shortcuts h3 {font-size:16px;}
.st-home-page .st-service-shortcuts p {font-size:14px;line-height:1.52;}
.st-home-page .st-service-shortcuts>a:hover,.st-home-page .st-app-links>a:hover {
    background:var(--soft);border-color:var(--accent-pressed);
}
.st-home-page .st-app-links {display:grid;gap:8px;}
.st-home-page .st-app-links>a {
    border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:10px 12px;
}
.st-home-page .st-note {border-block:1px solid var(--line);padding-block:12px;}
.st-home-page .st-note img {height:186px;}
.st-services-page {max-width:1030px;}
.st-services-page .st-split-intro {margin-block:20px 23px;grid-template-columns:1.2fr 1fr;}
.st-services-page .st-split-intro h1 {font-size:clamp(35px,4vw,54px);}
.st-services-page .st-choice a {padding:12px 16px;}
.st-services-page .st-service-photo {position:relative;isolation:isolate;border-radius:20px 20px 14px 14px;}
.st-services-page .st-service-photo img {height:clamp(220px,26vw,335px);display:block;object-position:50% 53%;}
.st-services-page .st-service-photo::after {
    content:"";position:absolute;inset:20% 0 0;pointer-events:none;
    background:linear-gradient(to top,rgba(15,20,15,.85),rgba(15,20,15,.45) 40%,transparent);
}
.st-services-page .st-service-photo figcaption {
    position:absolute;z-index:1;inset-inline-start:clamp(18px,3vw,38px);inset-block-end:40px;
    display:grid;gap:5px;max-width:85%;color:white;
}
.st-services-page .st-service-photo figcaption strong {font-size:clamp(22px,2.6vw,36px);line-height:1.32;}
.st-services-page .st-service-photo figcaption span {font-size:15px;}
.st-services-page .st-spotlight {
    position:relative;z-index:1;margin:-22px 8px 0;
    padding:0;overflow:hidden;scroll-margin-top:105px;
}
.st-services-page .st-spot-head {
    display:flex;gap:12px;align-items:center;background:var(--selected);
    padding:15px clamp(13px,2vw,23px);
}
.st-services-page .st-spot-head h2 {font-size:clamp(19px,2vw,26px);}
.st-services-page .st-spot-head p {font-size:15px;margin-top:4px;}
.st-services-page .st-spot-head .st-icon {background:var(--surface);}
.st-services-page .st-spot-head .text-link {margin-inline-start:auto;flex-shrink:0;}
.st-services-page .st-spotlight .st-options {padding:4px 16px;}
.st-services-page .st-options h3 {font-size:16px;}
.st-services-page .st-spotlight .st-options a {padding:12px 0;}
.st-services-page .st-spotlight .st-options a:first-child {border-top:0;}
.st-services-page .st-family {padding:9px 10px 12px;}
.st-services-page .st-family-body {padding:8px 2px 0;}
.st-services-page .st-family-body h3 {font-size:clamp(17px,1.65vw,21px);}
.st-services-page .st-family-body>.icon {display:block;width:20px;height:20px;}
@media(min-width:761px) {
    .st-services-page .st-spotlight .st-options a:nth-child(2) {border-top:0;}
}
@media(min-width:761px) and (max-width:1040px) {
    .st-home-page .st-board {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
    .st-home-page .st-service-shortcuts>a {grid-template-columns:minmax(0,1fr);gap:6px;}
    .st-home-page .st-work-media.cut img {height:clamp(119px,15vw,153px);}
}
@media(max-width:760px) {
    .st-home-page .st-hero {grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 0 18px;}
    .st-home-page .st-hero-copy {padding:0;}
    .st-home-page .st-hero .st-kicker {margin-bottom:6px!important;}
    .st-home-page .st-hero-copy h1 {max-width:100%;}
    .st-home-page .st-hero-art picture img {height:clamp(195px,51vw,310px);}
    .st-home-page .st-work-grid {gap:8px;}
    .st-home-page .st-work-tile {padding:6px;}
    .st-home-page .st-work-media.cut img {height:clamp(96px,26vw,167px);}
    .st-services-page .st-split-intro {grid-template-columns:minmax(0,1fr);margin-block:6px 16px;}
    .st-services-page .st-service-photo img {height:clamp(204px,47vw,294px);}
    .st-services-page .st-spotlight {margin-inline:4px;margin-top:-17px;}
    .st-services-page .st-spot-head {flex-wrap:wrap;gap:8px;}
    .st-services-page .st-spot-head>div {flex:1;min-width:140px;}
    .st-services-page .st-spot-head .text-link {font-size:13px;}
    .st-services-page .st-spotlight .st-options {padding-inline:12px;}
    .st-home-page .st-note img {height:150px;}
}
@media(max-width:500px) {
    .st-home-page .st-service-shortcuts>a {grid-template-columns:minmax(0,1fr);gap:6px;padding:10px;}
    .st-home-page .st-service-shortcuts .st-icon {display:grid;}
    .st-home-page .st-work-caption>.icon {width:16px;height:16px;padding:2px;}
    .st-home-page .st-inline-band {padding:13px;}
    .st-services-page .st-family-body>.icon {display:none;}
}
@media(min-width:761px) and (max-width:900px) {
    .st-home-page .st-board {grid-template-columns:minmax(0,1fr);}
    .st-home-page .st-service-shortcuts {grid-template-columns:repeat(3,minmax(0,1fr));}
    .st-home-page .st-work-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
    .st-home-page .st-service-shortcuts>a {grid-template-columns:32px minmax(0,1fr);}
}
