/* inner pages (studio, contact): the same grid, type and header as the scene, without the 3D */
:root { --sans: 'Onest'; --fg: #ecebe8; --mute: #8c8c8c; --line: #232323; --m: 32px; --ease: cubic-bezier(.7, 0, .2, 1); }
html { background: #000; }
body { margin: 0; color: var(--fg); font-family: var(--sans), sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible, button:focus-visible, a:focus-visible { outline: 1px solid var(--fg) !important; outline-offset: 4px; }
.mono { font: 400 10.5px/1.6 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.u:hover { background-size: 0 1px; }
.page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }

/* the page prints in through the halftone screen, as the case pages do on the scene */
@property --ht { syntax: '<length>'; inherits: false; initial-value: 0px; }
.page { --ht: 9px; animation: print-in 1s cubic-bezier(.5, 0, .2, 1); }
@keyframes print-in { from { --ht: 0px; -webkit-mask-image: radial-gradient(circle, #000 var(--ht), transparent calc(var(--ht) + .5px)); mask-image: radial-gradient(circle, #000 var(--ht), transparent calc(var(--ht) + .5px)); -webkit-mask-size: 12px 12px; mask-size: 12px 12px; }
  99.9% { -webkit-mask-image: radial-gradient(circle, #000 var(--ht), transparent calc(var(--ht) + .5px)); mask-image: radial-gradient(circle, #000 var(--ht), transparent calc(var(--ht) + .5px)); -webkit-mask-size: 12px 12px; mask-size: 12px 12px; } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } }

header { margin: 0 var(--m); height: 72px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.logo { grid-column: 1 / 4; font: 500 15px var(--sans); letter-spacing: -.01em; text-decoration: none; }
.logo span { color: var(--mute); }
.logo { display: flex; align-items: center; }
.logo .mk { margin-right: 10px; width: 22px; height: 15px; background: currentColor; -webkit-mask: url(mark.svg) center / contain no-repeat; mask: url(mark.svg) center / contain no-repeat; }
.tag { grid-column: 4 / 8; }
nav { grid-column: 9 / 13; justify-self: end; display: flex; gap: 32px; font: 400 13px var(--sans); }
nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
nav a:hover, nav a[aria-current] { background-size: 100% 1px; }

main { margin: 0 var(--m); }
.hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 14vh 0 10vh; border-bottom: 1px solid var(--line); }
.hero .mono { grid-column: 1 / -1; margin: 0 0 22px; }
.hero h1 { grid-column: 1 / -1; margin: 0; font: 300 clamp(56px, 9vw, 168px)/.9 var(--sans); letter-spacing: -.05em; }
.hero h1 i { display: block; font: italic 500 clamp(60px, 9.6vw, 176px)/1 'Cormorant Garamond', serif; letter-spacing: -.02em; }
.hero p.lead { grid-column: 1 / 8; margin: 6vh 0 0; font: italic 500 clamp(24px, 2.4vw, 38px)/1.25 'Cormorant Garamond', serif; }

section.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 8vh 0; border-bottom: 1px solid var(--line); }
section.row > h2 { grid-column: 1 / 4; margin: 0; }
section.row > .body { grid-column: 4 / 13; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 24px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list .no { color: var(--mute); }
.list b { font: 300 clamp(24px, 2.6vw, 40px)/1.1 var(--sans); letter-spacing: -.03em; font-weight: 300; }
.list a { text-decoration: none; display: contents; }
.list b { transition: transform .5s var(--ease); } .list a:hover b { transform: translateX(10px); } /* the row shifts; it doesn't swap typeface (no jump) */
.list span:last-child { color: #a8a8a8; font-size: 15px; line-height: 1.5; }

.cta { display: grid; gap: 18px; padding: 10vh 0; }
.cta a.big { width: fit-content; font: 300 clamp(44px, 6.4vw, 112px)/.95 var(--sans); letter-spacing: -.045em; text-decoration: none; }
.cta a.big i { font: italic 500 1.08em/1 'Cormorant Garamond', serif; letter-spacing: -.02em; }
.cta a.big:hover i { background: linear-gradient(currentColor, currentColor) 0 92% / 100% 2px no-repeat; }
ol.brief { margin: 0; padding: 0; list-style: none; counter-reset: b; }
ol.brief li { counter-increment: b; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.45; color: #cfcfcf; }
ol.brief li::before { content: counter(b, decimal-leading-zero); font: 400 10.5px/2.4 'JetBrains Mono', monospace; letter-spacing: .08em; color: var(--mute); }

/* studio: the studio's own system */
.sys h2 span { color: #7a7a7a; }
.sys-block { padding: 26px 0 34px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.sys-block:first-child { border-top: 0; padding-top: 0; }
.mark-build { margin: 0; position: relative; width: min(100%, 560px); }
.mark-build img { display: block; width: 100%; height: auto; }
.mark-build .box { position: relative; }
.mark-build svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #8a8a8a; stroke-width: 1.2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.mark-build svg line.st { stroke: var(--fg); stroke-dasharray: none; stroke-width: 2; }
.mark-build figcaption { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 30px; }
.spec { display: grid; gap: 6px; }
.spec b { font-weight: 300; color: var(--fg); }
.spec .s1 { font: 300 clamp(36px, 4.6vw, 72px)/1 var(--sans); letter-spacing: -.045em; }
.spec .s2 { font: italic 500 clamp(40px, 5vw, 80px)/1 'Cormorant Garamond', serif; letter-spacing: -.02em; }
.spec .s3 { font: 400 15px/1.6 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.sw-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sw-row div { display: grid; gap: 10px; }
.sw-row i { height: 88px; background: var(--c); box-shadow: inset 0 0 0 1px #2c2c2c; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 72px; }
.grid12 i { background: repeating-linear-gradient(to bottom, rgba(236,235,232,.08) 0 1px, transparent 1px 8px), #111; }
@media (max-width: 760px) { .sw-row { grid-template-columns: repeat(2, 1fr); } }

footer { margin: 0 var(--m); height: 64px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  :root { --m: 18px; }
  header { height: 56px; grid-template-columns: 1fr auto; } .tag { display: none; } .logo { grid-column: 1; } nav { grid-column: 2; gap: 18px; font-size: 12px; }
  .hero p.lead, section.row > h2, section.row > .body { grid-column: 1 / -1; } section.row > h2 { margin-bottom: 18px; }
  .list li { grid-template-columns: 40px 1fr; } .list li span:last-child { grid-column: 2; }
  ol.brief li { grid-template-columns: 40px 1fr; font-size: 16px; }
}
