@font-face {
  font-family: Manrope;
  src: url("assets/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --paper: #fcfbf9;
  --ink: #202324;
  --muted: #4a5357;
  --line: #cdd1d0;
  --blue: #ddecf2;
  --pink: #f9e3eb;
  --accent: #9e2d5a;
  --wrap: 1250px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.6 Manrope, Arial, sans-serif;
}
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(2.85rem, 5.65vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -.058em;
  font-weight: 750;
}
h2 {
  font-size: clamp(2.1rem, 4.25vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 750;
}
h3 { font-size: clamp(1.25rem, 2.15vw, 2rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(calc(100% - 112px), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; top: .7rem; left: .7rem; padding: .6rem 1rem; z-index: 20; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem; width: max-content;
  min-height: 44px; text-decoration: none; font-size: 1.15rem; font-weight: 700;
  letter-spacing: -.045em; white-space: nowrap;
}
.brand strong { font-weight: 800; }
.primary-nav { display: flex; gap: clamp(1.4rem, 3.2vw, 3.3rem); }
.primary-nav a, .header-contact {
  display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
  font-size: .94rem; font-weight: 800; text-decoration: none;
}
.primary-nav a:hover, .primary-nav a[aria-current], .header-contact:hover {
  text-decoration: underline; text-underline-offset: .35em;
}
.header-contact { justify-self: end; color: var(--accent); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center; gap: clamp(1.5rem, 5vw, 5.6rem);
  padding-block: clamp(2.2rem, 5.9vw, 5.8rem) clamp(3rem, 6.5vw, 6.5rem);
}
.hero-copy { padding-block: .5rem; }
.hero .byline { margin-bottom: 1.25rem; font-weight: 800; color: var(--accent); }
.hero .lead { max-width: 29rem; margin-block: 1.45rem 1.8rem; font-size: clamp(1rem, 1.6vw, 1.28rem); color: var(--muted); }
.portrait {
  position: relative; display: grid; align-items: end; justify-items: center; overflow: hidden;
  aspect-ratio: 1.03; background: var(--blue);
}
.portrait img { width: 82%; height: 100%; position: absolute; bottom: 0; object-fit: contain; object-position: center bottom; }
@keyframes hero-arrive { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: none; } }
[data-enter] .hero-copy { animation: hero-arrive .36s ease-out both; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 52px;
  padding: .7rem 1.3rem; background: var(--ink); color: white; border: 1px solid var(--ink);
  text-align: center; text-decoration: none; font-weight: 800;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { background: var(--accent); border-color: var(--accent); }
.button:active { transform: translateY(1px); }
.button.outline { color: var(--ink); background: transparent; }
.button.outline:hover { background: white; border-color: var(--ink); }
.text-link {
  display: inline-flex; align-items: center; width: fit-content; min-height: 44px; color: var(--accent);
  font-weight: 800; text-decoration: underline; text-underline-offset: .35em;
}
.text-link:hover { text-decoration-thickness: .14em; }
.work { border-top: 1px solid var(--line); }
.feature {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center; gap: clamp(1.25rem, 4.3vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 6.5rem);
}
.feature-copy p { margin-block: 1rem; max-width: 31rem; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.16rem); }
.feature-copy .button { margin-top: .5rem; }
.feature-sites { row-gap: 1rem; }
.showcase-label { grid-column: 2; display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; }
.showcase-label p { font-weight: 800; }
.showcase-label span { color: var(--muted); font-size: .88rem; }
.media-link { display: block; text-decoration: none; overflow: hidden; }
.media-link img, .artwork-link img { transition: transform .24s ease; }
.web-preview { display: grid; place-items: center; background: #e7eef0; padding: clamp(1rem, 3.55vw, 3rem); }
.web-preview img { width: min(100%, 430px); box-shadow: 0 12px 30px #17252924; }
.feature-band { background: #e9f2f5; }
.feature-graphics { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.graphic-preview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(.55rem, 1.7vw, 1.5rem); padding: .5rem; }
.graphic-preview img { width: 100%; box-shadow: 0 7px 23px #18202924; }
.object-preview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(.55rem, 1.7vw, 1.5rem); }
.object-preview img { width: 100%; }
@media (hover: hover) {
  .media-link:hover img, .artwork-link:hover img { transform: scale(1.025); }
}
.contact { background: var(--pink); }
.contact-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end;
  padding-block: clamp(2.75rem, 6.5vw, 5.5rem);
}
.contact h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.contact p { margin-top: .85rem; max-width: 33rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 94px; }
.footer p { color: var(--muted); font-size: .9rem; }
.page-intro { padding-top: clamp(2.1rem, 5.3vw, 4.6rem); padding-bottom: clamp(1.8rem, 4vw, 3.5rem); }
.page-intro h1 { font-size: clamp(2.5rem, 5.55vw, 5.25rem); max-width: 16ch; }
.page-intro p { margin-top: 1rem; max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.crumb { display: flex; align-items: center; min-height: 44px; gap: 1rem; margin-bottom: 1rem; font-size: .9rem; color: var(--accent); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .25em; }
.inner-feature { gap: clamp(1rem, 4vw, 4rem); padding-block: .8rem 4rem; }
.feature-copy .category, .demo-copy .category { margin: 0 0 .45rem; color: var(--accent); font-weight: 800; font-size: .9rem; }
.demo-section, .gallery { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 6rem); }
.section-intro { margin-bottom: 2rem; }
.section-intro p { margin-top: .75rem; max-width: 46rem; color: var(--muted); }
.demo-list { display: grid; gap: 2.6rem; }
.demo {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr); gap: clamp(1rem, 4.6vw, 4.5rem);
  align-items: center; border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.demo img { width: 100%; }
.demo-copy p:not(.category) { color: var(--muted); margin-block: .7rem; }
.gallery + .gallery { border-top: 1px solid var(--line); }
.gallery h2 { font-size: clamp(1.85rem, 3.8vw, 3.2rem); margin-bottom: clamp(1.4rem, 3vw, 2.6rem); }
.artwork-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.1rem clamp(.9rem, 2.45vw, 2rem); }
@media (min-width: 1051px) {
  .artwork-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.artwork-link {
  display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  background: #edeeed; cursor: zoom-in;
}
.artwork-link img { width: 100%; height: 100%; object-fit: contain; }
.artwork-copy { padding-top: .7rem; }
.artwork-copy h3 { font-size: clamp(1.1rem, 2.1vw, 1.5rem); }
.artwork-copy p { color: var(--muted); margin-top: .28rem; font-size: .94rem; }
.studio-note { padding-block: .6rem 4rem; }
.studio-note h2 { font-size: clamp(1.85rem, 3.8vw, 3.2rem); }
.studio-note p { max-width: 41rem; color: var(--muted); margin-top: .7rem; }
.image-dialog {
  max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border: 0; padding: 52px 10px 10px;
  background: var(--paper); color: var(--ink); overflow: auto;
}
.image-dialog::backdrop { background: #172027e6; }
.image-dialog img { max-height: calc(100dvh - 88px); width: auto; margin: auto; object-fit: contain; }
.close-image {
  position: absolute; top: 4px; right: 6px; width: 44px; height: 44px; border: 0;
  background: transparent; color: var(--ink); cursor: pointer; font-size: 1.9rem; line-height: 1;
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 870px) {
  .wrap { width: calc(100% - 48px); }
  .artwork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; column-gap: .9rem; row-gap: 0; padding-block: .45rem .15rem; }
  .primary-nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; border-top: 1px solid var(--line); }
  .primary-nav a { justify-content: center; }
  .header-contact { grid-row: 1; grid-column: 2; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2.35rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.45rem, 10.1vw, 4.15rem); }
  .hero .byline { margin-bottom: .65rem; }
  .hero .lead { margin-block: 1rem 1.2rem; }
  .portrait { aspect-ratio: 1.12; }
  .feature, .feature-graphics, .demo { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature-graphics .feature-copy { grid-row: 1; }
  .showcase-label { grid-column: 1; }
  .footer { min-height: 0; padding-block: .8rem 1.2rem; align-items: start; flex-direction: column; gap: .25rem; }
  .inner-feature { padding-bottom: 2rem; }
}
@media (max-width: 430px) {
  .wrap { width: calc(100% - 36px); }
  .artwork-grid { gap: 1.4rem .8rem; }
  .artwork-copy p { font-size: .875rem; }
  .contact-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
