@font-face {
  font-family: "Olio";
  src: url("/fonts/Olio%20Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dker Felt Pen";
  src: url("/fonts/Dker-FeltPen.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fdc78e;
  --orange: #f9a354;
  --periwinkle: #7482bf;
  --blue: #74a9c0;
  --white: #ffffff;
  --ink: #3d3942;
  --nav-shell: rgba(253, 199, 142, 0.86);
  --nav-stroke: rgba(255, 255, 255, 0.58);
  --nav-button: rgba(255, 255, 255, 0.46);
  --nav-button-hover: rgba(255, 255, 255, 0.84);
  --nav-text: #3d3942;
  --nav-contact: #7482bf;
  --nav-contact-hover: #6876b4;
  --status-panel: rgba(255, 255, 255, 0.84);
  --status-track: rgba(116, 130, 191, 0.18);
  --shadow-soft: 0 18px 34px rgba(116, 130, 191, 0.2);
  --desktop-content-gutter: clamp(92px, 10.4vw, 192px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #f9a254;
  color: var(--white);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.portfolio-stage {
  min-width: 320px;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: hidden;
}

.unity-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--orange);
  pointer-events: auto;
}

.web-layer {
  position: absolute;
  inset: 0;
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  outline: 0;
  touch-action: none;
}

.unity-status {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 4;
  display: grid;
  width: min(360px, calc(100vw - 32px));
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--status-panel);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
}

.unity-status.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.unity-status__label {
  color: var(--periwinkle);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.unity-status__track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--status-track);
}

.unity-status__bar {
  display: block;
  width: 4%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--periwinkle));
  transition: width 180ms ease;
}

.web-layer {
  z-index: 2;
  pointer-events: none;
}

.site-header,
.hero-copy {
  pointer-events: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.4vw, 48px);
  width: auto;
  margin-top: max(34px, calc(env(safe-area-inset-top) + 26px));
  padding: 8px 10px;
  border: 1px solid var(--nav-stroke);
  border-radius: 999px;
  background: var(--nav-shell);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(-50%);
}

.brand {
  display: grid;
  width: clamp(44px, 4.2vw, 58px);
  height: clamp(44px, 4.2vw, 58px);
  place-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
  transform: translate(6px, -4px);
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr)) minmax(116px, 1fr);
  align-items: center;
  gap: clamp(8px, 0.9vw, 14px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--nav-text);
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--nav-button-hover);
  border-color: rgba(255, 255, 255, 0.56);
  transform: translateY(-1px);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.nav-links__contact {
  gap: 6px;
  background: var(--nav-contact) !important;
  color: var(--white) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nav-links__contact img {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-links__contact:hover,
.nav-links__contact:focus-visible {
  background: var(--nav-contact-hover) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

.hero-copy {
  width: min(35vw, 520px);
  margin-top: clamp(64px, 11.5vh, 128px);
  margin-left: var(--desktop-content-gutter);
}

.hero-copy > img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-copy__description {
  max-width: 370px;
  margin: 16px 0 14px;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 178px;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid var(--nav-stroke);
  border-radius: 18px;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 1rem;
  line-height: 1.3;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.hero-copy__action span {
  display: grid;
  gap: 3px;
}

.hero-copy__action strong {
  font-weight: 500;
}

.hero-copy__action--clients {
  background: rgba(183, 117, 88, 0.38);
}

.hero-copy__action--studios {
  background: var(--periwinkle);
}

.hero-copy__action img {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
}

.hero-copy__action--clients:hover,
.hero-copy__action--clients:focus-visible {
  background: rgba(183, 117, 88, 0.58);
}

.hero-copy__action--studios:hover,
.hero-copy__action--studios:focus-visible {
  background: var(--nav-contact-hover);
}

.hero-copy__action:hover,
.hero-copy__action:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-copy__action:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.work-section {
  position: relative;
  z-index: 1;
  padding: clamp(150px, 17vh, 190px) var(--desktop-content-gutter) 64px;
  background: transparent;
  pointer-events: none;
  scroll-margin-top: 0;
}

.work-section__inner {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
}

.reserved-section {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  pointer-events: none;
}

.about-section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8vh, 96px) var(--desktop-content-gutter) 56px;
  pointer-events: none;
}

.about-section__inner {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(40px, 4.5vw, 76px);
  align-items: center;
}

.about-portrait {
  position: relative;
  width: min(100%, 380px);
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  background: rgba(253, 199, 142, 0.9);
  box-shadow: var(--shadow-soft);
  pointer-events: auto;
}

.about-portrait video {
  display: block;
  width: 100%;
  height: clamp(320px, 42svh, 450px);
  object-fit: cover;
  object-position: center 30%;
  border-radius: 24px;
}

.about-portrait figcaption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--periwinkle);
  color: var(--white);
  font-family: "Dker Felt Pen", "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.about-content {
  padding: clamp(24px, 2.2vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 32px;
  background: rgba(253, 199, 142, 0.91);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  pointer-events: auto;
}

.about-content__eyebrow {
  margin: 0 0 12px;
  color: #53639f;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-content h3 {
  max-width: 22ch;
  margin: 0 0 14px;
  color: #000000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 3px 8px rgba(61, 57, 66, 0.28);
  font-family: "Olio", "Poppins", sans-serif;
  font-size: clamp(2.1rem, 2.8vw, 3rem);
  line-height: 1.05;
}

.about-content__headline-highlight {
  color: var(--periwinkle);
}

.about-content__intro {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(0.94rem, 1vw, 1.05rem);
  line-height: 1.55;
}

.about-specialties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.about-specialty {
  padding-left: 16px;
  border-left: 3px solid var(--periwinkle);
}

.about-specialty h4 {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-actions a {
  display: inline-flex;
  min-height: 48px;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border: 1px solid var(--periwinkle);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-actions__primary {
  background: var(--periwinkle);
  color: var(--white);
}

.about-actions__secondary {
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
}

.about-actions a:hover,
.about-actions a:focus-visible {
  box-shadow: 0 8px 20px rgba(61, 57, 66, 0.18);
}

.about-actions a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.contact-section {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  pointer-events: none;
}

.contact-section__inner {
  width: 100%;
  max-width: calc(1640px + var(--desktop-content-gutter) + var(--desktop-content-gutter));
  margin-inline: auto;
  padding: clamp(64px, 8vh, 96px) var(--desktop-content-gutter) 48px;
}

.contact-layout {
  display: grid;
  width: 100%;
  max-width: 1640px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

.contact-message {
  pointer-events: auto;
}

.contact-message h3 {
  max-width: 16ch;
  margin: 0 0 16px;
  color: var(--white);
  font-family: "Olio", "Poppins", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 1.04;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-tags li {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--periwinkle);
  color: var(--white);
  font-family: "Dker Felt Pen", "Poppins", sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contact-details {
  width: min(100%, 520px);
  min-width: 0;
}

.contact-card {
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(253, 199, 142, 0.93);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  pointer-events: auto;
}

.contact-social-handle {
  display: block;
  margin-top: 18px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  pointer-events: auto;
}

.contact-card p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-card__action {
  display: grid;
  min-height: 70px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--periwinkle);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.contact-card__action-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.contact-card__email {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-card a:focus-visible,
.contact-social-handle:focus-visible,
.studio-footer a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.studio-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding: 24px var(--desktop-content-gutter) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(253, 199, 142, 0.94);
  color: var(--ink);
  pointer-events: auto;
}

.studio-footer__brand {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--periwinkle);
}

.studio-footer__brand img {
  display: block;
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.studio-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.studio-footer__social {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--periwinkle);
}

.studio-footer__social img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.studio-footer__social.is-unlinked {
  opacity: 0.6;
}

.studio-footer__social:not(.is-unlinked):hover {
  background: var(--nav-contact-hover);
  transform: translateY(-2px);
}

.studio-footer p {
  margin: 0;
  font-size: 0.75rem;
  text-align: center;
}

.studio-footer__top {
  position: absolute;
  right: var(--desktop-content-gutter);
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #53639f;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Authoring overlay, enabled only with ?layoutDebug=1. */
.layout-debug [data-subpage-type] {
  outline: 2px dashed #173c52;
  outline-offset: -2px;
}

.layout-debug [data-subpage-type]::after {
  content: attr(data-layout-label);
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  max-width: calc(100% - 8px);
  padding: 5px 8px;
  background: #173c52;
  color: white;
  font: 12px/1.4 monospace;
  pointer-events: none;
}

.layout-export {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  padding: 10px 14px;
  border: 1px solid white;
  border-radius: 8px;
  background: #173c52;
  color: white;
  cursor: pointer;
}

.work-section h2,
.about-section h2,
.contact-section h2 {
  margin: 0 0 clamp(28px, 3vw, 48px);
  text-shadow: 0 3px 16px rgba(40, 36, 55, 0.28);
  font-family: "Olio", "Poppins", sans-serif;
  font-size: clamp(5rem, 9.5vw, 11rem);
  line-height: 0.95;
}

.work-grid {
  --work-gap: clamp(20px, 2.2vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--work-gap);
}

.work-card {
  position: relative;
  flex: 0 1 calc((100% - var(--work-gap) - var(--work-gap)) / 3);
  pointer-events: auto;
  height: 260px;
  overflow: hidden;
  overflow-wrap: anywhere;
  border-radius: 30px;
  background-color: #d9d9d9;
}

.work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(24, 21, 34, 0.88), rgba(24, 21, 34, 0.48) 55%, rgba(24, 21, 34, 0.12));
  pointer-events: none;
}

.work-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .work-card {
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  }

  .work-card:hover {
    transform: translateY(-4px);
    filter: brightness(1.08);
    box-shadow: 0 12px 28px rgba(20, 18, 32, 0.2);
  }
}

.work-card:focus-visible {
  outline: 3px solid #dce3ff;
  outline-offset: 4px;
}

.work-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: clamp(16px, 1.4vw, 26px);
}

.work-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: "Olio", "Poppins", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  line-height: 1.08;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.work-card__role {
  margin: 0 0 12px;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--periwinkle);
  color: var(--white);
  font-family: "Dker Felt Pen", "Poppins", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.15;
}

.work-card__description {
  margin: 0;
  color: var(--white);
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .work-card {
    flex-basis: calc((100% - var(--work-gap)) / 2);
  }
}

@media (max-width: 860px) {
  .contact-section__inner {
    padding: 64px 26px 48px;
  }

  .contact-section h2 {
    font-size: clamp(5rem, 13vw, 7rem);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-card {
    width: min(100%, 520px);
  }

  .studio-footer {
    padding-inline: 26px;
  }

  .studio-footer__top {
    position: static;
    margin-top: 4px;
  }

  .about-section {
    padding: 64px 26px 56px;
  }

  .about-section h2 {
    font-size: clamp(5rem, 13vw, 7rem);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-portrait {
    width: min(100%, 380px);
  }

  .about-portrait video {
    height: clamp(320px, 48svh, 410px);
  }

  .site-header {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "brand toggle";
    width: min(100% - 54px, 390px);
    gap: 12px;
    justify-content: space-between;
    align-items: start;
    margin-top: max(28px, calc(env(safe-area-inset-top) + 22px));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .work-section {
    padding: 90px 26px 64px;
  }

  .work-section h2 {
    font-size: clamp(5rem, 13vw, 7rem);
  }

  .work-grid {
    gap: 20px;
  }

  .work-card {
    flex-basis: 100%;
    height: 220px;
  }

  .brand {
    grid-area: brand;
    width: clamp(42px, 11vw, 48px);
    height: clamp(42px, 11vw, 48px);
  }

  .brand img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .menu-toggle {
    grid-area: toggle;
    display: inline-grid;
    width: clamp(42px, 11vw, 48px);
    height: clamp(42px, 11vw, 48px);
    place-items: center;
    padding: 0;
    border: 1px solid var(--nav-stroke);
    border-radius: 8px;
    background: rgba(253, 199, 142, 0.9);
    box-shadow: 0 12px 24px rgba(116, 130, 191, 0.18);
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: rgba(253, 199, 142, 0.98);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(116, 130, 191, 0.22);
  }

  .menu-toggle span {
    display: block;
    grid-area: 1 / 1;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 140ms ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-links {
    grid-area: unset;
    position: absolute;
    top: calc(clamp(42px, 11vw, 48px) + 12px);
    left: 0;
    display: grid;
    width: 100%;
    max-height: 0;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--nav-stroke);
    border-radius: 8px;
    background: var(--nav-shell);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    visibility: hidden;
    transition:
      max-height 260ms ease,
      opacity 180ms ease,
      transform 220ms ease,
      visibility 0ms linear 260ms;
  }

  .site-header.is-open .nav-links {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition:
      max-height 300ms ease,
      opacity 180ms ease,
      transform 220ms ease,
      visibility 0ms linear 0ms;
  }

  .mobile-menu-open .hero-copy {
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 0ms linear 160ms;
  }

  .nav-links a {
    min-height: clamp(46px, 13vw, 56px);
    padding: 0 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.36);
    font-size: 0.86rem;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      background-color 160ms ease,
      border-color 160ms ease,
      color 160ms ease,
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-open .nav-links a:nth-child(2) {
    transition-delay: 35ms;
  }

  .site-header.is-open .nav-links a:nth-child(3) {
    transition-delay: 70ms;
  }

  .site-header.is-open .nav-links a:nth-child(4) {
    transition-delay: 105ms;
  }

  .nav-links__contact {
    gap: 5px;
    border-radius: 4px;
  }

  .nav-links__contact img {
    width: 13px;
    height: 13px;
  }

  .hero-copy {
    width: min(52vw, 245px);
    margin-top: clamp(72px, 10vh, 106px);
    margin-left: clamp(34px, 11vw, 72px);
    transition: opacity 160ms ease, visibility 0ms linear 0ms;
  }

  .hero-copy__description {
    width: min(320px, calc(100vw - 110px));
    margin: 12px 0;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .hero-copy__actions {
    gap: 8px;
  }

  .hero-copy__action {
    width: min(100%, 180px);
    min-width: 0;
    min-height: 66px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .about-specialties {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .about-content h3 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .work-grid {
    gap: 14px;
  }

  .work-card__content {
    padding: 16px;
  }

  .work-card h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
  }

  .work-card__role {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 1rem;
  }

  .work-card__description {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .hero-stage {
    min-height: min(100svh, 720px);
  }

  #unity-canvas {
    height: 100%;
  }

  .work-section {
    padding-top: 64px;
  }
}

@media (max-width: 420px) {
  .contact-section__inner {
    padding: 48px 20px 36px;
  }

  .contact-section h2 {
    font-size: clamp(4.4rem, 20vw, 5.5rem);
  }

  .contact-message h3 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .contact-card {
    padding: 22px;
  }

  .studio-footer {
    padding: 24px 20px 28px;
  }

  .about-section {
    padding: 48px 20px;
  }

  .about-section h2 {
    font-size: clamp(4.4rem, 20vw, 5.5rem);
  }

  .about-portrait {
    border-radius: 24px;
  }

  .about-portrait video {
    border-radius: 17px;
  }

  .about-content {
    padding: 22px;
    border-radius: 24px;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-actions a {
    width: 100%;
  }

  .work-section {
    padding: 64px 20px 64px;
  }

  .work-section h2 {
    font-size: clamp(4.4rem, 20vw, 5.5rem);
  }

  .work-card {
    border-radius: 22px;
  }

  .site-header {
    width: min(100% - 52px, 370px);
    gap: 11px;
  }

  .brand {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-links a {
    min-height: 46px;
    font-size: 0.78rem;
  }

  .hero-copy {
    width: min(54vw, 210px);
    margin-top: max(86px, calc(env(safe-area-inset-top) + 80px));
    margin-left: clamp(34px, 10vw, 52px);
  }

  .hero-copy > img {
    width: min(100%, 150px);
  }

  .hero-copy__actions {
    width: min(100%, 220px);
  }

  .hero-copy__action {
    width: 100%;
    min-height: 60px;
  }
}

@media (max-width: 420px) and (max-height: 680px) {
  .hero-copy__description {
    width: calc(100vw - 68px);
  }
}

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

  .menu-toggle,
  .menu-toggle span,
  .nav-links,
  .nav-links a,
  .hero-copy,
  .hero-copy__action {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
