@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --ink: #242824;
  --muted: #636862;
  --paper: #fbfcf3;
  --white: #ffffff;
  --line: #d5dccd;
  --leaf: #58a83b;
  --forest: #47783c;
  --mist: #e8f3df;
  --orange: #f47f2b;
  --blueprint: #dbeaf1;
  --tree-branch: rgba(127, 78, 52, 0.42);
  --tree-bark: rgba(174, 84, 50, 0.72);
  --tree-bark-dark: rgba(69, 47, 38, 0.48);
  --tree-bark-light: rgba(234, 168, 112, 0.66);
  --tree-leaf: rgba(139, 190, 110, 0.62);
  --shadow: 0 20px 60px rgba(54, 82, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html:has(.services-page) {
  scrollbar-gutter: stable;
}

/* Services demo concept page. Scoped so the current services page is untouched. */
.services-demo-page {
  background: var(--paper);
}

.services-demo-hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 70vh, 760px);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  padding: clamp(132px, 14vw, 190px) clamp(22px, 7vw, 108px) clamp(72px, 9vw, 130px);
  border-bottom: 1px solid rgba(86, 129, 52, 0.18);
  background: var(--mist);
  overflow: hidden;
}

.services-demo-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.services-demo-copy .page-subtitle {
  margin-top: clamp(10px, 2vw, 18px);
  color: var(--forest);
  font-size: clamp(3.6rem, 8vw, 8.8rem);
  line-height: 0.9;
}

.services-demo-copy p:last-child {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(36, 40, 36, 0.74);
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.58;
}

.services-demo-rack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  align-self: stretch;
  min-height: 500px;
  padding: 32px 28px;
  border: 2px solid rgba(86, 129, 52, 0.5);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(86, 129, 52, 0.08), transparent 18% 82%, rgba(86, 129, 52, 0.08)), rgba(246, 249, 236, 0.72);
  box-shadow: 0 28px 70px rgba(36, 40, 36, 0.12);
}

.rack-ear {
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 12px;
  border: 1px solid rgba(86, 129, 52, 0.42);
  border-radius: 999px;
}

.rack-ear-left {
  left: 10px;
}

.rack-ear-right {
  right: 10px;
}

.rack-unit {
  position: relative;
  min-height: 58px;
  border: 2px solid var(--leaf);
  border-radius: 6px;
  background: rgba(246, 249, 236, 0.6);
}

.rack-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.rack-switch span {
  width: 30px;
  height: 25px;
  border: 2px solid var(--leaf);
  border-radius: 3px 3px 5px 5px;
}

.rack-vents {
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(86, 129, 52, 0.36) 14px 16px), rgba(246, 249, 236, 0.56);
}

.rack-screen::before {
  position: absolute;
  inset: 14px 26px;
  border: 2px solid var(--leaf);
  border-radius: 5px;
  background: rgba(86, 129, 52, 0.12);
  content: "";
}

.rack-vents-short {
  min-height: 44px;
}

.rack-amp::before,
.rack-amp::after {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 2px solid var(--leaf);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.rack-amp::before {
  left: 28px;
}

.rack-amp::after {
  right: 28px;
}

.services-demo-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 16vw, 230px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px) clamp(24px, 4vw, 58px);
  padding: clamp(54px, 6vw, 88px) clamp(22px, 7vw, 108px) clamp(68px, 7vw, 104px);
  overflow: hidden;
}

.demo-center-rack {
  position: relative;
  z-index: 1;
  --demo-ru: clamp(27px, 2.8vw, 38px);
  grid-column: 2;
  grid-row: 1 / span 8;
  display: grid;
  grid-template-rows: repeat(8, minmax(calc(var(--demo-ru) * 5), 1fr));
  gap: 0;
  min-height: 100%;
  padding: 0 22px;
  border-right: 3px solid rgba(88, 168, 59, 0.78);
  border-left: 3px solid rgba(88, 168, 59, 0.78);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.demo-center-rack .rack-ear {
  top: 3px;
  bottom: 3px;
  z-index: 4;
  width: 22px;
  border-right: 2px solid rgba(88, 168, 59, 0.78);
  border-left: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 0;
  background: radial-gradient(circle, rgba(88, 168, 59, 0.78) 0 2px, transparent 2.5px) center 8px / 100% 22px repeat-y;
}

.demo-center-rack .rack-ear::before {
  display: none;
}

.demo-center-rack::after {
  position: absolute;
  right: clamp(20px, 2.4vw, 30px);
  bottom: 0;
  left: clamp(20px, 2.4vw, 30px);
  height: 1px;
  background: rgba(88, 168, 59, 0.78);
  content: "";
}

.demo-center-rack::before {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  z-index: 4;
  height: 3px;
  background: rgba(88, 168, 59, 0.78);
  content: "";
}

.demo-rack-bay {
  position: relative;
  display: grid;
  grid-auto-rows: auto;
  gap: 0;
  align-self: stretch;
  align-content: start;
  padding: 0 clamp(7px, 1vw, 10px);
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0.34;
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-rack-bay::before,
.demo-rack-bay::after {
  display: none;
}

.demo-rack-bay::before {
  position: relative;
  display: block;
  order: -2;
  height: var(--demo-ru);
  margin-bottom: -2px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  background: transparent;
  content: "";
}

.demo-rack-bay::after {
  right: 5px;
}

.demo-rack-device {
  position: relative;
  min-height: 0;
  height: var(--demo-ru);
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.demo-rack-bay > * + * {
  margin-top: -2px;
}

.demo-rack-vent {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0 8%;
  background: transparent;
}

.demo-rack-vent span {
  flex: 1;
  height: 42%;
  background: repeating-linear-gradient(90deg, rgba(88, 168, 59, 0.78) 0 2px, transparent 2px 7px);
}

.demo-rack-vent-large {
  height: calc(var(--demo-ru) * 2);
  min-height: 0;
}

.demo-rack-blank {
  min-height: 0;
  background: transparent;
}

.demo-rack-power,
.demo-rack-processor,
.demo-rack-amplifier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 7%;
}

.demo-rack-power {
  min-height: 0;
}

.demo-rack-power span,
.demo-rack-control {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 50%;
}

.demo-rack-power span {
  width: 7px;
  height: 7px;
}

.demo-rack-processor {
  height: calc(var(--demo-ru) * 2);
  min-height: 0;
}

.demo-rack-display {
  width: 34%;
  height: 34%;
  min-height: 14px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 2px;
  background: transparent;
}

.demo-rack-amplifier {
  height: calc(var(--demo-ru) * 2);
  min-height: 0;
}

.demo-rack-meter {
  width: 24%;
  height: 30%;
  min-height: 14px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0 68%, rgba(88, 168, 59, 0.78) 68% 70%, transparent 70%);
}

.demo-rack-switch {
  position: relative;
  order: -1;
  display: flex;
  align-self: center;
  justify-content: center;
  gap: clamp(3px, 0.45vw, 5px);
  height: var(--demo-ru);
  min-height: 0;
  padding: 4px clamp(5px, 0.7vw, 8px);
  border: 2px solid var(--leaf);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.55;
  margin-top: 0;
  transition:
    opacity 260ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-rack-switch::before,
.demo-rack-switch::after {
  display: none;
}

.demo-rack-switch::before {
  right: 100%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right center;
}

.demo-rack-switch::after {
  left: 100%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.demo-rack-switch span {
  width: clamp(8px, 0.9vw, 12px);
  height: clamp(13px, 1.35vw, 18px);
  border: 2px solid var(--leaf);
  border-radius: 3px 3px 5px 5px;
}

.demo-rack-device {
  order: 1;
}

.demo-rack-bay.is-demo-visible {
  opacity: 1;
}

.demo-rack-bay.is-demo-visible .demo-rack-switch {
  opacity: 1;
  box-shadow: none;
}

.demo-rack-bay.is-demo-visible .demo-rack-switch::before,
.demo-rack-bay.is-demo-visible .demo-rack-switch::after {
  transition-delay: 90ms;
  transform: translateY(-50%) scaleX(1);
}

.demo-backbone {
  position: absolute;
  inset: clamp(38px, 6vw, 92px) clamp(24px, 7vw, 110px);
  z-index: 0;
  pointer-events: none;
}

.demo-backbone::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background: rgba(86, 129, 52, 0.32);
  content: "";
}

.demo-backbone span {
  position: absolute;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 999px;
  background: rgba(86, 129, 52, 0.32);
}

.demo-backbone span:nth-child(1) { top: 13%; }
.demo-backbone span:nth-child(2) { top: 38%; }
.demo-backbone span:nth-child(3) { top: 63%; }
.demo-backbone span:nth-child(4) { top: 88%; }

.demo-service-card {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  min-height: 190px;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 2px;
  column-gap: 14px;
  align-items: start;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid rgba(86, 129, 52, 0.24);
  border-radius: 8px;
  background: rgba(246, 249, 236, 0.94);
  box-shadow: 0 22px 54px rgba(36, 40, 36, 0.08);
  overflow: visible;
  opacity: 0;
  transition:
    opacity 420ms ease 360ms,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1) 360ms,
    box-shadow 420ms ease;
}

.demo-service-card:nth-of-type(odd) {
  grid-column: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  transform: translateX(24px);
}

.demo-service-card:nth-of-type(even) {
  grid-column: 3;
  grid-template-columns: auto minmax(0, 1fr);
  transform: translateX(-24px);
  justify-items: end;
  text-align: right;
}

.demo-service-card:nth-of-type(1) { grid-row: 1; }
.demo-service-card:nth-of-type(2) { grid-row: 2; }
.demo-service-card:nth-of-type(3) { grid-row: 3; }
.demo-service-card:nth-of-type(4) { grid-row: 4; }
.demo-service-card:nth-of-type(5) { grid-row: 5; }
.demo-service-card:nth-of-type(6) { grid-row: 6; }
.demo-service-card:nth-of-type(7) { grid-row: 7; }
.demo-service-card:nth-of-type(8) { grid-row: 8; }

.demo-service-card:nth-of-type(odd) .demo-card-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.demo-service-card:nth-of-type(even) .demo-card-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.demo-service-card:nth-of-type(even) h2 {
  grid-column: 2;
  justify-self: end;
}

.demo-service-card:nth-of-type(even) p {
  grid-column: 2;
  justify-self: end;
}

.demo-service-card::before {
  position: absolute;
  top: var(--demo-cable-y, calc(clamp(20px, 2.5vw, 30px) + 31px));
  z-index: 20;
  width: var(--demo-cable-width, clamp(140px, 13vw, 190px));
  height: 2px;
  background: rgba(88, 168, 59, 0.86);
  content: "";
  transform: scaleX(0);
  transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1) 80ms;
  pointer-events: none;
}

.demo-service-card:nth-of-type(even)::before {
  right: 100%;
  transform-origin: left center;
}

.demo-service-card:nth-of-type(odd)::before {
  left: 100%;
  transform-origin: right center;
}

.demo-service-card.is-demo-visible {
  opacity: 1;
  transform: translateX(0);
}

.demo-service-card.is-demo-visible::before {
  transform: scaleX(1);
}

.demo-card-icon {
  position: relative;
  z-index: 21;
  display: grid;
  width: 86px;
  aspect-ratio: 1;
  place-items: center;
  margin-top: -12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.demo-card-icon::before {
  position: absolute;
  inset: -14px;
  z-index: 3;
  border-radius: 50%;
  background: conic-gradient(from -90deg, rgba(88, 168, 59, 0.86) 0 310deg, transparent 310deg 360deg);
  content: "";
  opacity: 0;
  transform: rotate(-96deg) scale(0.94);
  transform-origin: center;
  transition: opacity 180ms ease;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

.demo-service-card.is-demo-visible .demo-card-icon::before {
  animation: demo-icon-cable-wrap 760ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.demo-card-icon svg {
  position: relative;
  z-index: 4;
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

@keyframes demo-icon-cable-wrap {
  0% {
    opacity: 0;
    transform: rotate(-96deg) scale(0.82);
    clip-path: inset(0 100% 0 0);
  }

  30% {
    opacity: 1;
    clip-path: inset(0 48% 0 0);
  }

  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    clip-path: inset(0);
  }
}

.demo-service-card h2 {
  position: relative;
  z-index: 2;
  grid-column: 1;
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.8rem, 2.8vw, 3.55rem);
  line-height: 0.9;
}

.demo-service-card p {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  max-width: 560px;
  margin: -2px 0 0;
  color: rgba(36, 40, 36, 0.68);
  font-size: 0.96rem;
  line-height: 1.5;
}

.demo-service-card:nth-of-type(odd) p {
  grid-column: 1;
}

@media (max-width: 860px) {
  .services-demo-hero,
  .services-demo-board {
    grid-template-columns: 1fr;
  }

  .services-demo-rack {
    min-height: 380px;
  }

  .demo-backbone,
  .demo-center-rack,
  .demo-service-card::before {
    display: none;
  }

  .demo-service-card,
  .demo-service-card:nth-of-type(odd) {
    grid-column: 1;
    transform: none;
  }

  .demo-service-card:nth-of-type(even) {
    grid-column: 1;
  }

  .demo-service-card:nth-of-type(odd) .demo-card-icon,
  .demo-service-card:nth-of-type(even) .demo-card-icon {
    grid-column: 1;
    grid-row: auto;
  }

  .demo-service-card:nth-of-type(even) h2,
  .demo-service-card:nth-of-type(even) p,
  .demo-service-card:nth-of-type(odd) p {
    grid-column: 1 / -1;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  right: clamp(16px, 3vw, 34px);
  left: clamp(16px, 3vw, 34px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(251, 252, 243, 0.38);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(251, 252, 243, 0.18);
  box-shadow: 0 14px 38px rgba(54, 82, 43, 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.inner-header {
  position: fixed;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 252, 243, 0.32);
  border-color: rgba(251, 252, 243, 0.52);
  box-shadow: 0 10px 28px rgba(54, 82, 43, 0.07);
}

.brand {
  position: relative;
  display: inline-flex;
  width: min(220px, 44vw);
  height: 46px;
  min-width: 0;
  align-items: center;
  transition: width 260ms ease;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 180ms ease, transform 260ms ease;
}

.brand::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46px;
  background: url("./assets/madrona-leaf.png") center / contain no-repeat;
  content: "";
  opacity: 0;
  transform: scale(0.82) rotate(-8deg);
  transition: opacity 180ms ease, transform 260ms ease;
}

.site-header.is-compact-brand .brand {
  width: 46px;
}

.site-header.is-compact-brand .brand img {
  opacity: 0;
  transform: translateX(-10px) scale(0.92);
}

.site-header.is-compact-brand .brand::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.nav {
  position: static;
  z-index: auto;
  display: flex;
  width: auto;
  height: auto;
  justify-content: flex-end;
  align-content: normal;
  gap: 4px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
  visibility: visible;
}

.site-header.is-over-dark:not(.is-open) .nav {
  color: var(--white);
}

.nav a {
  position: relative;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav a::after {
  display: none;
}

.nav a:hover {
  border-color: rgba(244, 127, 43, 0.42);
  background: rgba(244, 127, 43, 0.08);
  color: var(--orange);
}

.menu-button {
  position: fixed;
  top: 16px;
  right: clamp(18px, 3vw, 38px);
  z-index: 100;
  display: block;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  background: rgba(251, 252, 243, 0.86);
  box-shadow: 0 10px 24px rgba(54, 82, 43, 0.12);
  backdrop-filter: blur(14px);
  display: none;
}

body.menu-open .nav,
.site-header.is-open .nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  background: #111;
}

.hero.tree-stage {
  overflow: visible;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #17314a;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.14) saturate(1.18) contrast(1.04);
  transform: translate3d(0, var(--hero-parallax-y, 0), 0) scale(var(--hero-zoom, 1));
  transform-origin: center center;
  will-change: transform;
  animation: hero-image-intro 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hero-image-intro {
  from {
    transform: translate3d(0, var(--hero-parallax-y, 0), 0) scale(1.065);
  }

  to {
    transform: translate3d(0, var(--hero-parallax-y, 0), 0) scale(var(--hero-zoom, 1));
  }
}

.hero-pin::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 19, 14, 0.34) 0%, rgba(5, 19, 14, 0.2) 38%, transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 34%, rgba(4, 16, 11, 0.12) 62%, rgba(4, 16, 11, 0.42) 100%);
  content: "";
}

.hero-scroll-wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(120deg, rgba(255, 255, 250, 0.33), rgba(247, 249, 238, 0.29) 58%, rgba(244, 248, 236, 0.31));
  opacity: var(--hero-wash-opacity, 0);
  pointer-events: none;
  will-change: opacity;
}

.hero-title {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(26px, 6vw, 84px);
  left: clamp(20px, 5vw, 72px);
  z-index: 3;
  max-width: 1280px;
  color: var(--white);
}

.hero-title p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title h1 {
  max-width: 12.8ch;
  font-size: clamp(2.85rem, 5.8vw, 6.65rem);
  line-height: 1.08;
}

.hero-reveal .hero-word {
  display: inline-block;
  overflow: hidden;
  margin-inline: -0.06em;
  padding-inline: 0.06em;
  vertical-align: top;
}

.hero-reveal .hero-word > span {
  display: inline-block;
  transform: translateY(112%) rotate(3deg);
  transform-origin: left bottom;
  will-change: transform;
  animation: hero-word-reveal 820ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-reveal .hero-word:nth-child(1) > span { animation-delay: 320ms; }
.hero-reveal .hero-word:nth-child(2) > span { animation-delay: 375ms; }
.hero-reveal .hero-word:nth-child(3) > span { animation-delay: 430ms; }
.hero-reveal .hero-word:nth-child(4) > span { animation-delay: 485ms; }
.hero-reveal .hero-word:nth-child(5) > span { animation-delay: 540ms; }
.hero-reveal .hero-word:nth-child(6) > span { animation-delay: 595ms; }
.hero-reveal .hero-word:nth-child(7) > span { animation-delay: 650ms; }
.hero-reveal .hero-word:nth-child(8) > span { animation-delay: 705ms; }

@keyframes hero-word-reveal {
  from {
    transform: translateY(112%) rotate(3deg);
  }

  to {
    transform: translateY(0) rotate(0);
  }
}

.page-hero-reveal .page-hero-word {
  display: inline-block;
  overflow: hidden;
  margin-inline: -0.06em;
  padding: 0 0.06em 0.08em;
  vertical-align: bottom;
}

.page-hero-reveal .page-hero-word > span {
  display: inline-block;
  transform: translateY(112%) rotate(3deg);
  transform-origin: left bottom;
  will-change: transform;
  animation: hero-word-reveal 780ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--word-delay);
}

.scroll-text-reveal .scroll-text-word {
  display: inline-block;
  overflow: hidden;
  margin-inline: -0.06em;
  padding: 0 0.06em 0.08em;
  vertical-align: bottom;
}

.scroll-text-reveal .scroll-text-word > span {
  display: inline-block;
  transform: translateY(112%) rotate(3deg);
  transform-origin: left bottom;
  will-change: transform;
}

.scroll-text-reveal.is-scroll-text-visible .scroll-text-word > span {
  animation: hero-word-reveal 780ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--word-delay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(4.2rem, 9.5vw, 10.8rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(76px, 10vw, 150px) clamp(20px, 5vw, 72px);
}

.section-kicker {
  color: var(--leaf);
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

#home .section-kicker {
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.42fr 0.74fr 1.28fr;
  gap: clamp(24px, 4.6vw, 72px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
}

.split-copy {
  max-width: 540px;
}

.split-copy p {
  max-width: 430px;
}

.split-media {
  margin: 0;
}

#home .split-media {
  overflow: hidden;
  border-radius: 8px;
}

.split-media img {
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

#home .split-media img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.16);
  will-change: transform;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 790;
}

.text-link::after {
  margin-left: 8px;
  color: var(--orange);
  content: "+";
}

.centered {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.centered h2 {
  color: var(--forest);
}

.centered p {
  max-width: 620px;
  margin: 0 auto;
}

.image-row {
  overflow: hidden;
}

.tree-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.tree-stage > :not(.tree-art):not(.hero-pin) {
  position: relative;
  z-index: 2;
}

.tree-art {
  position: absolute;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.tree-path {
  fill: none;
  stroke: var(--tree-branch);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 11;
  opacity: 0.86;
}

.tree-trunk {
  stroke-width: 24;
}

.tree-limb {
  stroke-width: 14;
}

.tree-branch {
  stroke-width: 8;
}

.tree-sprig {
  stroke-width: 4.8;
  opacity: 0.72;
}

.tree-twig {
  stroke-width: 2.6;
  opacity: 0.62;
}

.tree-bark-shadow {
  stroke: var(--tree-bark-dark);
  stroke-width: 7;
  opacity: 0.68;
}

.tree-bark-highlight {
  stroke: var(--tree-bark-light);
  stroke-width: 4.2;
  opacity: 0.76;
}

.tree-leaf {
  fill: var(--tree-leaf);
  stroke: rgba(71, 120, 60, 0.3);
  stroke-width: 1.05;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 420ms ease, transform 520ms ease;
}

.tree-leaf-vein {
  stroke: rgba(71, 120, 60, 0.46);
  stroke-linecap: round;
  stroke-width: 1.2;
  opacity: 0;
  transition: opacity 420ms ease;
}

.tree-leaf-stem {
  fill: none;
  stroke: rgba(118, 86, 54, 0.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  opacity: 0;
  transition: opacity 360ms ease;
}

.tree-leaf.is-visible {
  opacity: 1;
}

.tree-art:not(.interior-hero-tree-art) .tree-leaf.is-visible {
  transform: scale(1.04);
}

.tree-leaf-vein.is-visible {
  opacity: 0.72;
}

.tree-leaf-stem.is-visible {
  opacity: 0.82;
}

.hero-tree-art {
  top: -5%;
  right: -2%;
  bottom: 0;
  left: auto;
  z-index: 2;
  width: min(1260px, 92vw);
  height: 108%;
  opacity: 0;
}

.hero-tree-art[hidden] {
  display: none;
}

.tree-stage.is-tree-ready .hero-tree-art {
  opacity: 1;
}

.hero-tree-art .tree-path {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.hero-tree-art .tree-trunk,
.hero-tree-art .tree-limb {
  stroke: rgb(127, 78, 52);
}

.hero-tree-art .tree-trunk {
  stroke-width: 30;
}

.hero-tree-art .tree-limb {
  stroke-width: 16;
}

.hero-tree-art .tree-branch {
  stroke-width: 9;
}

.hero-tree-art .tree-branch,
.hero-tree-art .tree-sprig,
.hero-tree-art .tree-twig {
  stroke: rgb(127, 78, 52);
}

.hero-tree-art .tree-bark-shadow {
  stroke: rgb(84, 55, 42);
}

.hero-tree-art .tree-bark-highlight {
  stroke: rgb(164, 118, 82);
}

.hero-tree-art .tree-leaf {
  fill: rgba(167, 211, 135, 0.82);
  stroke: rgba(219, 239, 193, 0.38);
}

.hero-tree-art .tree-leaf-vein {
  stroke: rgba(230, 247, 207, 0.58);
}

.hero-tree-art .tree-leaf-stem {
  stroke: rgba(188, 82, 47, 0.72);
}

.hero-tree-art .tree-leaf-icon {
  fill: rgba(139, 190, 110, 0.9);
}

.hero-tree-art .tree-leaf-connector {
  stroke: rgba(151, 105, 76, 0.64);
  stroke-width: 2.25;
}

.hero-tree-art .tree-leaf-details {
  stroke: rgba(232, 243, 223, 0.7);
}

.section-tree-art {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.tree-stage.is-tree-ready .section-tree-art {
  opacity: 0.78;
}

/* Keep the evolving home-page tree illustrations soft and atmospheric. */
#home .section-tree-art {
  filter: blur(var(--tree-effect-blur, 0px));
}

/* A restrained wash keeps the background tree artwork legible. */
#home .agency-intro.tree-stage::after,
#home .process.tree-stage::after,
#home .through-process.tree-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(255, 255, 250, 0.22), rgba(247, 249, 238, 0.19) 58%, rgba(244, 248, 236, 0.21));
  opacity: var(--tree-effect-wash, 0);
  content: "";
  pointer-events: none;
}

#home .agency-intro .vision-tree-art {
  z-index: 0;
}

.section-tree-art.natural-tree-art .tree-limb,
.section-tree-art.natural-tree-art .tree-branch,
.section-tree-art.natural-tree-art .tree-sprig,
.section-tree-art.natural-tree-art .tree-twig {
  stroke: rgba(127, 78, 52, 0.34);
}

.section-tree-art.natural-tree-art .tree-limb {
  stroke-width: 10;
}

.section-tree-art.natural-tree-art .tree-branch {
  stroke-width: 6.5;
}

.section-tree-art.natural-tree-art .tree-sprig {
  stroke-width: 4.2;
}

.section-tree-art.natural-tree-art .tree-leaf-icon {
  fill: rgba(139, 190, 110, 0.78);
}

.section-tree-art.natural-tree-art .tree-leaf-connector {
  stroke: rgba(151, 105, 76, 0.5);
  stroke-width: 2.15;
}

.section-tree-art.natural-tree-art .tree-leaf-details {
  stroke: rgba(232, 243, 223, 0.7);
}

.vision-tree-art {
  transform: none;
}

.practice-tree-art {
  transform: none;
}

.process-tree-art {
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
}

.mobile-section-tree-art {
  display: none;
}

.row-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(220px, 0.42fr);
  gap: clamp(24px, 7vw, 96px);
  align-items: end;
  margin-bottom: 42px;
}

.row-heading h2 {
  margin-bottom: 0;
}

.project-strip {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.72fr;
  gap: 18px;
  align-items: center;
}

.project-strip figure {
  margin: 0;
}

.project-strip figure:nth-child(2) {
  transform: translateY(36px);
}

.project-strip img {
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

figcaption {
  margin-top: 10px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.system-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 720;
}

.system-list span {
  color: var(--leaf);
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  background: var(--mist);
}

.process-intro {
  max-width: 440px;
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.process-grid li {
  min-height: 260px;
  padding: 24px;
  background: var(--paper);
}

#home .process-grid {
  gap: 8px;
  background: transparent;
}

#home .process-grid li {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid strong {
  display: block;
  margin-bottom: 92px;
  color: var(--forest);
  font-size: 1.08rem;
}

.through-process {
  align-items: center;
  background: var(--paper);
}

.through-process .split-copy {
  max-width: 620px;
}

.through-process .split-copy p {
  max-width: 560px;
}

.through-process .split-media img {
  aspect-ratio: 1.18 / 1;
}

.contact {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 0.84fr);
  align-items: stretch;
  background: var(--paper);
}

address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

address strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(26px, 4.5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.form-hidden {
  display: none;
}

.career-application {
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.18fr);
  align-items: stretch;
  background: var(--paper);
}

.career-application-copy {
  max-width: none;
}

.career-application-copy p {
  max-width: 520px;
}

.career-roles h2 {
  max-width: 720px;
  margin: 0;
  color: var(--forest);
}

.service-list.career-roles {
  padding-top: clamp(76px, 10vw, 150px);
}

.career-roles article {
  display: flex;
  flex-direction: column;
  padding-top: clamp(52px, 6vw, 92px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list.career-roles {
  gap: 8px;
  background: var(--forest);
}

.career-roles p {
  max-width: 560px;
  margin-top: 18px;
}

.career-apply-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
}

.career-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.form-wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

textarea {
  resize: vertical;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--leaf);
  border-radius: 999px;
  padding: 0 24px;
  background: var(--leaf);
  color: var(--white);
  font-weight: 800;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 38px);
}

#home .hero-actions .button {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

#home .hero-actions .button:hover,
#home .hero-actions .button:focus-visible {
  border-color: var(--leaf);
  background: var(--leaf);
  color: var(--white);
}

.hero-actions .button {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-action-reveal 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-actions .button:first-child {
  animation-delay: 1.48s;
}

.hero-actions .button:nth-child(2) {
  animation-delay: 1.62s;
}

@keyframes hero-action-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.proof-grid span {
  display: grid;
  min-height: 108px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: clamp(0.86rem, 1vw, 1.02rem);
  font-weight: 900;
  text-transform: uppercase;
}

.agency-intro {
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(24px, 4.6vw, 72px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(52px, 7vw, 92px);
}

.tree-stage.agency-intro > .split-copy {
  position: relative;
  z-index: 5;
  max-width: 620px;
}

.tree-stage.agency-intro > .split-media {
  position: relative;
  z-index: 4;
}

.agency-intro .vision-tree-art {
  z-index: 3;
}

.vision-subtitle {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.6vw, 5.2rem);
  line-height: 0.94;
}

.agency-intro .split-copy p {
  max-width: 560px;
}

.agency-intro .split-media {
  justify-self: start;
  width: auto;
}

.agency-intro .split-media img {
  aspect-ratio: 1.18 / 1;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(220px, 0.38fr);
  gap: clamp(24px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-title-row h2 {
  margin-bottom: 0;
}

.work-card strong {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.65rem);
  line-height: 0.95;
}

.work-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.work-card {
  display: grid;
  gap: 18px;
}

.work-card img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.work-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
}

.work-card p {
  max-width: 330px;
  margin-top: 10px;
  margin-bottom: 0;
}

.footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(44px, 8vw, 128px);
  align-items: start;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footer-brand a {
  display: inline-flex;
  width: min(340px, 72vw);
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  width: min(340px, 72vw);
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.56rem, 2.65vw, 1.95rem);
  font-weight: 650;
  line-height: 0.92;
  white-space: nowrap;
}

.footer-process {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
  margin-top: 8px;
}

.footer-process span {
  display: inline;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

.footer-links nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h2 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--ink);
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  font-weight: 780;
}

.footer-links a:hover {
  color: var(--forest);
}

.page {
  padding-top: 86px;
}

.services-page {
  position: relative;
  overflow: hidden;
}

.services-page .page-hero,
.services-page .turntable-section {
  position: relative;
  z-index: 1;
}

.services-page .page-hero {
  z-index: auto;
  isolation: auto;
}

.services-page .page-hero > :not(.tree-art) {
  position: relative;
  z-index: 3;
}

.services-page .page-hero > .av-rack {
  position: absolute;
  top: clamp(36px, 4vw, 64px);
  right: clamp(48px, 6vw, 96px);
  bottom: clamp(20px, 3vw, 48px);
  z-index: 1;
  width: clamp(360px, 36vw, 520px);
  overflow: hidden;
  border-right: 3px solid rgba(88, 168, 59, 0.78);
  border-left: 3px solid rgba(88, 168, 59, 0.78);
  opacity: 1;
}

.av-rack::before,
.av-rack::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 4;
  height: 3px;
  background: rgba(88, 168, 59, 0.78);
  content: "";
}

.av-rack::before {
  top: 0;
}

.av-rack::after {
  bottom: 0;
}

.av-rack-rail {
  position: absolute;
  top: 3px;
  bottom: 3px;
  z-index: 3;
  width: 22px;
  border-right: 2px solid rgba(88, 168, 59, 0.78);
  border-left: 2px solid rgba(88, 168, 59, 0.78);
  background: radial-gradient(circle, rgba(88, 168, 59, 0.78) 0 2px, transparent 2.5px) center 8px / 100% 22px repeat-y;
}

.av-rack-rail-left {
  left: 0;
}

.av-rack-rail-right {
  right: 0;
}

.av-rack-unit {
  position: absolute;
  right: 22px;
  left: 22px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  background: transparent;
}

.av-rack-power {
  top: 3%;
  height: 7%;
  padding: 0 7%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.av-rack-power-light {
  width: 7px;
  height: 7px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 50%;
  background: transparent;
}

.av-rack-blank {
  top: 11%;
  height: 7%;
}

.av-rack-vent {
  top: 19%;
  height: 7%;
  padding: 0 8%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.av-rack-vent span {
  flex: 1;
  height: 42%;
  background: repeating-linear-gradient(90deg, rgba(88, 168, 59, 0.78) 0 2px, transparent 2px 7px);
}

.av-rack-router {
  top: 27%;
  height: 7%;
  display: flex;
  align-items: center;
  padding: 0 7%;
  gap: 10px;
}

.av-rack-router .av-rack-display {
  width: 42%;
  height: 30%;
}

.av-rack-mid-blank {
  top: 35%;
  height: 6%;
}

.av-rack-switch-space {
  position: absolute;
  top: 43%;
  right: 22px;
  left: 22px;
  height: 10%;
}

.av-rack-processor {
  top: 53%;
  height: 10%;
  display: flex;
  align-items: center;
  padding: 0 7%;
  gap: 12px;
}

.av-rack-display {
  width: 31%;
  height: 34%;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 2px;
  background: transparent;
}

.av-rack-control {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 50%;
}

.av-rack-vent-large {
  top: 64%;
  height: 12%;
}

.av-rack-amplifier {
  top: 77%;
  height: 10%;
  padding: 0 7%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.av-rack-meter {
  width: 20%;
  height: 30%;
  border: 2px solid rgba(88, 168, 59, 0.78);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0 68%, rgba(88, 168, 59, 0.78) 68% 70%, transparent 70%);
}

.av-rack-bottom-vent {
  top: 88%;
  height: 5%;
}

.av-rack-blank-large {
  top: 94%;
  height: 4%;
  display: block;
}

.services-cable-art {
  position: absolute;
  top: 86px;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: calc(100% - 86px);
  pointer-events: none;
}

.network-switch rect,
.switch-ports path,
.service-cable,
.service-cable-marker {
  fill: none;
  stroke: rgba(88, 168, 59, 0.78);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.services-page .network-switch {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.services-page .network-switch.is-switch-pulsing {
  animation: service-switch-emphasis 600ms cubic-bezier(0.22, 0.7, 0.24, 1);
}

.services-page .network-switch.is-switch-pulsing rect,
.services-page .network-switch.is-switch-pulsing .switch-ports path {
  animation: service-switch-stroke 600ms cubic-bezier(0.22, 0.7, 0.24, 1);
}

.services-page .network-switch.is-switch-pulse-reverse,
.services-page .network-switch.is-switch-pulse-reverse rect,
.services-page .network-switch.is-switch-pulse-reverse .switch-ports path {
  animation-direction: reverse;
}

@keyframes service-switch-emphasis {
  0%, 100% {
    transform: scale(1);
  }

  52% {
    transform: scale(1.04);
  }
}

@keyframes service-switch-stroke {
  0%, 100% {
    stroke-width: 3;
  }

  52% {
    stroke-width: 4.3;
  }
}

.service-cable {
  opacity: 0;
}

.service-cable-marker {
  stroke: var(--orange);
  opacity: 0;
  pointer-events: none;
}

.service-cable-marker-core {
  filter: none;
  animation: none;
}

.service-cable-tip {
  fill: var(--orange);
  opacity: 0;
  pointer-events: none;
  filter: none;
}

@keyframes service-cable-marker-shimmer {
  from {
    filter: drop-shadow(0 0 1px rgba(244, 127, 43, 0.38));
  }

  to {
    filter: drop-shadow(0 0 5px rgba(244, 127, 43, 0.82));
  }
}

.network-switch > rect {
  fill: none;
}

.switch-ports path {
  fill: none;
  stroke-width: 2.4;
}

.page-hero {
  padding: clamp(96px, 12vw, 172px) clamp(20px, 5vw, 72px) clamp(64px, 8vw, 108px);
  background: var(--mist);
}

.interior-hero-tree-art {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 160ms ease;
}

.interior-tree-stage.is-tree-ready.is-tree-started .interior-hero-tree-art {
  opacity: 0.85;
}

/* On Services, the background tree follows the rack's cable-reveal handoff. */
.services-page .interior-tree-stage.is-tree-ready.is-tree-started .interior-hero-tree-art {
  opacity: var(--service-hero-tree-opacity, 0.85);
  filter: none;
}

/* On Projects, only the background tree softens as the projector gallery takes focus. */
.projects-page .interior-tree-stage.is-tree-ready.is-tree-started .interior-hero-tree-art {
  opacity: var(--projects-hero-tree-opacity, 0.85);
  filter: blur(var(--projects-hero-tree-blur, 0px));
}

/* A warm theater-darkening pass begins once the Projects tree has fully softened. */
.projects-page {
  --projects-theater-dim: 0;
  position: relative;
  isolation: isolate;
}

.projects-page::after {
  position: fixed;
  inset: 0;
  z-index: 10;
  background:
    radial-gradient(circle at 52% 46%, rgba(74, 42, 20, 0.3), rgba(18, 10, 6, 0.8) 72%),
    rgba(15, 9, 6, 0.62);
  opacity: var(--projects-theater-dim);
  content: "";
  pointer-events: none;
  transition: opacity 1000ms ease;
}

/* The footer gets the same theater wash locally, so it can lift independently on pointer entry. */
.projects-page + .footer {
  --projects-footer-dim: 0;
  position: relative;
  z-index: 11;
  isolation: isolate;
}

.projects-page + .footer::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 52% 46%, rgba(74, 42, 20, 0.14), rgba(18, 10, 6, 0.42) 72%),
    rgba(15, 9, 6, 0.28);
  opacity: var(--projects-footer-dim);
  content: "";
  pointer-events: none;
  transition: opacity 1000ms ease;
}

.projects-page + .footer > * {
  position: relative;
  z-index: 2;
}

.projects-page + .footer.is-project-footer-lit::after {
  opacity: 0;
}

/* The projected screen remains the bright focal point of the theater. */
.projects-page .project-book-section .record-shelf {
  z-index: 11;
}

/* The opening cinema title is part of the room; a selected project becomes the bright screen. */
.projects-page.is-cinema-title-screen .project-book-section .record-shelf {
  z-index: 1;
}

/* Project thumbnails stay visible as the theatre's selection board. */
.projects-page .record-crate-wide,
.projects-page .record-crate-inner,
.projects-page .crate-record {
  z-index: 11;
}

.projects-page .crate-group {
  z-index: 11;
}

.projects-page .project-book-section .project-projector {
  z-index: 12;
}

/* Team, Contact, and Careers use the same tree-only scroll handoff as Projects. */
.interior-tree-stage.interior-tree-scroll-effect.is-tree-ready.is-tree-started .interior-hero-tree-art {
  opacity: var(--interior-hero-tree-opacity, 0.85);
  filter: blur(var(--interior-hero-tree-blur, 0px));
}

.interior-hero-tree-art .tree-trunk,
.interior-hero-tree-art .tree-limb,
.interior-hero-tree-art .tree-branch,
.interior-hero-tree-art .tree-sprig,
.interior-hero-tree-art .tree-twig {
  stroke: rgba(127, 78, 52, 0.24);
}

.interior-hero-tree-art .tree-trunk {
  stroke-width: 13;
}

.interior-hero-tree-art .tree-limb {
  stroke-width: 8.5;
}

.interior-hero-tree-art .tree-branch {
  stroke-width: 5.5;
}

.interior-hero-tree-art .tree-leaf {
  display: none;
  fill: rgba(139, 190, 110, 0.72);
  stroke: none;
}

.natural-tree-art .tree-leaf {
  display: none;
}

.tree-leaf-icon {
  fill: rgba(139, 190, 110, 0.72);
  opacity: 0;
  transition: opacity 420ms ease;
}

.tree-leaf-icon.is-visible {
  opacity: 1;
}

.tree-leaf-connector {
  fill: none;
  stroke: rgba(151, 105, 76, 0.42);
  stroke-linecap: round;
  stroke-width: 2;
  opacity: 0;
  transition: opacity 360ms ease;
}

.tree-leaf-connector.is-visible {
  opacity: 0.9;
}

.tree-leaf-details {
  fill: none;
  stroke: rgba(232, 243, 223, 0.62);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  opacity: 0;
  transition: opacity 420ms ease;
}

.tree-leaf-details.is-visible {
  opacity: 0.58;
}

.interior-hero-tree-art .tree-leaf-vein {
  display: none;
  stroke: rgba(232, 243, 223, 0.92);
  stroke-width: 2.1;
}

.interior-hero-tree-art .tree-leaf-stem {
  display: none;
  stroke: rgba(71, 120, 60, 0.62);
  stroke-width: 1.45;
}

.page-hero h1 {
  max-width: 1120px;
  color: var(--forest);
}

.page-hero .page-kicker {
  max-width: none;
  margin-bottom: clamp(14px, 2vw, 24px);
  color: var(--leaf);
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  line-height: 0.95;
}

.page-subtitle {
  max-width: 780px;
  margin: clamp(14px, 2vw, 24px) 0 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3.4vw, 3.8rem);
  font-weight: 800;
  line-height: 0.98;
}

.page-hero p {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.page-hero .page-subtitle {
  max-width: 880px;
  margin-top: clamp(14px, 2vw, 24px);
  color: var(--ink);
  font-size: clamp(2.1rem, 4.6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
}

.page-spacer-bar {
  height: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  opacity: 0.72;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(320px, 0.82fr);
  gap: 8px;
  padding-top: clamp(76px, 10vw, 150px);
  background: var(--forest);
}

.legal-content article {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.36fr) minmax(320px, 0.82fr);
  gap: clamp(22px, 4vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-content h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.28rem, 2vw, 2.1rem);
  line-height: 1;
}

.legal-content p,
.legal-content ul,
.legal-content address {
  max-width: 760px;
  margin: 0;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.legal-content a {
  color: var(--forest);
  font-weight: 820;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.service-list article {
  min-height: 330px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper);
}

.service-list.compact article {
  min-height: 270px;
}

.service-list span {
  display: block;
  margin-bottom: 74px;
  color: var(--orange);
  font-weight: 820;
}

.service-list h2,
.case-card h2,
.team-band h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.turntable-section {
  --record-rotation: 0deg;
  --turntable-left: 0px;
  --turntable-local-left: 0px;
  --turntable-after-top: 0px;
  --turntable-width: 40vw;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(30px, 5.5vw, 84px);
  align-items: start;
  padding-top: 0;
}

.turntable-pin-spacer {
  grid-column: 1;
  grid-row: 1;
  min-height: 100vh;
  min-height: 100svh;
}

.turntable-stage {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  top: 0;
  left: auto;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  display: grid;
  place-items: center;
}

.turntable-section.is-turntable-pinned .turntable-stage {
  position: fixed;
  top: 0;
  left: var(--turntable-left);
  width: var(--turntable-width);
}

.turntable-section.is-turntable-after .turntable-stage {
  position: fixed;
  top: var(--turntable-after-top);
  left: var(--turntable-left);
  width: var(--turntable-width);
}

.turntable {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), var(--mist));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.record {
  position: absolute;
  inset: 9%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 0 14%, transparent 14.4%),
    repeating-radial-gradient(circle at center, #202623 0 2px, #2c302c 3px 7px, #202623 8px 10px);
  color: var(--white);
  transform: rotate(var(--record-rotation));
  transition: transform 140ms linear;
}

.record::before {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.record-label {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32%;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  overflow: hidden;
}

.record-label img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.track-marker {
  position: absolute;
  top: var(--marker-y);
  left: var(--marker-x);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.55vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(var(--marker-angle));
  white-space: nowrap;
}

.marker-one {
  --marker-x: 50%;
  --marker-y: 14%;
  --marker-angle: 0deg;
}

.marker-two {
  --marker-x: 84.2%;
  --marker-y: 38.9%;
  --marker-angle: 72deg;
}

.marker-three {
  --marker-x: 71.2%;
  --marker-y: 79.1%;
  --marker-angle: 144deg;
}

.marker-four {
  --marker-x: 28.8%;
  --marker-y: 79.1%;
  --marker-angle: 216deg;
}

.marker-five {
  --marker-x: 15.8%;
  --marker-y: 38.9%;
  --marker-angle: 288deg;
}

.tonearm {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 31%;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(32deg);
  transform-origin: 92% 50%;
  box-shadow: 0 0 0 1px rgba(36, 40, 36, 0.08);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tonearm::after {
  position: absolute;
  right: -18px;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  content: "";
  transform: translateY(-50%);
}

.needle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 12px;
  background: var(--white);
  transform: translate(-42%, -50%);
  box-shadow: 0 0 0 1px var(--line);
}

/* The cue motion is tied to the first Technology Design cable circle. */
.turntable-section.is-tonearm-engaged .tonearm {
  /* Rotate back around the green pivot so the stylus travels left onto the
     record, rather than lifting outward from it. */
  transform: rotate(15deg);
}


.service-tracks {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: clamp(8px, 1.6vw, 24px);
  /* Deliberately reserve the original top service slot: Technology Design
     begins one row lower, with every cable endpoint staying aligned to it. */
  padding-top: calc(34vh + clamp(8px, 1.6vw, 24px));
}

.service-tracks article {
  min-height: 34vh;
  display: grid;
  align-content: center;
  border-top: 1px solid var(--line);
  opacity: 0.42;
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-tracks article.is-active {
  opacity: 1;
  transform: none;
}

.service-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 2vw, 30px);
  align-items: center;
  max-width: min(760px, 100%);
  margin-bottom: 10px;
}

.service-icon {
  --service-icon-lane-shift: 0px;
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: clamp(78px, 7.8vw, 112px);
  height: clamp(78px, 7.8vw, 112px);
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  translate: var(--service-icon-lane-shift) 0;
}

.services-page.is-cable-icon-sync .service-icon {
  opacity: 0;
  transform: scale(0.88);
  transform-origin: center;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.services-page.is-cable-icon-sync .service-tracks article.is-icon-visible .service-icon {
  opacity: 1;
  transform: scale(1);
}

.service-tracks h2 {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 640px;
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(1.95rem, 3vw, 3.45rem);
  line-height: 0.96;
  overflow-wrap: break-word;
  transition: transform 180ms ease;
}

@media (max-width: 680px) {
  .service-tracks {
    padding-top: min(30vh, 220px);
  }
}

.service-tracks p {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  transition: transform 180ms ease;
}

.service-tracks article.is-active h2,
.service-tracks article.is-active p {
  transform: translateX(-6px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 56px);
  padding-top: 0;
}

.case-card {
  display: grid;
  gap: 22px;
}

.case-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
}

.case-card img {
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

.case-card.wide img {
  aspect-ratio: 1.8 / 1;
}

.record-crate-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding-top: 0;
}

.crate-heading {
  position: sticky;
  top: 120px;
}

.crate-heading h2 {
  color: var(--forest);
}

.record-crate {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(36, 40, 36, 0.08) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, var(--white), var(--mist));
  box-shadow: var(--shadow);
}

.record-crate::before,
.record-crate::after {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  height: 1px;
  background: rgba(71, 120, 60, 0.24);
  content: "";
}

.record-crate::before {
  top: 18px;
}

.record-crate::after {
  bottom: 18px;
}

.project-record {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(220px, 0.72fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: end;
  padding: clamp(18px, 3vw, 34px);
  background: rgba(251, 252, 243, 0.84);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-record:hover {
  transform: translateX(-10px);
  box-shadow: 12px 12px 0 rgba(88, 168, 59, 0.18);
}

.record-sleeve {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(36, 40, 36, 0.08);
}

.record-sleeve img {
  position: relative;
  z-index: 1;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.record-disc {
  position: absolute;
  top: 50%;
  right: -18%;
  z-index: 0;
  width: 54%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--orange) 0 12%, var(--paper) 12.6% 21%, transparent 21.4%),
    repeating-radial-gradient(circle at center, #202623 0 2px, #2e332e 3px 7px, #202623 8px 10px);
  transform: translateY(-50%);
}

.record-notes span {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.record-notes h3 {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 0.98;
}

.record-notes p {
  margin-bottom: 0;
}

.team-band {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  padding-top: 0;
}

.floorplan-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.floorplan-header span {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floorplan-header h2 {
  max-width: 780px;
  color: var(--forest);
  font-size: clamp(2.6rem, 5.7vw, 6.8rem);
  line-height: 0.92;
}

.floorplan-header p {
  max-width: 460px;
}

.office-floorplan {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.82fr 1.08fr;
  grid-template-rows: minmax(210px, auto) minmax(128px, auto) minmax(240px, auto);
  gap: 0;
  min-height: 720px;
  border: 5px solid var(--forest);
  background:
    linear-gradient(rgba(71, 120, 60, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 120, 60, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(232, 243, 223, 0.42));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow);
}

.office-floorplan::before,
.office-floorplan::after {
  position: absolute;
  z-index: 3;
  background: var(--forest);
  content: "";
  pointer-events: none;
}

.office-floorplan::before {
  top: 0;
  bottom: 0;
  left: 34%;
  width: 5px;
}

.office-floorplan::after {
  top: 0;
  bottom: 0;
  right: 34%;
  width: 5px;
}

.department-room {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 12px;
  align-content: start;
  min-height: 100%;
  padding: clamp(42px, 4vw, 60px) clamp(18px, 2.6vw, 34px) clamp(22px, 3vw, 36px);
  border: 3px solid var(--forest);
  border-top: 0;
  border-left: 0;
  background: rgba(251, 252, 243, 0.82);
}

.department-room:nth-child(odd) {
  background: rgba(232, 243, 223, 0.72);
}

.room-leadership {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
}

.room-design {
  grid-column: 2 / 4;
  grid-row: 1;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.room-projects {
  grid-column: 1;
  grid-row: 3;
}

.room-field {
  grid-column: 2;
  grid-row: 3;
}

.room-service {
  grid-column: 3;
  grid-row: 3;
}

.room-ops {
  grid-column: 1 / 2;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  border-bottom: 0;
}

.plan-corridor {
  position: relative;
  z-index: 2;
  grid-column: 2 / 4;
  grid-row: 2;
  display: grid;
  place-items: center;
  border-top: 3px solid var(--forest);
  border-bottom: 3px solid var(--forest);
  background:
    linear-gradient(90deg, rgba(244, 127, 43, 0.1), transparent 26%, transparent 74%, rgba(88, 168, 59, 0.1)),
    rgba(255, 255, 255, 0.68);
}

.plan-corridor span {
  color: rgba(71, 120, 60, 0.42);
  font-size: clamp(1.2rem, 3vw, 2.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

.room-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 4;
  color: var(--forest);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 900;
  text-transform: uppercase;
}

.room-door {
  position: absolute;
  z-index: 5;
  right: -3px;
  bottom: -3px;
  width: 72px;
  aspect-ratio: 1 / 1;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
  border-radius: 72px 0 0 0;
  background: rgba(251, 252, 243, 0.92);
}

.room-design .room-door,
.room-service .room-door {
  right: auto;
  left: -3px;
  border-right: 3px solid var(--orange);
  border-left: 0;
  border-radius: 0 72px 0 0;
}

.team-card {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(71, 120, 60, 0.22);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 26px rgba(54, 82, 43, 0.1);
}

.team-photo {
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(244, 127, 43, 0.5), transparent 24%),
    linear-gradient(135deg, var(--leaf), var(--forest));
  color: var(--white);
  font-weight: 900;
  overflow: hidden;
}

.team-photo.no-photo {
  background: var(--white);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-charles img {
  object-position: 50% 100%;
  transform: translateY(-7%) scale(1.15);
  transform-origin: 100% 50%;
}

.team-photo-danelle img {
  object-position: 70% 100%;
  transform: translateY(-75px);
}

.team-photo-julie img {
  object-position: 50% 50%;
}

.team-photo-kara img {
  object-position: 34% 68%;
}

.team-photo.no-photo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.team-card strong,
.team-card span {
  display: block;
  min-width: 0;
}

.team-card strong {
  color: var(--ink);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
}

.team-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.team-directory {
  position: relative;
  padding-top: clamp(10px, 2vw, 28px);
  overflow: hidden;
}

.team-directory::before {
  position: absolute;
  inset: clamp(18px, 3vw, 42px) clamp(14px, 4vw, 58px);
  z-index: 0;
  background: none;
  content: "";
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.team-directory.is-floorplan-online::before {
  opacity: 1;
  transform: translateY(0);
}

.team-floorplan-art {
  position: absolute;
  inset: clamp(18px, 3vw, 42px) clamp(14px, 4vw, 58px);
  z-index: 1;
  width: calc(100% - clamp(14px, 4vw, 58px) * 2);
  height: calc(100% - clamp(18px, 3vw, 42px) * 2);
  pointer-events: none;
}

.team-department {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(24px, 3vw, 44px);
}

.team-department:first-of-type {
  margin-top: 0;
}

.team-department-title {
  width: fit-content;
  margin: 0;
  padding: 3px 7px;
  background: var(--paper);
  box-shadow: 0 0 0 9px var(--paper);
  color: var(--leaf);
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.team-plan-line {
  fill: none;
  stroke: rgba(111, 186, 69, 0.38);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 520ms ease, filter 520ms ease;
}

.team-plan-wall {
  stroke: rgba(111, 186, 69, 0.28);
}

.team-plan-wire {
  stroke: rgba(111, 186, 69, 0.48);
}

.team-plan-mobile-layer {
  display: none;
}

.team-plan-wire.is-marker-active {
  stroke: var(--orange);
  filter: drop-shadow(0 0 3px rgba(244, 127, 43, 0.62));
  transition-duration: 140ms;
}

.team-plan-node {
  fill: var(--paper);
  stroke: rgba(111, 186, 69, 0.56);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
  transition: stroke 480ms ease, filter 480ms ease;
}

.team-marker-orange-start,
.team-marker-orange-end {
  animation: team-marker-color-shimmer 760ms ease-in-out infinite alternate;
}

.team-plan-node.is-marker-active {
  stroke: var(--orange);
  filter: drop-shadow(0 0 3px rgba(244, 127, 43, 0.72));
  animation: team-circuit-shimmer 760ms ease-in-out infinite alternate;
}

.team-plan-node.is-marker-settled {
  stroke: rgba(111, 186, 69, 0.56);
  filter: none;
}

@keyframes team-circuit-shimmer {
  from {
    filter: drop-shadow(0 0 1px rgba(244, 127, 43, 0.38));
  }

  to {
    filter: drop-shadow(0 0 5px rgba(244, 127, 43, 0.88));
  }
}

@keyframes team-marker-color-shimmer {
  from {
    stop-color: #f47f2b;
  }

  to {
    stop-color: #ffad61;
  }
}

.team-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: clamp(20px, 1.8vw, 30px) clamp(10px, 1.2vw, 20px);
  align-items: start;
}

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

.team-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid--five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.team-grid--five .team-card {
  grid-column: span 2;
}

.team-grid--five .team-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.team-grid--five .team-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.team-directory .team-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: transform 220ms ease;
}

.team-directory .team-photo {
  width: clamp(150px, 14vw, 220px);
  border: 7px solid var(--orange);
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.32), transparent 22%),
    linear-gradient(135deg, var(--leaf), var(--forest));
  box-shadow: 0 18px 34px rgba(54, 82, 43, 0.16);
  color: var(--white);
  font-size: clamp(2.05rem, 3vw, 3.3rem);
  transition: width 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.team-directory .team-card:hover,
.team-directory .team-card:focus-within {
  z-index: 5;
}

.team-directory .team-card:hover .team-photo,
.team-directory .team-card:focus-within .team-photo {
  width: clamp(178px, 16vw, 244px);
  border-color: var(--leaf);
  box-shadow: 0 24px 46px rgba(54, 82, 43, 0.2);
  transform: translateY(-6px);
}

.team-directory .team-photo.no-photo {
  background: var(--white);
}

.team-directory .team-photo.no-photo img {
  width: 74%;
  height: 74%;
}

.team-directory .team-card strong {
  margin-top: 8px;
  padding: 2px 5px;
  background: var(--paper);
  box-shadow: 0 0 0 7px var(--paper);
  color: var(--ink);
  font-size: clamp(1.16rem, 1.45vw, 1.44rem);
  line-height: 1.05;
}

.team-directory .team-card span {
  max-width: 220px;
  margin-top: 0;
  padding: 2px 5px;
  background: var(--paper);
  box-shadow: 0 0 0 7px var(--paper);
  color: var(--orange);
  font-size: clamp(0.94rem, 1.08vw, 1.1rem);
  font-weight: 760;
  line-height: 1.18;
}

.page-contact {
  padding-top: clamp(34px, 5vw, 72px);
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: clamp(30px, 4vw, 54px);
  padding: clamp(26px, 4.5vw, 54px);
  border-radius: 8px;
  background: var(--mist);
}

.contact-panel h2,
.form-heading h2 {
  margin: 12px 0 0;
  color: var(--forest);
  font-size: clamp(2rem, 3.6vw, 4.1rem);
}

.contact-details {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.contact-detail-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.contact-detail-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--paper);
}

.contact-detail-item span {
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 860;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-details strong {
  color: var(--ink);
}

.contact-details a {
  color: var(--forest);
  font-weight: 820;
}

.form-heading {
  margin-bottom: clamp(8px, 2vw, 18px);
}

.project-book-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: end;
  padding-top: clamp(34px, 5vw, 72px);
}

.project-turntable {
  display: grid;
  align-self: end;
  gap: 14px;
  width: min(100%, 408px);
  justify-self: center;
}

.turntable-base {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.08 / 1;
  border: 1px solid rgba(36, 40, 36, 0.15);
  border-radius: 34% 10% 10% 22% / 40% 10% 10% 16%;
  background:
    radial-gradient(circle at 22% 82%, rgba(36, 40, 36, 0.18) 0 11%, transparent 11.8%),
    linear-gradient(135deg, var(--leaf), #6fba45 44%, var(--orange) 100%);
  box-shadow: 0 26px 54px rgba(36, 40, 36, 0.14), inset 0 0 0 12px rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.turntable-base::before {
  position: absolute;
  inset: 8%;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 46%, rgba(36, 40, 36, 0.12));
  content: "";
}

.turntable-platter {
  position: absolute;
  top: 11%;
  left: 5%;
  z-index: 2;
  width: 72%;
  aspect-ratio: 1 / 1;
  border: 5px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #454a43 0 8%, #151815 8.6% 15%, transparent 15.5%),
    repeating-radial-gradient(circle at center, #161916 0 3px, #252a25 4px 10px, #161916 11px 14px);
  box-shadow: 0 18px 38px rgba(36, 40, 36, 0.26);
}

.project-turntable.is-playing .turntable-platter {
  animation: project-record-spin 5.4s linear infinite;
}

.project-turntable.is-cueing .turntable-platter {
  box-shadow: 0 0 0 7px rgba(244, 127, 43, 0.2), 0 18px 38px rgba(36, 40, 36, 0.26);
}

.turntable-record-label {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--orange);
  overflow: hidden;
}

.turntable-record-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.turntable-spindle {
  position: absolute;
  top: 45%;
  left: 38.5%;
  z-index: 4;
  width: 8%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #70756d, #242824 64%);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.turntable-pulley {
  position: absolute;
  bottom: 10%;
  left: 9%;
  z-index: 3;
  width: 15%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, #60655f 0 25%, #1d211d 26% 72%, #757b73 73%);
  box-shadow: 0 5px 14px rgba(36, 40, 36, 0.24);
}

.turntable-belt {
  position: absolute;
  bottom: 16%;
  left: 15%;
  z-index: 1;
  width: 52%;
  height: 2px;
  background: rgba(21, 24, 21, 0.78);
  transform: rotate(18deg);
  transform-origin: left center;
}

.turntable-arm {
  position: absolute;
  top: 12%;
  right: 9%;
  z-index: 5;
  width: 15%;
  height: 78%;
  border-radius: 999px;
  background: radial-gradient(circle at top, #353a36 0 15%, transparent 16%);
}

.turntable-arm::before {
  position: absolute;
  top: 2%;
  left: 50%;
  width: 70%;
  aspect-ratio: 1 / 1;
  border: 10px solid rgba(36, 40, 36, 0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
  transform: translateX(-50%);
}

.turntable-arm::after {
  position: absolute;
  top: 16%;
  left: 48%;
  width: 12px;
  height: 67%;
  border-radius: 999px;
  background: linear-gradient(#3a3f3a, #171a17);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  content: "";
  transform: rotate(-4deg);
  transform-origin: top center;
}

.turntable-arm span {
  position: absolute;
  right: 18%;
  bottom: 8%;
  z-index: 2;
  width: 34%;
  aspect-ratio: 1.1 / 1;
  border-radius: 3px;
  background: #171a17;
  transform: rotate(-18deg);
}

.record-shelf {
  display: grid;
  gap: 12px;
  align-self: stretch;
}

.shelf-rail {
  position: relative;
  height: 28px;
  border: 1px solid rgba(91, 78, 59, 0.2);
  border-radius: 3px;
  background: linear-gradient(180deg, #fffdf5, #e8e0d0 58%, #c9bca7);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.72),
    inset 0 -4px 0 rgba(91, 78, 59, 0.12),
    0 14px 24px rgba(36, 40, 36, 0.14);
}

.display-record {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(240px, 0.74fr);
  gap: clamp(19px, 2.9vw, 37px);
  align-items: end;
  padding: clamp(20px, 3.4vw, 37px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, opacity 180ms ease;
}

.display-record.is-loading {
  opacity: 0.72;
  transform: translateY(-8px);
}

.display-sleeve {
  position: relative;
  width: min(100%, 374px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  padding: 10px;
  border: 1px solid rgba(36, 40, 36, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0 10px, transparent 10px calc(100% - 14px), rgba(0, 0, 0, 0.2) calc(100% - 14px) 100%),
    linear-gradient(135deg, #fbf6e8, #d7cdb7);
  box-shadow: 12px 12px 0 rgba(36, 40, 36, 0.1), inset -14px 0 0 rgba(36, 40, 36, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.display-sleeve::before {
  position: absolute;
  inset: 10px 13px 10px 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 10px 0 0 rgba(255, 255, 255, 0.12), inset -8px 0 0 rgba(0, 0, 0, 0.18);
  content: "";
  pointer-events: none;
}

.display-sleeve img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(36, 40, 36, 0.2);
}

.display-sleeve.is-animating img {
  opacity: 0.18;
}

.display-copy span {
  display: none;
}

.display-copy h2 {
  color: var(--forest);
  font-size: clamp(2rem, 3.8vw, 4.4rem);
}

.project-book-section {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  padding-top: clamp(18px, 2.2vw, 32px);
  padding-right: 0;
  padding-left: 0;
}

.project-book-section .record-shelf,
.project-book-section .project-turntable,
.project-book-section .project-projector {
  grid-column: 1;
  grid-row: 1;
}

.project-book-section .record-shelf {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.project-book-section .project-turntable,
.project-book-section .project-projector {
  position: relative;
  z-index: 4;
  align-self: end;
  justify-self: end;
  width: clamp(220px, 24vw, 340px);
  margin: 0 clamp(24px, 5vw, 72px) clamp(24px, 5vw, 68px) 0;
  transform: none;
}

.project-book-section .project-projector {
  transform: translateY(clamp(66px, 6vw, 112px));
}

.project-projector {
  isolation: isolate;
  aspect-ratio: 1.34 / 1;
  pointer-events: none;
}

.projector-beam {
  position: absolute;
  right: 92.7%;
  bottom: calc(-35% - 50px);
  z-index: 1;
  width: clamp(360px, 57vw, 980px);
  height: clamp(160px, 24vw, 410px);
  background:
    radial-gradient(circle at 100% 50%, rgba(255, 246, 214, 0.8) 0 1.8%, transparent 3%),
    linear-gradient(270deg, rgba(255, 246, 214, 0.5), rgba(255, 246, 214, 0.2) 46%, transparent 100%);
  clip-path: polygon(100% 48%, 0 0, 0 100%, 100% 52%);
  filter: blur(8px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 94%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.82;
  transform-origin: 100% 50%;
  animation: projector-beam-flicker 2.8s ease-in-out infinite alternate;
  --beam-angle: 7deg;
}

.projector-body {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 82%;
  color: #1f251f;
  transform-style: preserve-3d;
}

.projector-housing {
  position: absolute;
  right: 7%;
  bottom: 10%;
  width: 68%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #2c332d, #111611 70%),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, 0.04) 15px 17px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 22px rgba(0, 0, 0, 0.34),
    0 22px 40px rgba(0, 0, 0, 0.26);
  transform: translateZ(18px);
}

.projector-lens {
  position: absolute;
  top: 21%;
  left: -26%;
  width: 26%;
  height: 54%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px 0 0 4px;
  background:
    linear-gradient(180deg, #050705 0%, #3b3f38 34%, #101410 62%, #030403 100%),
    linear-gradient(90deg, #050605 0 48%, #1a1f1a 49% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -12px 18px rgba(0, 0, 0, 0.42),
    0 12px 18px rgba(0, 0, 0, 0.24);
  transform: translateZ(32px);
}

.projector-lens::before {
  position: absolute;
  top: 12%;
  right: 0;
  width: 14%;
  height: 76%;
  border-radius: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #070907, #272c27 42%, #070907);
  content: "";
}

.projector-lens::after {
  position: absolute;
  top: 8%;
  left: -2px;
  width: 6px;
  height: 84%;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(180deg, #050605, #4a4d45 38%, #090b09 76%, #020302);
  content: "";
}

.project-projector.is-cueing .projector-lens {
  box-shadow:
    -8px 0 20px rgba(244, 127, 43, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -12px 18px rgba(0, 0, 0, 0.42);
}

.projector-lens span {
  display: none;
}

.projector-reel {
  position: absolute;
  top: 0;
  --reel-offset: -50%;
  display: grid;
  width: 34%;
  aspect-ratio: 1 / 1;
  place-items: center;
  border: 8px solid #171d17;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 14%, #171d17 15% 20%, transparent 21% 100%),
    conic-gradient(from 8deg, #323a32 0 10%, transparent 10% 22%, #323a32 22% 34%, transparent 34% 48%, #323a32 48% 60%, transparent 60% 74%, #323a32 74% 86%, transparent 86% 100%),
    #222922;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 18px 28px rgba(0, 0, 0, 0.22);
  transform-style: preserve-3d;
}

.project-projector.is-playing .projector-reel {
  animation: projector-reel-spin 4.6s linear infinite;
}

.projector-reel-left {
  left: calc(25% + 50px);
  transform: translateX(-50%);
}

.projector-reel-right {
  left: calc(59% + 50px);
  transform: translateX(-50%);
}

@keyframes projector-reel-spin {
  to {
    transform: translateX(var(--reel-offset)) rotate(360deg);
  }
}

.projector-reel span {
  position: absolute;
  width: 10%;
  height: 58%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: 50% 50%;
}

.projector-reel span:nth-child(2) {
  transform: rotate(60deg);
}

.projector-reel span:nth-child(3) {
  transform: rotate(120deg);
}

.projector-vents {
  position: absolute;
  right: 10%;
  bottom: 24%;
  display: grid;
  width: 28%;
  gap: 6px;
}

.projector-vents span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.projector-feet span {
  position: absolute;
  bottom: 2%;
  width: 18%;
  height: 7%;
  border-radius: 3px;
  background: #151a15;
}

.projector-feet span:first-child {
  left: 38%;
}

.projector-feet span:last-child {
  right: 12%;
}

@keyframes projector-beam-flicker {
  from {
    opacity: 0.6;
    transform: rotate(var(--beam-angle, 0deg)) scaleX(0.98);
  }

  to {
    opacity: 0.82;
    transform: rotate(var(--beam-angle, 0deg)) scaleX(1.02);
  }
}

.project-book-section .display-record {
  position: relative;
  display: block;
  min-height: clamp(580px, 68vw, 900px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: #202820;
  box-shadow:
    0 30px 70px rgba(36, 40, 36, 0.22),
    0 0 0 1px rgba(36, 40, 36, 0.08);
  overflow: hidden;
}

.project-book-section .display-record::after {
  position: absolute;
  inset: clamp(12px, 1.4vw, 20px);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.18),
    0 0 30px rgba(255, 246, 214, 0.1);
  content: "";
  pointer-events: none;
}

.project-book-section .display-record.is-loading {
  transform: none;
}

.project-book-section .display-sleeve {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.project-book-section .display-sleeve::before {
  inset: 0;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 11, 0.54) 0%, rgba(8, 17, 11, 0.25) 36%, transparent 66%),
    linear-gradient(180deg, transparent 48%, rgba(7, 15, 10, 0.38) 100%);
  box-shadow: none;
}

.project-book-section .display-sleeve img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.02) contrast(1.02) saturate(1.04);
  box-shadow: none;
  transition: opacity 220ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-book-section .display-record.is-cinema-intro .display-sleeve::before {
  background: none;
}

.project-book-section .display-record.is-cinema-intro .display-sleeve img {
  filter: none;
  opacity: 1;
}

.project-book-section .display-sleeve.is-animating img {
  opacity: 0.34;
  transform: scale(1.025);
}

.project-book-section .display-copy {
  position: absolute;
  bottom: clamp(34px, 5vw, 72px);
  left: clamp(24px, 5vw, 72px);
  z-index: 4;
  width: min(54%, 720px);
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.project-book-section .display-record.is-cinema-intro .display-copy {
  opacity: 0;
  pointer-events: none;
}

.project-book-section .display-copy span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-book-section .display-copy h2 {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(2.7rem, 5.8vw, 6.7rem);
  line-height: 0.94;
  text-wrap: balance;
}

.project-book-section .display-copy p {
  max-width: 600px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.project-book-section .shelf-rail {
  display: none;
}

.record-crate-wide {
  grid-column: 1 / -1;
  position: relative;
  --crate-dark: #542d1e;
  --crate-mid: #8d5431;
  --crate-light: #b97842;
  --crate-accent: #62351f;
  --crate-pad-y: clamp(29px, 4.25vw, 49px);
  --crate-pad-x: clamp(20px, 4vw, 48px);
  width: fit-content;
  max-width: 100%;
  min-height: clamp(280px, 32.3vw, 442px);
  margin-top: 0;
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: end;
  padding: var(--crate-pad-y) var(--crate-pad-x);
  border: 1px solid rgba(72, 38, 23, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(63, 32, 19, 0.18) 0 clamp(22px, 4vw, 46px), transparent clamp(22px, 4vw, 46px) calc(100% - clamp(22px, 4vw, 46px)), rgba(63, 32, 19, 0.18) calc(100% - clamp(22px, 4vw, 46px)) 100%),
    radial-gradient(circle at 18% 12%, rgba(255, 225, 176, 0.42), transparent 34%),
    linear-gradient(145deg, var(--crate-mid), var(--crate-light) 46%, var(--crate-accent) 100%);
  box-shadow:
    inset clamp(16px, 3vw, 34px) 0 0 rgba(63, 32, 19, 0.16),
    inset clamp(-34px, -3vw, -16px) 0 0 rgba(63, 32, 19, 0.18),
    inset 0 -40px 0 rgba(63, 32, 19, 0.14),
    inset 0 18px 0 rgba(255, 218, 163, 0.24),
    0 26px 54px rgba(54, 38, 28, 0.18);
  overflow: visible;
}

.record-crate-wide::before,
.record-crate-wide::after {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  left: clamp(20px, 4vw, 48px);
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--crate-light), var(--crate-mid) 58%, var(--crate-dark));
  box-shadow: inset 0 3px 0 rgba(255, 224, 176, 0.4), inset 0 -4px 0 rgba(63, 32, 19, 0.22);
  content: "";
}

.record-crate-wide::before {
  top: 26px;
}

.record-crate-wide::after {
  bottom: 28px;
}

.record-crate-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: clamp(208px, 24.65vw, 332px);
  align-items: stretch;
  justify-content: center;
  gap: clamp(7px, 1vw, 12px);
}

.crate-group {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(208px, 24.65vw, 332px);
  align-items: stretch;
  justify-content: center;
  gap: clamp(7px, 1vw, 12px);
}

.crate-group-label {
  position: absolute;
  top: clamp(-107px, -6.8vw, -73px);
  left: 50%;
  width: min(42vw, 560px);
  color: var(--leaf);
  font-size: clamp(1.75rem, 3.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.88;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.residential-group .crate-group-label {
  right: auto;
  color: var(--orange);
}

.crate-divider {
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: clamp(30px, 4vw, 48px);
  margin-top: calc((var(--crate-pad-y) - 26px) * -1);
  margin-bottom: calc((var(--crate-pad-y) - 28px) * -1);
  border: 1px solid rgba(91, 78, 59, 0.2);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--crate-dark), var(--crate-light) 48%, var(--crate-accent));
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.68),
    inset 0 -4px 0 rgba(91, 78, 59, 0.12),
    inset 8px 0 0 rgba(91, 78, 59, 0.08),
    inset -8px 0 0 rgba(91, 78, 59, 0.1);
}

.crate-record {
  position: relative;
  flex: 0 0 clamp(68px, 6.4vw, 96px);
  min-width: clamp(68px, 6.4vw, 96px);
  max-width: 96px;
  border: 1px solid rgba(36, 40, 36, 0.18);
  border-radius: 0;
  padding: 14px 10px;
  color: var(--paper);
  background: #20241f;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-align: center;
  transition: flex-basis 220ms ease, max-width 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  writing-mode: vertical-rl;
}

.crate-record::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
  content: "";
}

.crate-record img {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transform: scale(1.05);
  transition: opacity 220ms ease, transform 220ms ease;
}

.crate-record strong {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.82);
}

.crate-record strong {
  font-size: clamp(0.78rem, 0.95vw, 1rem);
  line-height: 1.1;
}

.crate-record:hover,
.crate-record.is-hovered {
  flex-basis: 176px;
  max-width: 196px;
  color: var(--white);
  box-shadow: 0 -18px 0 rgba(244, 127, 43, 0.22);
  transform: translateY(-22px);
}

.crate-record:hover img,
.crate-record.is-hovered img,
.crate-record.is-selected img {
  opacity: 0.74;
  transform: scale(1);
}

.crate-record.is-selected {
  color: var(--white);
  box-shadow: none;
}

.crate-record.is-loading-film {
  color: var(--white);
  box-shadow: 0 -18px 0 rgba(244, 127, 43, 0.2);
  animation: project-film-load 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.crate-record.is-loading-film img {
  opacity: 0.78;
  transform: scale(1);
}

@keyframes project-film-load {
  0% {
    transform: translateY(0);
  }

  38% {
    transform: translateY(-64px);
  }

  58% {
    transform: translateY(-58px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes project-record-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-plan-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes team-node-online {
  0% {
    opacity: 0;
    transform: scale(0.62);
  }

  70% {
    opacity: 1;
    transform: scale(1.18);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-text-reveal .scroll-text-word > span,
  .tree-leaf,
  .team-card {
    transform: none;
    transition: none;
    animation: none;
  }

  .team-directory .team-card,
  .team-directory::before {
    opacity: 1;
    transform: none;
  }

  .hero,
  .hero-pin {
    height: 100svh;
    min-height: 100svh;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-right: 76px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    display: grid;
    width: min(420px, 100vw);
    height: 100vh;
    align-content: center;
    gap: 0;
    padding: 92px clamp(28px, 6vw, 58px);
    border-radius: 0;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(54, 82, 43, 0.16);
    font-size: clamp(1.45rem, 3vw, 2.7rem);
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .nav a {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .menu-button {
    display: block;
  }

  .split,
  .split.reverse,
  .process,
  .contact,
  .career-application,
  .career-form,
  .row-heading,
  .section-title-row {
    grid-template-columns: 1fr;
  }

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

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

  .service-list,
  .case-grid,
  .team-band,
  .record-crate-section,
  .project-book-section,
  .display-record {
    grid-template-columns: 1fr;
  }

  .turntable-section {
    grid-template-columns: minmax(230px, 0.8fr) minmax(320px, 1fr);
    gap: clamp(24px, 4vw, 48px);
  }

  .crate-heading {
    position: relative;
    top: auto;
  }

  .turntable-stage {
    height: 100vh;
    height: 100svh;
  }

  .turntable {
    width: min(480px, 100%);
  }

  .service-tracks article {
    min-height: 34vh;
    padding: 0;
    opacity: 0.42;
  }

  .service-tracks article.is-active {
    transform: none;
  }

  .case-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

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

  .record-disc {
    right: -10%;
  }

  .floorplan-header {
    grid-template-columns: 1fr;
  }

  .office-floorplan {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .office-floorplan::before,
  .office-floorplan::after,
  .plan-corridor {
    display: none;
  }

  .department-room,
  .room-leadership,
  .room-design,
  .room-projects,
  .room-field,
  .room-service,
  .room-ops {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    border: 0;
    border-bottom: 3px solid var(--forest);
  }

  .department-room:last-of-type {
    border-bottom: 0;
  }

  .room-door {
    display: none;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .project-book-section,
  .display-record {
    grid-template-columns: minmax(0, 1fr);
  }

  .record-shelf {
    min-width: 0;
  }

  .display-record {
    width: 100%;
  }

  .turntable-section {
    grid-template-columns: minmax(260px, 0.86fr) minmax(300px, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
  }

  .turntable-stage {
    height: 100vh;
    height: 100svh;
  }

  .turntable {
    width: min(420px, 100%);
  }

  .service-tracks article {
    min-height: 46vh;
    padding: 0;
    opacity: 0.42;
  }

  .service-tracks article.is-active {
    transform: none;
  }

  .service-heading {
    gap: clamp(20px, 2.4vw, 32px);
    max-width: 560px;
  }

  .service-icon {
    width: clamp(70px, 7vw, 92px);
    height: clamp(70px, 7vw, 92px);
  }
}

@media (min-width: 1101px) and (max-width: 1440px) {
  .service-heading {
    max-width: min(640px, 100%);
  }

  .service-icon {
    width: clamp(76px, 6.8vw, 100px);
    height: clamp(76px, 6.8vw, 100px);
  }
}

/* Scale the desktop Services composition down as one system before mobile takes over. */
@media (min-width: 681px) and (max-width: 1440px) {
  .turntable-section {
    grid-template-columns: minmax(180px, 0.78fr) minmax(260px, 1fr);
    gap: clamp(16px, 4vw, 48px);
  }

  .service-tracks {
    /* Reserve the nine-wire lane, a scalable clearance gap, and the full icon ring. */
    padding-right: clamp(150px, 17vw, 230px);
  }

  .turntable {
    width: min(30vw, 500px);
  }

  .track-marker {
    font-size: clamp(0.52rem, 1.55vw, 1.22rem);
  }

  .tonearm {
    height: clamp(4px, 0.56vw, 8px);
  }

  .tonearm::after {
    right: clamp(-18px, -1.25vw, -8px);
    width: clamp(22px, 2.9vw, 42px);
    height: clamp(22px, 2.9vw, 42px);
  }

  .needle {
    width: clamp(18px, 2.22vw, 32px);
    height: clamp(7px, 0.84vw, 12px);
  }

  .service-heading {
    gap: clamp(10px, 1.8vw, 24px);
    max-width: 100%;
  }

  .service-icon {
    width: clamp(44px, 7.8vw, 100px);
    height: clamp(44px, 7.8vw, 100px);
  }

  .service-tracks h2 {
    font-size: clamp(1.15rem, 2.65vw, 2.85rem);
    line-height: 0.98;
  }

  .service-tracks p {
    font-size: clamp(0.82rem, 1.35vw, 1.1rem);
  }
}

@media (min-width: 981px) {
  .hero,
  .hero-pin {
    height: max(100vh, min(66.6667vw, 1200px));
  }

  .hero img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-title {
    top: clamp(204px, 28vh, 292px);
    bottom: auto;
  }
}

@media (max-width: 860px) {
  .services-page .page-hero > .av-rack {
    display: none;
  }

  .services-page.is-cable-icon-sync .service-icon {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 681px) and (max-width: 860px) {
  .services-cable-art,
  .services-page .page-hero > .av-rack {
    display: block;
  }
}

@media (max-width: 680px) {
  .services-cable-art {
    display: block;
    top: 76px;
    height: calc(100% - 76px);
  }

  .services-page .network-switch rect,
  .services-page .switch-ports path,
  .services-page .service-cable,
  .services-page .service-cable-marker {
    stroke-width: 2;
  }

  .services-page .page-hero > .av-rack {
    display: block;
    top: 50%;
    right: 14px;
    bottom: auto;
    width: min(40vw, 154px);
    height: clamp(286px, 39svh, 330px);
    border-width: 2px;
    transform: translateY(-46%);
  }

  .services-page .interior-tree-stage[data-tree-complete="true"].is-tree-ready.is-tree-started .interior-hero-tree-art {
    opacity: 0.42;
    filter: blur(2px);
    transition: opacity 520ms ease, filter 620ms ease;
  }

  .services-page .page-hero > p:not(.page-subtitle) {
    /* Reserve the rack width, its 14px inset, and a 12px text gap. */
    max-width: min(220px, calc(100% - min(40vw, 154px) - 26px + clamp(18px, 5vw, 24px)));
  }

  .services-page .av-rack-rail {
    width: 10px;
  }

  .services-page .av-rack-unit,
  .services-page .av-rack-switch-space {
    left: 10px;
    right: 10px;
  }

  .services-page .av-rack-power {
    gap: 4px;
  }

  .services-page .av-rack-power-light,
  .services-page .av-rack-control {
    width: 5px;
    height: 5px;
  }

  .turntable-section {
    grid-template-columns: minmax(96px, 30vw) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-top: 0;
  }

  .turntable-pin-spacer {
    display: block;
    min-height: 100svh;
  }

  .turntable-stage {
    position: relative;
    top: 0;
    left: auto;
    z-index: 3;
    width: 100%;
    height: 100svh;
    min-height: auto;
    place-items: center;
    padding-top: 0;
    transform: translateY(var(--turntable-mobile-y, 0px));
  }

  .turntable-section.is-turntable-pinned .turntable-stage,
  .turntable-section.is-turntable-after .turntable-stage {
    position: fixed;
    left: var(--turntable-left);
    width: var(--turntable-width);
    height: 100svh;
    place-items: center;
    padding-top: 0;
    transform: none;
  }

  .turntable-section.is-turntable-pinned .turntable-stage {
    top: 0;
  }

  .turntable-section.is-turntable-after .turntable-stage {
    top: var(--turntable-after-top);
  }

  .turntable {
    width: min(29vw, 118px);
    border-radius: 6px;
    transform: translateX(clamp(-12px, -2.4vw, -8px));
  }

  .track-marker {
    font-size: clamp(0.38rem, 1.55vw, 0.52rem);
    letter-spacing: 0.03em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
  }

  .tonearm {
    height: 3px;
  }

  .tonearm::after {
    right: -6px;
    width: 14px;
    height: 14px;
  }

  .needle {
    width: 10px;
    height: 4px;
  }

  .service-tracks {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    gap: 0;
    padding-right: clamp(64px, 18vw, 72px);
  }

  .service-tracks article {
    min-height: clamp(198px, 26vh, 238px);
    padding: 12px 0 16px;
    opacity: 0.64;
  }

  .service-tracks article.is-active {
    opacity: 1;
    transform: none;
  }

  .service-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
    padding-right: 0;
  }

  .contact-detail-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-content,
  .legal-content article {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-content article,
  .legal-content p,
  .legal-content ul,
  .legal-content address {
    min-width: 0;
  }

  .service-icon {
    position: static;
    grid-column: 2;
    width: 40px;
    height: 40px;
  }

  .services-page.is-cable-icon-sync .service-icon {
    opacity: 0;
    transform: scale(0.88);
  }

  .services-page.is-cable-icon-sync .service-tracks article.is-icon-visible .service-icon {
    opacity: 1;
    transform: scale(1);
  }

  .service-tracks h2 {
    font-size: clamp(0.98rem, 4.35vw, 1.38rem);
    line-height: 1;
  }

  .service-tracks p {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero,
  .hero-pin {
    height: 72svh;
    min-height: 560px;
  }

  .hero img {
    object-fit: cover;
    object-position: center center;
  }

  .section-tree-art {
    opacity: 0;
  }

  #home .section-tree-art:not(.mobile-section-tree-art) {
    display: block;
    visibility: visible;
  }

  #home .mobile-section-tree-art {
    display: none;
    --tree-effect-blur: 0.45px;
  }

  #home .tree-stage.is-tree-ready .section-tree-art:not(.mobile-section-tree-art) {
    opacity: 0.72;
  }

  #home .vision-tree-art,
  #home .process-tree-art,
  #home .practice-tree-art {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  #home .process-tree-art {
    top: -20%;
    bottom: auto;
    height: 140%;
  }

  #home .practice-tree-art {
    top: -12%;
    right: auto;
    bottom: auto;
    left: -12%;
    width: 124%;
    height: 124%;
  }

  .brand {
    width: min(230px, 68vw);
  }

  .nav {
    left: 0;
    right: 0;
    width: auto;
    transform: translateY(-8px);
  }

  .site-header {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  body.menu-open .nav,
  .site-header.is-open .nav {
    transform: translateX(0);
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 6.4rem);
  }

  .hero-title h1 {
    font-size: clamp(2.35rem, 10vw, 3.8rem);
    line-height: 1.08;
  }

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

  .project-strip figure:nth-child(2) {
    transform: none;
  }

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

  .proof-grid,
  .work-card-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid span {
    min-height: 76px;
  }

  .process-grid li {
    min-height: 118px;
    padding: 16px;
  }

  .department-room,
  .room-design {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 64px 1fr;
  }

  .team-photo {
    width: 64px;
  }

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

  .team-grid--five .team-card,
  .team-grid--five .team-card:nth-child(4),
  .team-grid--five .team-card:nth-child(5) {
    grid-column: auto;
  }

  .team-directory .team-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .team-directory .team-photo {
    width: min(31vw, 108px);
    border-width: 4px;
    box-shadow: 0 9px 18px rgba(54, 82, 43, 0.12);
  }

  .team-directory .team-card:hover .team-photo,
  .team-directory .team-card:focus-within .team-photo {
    width: min(33vw, 116px);
  }

  .team-directory .team-card strong {
    margin-top: 3px;
    padding: 1px 3px;
    box-shadow: 0 0 0 4px var(--paper);
    font-size: clamp(0.78rem, 3.45vw, 1rem);
  }

  .team-directory .team-card span {
    max-width: 126px;
    font-size: 0.62rem;
    line-height: 1.08;
  }

  .team-photo-danelle img {
    width: 132%;
    height: 132%;
    transform: translate(-10%, -28%);
    object-position: 70% 100%;
  }

  .team-department {
    gap: 12px;
    margin-top: 26px;
  }

  .team-department-title {
    font-size: clamp(0.92rem, 4.2vw, 1.12rem);
  }

  .team-floorplan-art {
    top: 0;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 132vw;
    min-width: 0;
    height: 100%;
    aspect-ratio: auto;
    transform: translateX(-50%);
  }

  .record-crate {
    padding: 18px;
  }

  .project-book-section {
    gap: 18px;
    padding-right: clamp(14px, 4vw, 20px);
    padding-left: clamp(14px, 4vw, 20px);
  }

  .project-book-section .record-shelf {
    width: 100%;
  }

  .project-book-section .display-record {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #101510;
  }

  .project-book-section .display-sleeve::before {
    background:
      linear-gradient(90deg, rgba(8, 17, 11, 0.54) 0%, rgba(8, 17, 11, 0.2) 42%, transparent 72%),
      linear-gradient(180deg, transparent 38%, rgba(7, 15, 10, 0.46) 100%);
  }

  .project-book-section .display-sleeve img {
    object-fit: contain;
    background: #101510;
  }

  .project-book-section .display-record.is-cinema-intro .display-sleeve img {
    object-fit: cover;
  }

  .project-book-section .display-copy {
    right: min(33vw, 128px);
    bottom: 16px;
    left: 16px;
    width: auto;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
  }

  .project-book-section .display-copy span {
    margin-bottom: 5px;
    font-size: 0.58rem;
  }

  .project-book-section .display-copy h2 {
    max-width: 15ch;
    font-size: clamp(1.15rem, 5.25vw, 1.8rem);
    line-height: 0.96;
  }

  .project-book-section .display-copy p {
    max-width: 26ch;
    margin-top: 6px;
    font-size: clamp(0.62rem, 2.3vw, 0.78rem);
    line-height: 1.28;
  }

  .project-book-section .project-turntable,
  .project-book-section .project-projector {
    width: min(30vw, 116px);
  }

  .project-book-section .project-projector {
    margin: 0 12px 10px 0;
    transform: translateY(22px);
  }

  .projector-beam {
    width: 62vw;
    height: 28vw;
    opacity: 0.42;
  }

  .record-crate-wide {
    width: 100%;
    grid-template-columns: 1fr;
    min-height: 306px;
    --crate-pad-y: 37px;
    --crate-pad-x: 18px;
  }

  .record-crate-inner,
  .crate-group {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .crate-divider {
    width: 100%;
    height: 42px;
    margin-top: 0;
    margin-bottom: 0;
    background: linear-gradient(90deg, var(--crate-dark), var(--crate-light) 52%, var(--crate-accent));
    box-shadow:
      inset 0 3px 0 rgba(255, 255, 255, 0.18),
      inset 0 -4px 0 rgba(36, 40, 36, 0.2),
      0 8px 0 rgba(36, 40, 36, 0.12);
  }

  .crate-group-label {
    position: static;
    flex: 0 0 min(220px, 54vw);
    width: auto;
    padding: 0 6px 12px;
    font-size: clamp(1.35rem, 8vw, 2.4rem);
    line-height: 0.9;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .crate-record {
    flex: 0 0 74px;
    min-width: 74px;
  }

  .crate-record:hover,
  .crate-record.is-hovered,
  .crate-record.is-selected {
    flex-basis: 112px;
    max-width: 112px;
    transform: translateY(-14px);
  }

  .project-record:hover {
    transform: none;
  }

  .process-grid strong {
    margin-bottom: 10px;
  }

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

  .footer-links {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 22px;
  }
}

/* Mobile composition pass: phone layouts get their own proportions instead of scaled desktop scenes. */
@media (max-width: 680px) {
  .page {
    overflow-x: hidden;
  }

  .section,
  .page-hero {
    padding-right: clamp(18px, 5vw, 24px);
    padding-left: clamp(18px, 5vw, 24px);
  }

  .page-hero {
    min-height: 72svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: clamp(118px, 24svh, 168px);
    padding-bottom: clamp(44px, 11vw, 72px);
  }

  .page-hero .page-kicker {
    margin-bottom: 12px;
    font-size: clamp(0.92rem, 4vw, 1.15rem);
  }

  .page-hero .page-subtitle {
    max-width: 10ch;
    font-size: clamp(2.35rem, 13vw, 4rem);
    line-height: 0.94;
  }

  .page-hero p:not(.page-subtitle) {
    max-width: 31ch;
    margin-top: 18px;
    font-size: clamp(0.92rem, 3.6vw, 1.05rem);
    line-height: 1.48;
  }

  .contact-page .page-hero,
  .careers-page .page-hero {
    min-height: auto;
    justify-content: center;
    padding-top: clamp(84px, 14svh, 112px);
    padding-bottom: clamp(30px, 8vw, 46px);
  }

  #home .split,
  #home .process,
  #home .through-process {
    min-height: 94svh;
    padding-top: clamp(68px, 18vw, 104px);
    padding-bottom: clamp(68px, 18vw, 104px);
  }

  #home .split {
    gap: clamp(24px, 8vw, 42px);
    align-content: center;
  }

  #home .agency-intro,
  #home .through-process {
    min-height: auto;
    gap: clamp(18px, 6vw, 28px);
    padding-top: clamp(36px, 10vw, 58px);
    padding-bottom: clamp(38px, 10vw, 60px);
  }

  #home .split-media {
    order: 2;
    overflow: hidden;
    border-radius: 8px;
  }

  #home .split-media img {
    aspect-ratio: 1.12 / 1;
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
  }

  #home .split-copy {
    order: 1;
    max-width: 34ch;
  }

  #home .agency-intro .split-media,
  #home .through-process .split-media {
    order: 1;
  }

  #home .agency-intro .split-copy,
  #home .through-process .split-copy {
    order: 2;
  }

  #home .tree-stage.is-tree-ready .section-tree-art:not(.mobile-section-tree-art) {
    opacity: 0.58;
  }

  #home .vision-tree-art,
  #home .process-tree-art,
  #home .practice-tree-art {
    transform-origin: center;
  }

  #home .vision-tree-art {
    top: clamp(-260px, -32svh, -160px);
    right: auto;
    bottom: auto;
    left: -30vw;
    width: 164vw;
    height: clamp(920px, 190svh, 1240px);
  }

  #home .practice-tree-art {
    top: clamp(-260px, -32svh, -160px);
    right: auto;
    bottom: auto;
    left: -30vw;
    width: 164vw;
    height: clamp(920px, 190svh, 1240px);
  }

  #home .process-tree-art {
    top: clamp(-250px, -30svh, -150px);
    right: auto;
    bottom: auto;
    left: -30vw;
    width: 164vw;
    height: clamp(1160px, 235svh, 1520px);
  }

  #home .process > div {
    max-width: 34ch;
  }

  #home .process-intro {
    margin-top: 16px;
  }

  #home .process-grid {
    align-self: center;
  }

  #home .process-grid {
    gap: 9px;
  }

  #home .process-grid li {
    min-height: 112px;
    padding: 17px;
    background: rgba(251, 252, 243, 0.84);
    backdrop-filter: blur(1.5px);
  }

  #home .process-grid strong {
    margin-bottom: 12px;
  }

  #home .through-process .split-copy {
    margin-left: 0;
  }

  .services-page .page-hero {
    min-height: clamp(460px, 50svh, 540px);
    justify-content: flex-start;
    padding-top: clamp(54px, 8svh, 72px);
    padding-bottom: clamp(20px, 5vw, 30px);
  }

  .turntable-section {
    grid-template-columns: minmax(84px, 28vw) minmax(0, 1fr);
    gap: 12px;
    padding-top: 0;
    padding-bottom: 28px;
  }

  .service-tracks {
    padding-top: clamp(42px, 12svh, 82px);
    padding-right: clamp(52px, 15vw, 66px);
  }

  .service-tracks article {
    min-height: clamp(168px, 23vh, 210px);
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .service-heading {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    margin-bottom: 3px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .service-tracks h2 {
    font-size: clamp(0.98rem, 4.35vw, 1.38rem);
    line-height: 1;
  }

  .service-tracks p {
    margin-top: 4px;
    font-size: clamp(0.74rem, 3.3vw, 0.88rem);
  }

  .team-directory {
    margin-top: 0;
    padding-top: clamp(24px, 7vw, 42px);
    padding-bottom: clamp(52px, 14vw, 80px);
  }

  .team-page .page-hero {
    min-height: auto;
    justify-content: center;
    padding-top: clamp(84px, 14svh, 116px);
    padding-bottom: clamp(28px, 8vw, 44px);
  }

  .team-page .page-spacer-bar,
  .projects-page .page-spacer-bar {
    height: 8px;
  }

  .team-floorplan-art {
    top: 0;
    left: 50%;
    bottom: 0;
    width: 178vw;
    height: 100%;
    aspect-ratio: auto;
    transform: translateX(-50%);
  }

  .team-plan-mobile-layer {
    display: block;
  }

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

  .team-directory .team-photo {
    width: min(34vw, 124px);
  }

  .project-book-section {
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding-top: 10px;
    padding-right: clamp(10px, 3vw, 14px);
    padding-left: clamp(10px, 3vw, 14px);
    overflow: hidden;
  }

  .projects-page .page-hero {
    min-height: auto;
    justify-content: center;
    padding-top: clamp(78px, 13svh, 102px);
    padding-bottom: clamp(20px, 6vw, 34px);
  }

  .project-book-section .record-shelf {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .project-book-section .display-record {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    justify-self: center;
  }

  .project-book-section .display-sleeve img {
    object-fit: contain;
    object-position: center center;
    background: #101510;
  }

  .project-book-section .display-record:not(.is-cinema-intro) .display-sleeve::before {
    background:
      linear-gradient(90deg, rgba(8, 17, 11, 0.62) 0%, rgba(8, 17, 11, 0.24) 46%, transparent 76%),
      linear-gradient(180deg, transparent 46%, rgba(7, 15, 10, 0.32) 100%);
  }

  .project-book-section .display-copy {
    right: min(25vw, 92px);
    bottom: 14px;
    left: 14px;
  }

  .project-book-section .display-copy h2 {
    max-width: 14ch;
    font-size: clamp(1.1rem, 5.2vw, 1.75rem);
  }

  .project-book-section .display-copy p {
    max-width: 25ch;
    font-size: clamp(0.62rem, 2.7vw, 0.78rem);
  }

  .record-crate-wide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 238px;
    --crate-pad-y: 28px;
    --crate-pad-x: 12px;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(88, 168, 59, 0.58) rgba(84, 45, 30, 0.24);
  }

  .record-crate-wide::-webkit-scrollbar {
    height: 6px;
  }

  .record-crate-wide::-webkit-scrollbar-track {
    background: rgba(84, 45, 30, 0.24);
  }

  .record-crate-wide::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(88, 168, 59, 0.58);
  }

  .project-book-section .project-projector {
    width: min(24vw, 90px);
    margin: 0 8px 5px 0;
    transform: translateY(12px);
  }

  .project-book-section .projector-reel {
    width: 32%;
    border-width: 5px;
  }

  .project-book-section .projector-reel-left {
    left: 48%;
  }

  .project-book-section .projector-reel-right {
    left: 81%;
  }

  .projector-beam {
    width: 54vw;
    height: 22vw;
    opacity: 0.36;
  }

  .record-crate-inner,
  .crate-group {
    width: max-content;
    max-width: none;
    min-width: max-content;
    min-height: 178px;
    justify-content: flex-start;
    scroll-snap-type: x proximity;
  }

  .crate-record {
    flex: 0 0 58px;
    min-width: 58px;
    max-width: 58px;
    scroll-snap-align: start;
  }

  .crate-record:hover,
  .crate-record.is-hovered,
  .crate-record.is-selected {
    flex-basis: 86px;
    max-width: 86px;
    transform: translateY(-10px);
  }

  .contact-panel,
  .career-application,
  .career-form,
  .legal-content article {
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}
