:root {
  --ink: #121417;
  --paper: #f4f2ed;
  --white: #ffffff;
  --teal: #3f7775;
  --teal-dark: #2d5d5b;
  --oxblood: #7b3045;
  --slate: #6d7378;
  --line: rgba(18, 20, 23, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(18, 20, 23, 0.12);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img,
video,
iframe {
  display: block;
  width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

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

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

.section {
  padding: 112px 0;
}

.section-tint {
  background: #ece9e2;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.light .eyebrow {
  color: #87b6b2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 237, 0.91);
  border-bottom: 1px solid rgba(18, 20, 23, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oxblood);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(44px, 6vw, 82px);
  align-items: center;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 7.3vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-word-turn {
  /* The headline uses intentionally tight display tracking, but the r/n pair
     in "turn" needs a little extra air so it cannot read as "tum". */
  letter-spacing: -0.015em;
  font-kerning: normal;
}

.hero-lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-ghost {
  border: 1px solid var(--line);
}

.hero-art {
  min-height: 455px;
  position: relative;
  isolation: isolate;
}

.hero-frame {
  --hero-x: 0%;
  --hero-y: 0%;
  --hero-scale: 1;
  position: absolute;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: translate(var(--hero-x), var(--hero-y)) scale(var(--hero-scale));
  transform-origin: center center;
  will-change: transform;
  transition:
    transform 520ms cubic-bezier(.16, 1, .3, 1),
    box-shadow 520ms cubic-bezier(.16, 1, .3, 1),
    filter 420ms ease,
    opacity 420ms ease;
}

/* Flash-style hero rollover choreography.
   JavaScript adds one of .hover-a / .hover-b / .hover-c to .hero-art. */
.hero-art.is-hovering .hero-frame {
  box-shadow: 0 18px 52px rgba(18, 20, 23, 0.13);
}

.hero-art.hover-a .hero-frame-a {
  --hero-x: -2%;
  --hero-y: -1.5%;
  --hero-scale: 1.065;
  z-index: 6;
}
.hero-art.hover-a .hero-frame-b {
  --hero-x: -5%;
  --hero-y: 4%;
  --hero-scale: .945;
}
.hero-art.hover-a .hero-frame-c {
  --hero-x: 13%;
  --hero-y: 15%;
  --hero-scale: .94;
}

.hero-art.hover-b .hero-frame-b {
  --hero-x: -2.5%;
  --hero-y: 1%;
  --hero-scale: 1.065;
  z-index: 3;
}
.hero-art.hover-b .hero-frame-a {
  --hero-x: 4%;
  --hero-y: -4%;
  --hero-scale: .945;
}
.hero-art.hover-b .hero-frame-c {
  --hero-x: 14%;
  --hero-y: 5%;
  --hero-scale: .94;
}

.hero-art.hover-c .hero-frame-c {
  --hero-x: 9%;
  --hero-y: 7%;
  --hero-scale: 1.085;
  z-index: 7;
}
.hero-art.hover-c .hero-frame-a {
  --hero-x: 3%;
  --hero-y: -5%;
  --hero-scale: .945;
}
.hero-art.hover-c .hero-frame-b {
  --hero-x: -6%;
  --hero-y: 3%;
  --hero-scale: .945;
}



/* Hero stacking invariant:
   VIDEO (green) must always remain above MOTION (red), including during hover.
   INTERACTIVE may sit above both when appropriate. */
.hero-art .hero-frame-a {
  z-index: 4;
}

.hero-art .hero-frame-b {
  z-index: 2;
}

.hero-art.hover-a .hero-frame-a {
  z-index: 6;
}

.hero-art.hover-b .hero-frame-b {
  z-index: 3;
}

.hero-art.hover-c .hero-frame-c {
  z-index: 7;
}

.hero-art.is-hovering .hero-frame:not(.is-active) {
  filter: saturate(.92) brightness(.98);
  opacity: .94;
}

.hero-art.is-hovering .hero-frame.is-active {
  box-shadow: 0 30px 78px rgba(18, 20, 23, 0.20);
  filter: none;
  opacity: 1;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.hero-frame span {
  position: relative;
  z-index: 1;
}

.hero-frame:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

.hero-frame:active {
  filter: brightness(.96);
}


.hero-frame-a {
  z-index: 4;
  width: 66%;
  height: 68%;
  right: 0;
  top: 0;
  background:
    linear-gradient(135deg, rgba(63, 119, 117, 0.9), rgba(18, 20, 23, 0.97));
  color: var(--white);
}

.hero-frame-b {
  z-index: 2;
  width: 58%;
  height: 47%;
  left: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, rgba(123, 48, 69, 0.92), rgba(18, 20, 23, 0.92));
  color: var(--white);
}

.hero-frame-c {
  z-index: 5;
  width: 42%;
  height: 37%;
  right: 5%;
  bottom: 3%;
  --hero-x: 8%;
  --hero-y: 8%;
  background: var(--white);
  color: var(--ink);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.3vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--slate);
  font-size: 1.05rem;
}

.section-heading.light > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.metrics-section {
  position: relative;
  overflow: hidden;
}

.metrics-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -180px;
  top: -260px;
  background: rgba(63, 119, 117, 0.14);
  filter: blur(20px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.metric {
  padding: 40px 30px 42px 0;
}

.metric + .metric {
  padding-left: 38px;
  border-left: 1px solid var(--line-light);
}

.metric strong {
  display: block;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
}

.project-card {
  min-width: 0;
}

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

.project-open {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dedbd4;
}


.project-media img,
.immersive-card img,
.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.project-open:hover .project-media img,
.project-open:focus-visible .project-media img,
.immersive-card button:hover img,
.immersive-card button:focus-visible img,
.social-card:hover img,
.social-card:focus-visible img {
  transform: scale(1.035);
}

.media-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18, 20, 23, 0.82);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.project-copy {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  padding: 19px 2px 14px;
}

.project-index {
  color: var(--oxblood);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-title {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.project-summary {
  display: block;
  margin-top: 10px;
  color: var(--slate);
}

.social-grid {
  display: grid;
  grid-template-columns: minmax(0, 81fr) minmax(0, 256fr) minmax(0, 81fr);
  gap: 18px;
  align-items: start;
}

.social-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #d8d4cc;
  box-shadow: 0 10px 32px rgba(18, 20, 23, 0.08);
  cursor: pointer;
  align-self: start;
}

.social-card-landscape,
.social-card-portrait {
  width: 100%;
  height: auto;
  max-width: none;
  justify-self: stretch;
}

.social-card-landscape {
  aspect-ratio: 16 / 9;
}

.social-card-portrait {
  aspect-ratio: 9 / 16;
}

.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,20,23,.76), transparent 52%);
  pointer-events: none;
}

.social-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(18,20,23,.45);
  color: white;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}

.social-caption {
  position: absolute;
  z-index: 2;
  left: 15px;
  right: 15px;
  bottom: 14px;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.skill-line span,
.tag-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.system-card {
  min-height: 0;
  padding: 30px 32px 30px 0;
}

.system-card + .system-card {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.system-number {
  color: var(--oxblood);
  font-size: 0.75rem;
  font-weight: 900;
}

.system-kicker {
  margin: 24px 0 6px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-card h3 {
  margin: 0 0 16px;
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.system-card p:not(.system-kicker) {
  color: var(--slate);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}


#web .web-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1040px);
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

#web .web-project-card {
  display: block;
  min-width: 0;
  width: auto;
  margin: 0;
}

.web-project-card .project-open {
  display: block;
}

.web-project-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dcd8d0;
}

.web-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.web-project-card .project-open:hover .web-project-media img,
.web-project-card .project-open:focus-visible .web-project-media img {
  transform: scale(1.035);
}

.web-project-copy {
  display: block;
  padding: 19px 2px 8px;
}

.web-project-title {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.web-project-summary {
  display: block;
  max-width: 560px;
  margin-top: 10px;
  color: var(--slate);
}

.immersive-section {
  overflow: hidden;
}

.immersive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.immersive-card {
  min-width: 0;
}

.immersive-card button {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #25282c;
  cursor: pointer;
  text-align: left;
}

.immersive-card button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,20,23,.9), rgba(18,20,23,.03) 68%);
}

.immersive-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: var(--white);
}

.immersive-overlay .project-kicker {
  color: #9bc9c5;
}

.immersive-title {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.immersive-overlay > span:last-child {
  color: rgba(255,255,255,.68);
  font-size: 0.84rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(60px, 8vw, 120px);
}

.about-lede {
  margin: 25px 0 18px;
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
}

.about-copy > p:last-child,
.capabilities p {
  color: var(--slate);
}

.capabilities {
  padding-top: 38px;
}

.capabilities h3 {
  margin: 0 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capabilities h3:not(:first-child) {
  margin-top: 34px;
}

.capability-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.capability-columns ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.capability-columns li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.contact {
  background: var(--teal);
  color: var(--white);
}

.contact .eyebrow {
  color: rgba(255,255,255,.62);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 50px;
}

.contact-inner .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.contact h2 {
  max-width: 650px;
}

.contact-links {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding-bottom: 7px;
}

.contact-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}


.studio-portrait-section {
  /*padding: 54px 0;*/
  background: var(--ink);
}

.studio-portrait {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0d10;
}

.studio-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 2.38 / 1;
  object-fit: cover;
  object-position: center center;
}

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
}

.footer-inner a,
.back-to-top {
  color: var(--white);
  text-decoration: none;
}

.back-to-top {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  opacity: .92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

/* Modal */
.modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: none;
  overflow: auto;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 32px));
  margin: 50px auto;
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 36px 100px rgba(0,0,0,.4);
}

.modal-close {
  position: absolute;
  z-index: 5;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(18,20,23,.78);
  color: white;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal-media {
  background: #0f1113;
}

.modal-media iframe,
.modal-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.modal-media video {
  object-fit: contain;
  background: #0f1113;
}

.modal-media-portrait {
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-media-portrait video {
  width: auto;
  max-width: 100%;
  height: min(78vh, 900px);
  aspect-ratio: 9 / 16;
}

.modal-media-landscape video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.modal-media img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.modal-placeholder {
  display: grid;
  min-height: 400px;
  place-items: center;
  padding: 40px;
  color: rgba(255,255,255,.7);
  text-align: center;
}

.modal-content {
  padding: clamp(30px, 5vw, 64px);
}

.modal-content h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.modal-intro {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--slate);
  font-size: 1.12rem;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.modal-detail-grid h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-detail-grid p {
  margin: 0;
  color: var(--slate);
}

.modal-extra {
  margin-top: 36px;
}

.modal-link {
  display: inline-flex;
  margin-top: 28px;
  font-weight: 800;
  color: var(--teal-dark);
  text-underline-offset: 4px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(.2,.8,.2,1);
}

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

/* Responsive */
@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 78px;
  }

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

  .hero-art {
    min-height: 410px;
    width: min(690px, 100%);
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(244,242,237,.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    border-radius: 12px;
  }

  .hero-grid {
    gap: 45px;
  }

  .hero-art {
    min-height: 340px;
  }

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

  .metric {
    padding: 26px 0;
  }

  .metric + .metric {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

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

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

  .project-media {
    aspect-ratio: 16 / 9;
  }

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

  .system-card {
    min-height: 0;
    padding: 30px 0;
  }

  .system-card + .system-card {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .system-kicker {
    margin-top: 20px;
  }

  .immersive-grid,
  .about-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-inner .eyebrow {
    margin-bottom: -30px;
  }

  .modal-detail-grid {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 68px 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .site-nav {
    top: 60px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5.3rem);
  }

  .hero-art {
    min-height: 300px;
  }

  .hero-frame {
    padding: 16px;
  }

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

  .capability-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-inner {
    gap: 32px;
  }

  .studio-portrait-section {
    padding: 28px 0;
  }

  .studio-portrait {
    border-radius: 18px;
  }

  .studio-portrait img {
    aspect-ratio: 4 / 3;
    object-position: 50% 48%;
  }

  .footer-inner {
    min-height: 96px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .modal-panel {
    width: 100%;
    margin: 0;
    min-height: 100%;
    border-radius: 0;
  }

  .modal-content {
    padding-top: 38px;
  }

  .modal-media-portrait {
    padding: 14px;
  }

  .modal-media-portrait video {
    height: auto;
    width: min(88vw, 420px);
    max-height: 72vh;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-frame {
    transition: none;
  }
}



@media (max-width: 700px) {
  #web .web-project-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }
}


@media (max-width: 620px) {
  .social-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-card,
  .social-card-landscape,
  .social-card-portrait {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

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

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

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