:root { background: var(--surface); }
.studio-home {
  --paper: #f1efe7; --ink: #191a16; --night: #141512; --acid: #b7ff38;
  --bg: var(--surface); --text: var(--ink); --muted: #4c5047; --line: #8f9185; --accent: #34570d;
  --side: clamp(18px, 4.2vw, 88px);
  background: var(--surface); color: var(--ink); color-scheme: light;
}
.studio-home .poster-copy { line-height: 1.28; letter-spacing: -.024em; }
.studio-home ::selection { background: var(--acid); color: var(--ink); }
.studio-home .reading-progress { background: var(--ink); }
.mast-sign {
  display: inline-flex; width: fit-content; gap: .14em; align-items: baseline;
  font: 800 clamp(22px, 2.25vw, 38px)/1 var(--studio-sans); letter-spacing: -.085em;
}
.mast-sign span { font: italic 500 .98em/.93 var(--studio-serif); letter-spacing: -.085em; }
.studio-home .mast { --mast-height: clamp(66px, 8vw, 101px); position: relative; }
.studio-home .mast::after { content: ""; position: absolute; inset: auto var(--side) 0; height: 1px; background: #8f9185; }
.mast-meta { color: #45483e; font-size: clamp(12px, .84vw, 16px); font-weight: 450; }
.mast-contact, .inline-action, .work-url {
  display: inline-flex; width: fit-content; min-height: 44px; align-items: center; gap: .48em;
  font-size: clamp(14px, 1vw, 18px); font-weight: 550; letter-spacing: -.02em; line-height: 1.23;
}
.mast-contact { color: var(--ink); }
.mast-contact .roll { border-bottom: 1px solid; white-space: nowrap; }
.mast-nav { white-space: nowrap; }
.title-pair { display: inline-block; white-space: nowrap; }
.mast-contact .pill-arrow { color: inherit; }
.studio-home .mast-contact:focus-visible { color: var(--ink); background: transparent; }
.studio-home .mast-services:hover { color: #425a24; }
.studio-work, .directory { background: var(--night); color: var(--paper); }
.studio-work { padding-block: clamp(48px, 6.2vw, 114px) clamp(48px, 6.3vw, 120px); }
.studio-expertise { padding-block: clamp(59px, 7vw, 126px); }
.chapter-title, .process h2.chapter-title {
  font: 560 clamp(44px, 6.35vw, 126px)/1.01 var(--studio-sans);
  letter-spacing: -.056em; text-wrap: balance; text-transform: none; color: inherit; margin: 0;
}
.chapter-title em { font: italic 500 1.04em/1 var(--studio-serif); letter-spacing: -.056em; }
.chapter-title sup {
  display: inline-block; vertical-align: top; margin: .46em 0 0 .55em;
  font: 500 clamp(12px, 1vw, 18px)/1.15 ui-monospace, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: .015em;
}
.work-head { padding-bottom: clamp(38px, 5.7vw, 114px); }
.chapter-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18ch, .55fr); gap: 5vw;
  align-items: end; padding-bottom: clamp(32px, 4vw, 80px);
}
.chapter-head > p { max-width: 32ch; font-size: clamp(16px, 1.2vw, 22px); line-height: 1.45; letter-spacing: -.014em; text-wrap: pretty; }
.work-card { padding: clamp(20px, 2.8vw, 54px) 0 clamp(9px, 1.2vw, 24px); scroll-margin-top: 12px; }
.motion-row { --rule: #878a7d; position: relative; min-width: 0; border-top: 1px solid var(--rule); }
.motion-row::before {
  content: ""; position: absolute; pointer-events: none; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--rule-ink, #ecede3); transform-origin: left;
  transform: scaleX(var(--rule-progress, 0));
}
.motion-row[data-direction="-1"]::before { transform-origin: right; }
.work-list { border-bottom: 1px solid #878a7d; }
.rail-stage { display: flex; align-items: center; min-width: 0; width: 100%; }
.motion-row[data-direction="-1"] .rail-stage { justify-content: flex-end; }
.rail-type { flex: none; width: max-content; max-width: 100%; }
.motion-row.has-rail .rail-stage { justify-content: flex-start; }
.motion-row.has-rail .rail-type { transform: translate3d(var(--rail-x, 0px), 0, 0); }
.work-caption {
  display: flex; align-items: baseline; flex-wrap: nowrap; gap: clamp(14px, 2.7vw, 62px);
}
.work-caption h3 {
  margin: 0; white-space: nowrap; font: 400 clamp(70px, 9.4vw, 185px)/.98 Poster,Impact,sans-serif;
  letter-spacing: -.032em; text-transform: uppercase;
}
.work-kind {
  display: inline-flex; align-items: baseline; gap: .27em;
  color: #b7baa9; font: italic 500 clamp(24px, 3.5vw, 76px)/1.05 var(--studio-serif); letter-spacing: -.064em;
}
.work-kind::before { content: "—"; }
.work-foot {
  display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1.12fr) minmax(0, .66fr);
  align-items: baseline; gap: clamp(20px, 3.5vw, 85px); padding-top: clamp(12px, 1.6vw, 32px);
}
.work-foot p, .skill-link p, .dir-info p { margin: 0; font-size: clamp(16px, 1.13vw, 21px); line-height: 1.46; letter-spacing: -.012em; text-wrap: pretty; }
.work-foot p { color: #caccc0; max-width: 52ch; }
.work-foot p a { text-decoration: underline; text-underline-offset: .18em; }
.work-foot p a:is(:hover, :focus-visible) { color: var(--acid); }
.work-inquire { justify-self: end; color: var(--acid); }
.work-url { color: #d9dbcf; font-weight: 400; }
.inline-action:is(:hover,:focus-visible), .work-url:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: .23em; }
.work-link:focus-visible, .studio-work :where(a):focus-visible, .directory a:focus-visible { outline-color: var(--acid); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  @media (hover:hover) and (forced-colors:none) {
    .work-caption h3 {
      background: linear-gradient(to bottom,var(--paper) 0 50%,var(--acid) 50% 100%) 0 0 / 100% 200%;
      background-clip: text; -webkit-background-clip: text; color: transparent;
    }
    .work-link:is(:hover,:focus-visible) h3 { background-position: 0 100%; }
  }
}
.skill-index { border-bottom: 1px solid #85897b; }
.skill-link, .dir-row {
  display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0,.84fr) auto;
  align-items: center; gap: 4vw; padding-block: clamp(21px, 2.5vw, 50px);
}
.skill-link { --rule: #92958a; --rule-ink: #292d20; }
.skill-link .rail-type, .format-stage .rail-type {
  margin: 0; font: 600 clamp(44px, 5.1vw, 106px)/1.08 PosterCyr,"Arial Narrow",sans-serif;
  letter-spacing: -.032em;
}
.skill-link p { max-width: 38ch; color: #51544b; }
.skill-arrow { font: 400 clamp(22px,2.15vw,45px)/1 Arial,sans-serif; }
.skill-link:is(:hover,:focus-visible) .rail-type { color: #365b13; }
.studio-home .process { align-items: start; padding-block: clamp(65px, 8vw, 150px); }
.studio-home .process h2 { max-width: 8ch; }
.studio-home .steps summary { font-weight: 500; }
.studio-home .steps details[open] summary { color: #365b13; }
.studio-home .steps .plus, .studio-home .steps details[open] .plus { border: 0; background: none; color: var(--ink); }
.studio-home .contact { background: var(--acid); color: var(--ink); }
.studio-home .contact h2>a { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .work-caption h3 { transition: background-position .27s cubic-bezier(.28,.11,.19,1); }
}
@media (max-width: 760px) {
  .work-foot { grid-template-columns: auto 1fr; gap: 0 18px; }
  .work-foot p { grid-column: 1/-1; grid-row: 1; padding-bottom: 3px; max-width: 53ch; }
  .work-inquire { text-align: right; }
  .skill-link, .dir-row { gap: 2.7vw; }
  .chapter-head { grid-template-columns: 1fr; gap: 13px; }
  .process h2.chapter-title { margin-bottom: 22px; }
}
@media (max-width: 620px) {
  .mast-offer { display: none; }
  .mast-nav { gap: clamp(12px, 4vw, 20px); }
  .mast-contact, .mast-services { font-size: 13px; }
  .chapter-title, .process h2.chapter-title { font-size: clamp(37px, 8.7vw, 62px); }
  .chapter-title sup { margin-left:.4em; }
  .work-head { padding-bottom: 25px; }
  .work-caption { display: grid; gap: 2px; }
  .work-caption h3 { font-size: clamp(56px, 13.6vw, 88px); }
  .work-kind { font-size: clamp(22px, 5.6vw, 34px); }
  .work-foot { padding-top: 13px; }
  .work-foot p { font-size: 16px; }
  .work-inquire,.work-url { font-size: 13px; }
  .work-card { padding-top: 19px; }
  .skill-link { grid-template-columns: minmax(0,1fr) auto; gap: 7px 9px; }
  .skill-link .skill-stage { grid-column: 1; }
  .skill-link p { grid-column: 1/-1; grid-row: 2; }
  .skill-link .skill-arrow { grid-column: 2; grid-row: 1; }
  .skill-link .rail-type,.format-stage .rail-type { font-size: clamp(36px,8.7vw,53px); }
}
@media (max-width:360px) {
  .work-foot { column-gap: 9px; }
  .work-inquire { max-width: 16ch; }
  .studio-home .contact h2 { font-size: 10.2vw; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: 100%; }
  .marquee-unit { white-space: normal; min-width: 0; width: 100%; padding-inline: .035em; }
  .marquee-unit + .marquee-unit { display: none; }
}
