:root {
  --ink: #171714;
  --paper: #f2eee5;
  --paper-deep: #e7e1d5;
  --sage: #8fa48d;
  --sage-dark: #647b65;
  --coral: #e85c42;
  --yellow: #efd47a;
  --line: rgba(23, 23, 20, 0.18);
  --shell: min(1480px, calc(100vw - 64px));
  --serif: Iowan Old Style, Palatino Linotype, URW Palladio L, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-lens-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(88px, 10vw, 170px);
}

.section-kicker {
  margin: 0 0 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: currentColor;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 86px);
}

.section-head > div,
.archive-head > div {
  min-width: 0;
}

.section-head h2,
.archive-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.section-head > p,
.archive-head > p {
  max-width: 420px;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  height: 88px;
  padding: 14px 32px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: height 220ms ease, color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(242, 238, 229, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.brand span {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  gap: clamp(9px, 1.05vw, 18px);
  align-items: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-contact) {
  position: relative;
  padding-block: 8px;
}

.site-nav > a:not(.nav-contact)::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav > a:not(.nav-contact):hover::after,
.site-nav > a:not(.nav-contact):focus-visible::after,
.site-nav > a.is-sphere-active:not(.nav-contact)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav > a.is-sphere-active:not(.nav-contact) {
  color: var(--yellow);
}

.nav-contact.is-sphere-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.88), 0 0 22px rgba(247, 210, 91, 0.42);
}

.nav-contact {
  padding: 11px 17px;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
}

.project-intake-trigger {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.project-intake-trigger:hover {
  color: var(--paper);
  background: var(--coral);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.hero-scroll {
  position: relative;
  height: 1700svh;
  background: #171714;
}

.hero {
  --hero-progress: 0;
  --intro-opacity: 1;
  --intro-y: 0px;
  --wood-opacity: 0;
  --pye-scale: 1;
  --wood-scale: 1.06;
  --direction-opacity: 0;
  --direction-scale: 0.72;
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: max(680px, 100svh);
  overflow: hidden;
  color: #fff;
  background: #23251f;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 52% 50%;
  will-change: opacity, transform;
}

.hero-image-pye {
  opacity: calc(1 - var(--wood-opacity));
  transform: scale(var(--pye-scale));
}

.hero-image-wood {
  opacity: var(--wood-opacity);
  object-position: 58% 50%;
  transform: scale(var(--wood-scale));
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 8, 0.76) 0%, rgba(10, 10, 8, 0.28) 52%, rgba(10, 10, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 10, 8, 0.62) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: max(680px, 100svh);
  padding: clamp(132px, 18vh, 190px) 0 50px;
  flex-direction: column;
  justify-content: space-between;
  opacity: var(--intro-opacity);
  pointer-events: none;
  transform: translateY(var(--intro-y));
  will-change: opacity, transform;
}

.hero-content a {
  pointer-events: auto;
}

.hero .eyebrow {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 10.2vw, 10.6rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.75;
}

.hero h1 em,
.contact h2 em {
  color: var(--yellow);
  font-weight: 400;
}

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.hero-bottom > p {
  width: min(100%, 520px);
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.36rem);
  line-height: 1.35;
}

.round-link {
  display: flex;
  width: 118px;
  height: 118px;
  padding: 17px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--coral);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 240ms ease, background-color 240ms ease;
}

.round-link span:last-child {
  font-size: 1.6rem;
  font-weight: 400;
}

.round-link:hover {
  background: var(--yellow);
  transform: rotate(-6deg) scale(1.04);
}

.hero-index {
  position: absolute;
  right: 32px;
  bottom: 50%;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  transform: translateY(50%);
}

.hero-project-credit {
  position: absolute;
  right: 32px;
  bottom: 24px;
  left: 32px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: var(--intro-opacity);
  text-transform: uppercase;
  transform: translateY(var(--intro-y));
}

.hero-directions {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  opacity: var(--direction-opacity);
  pointer-events: none;
  transform: scale(var(--direction-scale));
  will-change: opacity, transform;
}

.hero-directions-kicker {
  position: absolute;
  top: max(108px, 13vh);
  left: 50%;
  margin: 0;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  opacity: 0.82;
}

.hero-direction-frame {
  position: relative;
  width: clamp(360px, 35vw, 620px);
  aspect-ratio: 1;
  overflow: hidden;
  background: #151512;
  border-radius: 50%;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.28), inset 0 0 80px rgba(0, 0, 0, 0.42);
  isolation: isolate;
  perspective: 700px;
}

.hero-direction-frame::before,
.hero-direction-frame::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-direction-frame::before {
  background:
    radial-gradient(circle at 42% 35%, rgba(255, 248, 224, 0.24) 0%, rgba(255, 245, 214, 0.13) 24%, rgba(255, 245, 214, 0.03) 48%, transparent 65%),
    radial-gradient(circle at 50% 48%, rgba(255, 244, 214, 0.11) 0%, transparent 50%, rgba(4, 4, 3, 0.2) 76%, rgba(4, 4, 3, 0.62) 100%);
}

.hero-direction-frame::after {
  background: radial-gradient(circle at 50% 48%, transparent 0 48%, rgba(6, 6, 5, 0.08) 66%, rgba(6, 6, 5, 0.48) 100%);
  box-shadow:
    inset 0 0 30px rgba(255, 248, 220, 0.1),
    inset 0 0 110px rgba(0, 0, 0, 0.44);
}

.hero-globe-canvas,
.hero-globe-surface-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-globe-surface-stage {
  inset: -4%;
  width: 108%;
  height: 108%;
  overflow: hidden;
  border-radius: 50%;
  transform: perspective(760px) rotateX(var(--globe-pitch, 0deg)) rotateY(var(--globe-yaw, 0deg)) scale(1.04);
  transform-origin: center;
  will-change: transform;
}

.hero-globe-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.13);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero-globe-surface.is-visible {
  z-index: 1;
  opacity: 1;
  transform: scale(1.04);
}

.hero-direction-frame.globe-ready {
  background: transparent;
}

.hero-direction-frame.globe-interactive,
.hero-direction-frame.fallback-interactive {
  pointer-events: auto;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero-direction-frame.is-dragging {
  cursor: grabbing;
}

.hero-direction-frame.globe-ready:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -12px;
}

.globe-ready .hero-direction-slide {
  opacity: 1;
  pointer-events: none;
}

.globe-ready .hero-direction-slide img,
.globe-ready .hero-direction-slide::after {
  display: none;
}

.hero-globe-hint {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 250ms ease;
}

.hero-globe-hint span {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2rem;
  vertical-align: -1px;
}

.globe-ready ~ .hero-globe-hint {
  opacity: 0.75;
}

.hero-direction-slide,
.hero-direction-slide::after,
.hero-direction-slide img,
.hero-direction-slide > div {
  position: absolute;
  inset: 0;
}

.hero-direction-slide {
  z-index: 1;
  opacity: var(--slide-opacity, 0);
  transition: opacity 280ms linear;
}

.hero-direction-slide.is-active {
  z-index: 2;
}

.hero-direction-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: url("#hero-lens-media") contrast(1.06) saturate(1.05);
  transform: scale(var(--image-scale, 1.08));
  transform-origin: 50% 48%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-direction-slide::after {
  z-index: 1;
  background: #080806;
  content: "";
  opacity: var(--shade-opacity, 0.16);
  transition: opacity 340ms ease;
}

.hero-direction-slide > div {
  z-index: 2;
  display: flex;
  padding: clamp(28px, 3.2vw, 54px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  opacity: var(--text-opacity, 0);
  text-align: center;
  text-shadow: 0 3px 9px rgba(0, 0, 0, 0.42);
  transform: translateY(var(--text-y, 18px)) scale(var(--text-scale, 0.72));
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease-out;
}

.hero-direction-slide span {
  margin-bottom: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-direction-slide h2 {
  max-width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.26);
  text-wrap: balance;
}

.hero-direction-slide p {
  max-width: 310px;
  margin: 18px 0 0;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.35;
  text-wrap: balance;
}

.hero-direction-progress {
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: 32px;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero-direction-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(255, 212, 67, 0.56);
  transform: scaleX(var(--direction-progress, 0));
  transform-origin: left;
  will-change: transform;
}

.hero-direction-count {
  position: absolute;
  right: 32px;
  bottom: 46px;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.statement {
  background: var(--yellow);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.5fr 2.1fr 0.72fr;
  gap: clamp(30px, 5vw, 88px);
  align-items: start;
}

.statement-copy {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.8vw, 5.3rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.statement-copy em {
  color: var(--coral);
  font-weight: 400;
}

.statement-aside {
  padding-top: 8px;
  border-top: 1px solid currentColor;
}

.statement-aside span {
  display: block;
  margin-bottom: 44px;
  font-family: var(--serif);
  font-size: 2rem;
}

.statement-aside p {
  margin: 0;
}

.projects {
  background: var(--paper);
}

.projects .section-head {
  margin-bottom: clamp(34px, 4vw, 58px);
}

.project-controls {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.project-controls > p {
  margin: 0;
  color: rgba(23, 23, 20, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-sort,
.progress-sort,
.progress-toolbar-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.project-sort button,
.progress-sort button {
  padding: 9px 13px;
  color: rgba(23, 23, 20, 0.68);
  background: transparent;
  border: 1px solid rgba(23, 23, 20, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.project-sort button:hover,
.progress-sort button:hover,
.project-sort button[aria-pressed="true"],
.progress-sort button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.project-navigation,
.project-position {
  display: flex;
  align-items: center;
}

.project-navigation {
  gap: 8px;
}

.project-position {
  min-width: 112px;
  margin-right: 10px;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.project-position-line {
  width: 48px;
  height: 1px;
  background: var(--line);
}

.project-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.project-arrow:hover:not(:disabled) {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.project-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.project-grid {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  padding-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-grid::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  flex: 0 0 min(72vw, 1040px);
  min-width: 0;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-media {
  position: relative;
  aspect-ratio: 1.55;
  overflow: hidden;
  background: var(--paper-deep);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.project-card:hover .project-media img,
.project-card:focus-visible .project-media img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.project-number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  width: auto;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 15px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(23, 23, 20, 0.12);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.project-like {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  min-width: 48px;
  min-height: 36px;
  padding: 7px 10px;
  gap: 6px;
  color: #fff;
  background: rgba(23, 23, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.project-like:hover,
.project-like:focus-visible,
.project-like[aria-pressed="true"] {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.04);
}

.project-like span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.project-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.project-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.project-info p {
  margin: 6px 0 0;
  color: rgba(23, 23, 20, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-count {
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-progress {
  background: #d8ddd2;
  overflow: hidden;
}

.work-progress .section-head h2 {
  font-size: clamp(3.7rem, 8vw, 8.5rem);
}

.work-progress .section-head h2 em {
  color: var(--sage-dark);
  font-weight: 400;
}

.progress-toolbar {
  display: flex;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 23, 20, 0.22);
}

.progress-toolbar-controls {
  flex-wrap: wrap;
}

.progress-filters {
  display: flex;
  gap: 8px;
}

.progress-filters button {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(23, 23, 20, 0.34);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-filters button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.progress-toolbar > p {
  display: flex;
  gap: 8px;
  margin: 0;
  align-items: center;
  color: rgba(23, 23, 20, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-toolbar > p span {
  width: 8px;
  height: 8px;
  background: var(--sage-dark);
  border-radius: 50%;
}

.work-progress-grid,
.technology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-progress-card {
  display: flex;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(23, 23, 20, 0.2);
  cursor: pointer;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-progress-card:hover,
.work-progress-card:focus-visible {
  box-shadow: 0 20px 54px rgba(23, 23, 20, 0.12);
  transform: translateY(-4px);
}

.work-progress-media {
  position: relative;
  aspect-ratio: 1.24;
  overflow: hidden;
  background: var(--paper-deep);
}

.work-progress-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-progress-card:hover .work-progress-media img {
  transform: scale(1.035);
}

.work-status,
.work-video {
  position: absolute;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-progress-media.has-video .work-video {
  right: 78px;
}

.work-like {
  top: 16px;
  right: 16px;
  bottom: auto;
}

.work-status {
  left: 16px;
  background: var(--yellow);
}

.work-video {
  right: 16px;
  color: #fff;
  background: rgba(23, 23, 20, 0.76);
  backdrop-filter: blur(8px);
}

.work-progress-copy {
  display: grid;
  gap: 13px;
  padding: clamp(20px, 2.4vw, 34px);
}

.work-progress-copy > p,
.work-progress-copy h3 {
  margin: 0;
}

.work-progress-copy > p:first-child {
  color: var(--sage-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-progress-copy h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.work-progress-copy > p:nth-of-type(2) {
  max-width: 620px;
  color: rgba(23, 23, 20, 0.66);
}

.work-stages {
  display: grid;
  margin: 8px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.work-stages li {
  position: relative;
  display: grid;
  min-width: 0;
  padding-top: 20px;
  gap: 3px;
  border-top: 2px solid #d9d6ce;
}

.work-stages li > span {
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #d9d6ce;
  border: 2px solid #fff;
  border-radius: 50%;
}

.work-stages li.is-complete {
  border-color: var(--sage-dark);
}

.work-stages li.is-complete > span {
  background: var(--sage-dark);
}

.work-stages li.is-active {
  border-color: var(--yellow);
}

.work-stages li.is-active > span {
  background: var(--yellow);
}

.work-stages strong,
.work-stages small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-stages strong {
  font-size: 0.7rem;
}

.work-stages small {
  color: rgba(23, 23, 20, 0.52);
  font-size: 0.63rem;
}

.work-progress-foot {
  display: flex;
  margin-top: 8px;
  padding-top: 13px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.progress-empty {
  margin: 0;
  padding: 38px;
  color: rgba(23, 23, 20, 0.58);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}

.production {
  color: #f5f2ea;
  background: var(--ink);
  overflow: hidden;
}

.production .section-head {
  margin-bottom: clamp(34px, 4vw, 58px);
}

.production-controls {
  display: flex;
  margin-bottom: 24px;
  padding-bottom: 14px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.production-controls > p {
  margin: 0;
  color: rgba(245, 242, 234, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.production-navigation,
.production-position {
  display: flex;
  align-items: center;
}

.production-navigation {
  gap: 8px;
}

.production-position {
  min-width: 112px;
  margin-right: 10px;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.production-position-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.production-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #f5f2ea;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.production-arrow:hover:not(:disabled) {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.production-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.production-cards {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  padding-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.production-cards::-webkit-scrollbar {
  display: none;
}

.process-card {
  flex: 0 0 min(72vw, 1040px);
  min-width: 0;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.process-media {
  position: relative;
  aspect-ratio: 1.55;
  overflow: hidden;
  background: #272724;
}

.process-media img,
.process-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76);
  transition: filter 260ms ease, transform 400ms ease;
}

.process-card:hover .process-media img,
.process-card:hover .process-media video,
.process-card:focus-visible .process-media img,
.process-card:focus-visible .process-media video {
  filter: saturate(1.1);
  transform: scale(1.035);
}

.process-number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.process-info {
  display: grid;
  grid-template-columns: 44px 1fr minmax(180px, 0.65fr);
  gap: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.process-card span,
.process-card p {
  color: rgba(245, 242, 234, 0.6);
  font-size: 0.8rem;
}

.process-card h3,
.process-card p {
  margin: 0;
}

.process-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.materials {
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}

.production .section-head.light > p {
  color: rgba(246, 243, 236, 0.76);
}

.materials-rail {
  display: grid;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-auto-flow: column;
  gap: 18px;
  padding-bottom: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--ink) var(--paper-deep);
}

.technology-heading {
  display: grid;
  max-width: 980px;
  margin: clamp(80px, 10vw, 150px) 0 42px;
  gap: 8px;
}

.technology-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.technology-card {
  min-width: 0;
  background: #f3f0e9;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.technology-card:hover,
.technology-card:focus-visible {
  box-shadow: 0 20px 50px rgba(23, 23, 20, 0.1);
  transform: translateY(-4px);
}

.technology-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-deep);
}

.technology-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.technology-card:hover .technology-media img {
  transform: scale(1.04);
}

.technology-media > span {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.technology-copy {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.5vw, 34px);
}

.technology-facts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.technology-facts span {
  padding: 6px 9px;
  color: var(--sage-dark);
  background: #fff;
  border: 1px solid rgba(100, 123, 101, 0.3);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.technology-copy h3,
.technology-copy p,
.technology-copy ol {
  margin: 0;
}

.technology-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.technology-copy > p {
  color: rgba(23, 23, 20, 0.66);
}

.technology-copy ol {
  display: grid;
  padding: 12px 0 0;
  gap: 7px;
  border-top: 1px solid var(--line);
  counter-reset: technology-step;
  list-style: none;
}

.technology-copy li {
  display: grid;
  grid-template-columns: 24px 1fr;
  color: rgba(23, 23, 20, 0.72);
  counter-increment: technology-step;
  font-size: 0.78rem;
}

.technology-copy li::before {
  color: var(--sage-dark);
  content: counter(technology-step, decimal-leading-zero);
  font-size: 0.62rem;
  font-weight: 800;
}

.technology-open {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-card {
  scroll-snap-align: start;
  cursor: pointer;
}

.material-media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-deep);
}

.material-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.material-card:hover .material-media img,
.material-card:focus-visible .material-media img {
  transform: scale(1.045);
}

.material-info {
  display: flex;
  padding-top: 14px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.material-card h3,
.material-card p {
  margin: 0;
}

.material-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.material-card p {
  color: rgba(23, 23, 20, 0.56);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.shop {
  background: var(--paper);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ded8cc;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-media:hover img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 10px 18px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.product-info h3,
.product-price,
.product-description {
  margin: 0;
}

.product-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.product-price {
  padding-top: 7px;
  font-weight: 700;
}

.product-description {
  display: -webkit-box;
  grid-column: 1 / -1;
  max-width: 570px;
  overflow: hidden;
  color: rgba(23, 23, 20, 0.65);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  margin-top: 12px;
}

.product-actions button,
.product-actions a {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-actions button {
  color: var(--paper);
  background: var(--ink);
}

.product-actions a:hover,
.product-actions button:hover {
  color: var(--ink);
  background: var(--yellow);
}

.configurators {
  padding-block: clamp(44px, 5vw, 72px);
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.configurators .section-kicker {
  margin-bottom: 24px;
  color: rgba(247, 244, 237, 0.65);
}

.configurator-card {
  display: grid;
  min-height: clamp(270px, 24vw, 340px);
  grid-template-columns: minmax(420px, 1.35fr) minmax(360px, 0.65fr);
  border: 1px solid rgba(247, 244, 237, 0.3);
}

.configurator-copy {
  display: grid;
  padding: clamp(28px, 3vw, 46px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 34px;
}

.configurator-copy .section-kicker {
  grid-column: 1 / -1;
}

.configurator-title-line {
  display: flex;
  min-width: 0;
  align-items: end;
  gap: 18px;
}

.configurator-title-line h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 6.2vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.configurator-title-line span {
  padding-bottom: 5px;
  color: var(--yellow);
  font-size: 0.65rem;
  font-weight: 800;
}

.configurator-copy > p:not(.section-kicker) {
  grid-column: 1;
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(247, 244, 237, 0.72);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.42;
}

.configurator-copy > a {
  display: flex;
  width: fit-content;
  min-height: 46px;
  padding: 10px 16px;
  align-items: center;
  align-self: end;
  grid-column: 2;
  grid-row: 2 / 4;
  gap: 26px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurator-copy > a:hover {
  background: var(--coral);
}

.configurator-preview {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 270px;
  padding: clamp(28px, 3vw, 48px);
  color: var(--ink);
  background: var(--yellow);
  overflow: hidden;
  place-items: center;
}

.configurator-preview::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(23, 23, 20, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 20, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 74%);
}

.vario-object {
  position: relative;
  z-index: 1;
  width: min(72%, 360px);
  aspect-ratio: 1.18;
  filter: drop-shadow(12px 15px 0 rgba(23, 23, 20, 0.08));
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
}

.vario-object i {
  position: absolute;
  display: block;
}

.vario-frame {
  inset: 0;
  border: clamp(6px, 0.75vw, 12px) solid var(--ink);
}

.vario-shelf {
  right: 0;
  left: 0;
  height: clamp(6px, 0.75vw, 12px);
  background: var(--ink);
}

.vario-shelf.one { top: 25%; }
.vario-shelf.two { top: 50%; }
.vario-shelf.three { top: 75%; }

.vario-module {
  border: clamp(4px, 0.48vw, 8px) solid var(--ink);
  background: var(--coral);
}

.vario-module.one { inset: 7% 54% 57% 7%; }
.vario-module.two { inset: 56% 7% 7% 54%; background: var(--sage); }
.vario-module.three { inset: 31% 30% 31% 31%; background: var(--paper); }

.vario-dim {
  position: absolute;
  z-index: 2;
  color: rgba(23, 23, 20, 0.62);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.vario-dim::before,
.vario-dim::after {
  position: absolute;
  background: currentColor;
  content: "";
}

.vario-dim-x {
  right: 12%;
  bottom: 8%;
  left: 12%;
  height: 1px;
  background: currentColor;
  text-align: center;
}

.vario-dim-x span {
  position: relative;
  top: -9px;
  padding: 0 8px;
  background: var(--yellow);
}

.vario-dim-y {
  top: 12%;
  right: 7%;
  bottom: 12%;
  width: 1px;
  background: currentColor;
}

.vario-dim-y span {
  position: absolute;
  top: 50%;
  left: -19px;
  padding: 7px 4px;
  background: var(--yellow);
  transform: translateY(-50%) rotate(-90deg);
}

.vario-options {
  position: absolute;
  bottom: 8%;
  left: 8%;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.vario-options span {
  width: 22px;
  height: 22px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.vario-options span:nth-child(2) { background: var(--coral); }
.vario-options span:nth-child(3) { background: var(--sage); }
.vario-options span:nth-child(4) { background: var(--ink); }
.vario-options span.is-active { box-shadow: 0 0 0 4px var(--yellow), 0 0 0 5px var(--ink); }

.telegram-section {
  background: var(--yellow);
  overflow: hidden;
}

.telegram-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
}

.telegram-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.79;
}

.telegram-heading h2 em {
  color: var(--coral);
  font-weight: 400;
}

.telegram-lead > p {
  max-width: 440px;
  margin: 0 0 34px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.telegram-choices {
  display: flex;
  gap: 10px;
}

.telegram-choices button,
.telegram-choices a {
  display: flex;
  min-height: 50px;
  padding: 12px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.telegram-choices button {
  color: var(--paper);
  background: var(--ink);
}

.telegram-choices a {
  background: transparent;
}

.telegram-choices button:hover,
.telegram-choices button[aria-expanded="true"],
.telegram-choices a:hover {
  color: var(--paper);
  background: var(--coral);
}

.telegram-feed[hidden] {
  display: none;
}

.telegram-feed {
  margin-top: clamp(58px, 8vw, 110px);
  padding-top: 18px;
  border-top: 1px solid rgba(23, 23, 20, 0.35);
}

.telegram-feed-head,
.telegram-channel,
.telegram-channel > span:last-child,
.telegram-navigation,
.telegram-position {
  display: flex;
  align-items: center;
}

.telegram-feed-head {
  margin-bottom: 24px;
  justify-content: space-between;
}

.telegram-channel {
  gap: 12px;
}

.telegram-channel > span:last-child {
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.15;
}

.telegram-channel small {
  margin-top: 5px;
  color: rgba(23, 23, 20, 0.58);
  font-size: 0.7rem;
}

.telegram-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--paper);
  background: var(--coral);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.55rem;
  place-items: center;
}

.telegram-navigation {
  gap: 8px;
}

.telegram-position {
  min-width: 112px;
  margin-right: 10px;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.telegram-position-line {
  width: 48px;
  height: 1px;
  background: rgba(23, 23, 20, 0.35);
}

.telegram-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(23, 23, 20, 0.35);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.telegram-arrow:hover:not(:disabled) {
  color: var(--paper);
  background: var(--ink);
}

.telegram-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.telegram-rail {
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.telegram-rail::-webkit-scrollbar {
  display: none;
}

.telegram-card {
  flex: 0 0 min(28vw, 390px);
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(23, 23, 20, 0.25);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.telegram-card > a,
.telegram-card > button {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  border: 0;
  text-align: left;
}

.telegram-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-deep);
}

.telegram-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.telegram-card:hover .telegram-media img,
.telegram-card:focus-within .telegram-media img {
  transform: scale(1.045);
}

.telegram-media span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telegram-card-body {
  display: flex;
  min-height: 210px;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.telegram-card-body time {
  color: rgba(23, 23, 20, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telegram-card-body p {
  display: -webkit-box;
  margin: 14px 0 28px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.telegram-card-body > span {
  margin-top: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telegram-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  overflow: hidden;
}

.telegram-dialog::backdrop {
  background: rgba(12, 12, 11, 0.92);
}

.telegram-dialog[open] {
  display: grid;
  grid-template-rows: auto 1fr;
}

.telegram-dialog-topbar {
  display: flex;
  min-height: 88px;
  padding: 14px 28px;
  align-items: center;
  justify-content: space-between;
  background: var(--yellow);
  border-bottom: 1px solid rgba(23, 23, 20, 0.25);
}

.telegram-dialog-topbar p,
.telegram-dialog-topbar h2 {
  margin: 0;
}

.telegram-dialog-topbar p {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.telegram-dialog-topbar h2 {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}

.telegram-dialog-close {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(23, 23, 20, 0.4);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.7rem;
  place-items: center;
}

.telegram-dialog-layout {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1.32fr) minmax(340px, 0.68fr);
}

.telegram-dialog-media {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  background: var(--ink);
}

.telegram-dialog-media figure {
  display: grid;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 24px 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.telegram-dialog-visual {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
}

.telegram-dialog-media img,
.telegram-dialog-media video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #0d0d0c;
  object-fit: contain;
}

.telegram-dialog-media img[hidden],
.telegram-dialog-media video[hidden] {
  display: none;
}

#telegram-dialog-video-unavailable {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 16px;
  color: var(--paper);
  background: rgba(13, 13, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

#telegram-dialog-video-unavailable[hidden] {
  display: none;
}

.telegram-dialog-media figcaption {
  margin-top: 10px;
  color: rgba(247, 244, 237, 0.62);
  font-size: 0.7rem;
  text-align: center;
}

.telegram-dialog-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  cursor: pointer;
  justify-self: center;
  place-items: center;
}

.telegram-dialog-arrow:disabled {
  opacity: 0.22;
  cursor: default;
}

.telegram-dialog-copy {
  padding: clamp(34px, 5vw, 78px);
  overflow-y: auto;
}

.telegram-dialog-kind,
.telegram-dialog-copy time {
  display: block;
  margin: 0;
  color: rgba(23, 23, 20, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.telegram-dialog-copy time {
  margin-top: 7px;
}

#telegram-dialog-text {
  margin: clamp(32px, 6vh, 70px) 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  white-space: pre-line;
}

.telegram-dialog-copy > a {
  display: inline-flex;
  padding: 13px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telegram-dialog-copy > a:hover {
  color: var(--ink);
  background: var(--yellow);
}

.archive {
  background: var(--paper-deep);
}

.archive-head {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.archive-head sup {
  display: inline-block;
  margin-left: 10px;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: top;
}

.archive-filters {
  display: flex;
  gap: 8px;
  padding-block: 18px 32px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: none;
}

.archive-filters::-webkit-scrollbar {
  display: none;
}

.filter-button,
.pill-button {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter-button[aria-pressed="true"],
.filter-button:hover,
.pill-button:hover {
  color: var(--paper);
  background: var(--ink);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.archive-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d9d3c8;
  cursor: zoom-in;
}

.archive-item:nth-child(8n + 1),
.archive-item:nth-child(8n + 6) {
  grid-row: span 2;
}

.archive-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 250ms ease;
}

.archive-item:nth-child(8n + 1) img,
.archive-item:nth-child(8n + 6) img {
  aspect-ratio: 0.55;
}

.archive-item:hover img {
  transform: scale(1.045);
  filter: contrast(1.04);
}

.archive-item span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(23, 23, 20, 0.72);
  border-radius: 50%;
  place-items: center;
}

.archive-more-wrap {
  display: flex;
  margin-top: 42px;
  justify-content: center;
}

.pill-button {
  min-width: 200px;
  padding-block: 14px;
}

.pill-button[hidden] {
  display: none;
}

.contact {
  color: #fff;
  background: var(--coral);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.contact-main {
  padding-right: 7vw;
}

.contact h2 {
  margin: 0 0 54px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 8.2vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.contact-project-upload {
  display: flex;
  width: 100%;
  min-height: 88px;
  margin: -18px 0 42px;
  padding: 20px 26px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  cursor: pointer;
  font-size: clamp(0.82rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-project-upload:hover {
  color: #fff;
  background: transparent;
  transform: translateY(-2px);
}

.contact-project-upload b {
  font-size: 1.25rem;
}

.contact-links {
  display: grid;
}

.contact-links a {
  display: flex;
  padding: 17px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
}

.contact-links a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.contact-links span {
  transition: transform 180ms ease;
}

.contact-links a:hover span {
  transform: translate(4px, -4px);
}

.contact-image img {
  width: 100%;
  height: clamp(430px, 50vw, 720px);
  object-fit: cover;
}

.contact-meta {
  display: grid;
  grid-column: 2;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
}

.contact-meta span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-meta p {
  margin: 0;
}

.contact-meta > a {
  grid-column: 1 / -1;
  justify-self: start;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-meta > .route-button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 18px;
  align-items: center;
  gap: 30px;
  color: var(--coral);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.contact-meta > .route-button:hover {
  color: #fff;
  background: transparent;
}

.route-button b {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.route-button:hover b {
  transform: translate(3px, -3px);
}

.project-intake-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  overflow-y: auto;
}

.project-intake-dialog::backdrop {
  background: rgba(12, 12, 11, 0.78);
  backdrop-filter: blur(8px);
}

.project-intake-dialog[open] {
  display: block;
}

.project-intake-shell {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(320px, 0.7fr) minmax(540px, 1.3fr);
}

.project-intake-head {
  position: sticky;
  top: 0;
  display: flex;
  height: 100dvh;
  padding: clamp(34px, 5vw, 82px);
  color: var(--paper);
  background: var(--ink);
  flex-direction: column;
  overflow: hidden;
}

.project-intake-head .section-kicker {
  color: rgba(247, 244, 237, 0.58);
}

.project-intake-head h2 {
  max-width: 100%;
  margin: auto 0 56px;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 6vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.75;
  white-space: nowrap;
}

.project-intake-head h2 em {
  color: var(--yellow);
  font-weight: 400;
}

.project-intake-head > p:last-child {
  max-width: 430px;
  margin: 0;
  color: rgba(247, 244, 237, 0.65);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.project-intake-close {
  position: absolute;
  top: clamp(22px, 3vw, 42px);
  right: clamp(22px, 3vw, 42px);
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0 0 4px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(247, 244, 237, 0.42);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  font-size: 2rem;
  font-weight: 300;
}

.project-intake-form {
  padding: clamp(34px, 5vw, 82px);
  background: #f7f5ef;
}

.project-intake-trap {
  position: absolute;
  left: -10000px;
}

.project-form-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(46px, 5vw, 76px);
  border: 0;
}

.project-form-section + .project-form-section {
  padding-top: clamp(38px, 4vw, 62px);
  border-top: 1px solid var(--line);
}

.project-form-section legend {
  width: 100%;
  margin: 0 0 32px;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-form-section legend span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-right: 12px;
  background: var(--yellow);
  border-radius: 50%;
  place-items: center;
}

.project-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 22px;
}

.project-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 9px;
}

.project-field-wide {
  grid-column: 1 / -1;
}

.project-field > span,
.project-choice > span {
  color: rgba(23, 23, 20, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.project-field input,
.project-field textarea,
.project-money-input {
  width: 100%;
  min-height: 58px;
  padding: 14px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 20, 0.42);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  outline: none;
  resize: vertical;
  transition: border-color 160ms ease;
}

.project-field textarea {
  min-height: 118px;
}

.project-field input:focus,
.project-field textarea:focus,
.project-money-input:focus-within {
  border-color: var(--coral);
}

.project-field input::placeholder,
.project-field textarea::placeholder {
  color: rgba(23, 23, 20, 0.35);
}

.project-field small {
  color: rgba(23, 23, 20, 0.48);
  font-size: 0.72rem;
}

.project-money-input {
  display: flex;
  padding-block: 0;
  align-items: center;
}

.project-money-input input {
  min-height: 57px;
  padding-block: 14px;
  border: 0;
}

.project-money-input b {
  font-size: 1.1rem;
}

.project-choice {
  display: grid;
  gap: 14px;
  align-content: start;
}

.project-choice-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.project-choice-row label {
  cursor: pointer;
}

.project-choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-choice-row label span {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  color: rgba(23, 23, 20, 0.65);
  background: transparent;
  border: 1px solid rgba(23, 23, 20, 0.28);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.project-choice-row input:checked + span {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.project-choice-row input:focus-visible + span {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.project-conditional[hidden] {
  display: none;
}

.project-file-drop {
  display: grid;
  min-height: 142px;
  padding: 22px 26px;
  align-content: center;
  justify-items: center;
  color: rgba(23, 23, 20, 0.58);
  background: var(--paper);
  border: 1px dashed rgba(23, 23, 20, 0.42);
  border-radius: 26px;
  cursor: pointer;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.project-file-drop:hover,
.project-file-drop.is-dragging {
  background: rgba(239, 212, 122, 0.28);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.project-file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.project-file-drop-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.project-file-drop small {
  margin-top: 8px;
  font-size: 0.72rem;
}

.project-file-summary {
  margin-top: 16px;
  color: rgba(23, 23, 20, 0.55);
  font-size: 0.75rem;
}

.project-file-list {
  display: grid;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.project-file-list li {
  display: grid;
  min-width: 0;
  padding: 12px 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.project-file-list li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-file-list small {
  color: rgba(23, 23, 20, 0.48);
}

.project-file-list button {
  padding: 4px 0;
  color: var(--coral);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-field-error {
  margin: 16px 0 0;
  padding: 12px 16px;
  color: #8f2718;
  background: rgba(232, 92, 66, 0.12);
  border-left: 3px solid var(--coral);
}

.project-form-footer {
  padding-top: clamp(38px, 4vw, 62px);
  border-top: 1px solid var(--line);
}

.project-consent {
  display: grid;
  max-width: 640px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
  color: rgba(23, 23, 20, 0.68);
  font-size: 0.78rem;
}

.project-consent input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

.project-submit-status {
  min-height: 24px;
  margin: 18px 0;
  color: var(--coral);
  font-size: 0.84rem;
}

.project-submit-button,
.project-intake-success button {
  display: flex;
  width: min(100%, 620px);
  min-height: 78px;
  padding: 18px 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.project-submit-button:hover,
.project-intake-success button:hover {
  color: var(--ink);
  background: var(--yellow);
}

.project-submit-button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.project-form-note {
  margin: 14px 0 0;
  color: rgba(23, 23, 20, 0.48);
  font-size: 0.72rem;
}

.project-intake-success {
  min-height: 100dvh;
  padding: clamp(42px, 7vw, 120px);
  align-content: center;
  background: var(--yellow);
}

.project-intake-success:not([hidden]) {
  display: grid;
}

.project-intake-success h3 {
  max-width: 820px;
  margin: 40px 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.project-intake-success h3 em {
  color: var(--coral);
  font-weight: 400;
}

.project-intake-success > p:not(.section-kicker) {
  max-width: 580px;
  margin: 0 0 48px;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.project-intake-success button {
  width: 220px;
  justify-content: center;
}

.site-footer {
  padding: clamp(48px, 6vw, 82px) 0 30px;
  color: #f7f4ed;
  background: var(--ink);
}

.footer-grid {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 28px;
}

.footer-brand {
  position: relative;
  display: block;
  width: clamp(170px, 17vw, 245px);
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  cursor: none;
  isolation: isolate;
  perspective: 760px;
}

.footer-sky,
.footer-sky-image,
.footer-brand-light {
  position: absolute;
  inset: 0;
}

.footer-sky {
  z-index: 0;
  overflow: hidden;
  background: #aebbc6;
}

.footer-sky-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-sky-sunny {
  opacity: 0;
}

.footer-logo-half {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 50%;
  overflow: hidden;
  background: var(--sage);
  backface-visibility: hidden;
  transform: rotateX(0deg) scaleY(1);
  transform-style: preserve-3d;
}

.footer-logo-top {
  top: 0;
  transform-origin: 50% 100%;
}

.footer-logo-bottom {
  top: 50%;
  transform-origin: 50% 0;
}

.footer-logo-half img {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 200%;
  max-width: none;
  object-fit: cover;
}

.footer-logo-top img {
  top: 0;
}

.footer-logo-bottom img {
  bottom: 0;
}

.footer-brand-light {
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 18px 30px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.footer-brand.is-animated .footer-logo-bottom {
  animation: footer-logo-bottom-fold 13s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.footer-brand.is-animated .footer-logo-top {
  animation: footer-logo-top-fold 13s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.footer-brand.is-animated .footer-sky-sunny {
  animation: footer-sky-clear 13s ease-in-out infinite;
}

@keyframes footer-logo-bottom-fold {
  0%, 15% { transform: rotateX(0deg) scaleY(1); opacity: 1; }
  28%, 78% { transform: rotateX(-88deg) scaleY(0.06); opacity: 0; }
  91%, 100% { transform: rotateX(0deg) scaleY(1); opacity: 1; }
}

@keyframes footer-logo-top-fold {
  0%, 27% { transform: rotateX(0deg) scaleY(1); opacity: 1; }
  40%, 67% { transform: rotateX(88deg) scaleY(0.06); opacity: 0; }
  80%, 100% { transform: rotateX(0deg) scaleY(1); opacity: 1; }
}

@keyframes footer-sky-clear {
  0%, 43% { opacity: 0; }
  61%, 78% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

.footer-social {
  display: flex;
  width: min(100%, 760px);
  padding: 22px 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px clamp(24px, 4vw, 58px);
  border-top: 1px solid rgba(247, 244, 237, 0.22);
  border-bottom: 1px solid rgba(247, 244, 237, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social a {
  position: relative;
  padding-block: 4px;
}

.footer-social a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.footer-social a:hover::after {
  transform: scaleX(1);
}

.footer-meta {
  display: flex;
  width: min(100%, 760px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta p {
  margin: 0;
  color: rgba(247, 244, 237, 0.56);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: #f7f4ed;
  background: rgba(12, 12, 11, 0.98);
  border: 0;
  overflow: hidden;
}

.gallery-dialog::backdrop {
  background: rgba(12, 12, 11, 0.92);
}

.gallery-dialog[open] {
  display: grid;
  grid-template-rows: auto 1fr;
}

.gallery-topbar {
  display: flex;
  min-height: 88px;
  padding: 16px 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-topbar p,
.gallery-topbar h2 {
  margin: 0;
}

.gallery-topbar p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-topbar h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.gallery-close {
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0 0 4px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  font-size: 2rem;
  font-weight: 300;
}

.gallery-stage {
  display: grid;
  width: 100vw;
  min-height: 0;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  overflow: hidden;
}

.gallery-stage figure {
  display: grid;
  width: 100%;
  max-width: calc(100vw - 160px);
  min-width: 0;
  height: calc(100dvh - 88px);
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.gallery-visual {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  place-items: center;
}

.gallery-stage img,
.gallery-stage video {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 22px;
  background: #0c0c0b;
  object-fit: contain;
}

.gallery-stage video {
  display: none;
}

.gallery-stage video.is-active {
  display: block;
}

.gallery-stage img[hidden],
.gallery-stage video[hidden] {
  display: none;
}

.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  min-width: 142px;
  padding: 0;
  color: #11110f;
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  grid-template-columns: 54px auto;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
}

.gallery-video-play[hidden] {
  display: none;
}

.gallery-video-play span {
  display: grid;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.35);
  place-items: center;
  font-size: 1rem;
}

.gallery-video-play small {
  padding: 0 20px 0 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-stage figcaption {
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 0 22px 15px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  overflow: hidden;
}

.gallery-stage figcaption span:first-child {
  width: 78%;
  max-width: 78%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-arrow {
  width: 56px;
  height: 56px;
  margin: auto;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 160ms ease, background-color 160ms ease;
}

.gallery-arrow:hover {
  color: var(--ink);
  background: var(--yellow);
}

.gallery-arrow[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll {
    height: 100svh;
  }

  .hero-image-wood,
  .hero-directions,
  .hero-project-credit {
    display: none;
  }

  .hero-content {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1240px) and (min-width: 1041px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    gap: 9px;
    font-size: 0.6rem;
  }
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 40px, 1480px);
  }

  .site-header {
    height: 74px;
    padding-inline: 20px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-open .menu-toggle > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .menu-toggle > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    padding: 110px 24px 40px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--ink);
    background: var(--yellow);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a,
  .site-nav .project-intake-trigger {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 7vw, 4.6rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.9;
    text-transform: none;
  }

  .site-nav .nav-contact {
    padding: 12px 22px 16px;
    color: var(--paper);
    background: var(--ink);
    border-radius: 999px;
    line-height: 1;
  }

  .project-intake-shell {
    grid-template-columns: 1fr;
  }

  .project-intake-head {
    position: relative;
    height: auto;
    min-height: 430px;
  }

  .project-intake-head h2 {
    margin: 110px 0 42px;
  }

  .project-intake-head > p:last-child {
    padding-right: 70px;
  }

  .menu-open .site-header {
    color: var(--ink);
    background: transparent;
    border-color: rgba(23, 23, 20, 0.24);
    backdrop-filter: none;
  }

  .hero-index {
    display: none;
  }

  .production-grid {
    grid-template-columns: 1fr;
  }

  .production-sticky {
    position: static;
  }

  .materials-rail {
    grid-auto-columns: calc((100% - 36px) / 3);
  }

  .project-card {
    flex-basis: 82vw;
  }

  .process-card {
    flex-basis: 82vw;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .configurator-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  }

  .telegram-heading {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .telegram-lead {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: end;
  }

  .telegram-lead > p {
    margin-bottom: 0;
  }

  .telegram-card {
    flex-basis: min(42vw, 390px);
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-item:nth-child(8n + 1),
  .archive-item:nth-child(8n + 6) {
    grid-row: auto;
  }

  .archive-item:nth-child(8n + 1) img,
  .archive-item:nth-child(8n + 6) img {
    aspect-ratio: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section-pad {
    padding-block: 86px;
  }

  .section-head,
  .archive-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-project-upload {
    min-height: 68px;
    margin-top: -22px;
    padding: 16px 20px;
    font-size: 0.68rem;
  }

  .project-intake-head,
  .project-intake-form,
  .project-intake-success {
    padding: 28px 20px;
  }

  .project-intake-head {
    min-height: 360px;
  }

  .project-intake-head h2 {
    margin: 100px 0 34px;
    font-size: clamp(3.55rem, 17vw, 5.2rem);
  }

  .project-intake-head > p:last-child {
    padding-right: 0;
  }

  .project-intake-close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .project-form-grid,
  .project-contact-grid {
    grid-template-columns: 1fr;
  }

  .project-field-wide {
    grid-column: auto;
  }

  .project-file-drop {
    min-height: 132px;
    padding: 20px 16px;
    border-radius: 22px;
  }

  .project-file-list li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .project-file-list li small {
    display: none;
  }

  .project-submit-button {
    min-height: 66px;
    padding-inline: 22px;
  }

  .section-head h2,
  .archive-head h2 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  .brand span {
    display: none;
  }

  .hero-content {
    padding-top: 128px;
    padding-bottom: 28px;
  }

  .hero-scroll {
    height: 1700svh;
  }

  .hero-direction-frame {
    width: min(78vw, 430px);
  }

  .hero-directions-kicker {
    top: 94px;
    width: 100%;
    text-align: center;
  }

  .hero-direction-slide > div {
    padding: 28px;
  }

  .hero-direction-slide h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-project-credit {
    display: none;
  }

  .hero-direction-progress {
    right: 14px;
    left: 14px;
  }

  .hero-direction-count {
    right: 14px;
  }

  .hero h1 {
    margin-top: auto;
    font-size: clamp(3.65rem, 16.8vw, 6.4rem);
    line-height: 0.78;
  }

  .hero-bottom {
    margin-top: 44px;
    align-items: flex-end;
  }

  .hero-bottom > p {
    max-width: calc(100% - 92px);
    font-size: 0.95rem;
  }

  .round-link {
    width: 82px;
    height: 82px;
    padding: 12px;
    font-size: 0.58rem;
  }

  .round-link span:last-child {
    font-size: 1rem;
  }

  .statement-grid {
    grid-template-columns: 1fr;
  }

  .statement-copy {
    font-size: clamp(2.35rem, 11vw, 4.2rem);
  }

  .statement-aside {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .statement-aside span {
    margin: 0;
  }

  .project-controls {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .project-controls > p {
    display: none;
  }

  .project-navigation {
    width: 100%;
    justify-content: flex-end;
  }

  .project-sort {
    width: 100%;
  }

  .project-sort button,
  .progress-sort button {
    flex: 1;
    padding-right: 8px;
    padding-left: 8px;
  }

  .project-position {
    margin-right: auto;
  }

  .project-grid {
    gap: 14px;
    width: 100%;
  }

  .project-card {
    flex-basis: calc(100% - 28px);
  }

  .work-progress-grid,
  .technology-grid {
    grid-template-columns: 1fr;
  }

  .progress-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .progress-toolbar-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .progress-filters {
    width: 100%;
  }

  .progress-sort {
    width: 100%;
  }

  .progress-filters button {
    flex: 1;
  }

  .work-progress-media {
    aspect-ratio: 1;
  }

  .work-stages {
    grid-template-columns: 1fr;
  }

  .work-stages li {
    padding: 0 0 18px 18px;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    border-top: 0;
    border-left: 2px solid #d9d6ce;
  }

  .work-stages li:last-child {
    padding-bottom: 0;
  }

  .work-stages li > span {
    top: 1px;
    left: -6px;
  }

  .work-stages li.is-complete {
    border-left-color: var(--sage-dark);
  }

  .work-stages li.is-active {
    border-left-color: var(--yellow);
  }

  .work-stages strong,
  .work-stages small {
    overflow: visible;
    white-space: normal;
  }

  .work-progress-foot {
    gap: 18px;
  }

  .technology-heading {
    margin-top: 74px;
  }

  .project-media {
    aspect-ratio: 1.08;
  }

  .project-info {
    grid-template-columns: 1fr auto;
  }

  .production-controls {
    margin-bottom: 18px;
  }

  .production-controls > p {
    display: none;
  }

  .production-navigation {
    width: 100%;
    justify-content: flex-end;
  }

  .production-position {
    margin-right: auto;
  }

  .production-cards {
    gap: 14px;
    width: 100%;
  }

  .process-card {
    flex-basis: calc(100% - 28px);
  }

  .process-media {
    aspect-ratio: 1.08;
  }

  .process-info {
    grid-template-columns: 36px 1fr;
  }

  .process-card p {
    grid-column: 2;
  }

  .materials-rail {
    width: 100%;
    grid-auto-columns: calc(100% - 38px);
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .telegram-heading {
    gap: 30px;
  }

  .telegram-heading h2 {
    font-size: clamp(3.3rem, 15vw, 5.2rem);
    line-height: 0.82;
  }

  .telegram-lead {
    display: block;
  }

  .telegram-lead > p {
    margin-bottom: 28px;
  }

  .telegram-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .telegram-choices button,
  .telegram-choices a {
    gap: 10px;
    padding-inline: 15px;
  }

  .telegram-feed-head {
    gap: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .telegram-navigation {
    width: 100%;
  }

  .telegram-position {
    margin-right: auto;
  }

  .telegram-card {
    flex-basis: calc(100% - 38px);
  }

  .telegram-card-body {
    min-height: 190px;
  }

  .telegram-dialog-topbar {
    min-height: 74px;
    padding: 10px 14px;
  }

  .telegram-dialog-topbar h2 {
    font-size: 1.65rem;
  }

  .telegram-dialog-close {
    width: 44px;
    height: 44px;
  }

  .telegram-dialog-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 48dvh) minmax(0, 1fr);
  }

  .telegram-dialog-media {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .telegram-dialog-media figure {
    padding: 12px 0;
  }

  .telegram-dialog-arrow {
    width: 42px;
    height: 42px;
  }

  .telegram-dialog-copy {
    padding: 24px 18px 34px;
  }

  #telegram-dialog-text {
    margin: 22px 0 28px;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .product-card:nth-child(n) .product-media img {
    aspect-ratio: 1;
  }

  .configurators {
    padding-block: 34px;
  }

  .configurator-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .configurator-copy {
    min-height: 0;
    padding: 28px;
    grid-template-columns: 1fr;
  }

  .configurator-title-line h2 {
    font-size: clamp(3.8rem, 20vw, 5.2rem);
  }

  .configurator-copy > p:not(.section-kicker) {
    grid-column: 1;
    margin-top: 18px;
  }

  .configurator-copy > a {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
  }

  .configurator-preview {
    min-height: 190px;
    padding: 28px;
  }

  .vario-object {
    width: min(58%, 250px);
  }

  .vario-options {
    bottom: 18px;
    left: 18px;
  }

  .product-info {
    grid-template-columns: 1fr auto;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .archive-item img {
    min-height: 170px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-main {
    padding-right: 0;
  }

  .contact h2 {
    font-size: clamp(4rem, 20vw, 7rem);
  }

  .contact-image img {
    height: 460px;
  }

  .contact-meta {
    grid-column: 1;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-brand {
    width: clamp(150px, 48vw, 190px);
    margin-bottom: 0;
  }

  .footer-social {
    padding-block: 18px;
    flex-wrap: nowrap;
    gap: 12px;
    font-size: 0.58rem;
  }

  .footer-meta {
    gap: 16px;
  }

  .footer-meta p {
    font-size: 0.58rem;
  }

  .gallery-topbar {
    min-height: 74px;
    padding: 10px 14px;
  }

  .gallery-close {
    width: 44px;
    height: 44px;
  }

  .gallery-stage {
    position: relative;
    display: block;
  }

  .gallery-stage figure {
    max-width: 100vw;
    height: calc(100dvh - 74px);
  }

  .gallery-stage img,
  .gallery-stage video {
    padding: 12px;
  }

  .gallery-arrow {
    position: absolute;
    bottom: 56px;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(12, 12, 11, 0.74);
  }

  .gallery-arrow.prev {
    left: 14px;
  }

  .gallery-arrow.next {
    right: 14px;
  }

  .gallery-stage figcaption {
    padding-inline: 14px;
  }
}

/* ERP production areas. */
.process-media-count {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  color: var(--ink) !important;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.64rem !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.process-info {
  grid-template-columns: minmax(150px, 0.55fr) minmax(280px, 1fr) minmax(230px, 0.72fr);
  align-items: start;
}

.process-info > span {
  padding-top: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-info > div:nth-child(2) p {
  max-width: 580px;
  margin-top: 10px;
  line-height: 1.45;
}

.process-equipment {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.process-equipment span,
.process-equipment b {
  padding: 7px 10px;
  border: 1px solid rgba(245, 242, 234, 0.28);
  border-radius: 999px;
  font-size: 0.58rem !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process-equipment b {
  width: 100%;
  margin-top: 6px;
  color: var(--yellow);
  border-color: transparent;
  text-align: right;
}

/* Configurators reuse the calm square-card rhythm of the shop. */
.configurators {
  padding-block: clamp(72px, 9vw, 140px);
  color: var(--ink);
  background: var(--paper);
}

.configurators .section-kicker {
  margin-bottom: 9px;
  color: rgba(23, 23, 20, 0.58);
}

.configurator-catalog-result {
  display: flex;
  margin: clamp(38px, 5vw, 70px) 0 22px;
  padding-bottom: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: rgba(23, 23, 20, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurator-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.configurator-product-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
}

.configurator-product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ded8cc;
}

.configurator-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 300ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.configurator-product-card:hover img,
.configurator-product-card:focus-visible img {
  filter: saturate(1.1) contrast(1.03);
  transform: scale(1.04);
}

.configurator-product-media > span,
.configurator-product-media > b {
  position: absolute;
  top: 14px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurator-product-media > span {
  left: 14px;
}

.configurator-product-media > b {
  right: 14px;
}

.configurator-product-info {
  display: grid;
  min-height: 230px;
  padding: 20px;
  align-content: start;
  border-top: 1px solid var(--line);
}

.configurator-product-info h3,
.configurator-product-info p {
  margin: 0;
}

.configurator-product-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.configurator-product-info p {
  margin-top: 16px;
  color: rgba(23, 23, 20, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.configurator-product-info > span {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurator-detail-hero {
  color: var(--ink);
  background: var(--yellow);
}

.configurator-detail-hero .detail-breadcrumbs,
.configurator-detail-hero .detail-breadcrumbs a,
.configurator-detail-hero .project-detail-back,
.configurator-detail-hero .project-detail-heading > p {
  color: rgba(23, 23, 20, 0.66);
}

.configurator-detail-hero .product-detail-heading h1 {
  max-width: 12ch;
  color: var(--ink);
}

.configurator-workspace {
  background: #fff;
}

.configurator-page.has-external-configurator .configurator-detail-hero {
  padding-bottom: clamp(34px, 5vw, 64px);
}

.configurator-page.has-external-configurator .project-detail-back {
  margin-bottom: clamp(32px, 5vw, 60px);
}

.configurator-page.has-external-configurator .project-detail-heading {
  margin-bottom: 0;
}

.configurator-page.has-external-configurator .product-detail-heading h1 {
  font-size: clamp(3.8rem, 8vw, 8.6rem);
}

.vario-configurator-embed {
  color: var(--ink);
}

.vario-configurator-embed[hidden],
.configurator-workspace-grid[hidden] {
  display: none;
}

.vario-configurator-foot a {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.vario-configurator-foot a:hover,
.vario-configurator-foot a:focus-visible {
  color: var(--coral);
}

.vario-frame-shell {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.vario-configurator-embed iframe {
  display: block;
  width: 100%;
  height: min(84vh, 980px);
  min-height: 760px;
  border: 0;
  background: #050505;
  opacity: 0;
  transition: opacity 450ms ease;
}

.vario-frame-loader {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  gap: 20px;
  place-content: center;
  justify-items: center;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 45%, rgba(143, 164, 141, 0.28), transparent 34%),
    #11110f;
  transition: opacity 350ms ease, visibility 350ms ease;
}

.vario-frame-loader span {
  width: 74px;
  aspect-ratio: 1;
  border: 2px solid rgba(239, 212, 122, 0.2);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: vario-loader-spin 900ms linear infinite;
}

.vario-frame-loader p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vario-frame-shell.is-loaded iframe {
  opacity: 1;
}

.vario-frame-shell.is-loaded .vario-frame-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.vario-configurator-foot {
  display: flex;
  min-height: 64px;
  padding: 14px 4px 0;
  align-items: center;
  justify-content: space-between;
}

.vario-configurator-foot > span {
  color: rgba(23, 23, 20, 0.5);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

@keyframes vario-loader-spin {
  to { transform: rotate(360deg); }
}

.configurator-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.configurator-product-view {
  position: sticky;
  top: 100px;
}

.configurator-product-view figure {
  margin: 0;
}

.configurator-product-view img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper-deep);
}

.configurator-product-view figcaption {
  max-width: 600px;
  margin-top: 12px;
  color: rgba(23, 23, 20, 0.56);
  font-size: 0.74rem;
  line-height: 1.45;
}

.configurator-form {
  display: grid;
  gap: 28px;
}

.configurator-form-head {
  display: flex;
  padding-bottom: 20px;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.configurator-form-head p,
.configurator-form-head h2 {
  margin: 0;
}

.configurator-form-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.configurator-form-head > span {
  padding: 8px 12px;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.configurator-field {
  display: grid;
  gap: 8px;
}

.configurator-field > span:first-child {
  color: rgba(23, 23, 20, 0.58);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurator-field select,
.configurator-number-input {
  width: 100%;
  min-height: 54px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.configurator-field select,
.configurator-number-input input {
  padding: 0 18px;
  font: inherit;
}

.configurator-number-input {
  display: flex;
  align-items: center;
}

.configurator-number-input input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
}

.configurator-number-input b {
  padding-right: 18px;
  color: rgba(23, 23, 20, 0.5);
  font-size: 0.75rem;
}

.configurator-order-summary {
  padding: 24px;
  background: var(--sage);
  border-radius: 28px;
}

.configurator-order-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.configurator-order-summary span,
.configurator-order-summary small {
  color: rgba(23, 23, 20, 0.6);
}

.configurator-order-summary span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.configurator-order-summary strong {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 400;
}

.configurator-order-summary p {
  margin: 20px 0 10px;
  line-height: 1.5;
}

.configurator-order-summary small {
  display: block;
  line-height: 1.45;
}

.configurator-commerce-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.configurator-commerce-actions button {
  min-height: 48px;
  padding: 11px 18px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.configurator-commerce-actions button[type="submit"] {
  color: var(--paper);
  background: var(--ink);
}

.configurator-commerce-actions button:hover {
  color: var(--ink);
  background: var(--yellow);
}

.configurator-status {
  margin: -10px 0 0;
  color: rgba(23, 23, 20, 0.58);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1040px) {
  .configurator-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .configurator-workspace-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .process-info {
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  }

  .process-equipment {
    grid-column: 2;
    justify-content: flex-start;
  }

  .process-equipment b {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .production-controls > p {
    max-width: 48%;
  }

  .process-card {
    flex-basis: 88vw;
  }

  .process-media {
    aspect-ratio: 1;
  }

  .process-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-info > span,
  .process-equipment {
    grid-column: 1;
  }

  .process-equipment {
    justify-content: flex-start;
  }

  .process-equipment span:nth-child(n + 3) {
    display: none;
  }

  .configurators {
    padding-block: 86px;
  }

  .configurator-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .configurator-product-media > b {
    display: none;
  }

  .configurator-product-info {
    min-height: 165px;
    padding: 14px;
  }

  .configurator-product-info h3 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .configurator-product-info p {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    font-size: 0.74rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .configurator-product-info > span {
    font-size: 0.56rem;
  }

  .configurator-detail-hero .product-detail-heading h1 {
    max-width: none;
  }

  .vario-frame-shell,
  .vario-configurator-embed iframe {
    height: calc(100dvh - 88px);
    min-height: 620px;
  }

  .vario-configurator-foot {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .configurator-workspace-grid {
    grid-template-columns: 1fr;
  }

  .configurator-product-view {
    position: static;
  }

  .configurator-fields {
    grid-template-columns: 1fr;
  }

  .configurator-order-summary > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.project-page {
  color: var(--ink);
  background: var(--paper);
}

.project-detail-hero {
  padding: clamp(132px, 14vw, 196px) 0 clamp(56px, 7vw, 96px);
  color: #f5f2ea;
  background: var(--ink);
}

.project-detail-back {
  display: inline-flex;
  margin-bottom: clamp(54px, 8vw, 120px);
  padding-bottom: 5px;
  color: rgba(245, 242, 234, 0.72);
  border-bottom: 1px solid rgba(245, 242, 234, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.project-detail-back:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.project-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 42px;
  margin-bottom: clamp(42px, 6vw, 82px);
  align-items: end;
}

.project-detail-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: rgba(245, 242, 234, 0.66);
}

.project-detail-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.project-detail-heading > p:last-child {
  max-width: 30rem;
  margin: 0 0 7px;
  color: rgba(245, 242, 234, 0.76);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
}

.project-detail-overview {
  background: var(--paper);
}

.project-detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-detail-facts > div {
  min-height: 142px;
  padding: 24px clamp(16px, 2vw, 30px);
  border-right: 1px solid var(--line);
}

.project-detail-facts > div:first-child {
  padding-left: 0;
}

.project-detail-facts > div:last-child {
  border-right: 0;
}

.project-detail-facts dt {
  color: rgba(23, 23, 20, 0.56);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-detail-facts dd {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.project-detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(42px, 10vw, 190px);
  padding-top: clamp(58px, 8vw, 120px);
}

.project-detail-copy .section-kicker {
  margin-bottom: 18px;
}

.project-detail-copy > div > p:last-child {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(1.08rem, 1.55vw, 1.4rem);
  line-height: 1.46;
}

.project-detail-copy .project-detail-summary {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 3.25rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.project-story {
  background: #e4e8df;
}

.project-story-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.5fr);
  gap: 48px;
  margin-bottom: clamp(28px, 4vw, 48px);
  align-items: end;
}

.project-story-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.8;
}

.project-story-head > p {
  max-width: 30rem;
  margin: 0;
  font-size: 1rem;
}

.project-story-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-story-item {
  min-width: 0;
}

.project-story-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #272724;
  border: 0;
  cursor: pointer;
}

.project-story-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 250ms ease;
}

.project-story-media:hover img,
.project-story-media:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.025);
}

.project-story-video {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-story-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.project-story-empty {
  margin: 0;
  color: rgba(23, 23, 20, 0.56);
}

.products-catalog {
  color: var(--ink);
  background: #fff;
}

.product-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(135px, 1fr));
  gap: 12px;
  padding: 18px;
  margin-bottom: 18px;
  background: #eef0e9;
  border: 1px solid rgba(23, 23, 20, 0.1);
}

.product-catalog-toolbar label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.product-catalog-toolbar label > span {
  color: rgba(23, 23, 20, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-catalog-toolbar input,
.product-catalog-toolbar select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 23, 20, 0.2);
  border-radius: 0;
  font: inherit;
  font-size: 0.82rem;
}

.product-catalog-toolbar input:focus,
.product-catalog-toolbar select:focus {
  border-color: var(--green-dark);
  outline: 2px solid rgba(112, 137, 112, 0.2);
}

.product-catalog-result {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 15px;
  color: rgba(23, 23, 20, 0.55);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.products-catalog-grid,
.project-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-product-card {
  min-width: 0;
  color: var(--ink);
  background: #f4f2eb;
  cursor: pointer;
  transition: transform 260ms ease, background-color 260ms ease;
}

.catalog-product-card:hover,
.catalog-product-card:focus-visible {
  background: #e8ecdf;
  outline: none;
  transform: translateY(-3px);
}

.catalog-product-media {
  position: relative;
  overflow: hidden;
  background: #d9ddd4;
}

.catalog-product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-product-card:hover .catalog-product-media img,
.catalog-product-card:focus-visible .catalog-product-media img {
  transform: scale(1.025);
}

.catalog-product-number,
.catalog-product-category {
  position: absolute;
  top: 14px;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(23, 23, 20, 0.12);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-product-number {
  left: 14px;
  min-width: 44px;
  text-align: center;
}

.catalog-product-category {
  right: 14px;
  max-width: calc(100% - 72px);
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
  line-height: 1.12;
  text-align: right;
}

.catalog-product-category strong {
  font: inherit;
}

.catalog-product-category small {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.5rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  opacity: 0.62;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-product-copy {
  padding: 18px 18px 20px;
}

.catalog-product-copy > p {
  min-height: 2.2em;
  margin: 0 0 10px;
  color: rgba(23, 23, 20, 0.55);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.catalog-product-copy h3 {
  min-height: 2em;
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.catalog-product-copy > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 23, 20, 0.18);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 54px 0;
  color: rgba(23, 23, 20, 0.58);
  border-top: 1px solid var(--line);
}

.project-products {
  color: var(--ink);
  background: var(--yellow);
}

.project-products-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.5fr);
  gap: 48px;
  margin-bottom: clamp(28px, 4vw, 48px);
  align-items: end;
}

.project-products-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.85;
}

.project-products-head > p {
  max-width: 30rem;
  margin: 0;
}

.project-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-product-card.is-compact {
  background: rgba(255, 255, 255, 0.7);
}

.product-page {
  color: var(--ink);
  background: var(--paper);
}

.product-detail-hero {
  padding: clamp(118px, 12vw, 174px) 0 clamp(48px, 6vw, 82px);
  color: #f5f2ea;
  background: var(--ink);
}

.detail-breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(245, 242, 234, 0.5);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-breadcrumbs a {
  color: rgba(245, 242, 234, 0.72);
}

.detail-breadcrumbs a:hover {
  color: var(--yellow);
}

.detail-breadcrumbs > span:last-child {
  max-width: 38vw;
  overflow: hidden;
  color: var(--yellow);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail-heading h1 {
  font-size: clamp(3.6rem, 8.2vw, 8.7rem);
}

.product-detail-overview {
  background: var(--paper);
}

.product-detail-facts a,
.project-detail-facts a {
  color: inherit;
  border-bottom: 1px solid rgba(23, 23, 20, 0.3);
}

.product-media-story {
  background: #e4e8df;
}

@media (max-width: 1040px) {
  .product-catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-search {
    grid-column: 1 / -1;
  }

  .products-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .project-detail-hero {
    padding-top: 116px;
  }

  .project-detail-back {
    margin-bottom: 54px;
  }

  .project-detail-heading,
  .project-detail-copy,
  .project-story-head,
  .project-story-item {
    grid-template-columns: 1fr;
  }

  .project-detail-heading {
    gap: 24px;
  }

  .project-detail-heading h1 {
    font-size: clamp(4.1rem, 18vw, 6.8rem);
  }

  .project-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-detail-facts > div {
    min-height: 118px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .project-detail-facts > div:first-child,
  .project-detail-facts > div:nth-child(3) {
    padding-left: 0;
  }

  .project-detail-facts > div:nth-child(2),
  .project-detail-facts > div:last-child {
    border-right: 0;
  }

  .project-detail-facts > div:nth-child(3),
  .project-detail-facts > div:last-child {
    border-bottom: 0;
  }

  .project-detail-copy {
    gap: 44px;
  }

  .project-story-head {
    gap: 28px;
  }

  .project-story-head h2 {
    font-size: clamp(3.8rem, 17vw, 6.2rem);
  }

  .project-story-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-catalog-toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .product-search {
    grid-column: auto;
  }

  .product-catalog-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .products-catalog-grid,
  .project-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-product-category {
    display: none;
  }

  .catalog-product-copy {
    padding: 13px;
  }

  .catalog-product-copy h3 {
    min-height: 2.5em;
    margin-bottom: 14px;
    font-size: clamp(1.18rem, 6vw, 1.7rem);
  }

  .catalog-product-copy > p {
    min-height: 3em;
    font-size: 0.57rem;
  }

  .catalog-product-copy > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 0.57rem;
  }

  .project-products-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-products-head h2 {
    font-size: clamp(3.2rem, 15vw, 5.8rem);
  }

  .product-detail-hero {
    padding-top: 104px;
  }

  .detail-breadcrumbs {
    flex-wrap: wrap;
    font-size: 0.56rem;
  }

  .detail-breadcrumbs > span:last-child {
    max-width: 70vw;
  }
}

/* Shared control language: solid active pills, quiet outlined inactive pills. */
:is(
  .project-sort button,
  .progress-sort button,
  .progress-filters button,
  .telegram-choices button,
  .telegram-choices a,
  .filter-button,
  .pill-button,
  .product-actions button,
  .product-actions a,
  .configurator-copy > a,
  .contact-meta > .route-button,
  .project-detail-back,
  .nav-contact
) {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(23, 23, 20, 0.68);
  background: transparent;
  border: 1px solid rgba(23, 23, 20, 0.34);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

:is(
  .project-sort button,
  .progress-sort button,
  .progress-filters button,
  .filter-button
)[aria-pressed="true"],
.telegram-choices button[aria-expanded="true"],
:is(
  .project-sort button,
  .progress-sort button,
  .progress-filters button,
  .telegram-choices button,
  .telegram-choices a,
  .filter-button,
  .pill-button,
  .product-actions button,
  .product-actions a,
  .configurator-copy > a,
  .contact-meta > .route-button,
  .project-detail-back,
  .nav-contact
):hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

:is(
  .telegram-choices button,
  .product-actions button,
  .configurator-copy > a,
  .contact-meta > .route-button,
  .nav-contact
) {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

:is(.project-detail-hero, .product-detail-hero) .project-detail-back {
  width: fit-content;
  margin-bottom: clamp(54px, 8vw, 120px);
  color: var(--paper);
  border-color: rgba(245, 242, 234, 0.45);
}

:is(.project-detail-hero, .product-detail-hero) .project-detail-back:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.configurator-copy > a {
  justify-content: space-between;
}

.contact-meta > .route-button:hover,
.configurator-copy > a:hover,
.nav-contact:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.product-catalog-toolbar input,
.product-catalog-toolbar select {
  padding-inline: 16px;
  border-color: rgba(23, 23, 20, 0.28);
  border-radius: 999px;
}

.gallery-video-play {
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-video-play span {
  background: rgba(255, 255, 255, 0.1);
}

.gallery-video-play:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translate(-50%, -50%) scale(1.03);
}

/* Product cards are true square tiles with their information inside the image. */
.catalog-product-card,
.catalog-product-card.is-compact {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  color: #fff;
  background: #d9ddd4;
  isolation: isolate;
}

.catalog-product-card:hover,
.catalog-product-card:focus-visible,
.catalog-product-card.is-compact:hover,
.catalog-product-card.is-compact:focus-visible {
  background: #d9ddd4;
}

.catalog-product-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.catalog-product-media::after {
  position: absolute;
  inset: 36% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(12, 12, 11, 0.84));
  content: "";
  pointer-events: none;
}

.catalog-product-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.catalog-product-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(15px, 1.5vw, 24px);
  color: #fff;
}

.catalog-product-copy > p {
  min-height: 0;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.catalog-product-copy h3 {
  min-height: 0;
  margin-bottom: clamp(12px, 1.3vw, 18px);
  font-size: clamp(1.35rem, 1.9vw, 2.15rem);
}

.catalog-product-copy > div {
  color: rgba(255, 255, 255, 0.86);
  border-top-color: rgba(255, 255, 255, 0.34);
}

@media (max-width: 760px) {
  :is(
    .project-sort button,
    .progress-sort button,
    .progress-filters button,
    .telegram-choices button,
    .telegram-choices a,
    .filter-button,
    .pill-button,
    .product-actions button,
    .product-actions a,
    .configurator-copy > a,
    .contact-meta > .route-button,
    .project-detail-back,
    .nav-contact
  ) {
    min-height: 44px;
    padding: 10px 15px;
    font-size: 0.64rem;
  }

  .catalog-product-copy {
    padding: 12px;
  }

  .catalog-product-copy > p,
  .catalog-product-category {
    display: none;
  }

  .catalog-product-copy h3 {
    min-height: 0;
    margin-bottom: 9px;
    font-size: clamp(1.02rem, 5vw, 1.35rem);
  }

  .catalog-product-copy > div {
    flex-direction: row;
    gap: 8px;
    padding-top: 8px;
    font-size: 0.5rem;
  }

  .catalog-product-number {
    top: 10px;
    left: 10px;
    min-width: 38px;
    min-height: 34px;
    padding: 7px 11px;
  }
}

/* Materials are ERP technologies: square catalog cards and a complete technology page. */
.material-catalog-result {
  margin-top: clamp(38px, 5vw, 70px);
}

.material-technology-card .catalog-product-copy > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.material-detail-hero {
  background: var(--sage-dark);
}

.material-detail-hero .detail-breadcrumbs > span:last-child {
  color: var(--yellow);
}

.material-detail-hero .product-detail-heading h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 7.5vw, 8.2rem);
}

.technology-process {
  color: var(--ink);
  background: var(--yellow);
}

.technology-step-list {
  display: grid;
  margin: clamp(36px, 5vw, 68px) 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 23, 20, 0.3);
  list-style: none;
}

.technology-step-list li {
  display: grid;
  min-height: 190px;
  padding: clamp(22px, 3vw, 38px);
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  border-right: 1px solid rgba(23, 23, 20, 0.3);
  border-bottom: 1px solid rgba(23, 23, 20, 0.3);
}

.technology-step-list li:nth-child(even) {
  border-right: 0;
}

.technology-step-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  background: var(--paper);
  border-radius: 50%;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.technology-step-list h3,
.technology-step-list p {
  margin: 0;
}

.technology-step-list h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.technology-step-list p {
  max-width: 34rem;
  margin-top: 14px;
  color: rgba(23, 23, 20, 0.64);
}

.technology-step-empty {
  grid-column: 1 / -1;
}

.material-samples {
  background: #fff;
}

.material-applications {
  background: #e4e8df;
}

.material-application-list {
  display: grid;
  margin-top: clamp(38px, 5vw, 70px);
  gap: clamp(52px, 7vw, 96px);
}

.material-application-group {
  min-width: 0;
}

.material-application-group > header {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 18px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(23, 23, 20, 0.26);
}

.material-application-group header p,
.material-application-group header h3 {
  margin: 0;
}

.material-application-group header p {
  margin-bottom: 5px;
  color: rgba(23, 23, 20, 0.56);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-application-group header h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.material-application-group header button {
  min-height: 46px;
  padding: 10px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-application-group header button:hover {
  color: var(--ink);
  background: var(--yellow);
}

@media (max-width: 1040px) {
  .material-technology-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .material-technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-technology-card .catalog-product-copy > p {
    display: none;
  }

  .material-detail-hero .product-detail-heading h1 {
    max-width: none;
    font-size: clamp(3.2rem, 15vw, 5.8rem);
  }

  .technology-step-list {
    grid-template-columns: 1fr;
  }

  .technology-step-list li,
  .technology-step-list li:nth-child(even) {
    min-height: 0;
    padding: 22px 0;
    grid-template-columns: 42px minmax(0, 1fr);
    border-right: 0;
  }

  .technology-step-list h3 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .material-application-group > header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Keep the configurator detail page yellow after shared product-page rules. */
.configurator-detail-hero {
  color: var(--ink);
  background: var(--yellow);
}

.configurator-detail-hero .project-detail-back {
  color: var(--ink);
  border-color: rgba(23, 23, 20, 0.34);
}

.configurator-detail-hero .project-detail-back:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
