@font-face {
  font-family: 'IBM Plex Mono';
  src: url('./lab-assets/IBMPlexMono-Regular-Cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F,U+0462-0463,U+046A-046B,U+0472-0475,U+0490-04C2,U+04CF-04D9,U+04DC-04E9,U+04EE-04F9,U+0524-0525;
}
:root { --font-primary: 'PPSupplyMono', 'IBM Plex Mono', 'Courier New', monospace; }
body { width: 100%; height: auto; }
main { display: flow-root; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 1px solid #f8f5f2; outline-offset: 6px; }
.language-switch { position: fixed; top: 29px; right: 32px; z-index: 2101; display: flex; align-items: center; gap: 9px; letter-spacing: .08em; font-size: 12px; }
.language-switch [data-lang] { background: none; color: rgba(245,245,245,.45); border: 0; cursor: pointer; padding: 4px 2px; min-height: 24px; }
.language-switch [data-lang][aria-pressed=true] { color: #f8f5f2; }
.language-switch span { color: #707070; }
.logo-container { text-decoration: none; color: var(--text-color); grid-column: 1 / 4; gap: 18px; }
.logo-circles { width: 48px; min-width: 48px; }
.wordmark { font-size: 12px; letter-spacing: .15em; }
.main-nav { grid-column: 5 / 9; }
.main-nav ul { gap: 2rem; }
.main-nav button { color: var(--text-color); text-decoration: none; font-size: 12px; font-family: var(--font-primary); text-transform: uppercase; letter-spacing: .1em; display: block; padding: 0 0 0 8px; border: 0; background: transparent; cursor: pointer; }
.contact-link { grid-column: 10 / 12; padding-right: 18px; }
.experiment-note { position: absolute; top: 28vh; max-width: 430px; width: 32vw; line-height: 1.6; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.note-left { left: 8vw; }
.note-right { right: 7vw; top: 38vh; }
.note-index { font-size: 10px; letter-spacing: .16em; color: rgba(245,245,245,.6); margin-bottom: 24px; }
h1, h2 { font: 400 clamp(22px, 2.2vw, 34px)/1.3 var(--font-primary); letter-spacing: .045em; margin: 0 0 28px; text-wrap: balance; }
.section-1 h1 { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; text-wrap: pretty; }
.note-body { font-size: 11px; line-height: 1.8; letter-spacing: .02em; max-width: 330px; color: rgba(245,245,245,.75); }
.scroll-invitation, .note-coordinate { display: block; margin-top: 42px; font-size: 9px; letter-spacing: .14em; color: rgba(245,245,245,.6); text-decoration: none; }
.scroll-invitation:hover { color: white; }
.glowing-circle { border: none; cursor: pointer; padding: 0; transition: background-color .3s ease; }
.glowing-circle:hover { background-color: #fffddd; }
.orb-hint { position: absolute; top: calc(100% + 22px); font-size: 9px; letter-spacing: .16em; opacity: 0; transition: opacity .4s; pointer-events: none; }
.center-circle { width: auto; }
.center-circle:hover .orb-hint, .center-circle:focus-within .orb-hint { opacity: .6; }
.section { scroll-margin-top: 0; }
.site-footer { height: auto; min-height: 64vh; padding-top: 48px; gap: 32px; z-index: 70; }
.footer-content-section { gap: 36px; }
.footer-left p, .footer-right p { line-height: 1.5; }
.author-link { display: inline-block; margin-top: 20px; color: rgba(245,245,245,.6); text-decoration: none; font-size: 10px; letter-spacing: .1em; }
.author-link:hover { color: white; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; color: rgba(245,245,245,.6); transition: color .2s ease; }
.social-links a:hover { color: white; }
.footer-utility { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 10px; letter-spacing: .1em; color: rgba(245,245,245,.5); }
.footer-utility a { text-decoration: none; color: rgba(245,245,245,.7); }
.footer-utility a:hover { color: white; }
.secret-layer[hidden] { display: none; }
.secret-layer { position: fixed; inset: 0; background: rgba(10,10,10,.93); backdrop-filter: blur(12px); z-index: 2200; display: grid; place-items: center; padding: 32px; }
.secret-card { text-align: center; }
.secret-card > p { font-size: clamp(22px, 3vw, 40px); line-height: 1.5; letter-spacing: -.03em; }
.secret-footnote { display: block; color: #949494; margin-top: 24px; font-size: 10px; line-height: 1.6; }
.secret-card button { display: block; margin: 48px auto 0; background: transparent; border: 0; color: var(--text-color); font-size: 10px; padding: 12px; cursor: pointer; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 1024px) {
  .main-nav { grid-column: 2; }
  .header-container { display: flex; justify-content: space-between; padding-right: 135px; }
  .contact-link { padding: 0; }
  .wordmark { display: none; }
  .experiment-note { width: 35vw; }
  .note-right { right: 4vw; }
}
@media (max-width: 768px) {
  .site-header { height: 72px; }
  .header-container { padding: 0 110px 0 20px; gap: 20px; }
  .logo-container { flex-shrink: 0; }
  .main-nav ul { gap: 16px; flex-wrap: nowrap; }
  .main-nav a, .main-nav button { font-size: 10px; min-height: 36px; display: flex; align-items: center; }
  .contact-link { display: none; }
  .language-switch { top: 23px; right: 20px; font-size: 10px; gap: 7px; }
  .experiment-note { top: 58svh; width: calc(100% - 48px); max-width: 430px; }
  .section-1 h1 { font-size: 17px; }
  .section-1 .section-content, .section-2 .section-content { z-index: 61; pointer-events: none; }
  .section-1 .experiment-note, .section-2 .experiment-note { pointer-events: auto; text-shadow: 0 0 2px #0a0a0a, 0 1px 4px #0a0a0a, 0 2px 16px rgba(0,0,0,.7); }
  .note-left, .note-right { left: 24px; right: auto; }
  .note-index { margin-bottom: 18px; }
  h1, h2 { font-size: 25px; margin-bottom: 20px; }
  .note-body { max-width: 310px; font-size: 10px; }
  .scroll-invitation, .note-coordinate { margin-top: 24px; }
  .scroll-invitation { display: none; }
  .site-footer { min-height: 70vh; padding: 32px 24px 20px; gap: 32px; }
  .footer-content { flex-direction: row; gap: 24px; }
  .footer-left, .footer-right { font-size: 10px; }
  .footer-right { text-align: right; max-width: 58%; }
  .social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; font-size: 9px; letter-spacing: .06em; }
  .social-links a { gap: 5px; }
  .footer-utility { flex-wrap: wrap; gap: 20px; font-size: 9px; }
  .footer-utility > span { display: none; }
}
@media (max-width: 480px) {
  .header-container { display: flex; text-align: left; gap: 14px; padding-right: 95px; }
  .logo-circles { width: 35px; min-width: 35px; }
  .circle { width: 24px; height: 24px; }
  .circle-2 { left: 13px; }
  .main-nav ul { gap: 10px; }
  .main-nav a, .main-nav button { font-size: 9px; letter-spacing: .04em; padding-left: 6px; }
  .language-switch { right: 16px; }
  .footer-right { max-width: 60%; }
}
@media (max-width: 360px) {
  .header-container { padding-left: 14px; padding-right: 85px; gap: 8px; }
  .main-nav ul { flex-direction: row; gap: 6px; }
  .main-nav a, .main-nav button { font-size: 8px; }
  .language-switch { right: 12px; gap: 4px; }
  h1, h2 { font-size: 23px; }
  .footer-content { flex-direction: column; }
  .footer-right { text-align: left; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
  .section { background-attachment: scroll; }
}

.language-switch a { text-decoration: none; }
.site-footer { scroll-margin-top: 112px; }
@media (max-width: 768px) {
  .site-header { height: 88px; }
  .header-container { position: relative; display: block; padding: 0; }
  .logo-container { position: absolute; left: 20px; top: 16px; }
  .contact-link { position: absolute; display: block; left: 84px; top: 16px; padding: 0; }
  .contact-link a { display: flex; align-items: center; min-height: 32px; font-size: 10px; letter-spacing: .06em; }
  .main-nav { position: absolute; top: 52px; left: 20px; right: 20px; }
  .main-nav ul { justify-content: flex-start; gap: 28px; }
  .main-nav a, .main-nav button { min-height: 32px; font-size: 10px; letter-spacing: .06em; }
  .main-nav .nav-sound { position: fixed; top: 16px; right: 100px; }
  .main-nav .nav-sound button { white-space: nowrap; }
}
@media (max-width: 480px) {
  .contact-link { left: 74px; }
  .main-nav ul { justify-content: space-between; gap: 16px; }
}
@media (max-width: 360px) {
  .logo-container { left: 14px; }
  .contact-link { left: 64px; }
  .contact-link a { font-size: 9px; }
  .main-nav { left: 14px; right: 14px; }
  .main-nav .nav-sound { right: 80px; }
  .main-nav .nav-sound button { font-size: 9px; }
}

/* Project samples retain the third landscape and the original instrument palette. */
.section-3 { height: auto; min-height: 200vh; }
.section-3 .section-content { height: auto; min-height: 200vh; padding: 0; display: flow-root; z-index: auto; }
.section-3 .experiment-note { z-index: 2; }
.project-samples { position: relative; z-index: 65; width: min(84vw, 1040px); margin: 102vh auto 22vh; line-height: 1.6; scroll-margin-top: 112px; }
.project-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; gap: 24px; }
.project-heading h3 { font: 400 11px/1.6 var(--font-primary); letter-spacing: .14em; color: #f8f5f2; }
.project-heading > span { font-size: 9px; letter-spacing: .1em; color: #b0b0ad; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.project-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; color: #f8f5f2; text-decoration: none; background: rgba(10, 12, 15, .86); border: 1px solid rgba(248, 245, 242, .28); transition: border-color 160ms ease-out, background-color 160ms ease-out; }
.project-card::before, .project-card::after { content: ''; position: absolute; width: 12px; height: 12px; pointer-events: none; border-color: #f8f5f2; border-style: solid; opacity: .65; }
.project-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.project-card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.project-card:hover, .project-card:focus-visible { background: rgba(10, 12, 15, .94); border-color: rgba(248, 245, 242, .75); }
.project-card:focus-visible { outline-offset: 5px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 9px; letter-spacing: .12em; color: #bbbcbf; }
.project-meta > span:last-child { color: #93959b; }
.project-visual { width: 100%; aspect-ratio: 16 / 9; margin: 16px 0 18px; }
.project-visual svg { display: block; width: 100%; height: 100%; overflow: visible; }
.project-copy h4 { font: 400 clamp(18px, 1.6vw, 24px)/1.2 var(--font-primary); margin: 0 0 14px; letter-spacing: -.01em; }
.project-copy p { color: #c3c4c7; font-size: 10px; line-height: 1.8; letter-spacing: .015em; max-width: 390px; text-wrap: pretty; }
.project-link { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid rgba(248, 245, 242, .16); margin-top: auto; padding-top: 18px; font-size: 9px; letter-spacing: .08em; }
.project-copy { padding-bottom: 24px; }
.project-path { color: #979aa0; text-transform: none; }
@media (max-width: 1024px) {
  .project-grid { gap: 24px; }
  .project-card { padding: 20px; }
}
@media (max-width: 768px) {
  .project-samples { width: calc(100% - 48px); margin-top: 112svh; margin-bottom: 18svh; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-heading { margin-bottom: 20px; }
  .project-visual { max-height: 220px; margin-top: 10px; }
  .project-copy h4 { font-size: 20px; }
}
@media (max-width: 360px) {
  .project-card { padding: 16px; }
  .project-link { letter-spacing: .03em; font-size: 8px; }
  .project-meta { letter-spacing: .06em; }
}
