/* Studio page (/studio/) — loaded only there. Tokens come from site.css. */

.st .st-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.st .st-head .eyebrow { margin-bottom: 16px; }
.st .st-head h2 { margin: 0; max-width: 18ch; }
.st .st-head p { max-width: 40ch; margin: 0; color: var(--graphite); font-size: 17px; line-height: 1.55; }
.st-more { flex: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.st-more:hover { color: var(--signal); }

/* Hero */
.st-hero { padding-top: clamp(64px, 9vw, 120px); }
.st-hero .eyebrow { margin-bottom: 28px; }
.st-hero__title { margin: 0; max-width: 11ch; font-size: clamp(52px, 9vw, 128px); font-weight: 300; line-height: .98; letter-spacing: -.045em; }
.st-hero__story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: clamp(36px, 5vw, 56px) 0 0 auto; }
.st-hero__story p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--graphite); }
.st-hero__art { margin: clamp(56px, 8vw, 96px) 0 0; height: clamp(320px, 62vw, 760px); overflow: hidden; }
.st-hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.st-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid var(--hairline); }
.st-facts > div { padding: clamp(28px, 4vw, 48px) 24px clamp(28px, 4vw, 44px) 0; border-right: 1px solid var(--hairline); }
.st-facts > div + div { padding-left: 24px; }
.st-facts > div:last-child { border-right: 0; }
.st-facts dt { font-size: clamp(48px, 6vw, 80px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.st-facts dd { margin: 14px 0 0; max-width: 24ch; color: var(--graphite); font-size: 15px; line-height: 1.45; }

/* Showreel */
.st-reel { margin-top: var(--section-y); padding: var(--section-y) 0; background: var(--ink); color: #fff; }
.st-reel .eyebrow { color: rgba(255,255,255,.6); }
.st-reel .st-head p { color: rgba(255,255,255,.66); }
.st-reel__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.st-reel__screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.st-reel__screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-reel.is-live .st-reel__screen video { cursor: pointer; }
.st-reel__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); }
.st-reel__bar i { display: block; height: 100%; width: 0; background: var(--signal); }
.st-reel__caption { display: flex; align-items: start; justify-content: space-between; gap: 32px; padding-top: 22px; }
.st-reel__caption b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.st-reel__caption p { margin: 8px 0 0; max-width: 60ch; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.55; }
.st-reel__caption a { flex: none; color: #fff; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.st-reel__caption a:hover { border-color: #fff; }
.st-reel__list { list-style: none; margin: 0; padding: 0; max-height: calc((min(100vw, 1280px) - 2 * var(--edge) - 328px) * 9 / 16); min-height: 320px; overflow-y: auto; border-top: 1px solid rgba(255,255,255,.14); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.st-reel__list button { display: grid; gap: 3px; width: 100%; padding: 12px 14px 12px 16px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); border-left: 2px solid transparent; background: none; color: rgba(255,255,255,.74); text-align: left; font: inherit; cursor: pointer; transition: color var(--dur-micro) var(--ease-standard), background var(--dur-micro) var(--ease-standard); }
.st-reel__list button span { font-size: 15px; }
.st-reel__list button small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.st-reel__list button:hover { color: #fff; background: rgba(255,255,255,.04); }
.st-reel__list button[aria-current="true"] { color: #fff; border-left-color: var(--signal); background: rgba(46,75,255,.14); }
.st-reel__list button:focus-visible { outline: 2px solid var(--signal-soft); outline-offset: -2px; }

/* Principles with proof */
.st-principles { border-top: 1px solid var(--ink); }
.st-principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--hairline); }
.st-principle__word span { font-family: var(--font-mono); font-size: 13px; color: var(--graphite); }
.st-principle__word h3 { margin: 0 0 18px; font-size: clamp(56px, 8vw, 112px); font-weight: 300; line-height: .95; letter-spacing: -.045em; }
.st-principle__word p { margin: 0; max-width: 36ch; font-size: 18px; line-height: 1.6; color: var(--graphite); }
.st-proof { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); color: var(--ink); text-decoration: none; overflow: hidden; }
.st-proof > * { min-width: 0; }
.st-proof__img { position: relative; min-height: 240px; overflow: hidden; }
.st-proof img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .8s var(--ease-reveal); }
.st-proof > div { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 32px); }
.st-proof b { font-size: clamp(52px, 6vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--signal); }
.st-proof span { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--graphite); }
.st-proof small { margin-top: auto; padding-top: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; }
.st-proof:hover img { transform: scale(1.04); }
.st-proof:hover small { color: var(--signal); }

/* Founder */
.st-founder .founder__photo { aspect-ratio: 4 / 5; }
.st-founder__pull { margin: 0 0 32px; font-size: clamp(26px, 3vw, 38px); font-weight: 300; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); max-width: 22ch; }

/* Working loop over a painting */
.st-loop { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.st-loop__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.st-loop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,14,.82) 0%, rgba(10,10,14,.55) 48%, rgba(10,10,14,.2) 100%); }
.st-loop__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; min-height: clamp(560px, 70vw, 820px); padding-top: var(--section-y); padding-bottom: var(--section-y); }
.st-loop__copy .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 16px; }
.st-loop__copy h2 { margin: 0; }
.st-loop__copy p { margin: 22px 0 0; max-width: 40ch; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; }
.st-loop__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: s; }
.st-loop__steps li { display: grid; gap: 8px; padding: 24px; min-height: 150px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.st-loop__steps span { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.65); }
.st-loop__steps b { margin-top: auto; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.st-loop__steps small { color: rgba(255,255,255,.75); font-size: 14px; }
.st-loop__steps li:last-child { background: var(--signal); border-color: var(--signal); }
.st-loop__steps li:last-child span, .st-loop__steps li:last-child small { color: rgba(255,255,255,.85); }

/* How we work */
.st-beliefs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.st-belief { padding: 28px 28px 8px 0; }
.st-belief + .st-belief { padding-left: 28px; border-left: 1px solid var(--hairline); }
.st-belief span { display: block; font-size: 64px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--signal); }
.st-belief h3 { margin: 28px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.st-belief p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--graphite); }

/* Client voices */
.st-voices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.st-voice { display: flex; flex-direction: column; margin: 0; padding: 28px; background: #fff; border: 1px solid var(--hairline); }
.st-voice blockquote { margin: 0 0 28px; font-size: 19px; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.st-voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.st-voice img { width: 48px; height: 48px; object-fit: cover; flex: none; }
.st-voice figcaption span { display: grid; gap: 2px; font-size: 13px; line-height: 1.35; color: var(--graphite); }
.st-voice figcaption b { color: var(--ink); font-size: 15px; font-weight: 500; }

/* Places */
.st-places { border-top: 1px solid var(--ink); }
.st-place { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.st-place h3 { margin: 0; font-size: clamp(36px, 4.6vw, 60px); font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.st-place > div { display: flex; flex-wrap: wrap; gap: 8px; }
.st-place a { padding: 8px 14px; border: 1px solid var(--hairline); color: var(--ink); font-size: 15px; text-decoration: none; transition: border-color var(--dur-micro) var(--ease-standard), color var(--dur-micro) var(--ease-standard); }
.st-place a:hover { border-color: var(--signal); color: var(--signal); }

@media (max-width: 1080px) {
  .st-reel__body { grid-template-columns: 1fr; }
  .st-reel__list { display: flex; max-height: none; min-height: 0; overflow-x: auto; border-top: 0; }
  .st-reel__list li { flex: none; }
  .st-reel__list button { border: 1px solid rgba(255,255,255,.14); border-bottom-width: 2px; margin-right: 8px; white-space: nowrap; }
  .st-reel__list button[aria-current="true"] { border-color: rgba(255,255,255,.14); border-bottom-color: var(--signal); }
  .st-voices { grid-template-columns: 1fr 1fr; }
  .st-beliefs { grid-template-columns: 1fr 1fr; }
  .st-belief:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .st .st-head { flex-direction: column; align-items: start; gap: 20px; }
  .st-hero__story { grid-template-columns: 1fr; gap: 20px; }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-facts > div:nth-child(2) { border-right: 0; }
  .st-facts > div:nth-child(3) { padding-left: 0; }
  .st-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .st-principle { grid-template-columns: 1fr; }
  .st-loop__inner { grid-template-columns: 1fr; }
  .st-place { grid-template-columns: 1fr; gap: 16px; }
  .st-reel__caption { flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  .st-proof { grid-template-columns: 1fr; }
  .st-proof__img { min-height: 0; aspect-ratio: 16 / 10; }
  .st-voices, .st-beliefs { grid-template-columns: 1fr; }
  .st-belief, .st-belief + .st-belief { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
  .st-loop__steps li { min-height: 120px; padding: 18px; }
  .st-facts dt { font-size: 44px; }
  .st-facts > div, .st-facts > div + div { padding: 24px 12px 24px 0; }
  .st-facts > div:nth-child(even) { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-proof img, .st-proof:hover img { transition: none; transform: none; }
}

/* Even line breaks: no one-word last lines, balanced headings. */
.st h1, .st h2, .st h3, .st blockquote { text-wrap: balance; }
.st p, .st dd, .st small { text-wrap: pretty; }
