/* Full-screen opening morphs into the narrow horizontal media strip. */
.training-ascii { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.training-ascii canvas { display: block; width: 100%; height: 100%; }
body[data-page='home'] .training-ascii { clip-path: inset(var(--about-clip-top,100vh) 0 0); }
body[data-page='home'] #main { position: relative; z-index: 1; }
body[data-page='home'] .nav { z-index: 5; }
.opening { height: 200svh; position: relative; z-index: 1; }
.opening__pin { position: sticky; top: 0; height: 100svh; }
.opening__media { position: absolute; inset: 0 0 auto; height: 100svh; overflow: hidden; will-change: height; }
#hero-cubes-wrap { position: absolute; inset: 0 0 auto; height: 100svh; background-color: #acadb1; background-image: linear-gradient(#575c6433 1px,transparent 1px),linear-gradient(90deg,#575c6433 1px,transparent 1px); background-size: 64px 64px; }
#hero-cubes-wrap canvas { display: block; width: 100%; height: 100%; }
.opening__intro { mix-blend-mode: difference; }
@media (min-width:1194px) {
 body[data-page='home']:not([data-scrolled]) .nav { mix-blend-mode: difference; }
}
.opening__title { position: absolute; bottom: 24px; left: 28px; font: 300 3rem/1 var(--font-condensed); letter-spacing: -.01em; }
.opening__title h1 span { display: block; color: #989898; }
.opening__intro { position: absolute; top: calc((100vw - 16px) * 216 / 1496 + 48px); left: 28px; width: calc((100% - 56px) / 2); font: 300 2.375rem/1.1 var(--font-condensed); letter-spacing: -.01em; visibility: hidden; will-change: transform; }
.opening__intro-line { display: block; overflow: hidden; }
.opening__intro-line-inner { display: block; transform: translateY(var(--line-y,100%)); will-change: transform; }
/* Services: three glass cards echo the training format articles. */
.services { position: relative; isolation: isolate; overflow: hidden; margin: 0 28px; padding: 24px 0 136px; }
.services__head { display: grid; grid-template-columns: 24% 1fr; gap: 16px; margin-bottom: 64px; }
.services__head { position: relative; z-index: 1; }
.services__head > p { color: var(--muted); font: .6875rem/1.25 var(--font-mono); text-transform: uppercase; }
.services__head h2 { font: 300 clamp(3rem,5.4vw,6rem)/.95 var(--font-condensed); letter-spacing: -.02em; }
.services__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.services__grid article { --glow-x: 50%; --glow-y: 50%; position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 20px; background: rgb(20 20 20 / 24%); border: 1px solid rgb(255 255 255 / 10%); border-radius: 4px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.services__grid[data-reveal-ready] article { opacity: 0; transform: translateY(48px); transition: opacity 650ms ease, transform 650ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.services__grid[data-reveal-ready] article.is-visible { opacity: 1; transform: translateY(0); }
.services__grid article::before { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--glow-x) var(--glow-y),rgb(0 0 255 / 28%),transparent 72%); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.services__grid article::after { content: ''; position: absolute; inset: -2px; z-index: 2; padding: 1px; border-radius: 6px; background: radial-gradient(145px circle at calc(var(--glow-x) + 2px) calc(var(--glow-y) + 2px),rgb(108 131 255 / 98%) 0,rgb(87 111 255 / 72%) 35%,rgb(66 92 255 / 20%) 62%,transparent 77%); -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite: exclude; filter: drop-shadow(0 0 4px rgb(70 94 255 / 38%)); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.services__grid article > * { position: relative; z-index: 1; }
.services__grid article > span { font: .6875rem/1 var(--font-mono); color: var(--muted); }
.services__grid h3 { margin-top: 36px; font: 300 clamp(2rem,3.25vw,3.7rem)/1 var(--font-condensed); }
.services__grid ul { margin: auto 0 0; padding: 24px 0 0; list-style: none; }
.services__grid li { display: flex; gap: 8px; padding: 0 0 9px; color: var(--muted); line-height: 1.25; }
.services__grid li > span { width: 14px; flex: 0 0 14px; color: var(--white); }
/* Featured projects use the same 6 / 10 column proportions as the reference. */
.work { position: relative; padding: 0 16px 160px; }
.work__layout { display: grid; grid-template-columns: repeat(16,minmax(0,1fr)); gap: 8px; }
.work__sidebar { grid-column: span 6; min-width: 0; }
.work__pin { position: sticky; top: 0; height: 100svh; margin-top: -100svh; padding: 30svh 12px 24px; display: flex; flex-direction: column; }
.work__title,.work__name { font: 300 2.375rem/1.1 var(--font-condensed); letter-spacing: -.01em; }
.work__names { position: relative; overflow: hidden; min-height: 2.75rem; }
.work__name { transition: transform 333ms cubic-bezier(0,0,0,1); color: #989898; }
.work__name + .work__name { position: absolute; inset: 0; }
.work__details { margin-top: auto; display: grid; }
.work__detail { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 48px; transition: opacity 167ms linear; }
.work__description { max-width: 66.667%; font-size: 1rem; line-height: 1.25; color: #989898; }
.work__summary { display: flex; align-items: center; gap: 16px; }
.work__summary img { width: 40px; height: 40px; object-fit: cover; border-radius: 2px; }
.work__summary > span { display: flex; flex-direction: column; gap: 6px; }
.work__line { font-size: 0.875rem; line-height: 1.25; }
.work__meta { font: 0.5625rem/1 var(--font-mono); text-transform: uppercase; color: #989898; }
.work__list { grid-column: span 10; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.project { display: block; transition: opacity 167ms linear; }
.project__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #141414; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__caption { display: none; }
.work__all { display: flex; align-items: flex-end; justify-content: flex-end; aspect-ratio: 922 / 168; padding: 36px; border-radius: 6px; background: rgb(255 255 255 / .1); }
.work__mobile-all { display: none; }
.work[data-work-ready] .work__pin { opacity: var(--work-opacity,0); }
.work[data-work-ready] .work__name { transform: translateY(100%); }
.work[data-work-ready] .work__name[data-active] { transform: translateY(0); }
.work[data-work-ready] .work__name[data-before] { transform: translateY(-100%); }
.work__name:not(:first-child),.work__detail:not(:first-child) { visibility: hidden; }
.work[data-work-ready] .work__name { visibility: visible; }
.work[data-work-ready] .work__detail { visibility: hidden; opacity: 0; pointer-events: none; }
.work[data-work-ready] .work__detail[data-active] { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 333ms; }
.work[data-work-ready] .project { opacity: .2; }
.work[data-work-ready] .project[data-active],.work[data-work-ready] .project:focus-visible { opacity: 1; }
/* About: editorial introduction followed by a continuous client logo rail. */
.about { padding: 0 0 148px; overflow: hidden; }
.about__intro { margin: 0 28px; padding-top: 26px; border-top: 1px solid var(--rule); }
.about__eyebrow { display: block; color: var(--muted); margin-bottom: 48px; }
.about__heading h2 { max-width: 19ch; font: 300 clamp(3rem,5.7vw,6.5rem)/.98 var(--font-condensed); letter-spacing: -.025em; }
.about__title-line { display: block; overflow: hidden; }
.about__title-line-inner { display: block; transform: translateY(var(--line-y,100%)); will-change: transform; }
.about__story { display: grid; grid-template-columns: repeat(16,minmax(0,1fr)); gap: 8px; align-items: center; margin-top: 88px; }
.about__portrait { grid-column: 1 / 6; width: 100%; max-width: 360px; }
.about__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.about__portrait figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font: .6875rem/1.3 var(--font-mono); text-transform: uppercase; }
.about__portrait figcaption span:last-child { color: var(--muted); text-align: right; }
.about__copy { grid-column: 7 / 17; max-width: 62ch; }
.about__copy p { color: var(--muted); font-size: clamp(1rem,1.35vw,1.375rem); line-height: 1.4; }
.about__copy p + p { margin-top: 24px; }
.about__copy .about__lead { color: var(--white); font: 300 clamp(1.75rem,2.6vw,3rem)/1.12 var(--font-condensed); letter-spacing: -.01em; }
.studio-news { padding: 96px 28px 148px; }
.studio-news__head { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding: 24px 0 36px; font: 0.6875rem/1 var(--font-mono); text-transform: uppercase; }
.studio-news__head > div { display: flex; gap: 8px; }
.studio-news__grid { display: flex; gap: 12px; }
.news-card { flex: 1; min-width: 0; transition: flex 500ms var(--ease-out); }
.news-card:first-child { flex: 7; }
.news-card:nth-child(2) { flex: 7; }
.studio-news__grid:has(.news-card:hover) .news-card { flex: 1; }
.studio-news__grid .news-card:hover { flex: 7; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; margin-bottom: 12px; }
.news-card h3 { padding-right: 12px; }
.news-card__description { font-size: 0.875rem; color: #989898; margin-top: 6px; max-width: 46ch; }
.news-card:last-child:not(:hover) .news-card__description { display: none; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; align-items: center; font: 0.6875rem/1.2 var(--font-mono); color: #989898; }
.news-card__meta span:first-child { padding: 8px; background: #ffffff1a; color: white; border-radius: 2px; }
@media(max-width:1193px) {
 .opening__title { bottom: 92px; left: 16px; }
 .opening__intro { left: 16px; width: calc(100% - 32px); top: calc((100vw - 16px) * 250 / 377 + 56px); }
 .work { padding-bottom: 64px; }
 .services { margin: 0 16px; padding: 24px 0 80px; }
 .services__head { grid-template-columns: 1fr 2fr; margin-bottom: 38px; }
 .services__head h2 { font-size: clamp(2.8rem,8vw,4.5rem); }
 .services__grid article { min-height: 440px; }
 .services__grid h3 { font-size: clamp(2rem,5vw,3rem); }
 .work__layout { display: block; }
 .work__pin { position: static; height: auto; margin: 0; padding: 0 0 32px; opacity: 1 !important; }
 .work__title { font-size: 1.625rem; line-height: 1.2; }
 .work__names,.work__details { display: none; }
 .work__list { gap: 24px; }
 .project__caption { display: block; position: relative; padding: 14px 20px 4px 0; font-size: 0.9375rem; line-height: 1.25; }
 .project__caption h3 { font-size: inherit; }
 .project__caption p { color: #989898; }
 .project__caption > span { position: absolute; top: 14px; right: 0; }
 .work[data-work-ready] .project { opacity: 1; }
 .work__all { display: none; }
 .work__mobile-all { display: inline-flex; margin-top: 24px; }
 .about { padding-bottom: 80px; }
 .about__intro { margin: 0 16px; }
 .about__story { margin-top: 64px; }
 .about__portrait { grid-column: 1 / 8; }
 .about__copy { grid-column: 9 / 17; }
 .studio-news { padding: 24px 16px 64px; }
 .studio-news__head { border: 0; padding: 0 0 24px; }
 .studio-news__head > div { display: block; font: 300 1.625rem/1.2 var(--font-condensed); text-transform: none; }
 .studio-news__grid { display: block; }
 .news-card { display: block; }
 .news-card + .news-card { display: grid; grid-template-columns: 60px 1fr; gap: 16px; border-top: 1px solid var(--rule); padding: 12px 0; align-items: center; }
 .news-card:first-child { padding-bottom: 24px; }
 .news-card + .news-card img { aspect-ratio: 5 / 4; margin: 0; }
 .news-card + .news-card .news-card__description,.news-card + .news-card .news-card__meta { display: none; }
}
@media(hover:hover) and (pointer:fine) {
 .services__grid article:hover { z-index: 2; }
 .services__grid article:hover::before,.services__grid article:hover::after { opacity: 1; }
}
@media(max-width:833px) {
 .opening__title { font-size: 2.25rem; }
 .opening__intro { font-size: 1.625rem; line-height: 1.2; }
 .project__media { aspect-ratio: 4 / 3; border-radius: 3px; }
 .services__head { display: block; }
 .services__head h2 { margin-top: 24px; }
 .services__grid { grid-template-columns: 1fr; }
 .services__grid article { min-height: 360px; }
 .services__grid[data-reveal-ready] article { transition-delay: 0ms; }
 .about__eyebrow { margin-bottom: 32px; }
 .about__heading h2 { font-size: clamp(2.5rem,9vw,4.5rem); }
 .about__story { display: block; margin-top: 48px; }
 .about__portrait { max-width: 460px; }
 .about__portrait img { aspect-ratio: 4 / 3; object-position: center 32%; }
 .about__copy { max-width: none; margin-top: 48px; padding-bottom: 0; }
}
@media(prefers-reduced-motion:reduce) {
 .opening { height: auto; }
 .opening__pin { position: relative; height: auto; }
 .opening__media { position: relative; height: 100svh; }
 .opening__title { top: calc(100svh - 140px); bottom: auto; }
 .opening__intro { position: static; opacity: 1; visibility: visible; padding: 48px 16px 96px; width: min(800px,100%); }
 .opening__intro-line-inner { transform: none; }
 .about__title-line-inner { transform: none; }
 .work__pin { margin-top: 0; opacity: 1 !important; }
}


html:not(.js) .opening { height: auto; }
html:not(.js) .opening__pin { position: relative; height: auto; }
html:not(.js) .opening__media { position: relative; height: 100svh; }
html:not(.js) .opening__title { top: calc(100svh - 140px); bottom: auto; }
html:not(.js) .opening__intro { position: static; opacity: 1; visibility: visible; padding: 48px 16px 96px; width: min(800px,100%); }
html:not(.js) .about__title-line-inner { transform: none; }
html:not(.js) .work__pin { margin-top: 0; }
.opening__title { mix-blend-mode: exclusion; }
