:root {
  --bg: #000000;
  --surface: #fbfaf7;
  --text: #121212;
  --muted: #6b6b6b;
  --line: rgba(18, 18, 18, 0.12);
  --accent: #121212;
  --shadow-soft: 0 24px 60px rgba(18, 18, 18, 0.08);
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --sidebar-offset: 238px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  padding-left: var(--sidebar-offset);
  transition: background-color 700ms ease, color 700ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: transparent;
  opacity: 0;
  z-index: -1;
}

body.theme-projects {
  background: #000000;
}

body.theme-about {
  background: #000000;
}

body.theme-services {
  background: #000000;
}

body.theme-news {
  background: #000000;
}

body.theme-contact {
  background: #000000;
}

.page-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.4;
  z-index: -2;
  transition: transform 900ms ease, opacity 700ms ease, background-color 700ms ease;
}

.orb-a {
  top: -120px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.88);
}

.orb-b {
  left: -120px;
  bottom: 8%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.55);
}

body.theme-projects .orb-a {
  transform: translate(-60px, 70px) scale(1.08);
}

body.theme-services .orb-b {
  transform: translate(70px, -30px) scale(1.15);
}

body.theme-news .orb-a {
  transform: translate(-20px, 120px) scale(0.96);
}

body.theme-contact .orb-b {
  transform: translate(120px, -60px) scale(1.22);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

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

.site-header,
.section,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 184px;
  padding: 22px 16px;
  margin: 0;
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, 0.72);
  border-radius: 34px;
  box-shadow:
    0 12px 32px rgba(18, 18, 18, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateX(-140%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}

body.nav-visible .site-header {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px 18px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 9px;
}

.brand-logo-dark {
  display: none;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  align-items: stretch;
  padding-top: 16px;
}

.site-nav a {
  color: var(--muted);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 52px;
  padding: 0 18px 0 24px;
  border-radius: 999px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 2px;
  height: 56%;
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 240ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: block;
  width: calc(100% + var(--sidebar-offset));
  margin: 0 0 0 calc(var(--sidebar-offset) * -1);
  padding: 0;
  min-height: 100vh;
  position: relative;
}

.hero-showreel {
  position: relative;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  background: #000000;
}

.hero-showreel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  opacity: 0.95;
}

.hero-showreel-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  transform:
    translate3d(var(--hero-shift-x), var(--hero-shift-y), 0)
    scale(1.01);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-showreel-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-showreel-video-mobile {
  display: none;
}

.hero-showreel-video iframe,
.hero-showreel-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-showreel-video-mobile iframe,
.hero-showreel-video-mobile video {
  width: 56.25vh;
  min-width: 100%;
  height: 177.78vw;
  min-height: 100%;
  object-fit: cover;
}

.hero-showreel-screen::before,
.hero-showreel-screen::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-showreel-screen::before {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 72% 58%, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  transform: scale(1.08);
}

.hero-showreel-screen::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: screen;
  opacity: 0.42;
}

.hero-showreel-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: none;
  color: #f7f5ef;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: none;
  text-align: center;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.hero-showreel-logo {
  display: block;
  width: min(43vw, 408px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 44px rgba(0, 0, 0, 0.38));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-floating-label {
  position: absolute;
  top: 42px;
  right: 6%;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: 0 18px 30px rgba(18, 18, 18, 0.08);
  transform: translate3d(calc(var(--hero-shift-x) * -0.3), calc(var(--hero-shift-y) * -0.3), 0);
}

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

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  transition:
    transform 240ms ease,
    background-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 18, 18, 0.14);
}

.button-secondary {
  background: transparent;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(18, 18, 18, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(18, 18, 18, 0.04);
}

.placeholder-card,
.project-card,
.service-card,
.news-item,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease;
}

.placeholder-image {
  min-height: 280px;
  background: #fff;
  border: 1px solid rgba(18, 18, 18, 0.08);
  display: grid;
  place-items: center;
  color: #9c9c9c;
  font-size: 0.95rem;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.placeholder-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  animation: shimmer 4.5s ease-in-out infinite;
}

.placeholder-image.large {
  min-height: 560px;
}

.hero-visual {
  padding: 18px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 24px;
}

.hero-visual-inner {
  transform:
    translate3d(var(--hero-shift-x), var(--hero-shift-y), 0)
    scale(1.025);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
}

.hero-floating-title {
  position: absolute;
  left: -28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  transform: translate3d(calc(var(--hero-shift-x) * -0.45), calc(var(--hero-shift-y) * -0.45), 0);
}

.hero-floating-title span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 30px rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-crop {
  min-height: 620px;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72) 28%, rgba(245, 244, 240, 0.7) 56%, rgba(255, 255, 255, 0.92) 100%);
}

.hero-crop::after {
  content: "";
  position: absolute;
  inset: auto 10% 8% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(2px);
  border: 1px solid rgba(18, 18, 18, 0.06);
}

.hero-crop-frame {
  position: relative;
  flex: 1;
  min-height: 100%;
  overflow: hidden;
}

.hero-crop-frame::before,
.hero-crop-frame::after {
  content: "";
  position: absolute;
  background: rgba(18, 18, 18, 0.05);
  border-radius: 999px;
}

.hero-crop-frame::before {
  width: 64%;
  height: 64%;
  top: -8%;
  right: -10%;
  transform: rotate(-16deg);
}

.hero-crop-frame::after {
  width: 54%;
  height: 54%;
  bottom: -14%;
  left: -10%;
  transform: rotate(12deg);
}

.hero-crop-frame span {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 1;
  font-size: 0.92rem;
  color: #9c9c9c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section {
  padding: 0 0 84px;
}

.about-section {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.about-content {
  max-width: 920px;
}

.about-content h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.about-text {
  margin: 28px 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
}

.panel-section {
  position: relative;
}

.panel-section .section-heading,
.panel-section .hero-showreel,
.panel-section .about-content,
.panel-section .hero-copy,
.panel-section .hero-visual,
.panel-section .project-grid,
.panel-section .service-grid,
.panel-section .news-list,
.panel-section .contact-copy,
.panel-section .contact-card,
.panel-section .project-rail-head {
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-section:not(.section-active) .hero-copy {
  transform: translate3d(-52px, 20px, 0);
  opacity: 0.24;
}

.panel-section:not(.section-active) .hero-showreel {
  transform: translate3d(0, 42px, 0) scale(0.985);
  opacity: 0.14;
}

.panel-section:not(.section-active) .hero-visual {
  transform: translate3d(64px, 24px, 0) scale(0.97);
  opacity: 0.2;
}

.panel-section:not(.section-active) .about-content,
.panel-section:not(.section-active) .section-heading,
.panel-section:not(.section-active) .contact-copy {
  transform: translate3d(-36px, 18px, 0);
  opacity: 0.22;
}

.panel-section:not(.section-active) .project-rail-head,
.panel-section:not(.section-active) .project-grid,
.panel-section:not(.section-active) .contact-card {
  transform: translate3d(52px, 18px, 0);
  opacity: 0.2;
}

.panel-section:not(.section-active) .service-grid,
.panel-section:not(.section-active) .news-list {
  transform: translate3d(0, 24px, 0);
  opacity: 0.24;
}

.panel-section.section-active .section-heading,
.panel-section.section-active .hero-showreel,
.panel-section.section-active .about-content,
.panel-section.section-active .hero-copy,
.panel-section.section-active .hero-visual,
.panel-section.section-active .project-grid,
.panel-section.section-active .service-grid,
.panel-section.section-active .news-list,
.panel-section.section-active .contact-copy,
.panel-section.section-active .contact-card,
.panel-section.section-active .project-rail-head {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hero-copy > *,
.hero-showreel-screen,
.hero-showreel-title,
.hero-visual-inner,
.hero-floating-title span,
.project-card .placeholder-image,
.project-card .project-body,
.service-card,
.news-item,
.contact-card > * {
  transition:
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.panel-section:not(.section-active) .hero-copy > * {
  transform: translate3d(-30px, 0, 0);
  opacity: 0;
}

.panel-section:not(.section-active) .hero-showreel-screen {
  transform:
    translate3d(calc(var(--hero-shift-x) * 0.4), calc(18px + var(--hero-shift-y)), 0)
    scale(1.02);
  opacity: 0.2;
}

.panel-section.section-active .hero-showreel-screen {
  transform:
    translate3d(var(--hero-shift-x), var(--hero-shift-y), 0)
    scale(1.01);
  opacity: 1;
}

.panel-section:not(.section-active) .hero-showreel-title {
  transform: translate3d(0, 26px, 0);
  opacity: 0;
}

.panel-section.section-active .hero-showreel-title {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition-delay: 140ms;
}

.panel-section:not(.section-active) .hero-copy > *:nth-child(1) { transition-delay: 0ms; }
.panel-section:not(.section-active) .hero-copy > *:nth-child(2) { transition-delay: 30ms; }
.panel-section:not(.section-active) .hero-copy > *:nth-child(3) { transition-delay: 60ms; }
.panel-section:not(.section-active) .hero-copy > *:nth-child(4) { transition-delay: 90ms; }
.panel-section:not(.section-active) .hero-copy > *:nth-child(5) { transition-delay: 120ms; }

.panel-section.section-active .hero-copy > * {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.panel-section:not(.section-active) .hero-visual-inner {
  transform:
    translate3d(calc(36px + var(--hero-shift-x)), calc(10px + var(--hero-shift-y)), 0)
    scale(1.015);
  opacity: 0;
}

.panel-section.section-active .hero-visual-inner {
  transform:
    translate3d(var(--hero-shift-x), var(--hero-shift-y), 0)
    scale(1.025);
  opacity: 1;
}

.panel-section:not(.section-active) .hero-floating-title span {
  transform: translate3d(28px, 0, 0);
  opacity: 0;
}

.panel-section.section-active .hero-floating-title span {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.panel-section.section-active .hero-floating-title span:nth-child(1) { transition-delay: 80ms; }
.panel-section.section-active .hero-floating-title span:nth-child(2) { transition-delay: 140ms; }
.panel-section.section-active .hero-floating-title span:nth-child(3) { transition-delay: 200ms; }

.project-panel-media,
.project-panel-copy,
.project-panel-image,
.project-panel-copy > * {
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.project-panel:not(.is-current) .project-panel-media {
  transform: translate3d(72px, 0, 0) scale(0.985);
  opacity: 0.12;
}

.project-panel:not(.is-current) .project-panel-copy {
  transform: translate3d(-72px, 0, 0);
  opacity: 0.12;
}

.project-panel.is-current .project-panel-media,
.project-panel.is-current .project-panel-copy {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.project-panel-copy > * {
  transform: translate3d(-28px, 0, 0);
  opacity: 0;
}

.project-panel.is-current .project-panel-copy > * {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.project-panel.is-current .project-panel-copy > *:nth-child(1) { transition-delay: 10ms; }
.project-panel.is-current .project-panel-copy > *:nth-child(2) { transition-delay: 40ms; }
.project-panel.is-current .project-panel-copy > *:nth-child(3) { transition-delay: 80ms; }
.project-panel.is-current .project-panel-copy > *:nth-child(4) { transition-delay: 120ms; }
.project-panel.is-current .project-panel-copy > *:nth-child(5) { transition-delay: 160ms; }

.project-panel-image {
  transform: translate3d(44px, 0, 0) scale(1.02);
  opacity: 0;
}

.project-panel.is-current .project-panel-image {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  transition-delay: 20ms;
}

.service-card,
.news-item {
  transform: translate3d(0, 38px, 0);
  opacity: 0;
}

.panel-section.section-active .service-card,
.panel-section.section-active .news-item {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.contact-card > * {
  transform: translate3d(32px, 0, 0);
  opacity: 0;
}

.panel-section.section-active .contact-card > * {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.panel-section.section-active .contact-card > *:nth-child(1) { transition-delay: 80ms; }
.panel-section.section-active .contact-card > *:nth-child(2) { transition-delay: 160ms; }

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  max-width: 12ch;
}

.projects-stack {
  width: min(1200px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  padding: 28px 0 36px;
}

.projects-topbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.projects-topbar .eyebrow {
  margin-bottom: 0;
}

.projects-drag-line {
  position: relative;
  height: 2px;
  background: rgba(18, 18, 18, 0.12);
  overflow: hidden;
}

.projects-drag-progress {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--text);
  transform: translateX(0);
  transition: transform 260ms ease;
}

.projects-viewport {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.projects-track {
  display: flex;
  gap: 0;
  height: 100%;
}

.project-panel {
  flex: 0 0 100%;
  width: 100%;
  min-height: calc(100vh - 140px);
  margin: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
  scroll-snap-align: start;
}

.project-panel-media {
  padding: 16px;
  border-radius: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.project-panel-image {
  min-height: 72vh;
}

.project-panel-copy {
  display: grid;
  align-content: center;
}

.project-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  display: flex;
  align-items: center;
  padding: 24px;
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, background-color 220ms ease;
}

.project-edge::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-edge-left {
  left: 0;
  justify-content: flex-start;
}

.project-edge-left::before {
  background: linear-gradient(to right, rgba(18, 18, 18, 0.08), transparent 72%);
}

.project-edge-right {
  right: 0;
  justify-content: flex-end;
}

.project-edge-right::before {
  background: linear-gradient(to left, rgba(18, 18, 18, 0.08), transparent 72%);
}

.project-edge.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.project-edge.is-visible::before {
  opacity: 1;
}

.project-edge.is-visible.is-disabled {
  opacity: 0.72;
}

.project-edge-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.82);
  color: var(--text);
  border: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.08);
  font-size: 0.92rem;
  white-space: nowrap;
}

.project-panel-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.project-panel-text {
  margin: 22px 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.project-panel-copy a {
  display: inline-block;
  width: fit-content;
  margin-top: 22px;
  font-weight: 600;
  position: relative;
}

.project-panel-media::before,
.project-card::before,
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.8),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 260ms ease;
}

.project-panel-media:hover::before,
.project-card:hover::before,
.hero-visual:hover::before {
  opacity: 1;
}

.hero-showreel {
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.project-panel-media:hover,
.project-panel-media:focus-within,
.project-card:hover,
.project-card:focus-within,
.hero-showreel:hover,
.hero-visual:hover {
  transform:
    perspective(1400px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(18, 18, 18, 0.18);
}

.project-body {
  padding: 22px;
}

.project-tag,
.news-date,
.service-card span {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body h3,
.news-item h3,
.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.project-body p,
.news-item p,
.service-card p,
.contact-card dd {
  margin: 0;
  color: var(--muted);
}

.project-panel-copy a,
.project-body a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  position: relative;
}

.project-panel-copy a::after,
.project-body a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 3px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 220ms ease;
}

.project-panel-media:hover + .project-panel-copy a::after,
.project-panel-media:focus-within + .project-panel-copy a::after,
.project-panel-copy a:hover::after,
.project-card:hover .project-body a::after,
.project-card:focus-within .project-body a::after {
  transform: scaleX(1);
}

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

.service-card {
  padding: 24px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  opacity: 0.28;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(18, 18, 18, 0.18);
}

.service-card:hover::after,
.service-card:focus-within::after {
  transform: scaleX(1);
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.news-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 260ms ease;
}

.news-item:hover,
.news-item:focus-within {
  transform: translateX(8px);
  box-shadow: 0 16px 30px rgba(18, 18, 18, 0.06);
}

.news-item:hover::before,
.news-item:focus-within::before {
  transform: scaleY(1);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 12ch;
  margin-bottom: 24px;
}

.contact-card {
  padding: 16px;
}

.contact-card:hover,
.contact-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.contact-placeholder {
  min-height: 220px;
  margin-bottom: 20px;
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-card dt {
  margin-bottom: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-footer {
  padding: 20px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-active .service-card:nth-child(1),
.section-active .news-item:nth-child(1) {
  transition-delay: 40ms;
}

.section-active .service-card:nth-child(2),
.section-active .news-item:nth-child(2) {
  transition-delay: 110ms;
}

.section-active .service-card:nth-child(3),
.section-active .news-item:nth-child(3) {
  transition-delay: 180ms;
}

.section-active .service-card:nth-child(4),
.section-active .news-item:nth-child(4) {
  transition-delay: 250ms;
}

@keyframes shimmer {
  0%,
  100% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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

@media (max-width: 980px) {
  body {
    padding-left: 0;
  }

  .hero {
    width: 100%;
    margin: 0;
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    width: min(708px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    padding: 10px 14px;
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
    position: sticky;
    top: 10px;
    left: auto;
    border-radius: 999px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .brand {
    padding: 0 12px 0 8px;
    border-bottom: 0;
  }

  .site-nav {
    flex-direction: row;
    gap: 6px;
    align-items: center;
    padding-top: 0;
  }

  .site-nav a {
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
  }

  .site-nav a::after {
    left: 0;
    top: auto;
    bottom: -6px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .hero,
  .contact-section,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .contact-copy h2 {
    max-width: none;
  }

  .placeholder-image.large {
    min-height: 360px;
  }

  .hero-showreel,
  .hero-showreel-screen {
    min-height: 100vh;
  }

  .hero-crop {
    min-height: 420px;
  }

  .hero-floating-label {
    position: static;
    width: fit-content;
    margin: 0 0 14px;
    transform: none;
  }

  .hero-floating-title {
    left: 18px;
    bottom: 18px;
    transform: none;
  }

  .project-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: calc(100vh - 150px);
  }

  .project-panel-image {
    min-height: 46vh;
  }

  .project-panel-copy h2 {
    max-width: none;
  }

  .projects-stack {
    width: min(1200px, calc(100% - 48px));
  }

  .project-card:hover,
  .project-card:focus-within,
  .project-panel-media:hover,
  .project-panel-media:focus-within,
  .hero-showreel:hover,
  .hero-visual:hover,
  .service-card:hover,
  .service-card:focus-within,
  .contact-card:hover,
  .contact-card:focus-within,
  .news-item:hover,
  .news-item:focus-within {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section,
  .site-footer {
    width: min(1200px, calc(100% - 28px));
  }

  .projects-stack {
    width: min(1200px, calc(100% - 28px));
  }

  .project-panel {
    min-height: calc(100vh - 132px);
  }

  .hero {
    min-height: auto;
  }

  .hero-showreel,
  .hero-showreel-screen {
    min-height: 100vh;
    border-radius: 0;
  }

  .hero-showreel-video-desktop {
    display: none;
  }

  .hero-showreel-video-mobile {
    display: block;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 22px 18px 0;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    border-radius: 0;
    background: transparent;
    z-index: 40;
  }

  .brand {
    display: flex;
    align-items: flex-end;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
    margin-left: -25px;
    margin-right: -25px;
    position: relative;
    z-index: 42;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 112px 24px 48px;
    background: rgba(246, 243, 238, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition:
      opacity 260ms ease,
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 41;
  }

  .site-nav a {
    min-height: auto;
    padding: 0;
    justify-content: center;
    font-family: "Manrope", sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: rgba(15, 15, 16, 0.92);
  }

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

  body.nav-menu-open {
    overflow: hidden;
  }

  body.nav-menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-crop-frame span {
    left: 18px;
    bottom: 18px;
    font-size: 0.8rem;
  }
}

/* Animade-inspired refinement */
:root {
  --bg: #000000;
  --surface: #fbf9f4;
  --text: #0f0f10;
  --muted: rgba(15, 15, 16, 0.62);
  --line: rgba(15, 15, 16, 0.12);
  --accent: #0f0f10;
  --shadow-soft: 0 18px 44px rgba(15, 15, 16, 0.06);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
}

body::before,
.page-orb {
  display: none;
}

.site-header {
  width: 156px;
  padding: 0;
  top: 36px;
  left: 36px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
}

.brand {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 0 20px;
  border-bottom: 0;
}

.nav-toggle {
  display: none;
  appearance: none;
  width: 42px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-left: auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.site-nav {
  gap: 2px;
  padding-top: 0;
}

.site-nav a {
  min-height: 40px;
  padding: 0 0 0 16px;
  border-radius: 0;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.site-nav a::after {
  left: 0;
  width: 1px;
  height: 14px;
}

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

.hero-showreel::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.18));
  opacity: 1;
}

.hero-showreel-screen::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.08), transparent 18%);
  transform: none;
}

.hero-showreel-screen::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
  mix-blend-mode: normal;
  opacity: 1;
}

.hero-showreel-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.2rem, 8.4vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.eyebrow,
.project-tag,
.news-date,
.service-card span,
.contact-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(15, 15, 16, 0.5);
}

.about-content h2,
.project-panel-copy h2,
.section-heading h2,
.contact-copy h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.about-content h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  max-width: 10ch;
}

.about-text,
.project-panel-text,
.service-card p,
.news-item p,
.contact-card dd {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding-bottom: 110px;
}

.projects-stack {
  width: min(1260px, calc(100% - 64px));
  min-height: auto;
  padding-top: 26px;
  padding-bottom: 64px;
}

.projects-topbar {
  justify-items: center;
  gap: 6px;
  margin-bottom: 24px;
  text-align: center;
}

.projects-topbar h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.projects-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.projects-carousel {
  display: block;
}

.project-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 15, 16, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.project-nav:hover,
.project-nav:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

.projects-viewport {
  min-height: 430px;
  overflow: hidden;
}

.projects-track {
  position: relative;
  height: 430px;
}

.project-panel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: clamp(200px, 22vw, 280px);
  min-height: 0;
  margin: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    filter 260ms ease;
}

.project-panel.is-current,
.project-panel.is-prev,
.project-panel.is-next {
  opacity: 1;
  pointer-events: auto;
}

.project-panel.is-current {
  transform: translateX(-50%) translateY(0) scale(1.14);
  z-index: 4;
}

.project-panel.is-prev {
  transform: translateX(calc(-50% - min(240px, 24vw))) translateY(12px) scale(0.92);
  z-index: 2;
  filter: saturate(0.72) opacity(0.34);
}

.project-panel.is-next {
  transform: translateX(calc(-50% + min(240px, 24vw))) translateY(12px) scale(0.92);
  z-index: 2;
  filter: saturate(0.72) opacity(0.34);
}

.project-panel.is-hidden-left {
  transform: translateX(calc(-50% - min(420px, 36vw))) translateY(20px) scale(0.88);
  opacity: 0;
  z-index: 1;
}

.project-panel.is-hidden-right {
  transform: translateX(calc(-50% + min(420px, 36vw))) translateY(20px) scale(0.88);
  opacity: 0;
  z-index: 1;
}

.placeholder-card,
.service-card,
.news-item,
.contact-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.project-panel-media,
.project-panel-media:hover,
.project-panel-media:focus-visible {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 26px;
  box-shadow: none;
  transform: none;
}

.project-panel-image {
  min-height: 390px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 36px rgba(120, 88, 37, 0.12),
    0 0 0 2px rgba(255, 255, 255, 0.88);
  background: linear-gradient(160deg, #f3dcae, #8b6c42 55%, #45372a);
}

.project-panel.is-current .project-panel-image {
  border-color: rgba(255, 250, 242, 1);
  box-shadow:
    0 28px 62px rgba(120, 88, 37, 0.22),
    0 0 0 3px rgba(255, 255, 255, 0.98),
    0 0 0 7px rgba(255, 246, 230, 0.5);
}

.project-panel.is-current .project-panel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%, rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

.project-panel:nth-child(1) .project-panel-image {
  background: linear-gradient(165deg, #e9be63, #8d5529 60%, #2d2318);
}

.project-panel:nth-child(2) .project-panel-image {
  background: linear-gradient(165deg, #f0d7b0, #8f6a44 56%, #332820);
}

.project-panel:nth-child(3) .project-panel-image {
  background: linear-gradient(165deg, #ceb17c, #5f4f40 55%, #252327);
}

.project-panel-art {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), transparent 20%),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.18), transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%);
  opacity: 0.9;
}

.project-panel:nth-child(1) .project-panel-art::before,
.project-panel:nth-child(2) .project-panel-art::before,
.project-panel:nth-child(3) .project-panel-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

.project-panel:nth-child(1) .project-panel-art::before {
  background:
    radial-gradient(circle at 26% 34%, rgba(63, 42, 17, 0.86), transparent 26%),
    radial-gradient(circle at 56% 44%, rgba(255, 234, 189, 0.34), transparent 18%),
    linear-gradient(to top, rgba(32, 22, 13, 0.4), transparent 30%);
}

.project-panel:nth-child(2) .project-panel-art::before {
  background:
    radial-gradient(circle at 36% 34%, rgba(116, 84, 57, 0.82), transparent 20%),
    radial-gradient(circle at 64% 38%, rgba(87, 63, 41, 0.82), transparent 20%),
    linear-gradient(to top, rgba(42, 29, 18, 0.42), transparent 30%);
}

.project-panel:nth-child(3) .project-panel-art::before {
  background:
    radial-gradient(circle at 36% 34%, rgba(248, 188, 104, 0.28), transparent 16%),
    radial-gradient(circle at 72% 28%, rgba(111, 159, 188, 0.36), transparent 16%),
    linear-gradient(to top, rgba(27, 27, 29, 0.48), transparent 34%);
}

.project-panel-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.project-card-title {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.project-panel.is-current .project-card-title {
  transform: scale(1);
  box-shadow: none;
}

.project-panel:nth-child(1) .project-card-title {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-panel:nth-child(2) .project-card-title {
  color: #0f0f10;
}

.project-panel:nth-child(3) .project-card-title {
  color: rgba(90, 90, 110, 0.76);
}

.projects-nav-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 0;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.service-card::after {
  display: none;
}

.service-card h3,
.news-item h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.news-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-item::before {
  width: 2px;
}

.contact-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
}

.contact-copy h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
}

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

.contact-placeholder {
  min-height: 260px;
  margin: 0 0 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fdfcf8, #f0ece4);
}

.site-footer {
  width: min(1280px, calc(100% - 64px));
  padding: 18px 0 32px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(246, 243, 238, 0.9);
    backdrop-filter: blur(10px);
    width: min(708px, calc(100% - 32px));
    padding: 10px 14px;
    border-radius: 999px;
  }

  .brand {
    padding: 0 10px 0 0;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 12px;
  }

  .site-nav a::after {
    left: 0;
    top: auto;
    bottom: -4px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .projects-stack,
  .site-footer {
    width: min(1280px, calc(100% - 48px));
  }

  .projects-carousel {
    display: block;
  }

  .projects-viewport,
  .projects-track {
    height: 360px;
    min-height: 360px;
  }

  .project-panel {
    width: clamp(170px, 28vw, 230px);
    top: 18px;
  }

  .project-panel.is-current {
    transform: translateX(-50%) translateY(0) scale(1.08);
  }

  .project-panel.is-prev {
    transform: translateX(calc(-50% - min(170px, 22vw))) translateY(14px) scale(0.88);
  }

  .project-panel.is-next {
    transform: translateX(calc(-50% + min(170px, 22vw))) translateY(14px) scale(0.88);
  }

  .project-panel.is-hidden-left {
    transform: translateX(calc(-50% - min(280px, 30vw))) translateY(22px) scale(0.8);
  }

  .project-panel.is-hidden-right {
    transform: translateX(calc(-50% + min(280px, 30vw))) translateY(22px) scale(0.8);
  }

  .project-panel-image {
    min-height: 300px;
  }

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

@media (max-width: 720px) {
  .projects-stack,
  .site-footer {
    width: min(1280px, calc(100% - 28px));
  }

  .about-content h2,
  .project-panel-copy h2,
  .section-heading h2,
  .contact-copy h2 {
    max-width: none;
  }

  .projects-topbar h2 {
    font-size: 2rem;
  }

  .projects-subtitle {
    font-size: 0.88rem;
  }

  .projects-carousel {
    display: block;
  }

  .project-nav {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .projects-viewport,
  .projects-track {
    height: 270px;
    min-height: 270px;
  }

  .project-panel {
    width: 136px;
    top: 14px;
  }

  .project-panel.is-current {
    transform: translateX(-50%) translateY(0) scale(1.04);
  }

  .project-panel.is-prev {
    transform: translateX(calc(-50% - 104px)) translateY(12px) scale(0.84);
  }

  .project-panel.is-next {
    transform: translateX(calc(-50% + 104px)) translateY(12px) scale(0.84);
  }

  .project-panel.is-hidden-left {
    transform: translateX(calc(-50% - 164px)) translateY(20px) scale(0.72);
  }

  .project-panel.is-hidden-right {
    transform: translateX(calc(-50% + 164px)) translateY(20px) scale(0.72);
  }

  .project-panel-image {
    min-height: 220px;
    border-radius: 12px;
  }

  .project-panel-overlay {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .project-card-title {
    font-size: 0.86rem;
  }

  .projects-nav-row {
    margin-top: 14px;
  }
}

.projects-stack {
  width: min(1280px, calc(100% - 48px));
  min-height: auto;
  padding-top: 34px;
  padding-bottom: 88px;
  padding-left: 18px;
  padding-right: 18px;
  background: var(--bg);
  border-radius: 4px;
  color: var(--text);
}

.projects-topbar {
  justify-items: start;
  gap: 8px;
  margin-bottom: 26px;
  text-align: left;
}

.projects-topbar h2 {
  max-width: none;
}

.projects-subtitle {
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.services-mosaic {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-tile {
  min-width: 0;
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.98);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms ease;
}

.panel-section.section-active .project-tile {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.panel-section.section-active .project-tile:nth-child(1) { transition-delay: 40ms; }
.panel-section.section-active .project-tile:nth-child(2) { transition-delay: 80ms; }
.panel-section.section-active .project-tile:nth-child(3) { transition-delay: 120ms; }
.panel-section.section-active .project-tile:nth-child(4) { transition-delay: 160ms; }
.panel-section.section-active .project-tile:nth-child(5) { transition-delay: 200ms; }
.panel-section.section-active .project-tile:nth-child(6) { transition-delay: 240ms; }

.service-tile {
  min-width: 0;
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.98);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms ease;
}

.panel-section.section-active .service-tile {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.panel-section.section-active .service-tile:nth-child(1) { transition-delay: 40ms; }
.panel-section.section-active .service-tile:nth-child(2) { transition-delay: 80ms; }
.panel-section.section-active .service-tile:nth-child(3) { transition-delay: 120ms; }
.panel-section.section-active .service-tile:nth-child(4) { transition-delay: 160ms; }
.panel-section.section-active .service-tile:nth-child(5) { transition-delay: 200ms; }
.panel-section.section-active .service-tile:nth-child(6) { transition-delay: 240ms; }

.contact-copy > * {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.98);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms ease;
  will-change: transform, opacity;
}

.panel-section.section-active .contact-copy > * {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.panel-section.section-active .contact-copy > *:nth-child(1) { transition-delay: 40ms; }
.panel-section.section-active .contact-copy > *:nth-child(2) { transition-delay: 80ms; }

.project-tile-card {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  border: 0;
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transform-style: preserve-3d;
  background-color: #111;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.project-tile-card::before,
.project-tile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-tile-card::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 38%);
  opacity: 1;
  z-index: 1;
}

.project-tile-card::after {
  display: none;
}

.project-tile-card:hover,
.project-tile-card:focus-within {
  transform:
    perspective(1400px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(-4px)
    scale(1.01);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  filter: saturate(1.06);
}

.service-tile-card {
  position: relative;
  aspect-ratio: 1.48 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  border: 0;
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  cursor: default;
  text-align: left;
  transform-style: preserve-3d;
  background-color: #111;
  box-shadow: none;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.service-tile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 38%);
  opacity: 1;
  z-index: -1;
}

.service-tile-card-has-image::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 20%);
  opacity: 0.6;
}

.service-tile-card:hover,
.service-tile-card:focus-within {
  transform:
    perspective(1400px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(-4px)
    scale(1.01);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  filter: saturate(1.06);
}

.project-tile-card:hover::after,
.project-tile-card:focus-within::after {
  opacity: 1;
}

.project-tile-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border: 0;
  border-radius: inherit;
  pointer-events: none;
}

.project-tile-copy,
.project-tile-label {
  position: relative;
  z-index: 2;
}

.project-tile-title,
.project-tile-caption {
  margin: 0;
}

.project-tile-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.project-tile-label {
  display: grid;
  gap: 4px;
  width: 100%;
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.service-tile-label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  width: 100%;
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
}

.service-tile-code,
.service-tile-title,
.service-tile-caption {
  margin: 0;
}

.service-tile-code {
  font-size: 0.72rem;
  opacity: 0.76;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-tile-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.service-tile-caption {
  font-size: 0.58rem;
  opacity: 0.84;
  letter-spacing: 0.01em;
}

.project-tile-title {
  font-size: clamp(0.98rem, 1.15vw, 1.15rem);
}

.project-tile-caption {
  font-size: 0.72rem;
  opacity: 0.72;
  letter-spacing: 0.01em;
}

.project-lightbox-open {
  overflow: hidden;
}

.project-lightbox-open .app-scroll {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 120;
}

.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-lightbox-dialog {
  width: min(100%, 420px);
  display: grid;
  justify-items: end;
  gap: 14px;
}

.project-lightbox-close {
  min-width: 88px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.74);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.project-lightbox-close:hover,
.project-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.project-lightbox-media-frame {
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.project-lightbox-media-frame img,
.project-lightbox-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

@media (min-width: 721px) {
  .project-lightbox-dialog-natural {
    width: auto;
    justify-items: stretch;
  }

  .project-lightbox-dialog-natural .project-lightbox-close {
    justify-self: end;
  }

  .project-lightbox-media-frame-natural {
    width: auto;
    height: min(calc(100vh - 120px), 746px);
    max-width: calc(100vw - 48px);
    aspect-ratio: var(--project-lightbox-media-aspect-ratio, 16 / 9);
    background: #000000;
  }

  .project-lightbox-media-frame-natural video {
    object-fit: contain;
    background: #000000;
  }

  .project-lightbox-media-frame-wide {
    width: auto;
    height: min(calc(100vh - 120px), 746px);
    max-width: calc(100vw - 48px);
    aspect-ratio: 4 / 3;
    background: #ffffff;
  }

  .project-lightbox-media-frame-wide img {
    object-fit: contain;
    background: #ffffff;
  }
}

.projects-footer {
  display: flex;
  justify-content: center;
  margin-top: -25px;
}

.projects-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(15, 15, 16, 0.16);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.6);
  transition: background-color 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.projects-more:hover,
.projects-more:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 15, 16, 0.28);
}

.project-scene-naver {
  background-image: linear-gradient(145deg, #5f676c 0%, #282c31 48%, #131518 100%);
}

.project-scene-orbit {
  background-image: linear-gradient(180deg, #0a1124 0%, #05070f 66%, #030408 100%);
}

.project-scene-bloom {
  background-image: linear-gradient(160deg, #ffbfdb 0%, #ffc878 45%, #a44ce3 100%);
}

.project-scene-ring {
  background-image: linear-gradient(150deg, #314d2f 0%, #1e321e 42%, #0f170f 100%);
}

.project-scene-pair {
  background-image: linear-gradient(160deg, #ffd8df 0%, #f7bfd3 50%, #e2a9bf 100%);
}

.project-scene-field {
  background-image: linear-gradient(180deg, #9fe0ff 0%, #71baff 48%, #7cc969 48%, #4e8d42 100%);
}

.project-scene-light {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(135deg, #041021 0%, #0b1830 42%, #02050d 100%);
}

.project-scene-stage {
  background:
    radial-gradient(circle at 50% 52%, rgba(105, 214, 255, 0.7), transparent 22%),
    radial-gradient(circle at 50% 72%, rgba(77, 116, 255, 0.45), transparent 28%),
    linear-gradient(180deg, #090b13 0%, #121424 44%, #06070c 100%);
}

.project-scene-naver::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 38px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 44%);
}

.project-scene-orbit::before {
  background:
    radial-gradient(circle at 44% 22%, rgba(255, 255, 255, 0.12), transparent 16%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 42%);
}

.project-scene-ring::before {
  /* Ring radial removed — keep light bottom fade for title legibility */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent 40%);
}

.project-scene-pair::before {
  background:
    radial-gradient(circle at 26% 46%, rgba(255, 255, 255, 0.95), transparent 13%),
    radial-gradient(circle at 46% 46%, rgba(255, 255, 255, 0.92), transparent 13%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.06), transparent 32%);
}

.project-scene-field::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.28), transparent 12%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.14), transparent 34%);
}

.project-scene-bloom::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 42%);
}

.project-scene-light::before {
  inset: 16% 10% 12% 10%;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(220, 231, 247, 0.14) 52%, rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 7px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38),
    0 18px 28px rgba(0, 0, 0, 0.3);
}

.project-scene-stage::before {
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(149, 231, 255, 0.92) 31%, rgba(80, 141, 255, 0.54) 38%, transparent 40%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 30%);
}

.service-scene-signal {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(132, 255, 178, 0.32), transparent 18%),
    linear-gradient(145deg, #202226 0%, #16181c 55%, #0c0e12 100%);
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.service-scene-cinema {
  background:
    radial-gradient(circle at 66% 24%, rgba(255, 255, 255, 0.72), transparent 9%),
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.12), transparent 6%),
    linear-gradient(145deg, #111634 0%, #0b1026 54%, #060917 100%);
}

.service-scene-goods {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 246, 165, 0.74), transparent 15%),
    radial-gradient(circle at 24% 24%, rgba(255, 219, 188, 0.5), transparent 18%),
    linear-gradient(145deg, #ffd08d 0%, #f7b27f 48%, #a05ba0 100%);
}

.service-scene-brand {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 244, 186, 0.72), transparent 13%),
    radial-gradient(ellipse at center, transparent 26%, rgba(216, 182, 98, 0.8) 27%, rgba(146, 120, 54, 0.72) 34%, transparent 36%),
    linear-gradient(145deg, #203b27 0%, #153220 50%, #0f2418 100%);
}

.service-scene-frame {
  background:
    radial-gradient(circle at 28% 38%, rgba(255, 255, 255, 0.64), transparent 10%),
    radial-gradient(circle at 40% 36%, rgba(255, 255, 255, 0.48), transparent 9%),
    linear-gradient(145deg, #ffdbe6 0%, #f4c1d7 54%, #d08eb6 100%);
}

.service-scene-flow {
  background:
    radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.56), transparent 10%),
    linear-gradient(180deg, #8ed0ff 0%, #7ac0ff 56%, #80c95d 57%, #6db149 100%);
}

@media (max-width: 980px) {
  .projects-stack,
  .site-footer {
    width: min(1280px, calc(100% - 48px));
  }

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

@media (max-width: 720px) {
  .projects-stack,
  .site-footer {
    width: min(1280px, calc(100% - 28px));
  }

  .projects-topbar {
    margin-bottom: 16px;
  }

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

  .projects-mosaic .project-tile:nth-child(n + 5) {
    display: none;
  }

  .project-tile-card {
    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 4px;
  }

  .project-tile-copy h3 {
    font-size: 1.05rem;
  }

  .project-tile-title {
    font-size: 0.98rem;
  }

  .project-tile-copy p:last-child,
  .project-tile-caption {
    font-size: 0.76rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 22px 18px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    z-index: 40;
  }

  .brand {
    display: flex;
    align-items: flex-end;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
    margin-left: -25px;
    margin-right: -25px;
    position: relative;
    z-index: 42;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    padding: 112px 24px 48px;
    background: rgba(246, 243, 238, 0.98);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-18px);
    transition:
      opacity 260ms ease,
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 41;
  }

  .site-nav a {
    min-height: auto;
    padding: 0;
    justify-content: center;
    font-family: "Manrope", sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: rgba(15, 15, 16, 0.92);
  }

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

  body.nav-menu-open {
    overflow: hidden;
  }

  body.nav-menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
}

body {
  overscroll-behavior-y: contain;
}

.panel-section {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.about-section {
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero,
.hero-showreel,
.hero-showreel-screen,
.about-section,
.projects-stack,
.services,
.news-section,
.contact-section {
  min-height: 100svh;
}

.services,
.news-section {
  display: grid;
  align-content: center;
}

.projects-stack,
.contact-section {
  align-content: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none !important;
  }
}

.about-content {
  max-width: min(980px, 100%);
}

.about-display {
  display: grid;
  gap: 0.18em;
  justify-items: center;
  margin: 0;
}

.about-display-en,
.about-display-ko {
  display: block;
}

.about-display-en {
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.3rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 85pt;
  letter-spacing: -0.07em;
  text-align: center;
}

.about-display-ko {
  font-family: "Inter", sans-serif;
  font-size: clamp(3rem, 5.4vw, 5.35rem);
  font-weight: 800;
  line-height: 85pt;
  letter-spacing: -0.07em;
  text-align: center;
}

.about-text-compact {
  max-width: 46rem;
  margin-top: 24px;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  color: rgba(15, 15, 16, 0.68);
  text-align: center;
}

.hero-showreel-title {
  max-width: 8.2ch;
  margin: 0 auto;
  text-align: center;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-showreel-logo {
  width: min(47vw, 408px);
}

@media (min-width: 981px) {
  .hero-showreel-screen {
    place-items: center;
  }

  .hero-showreel-title {
    width: 100vw;
    max-width: none;
    margin: 0 auto;
    padding-left: 0;
    text-align: center;
    left: 0;
  }

  .about-content,
  .section-heading,
  .contact-copy,
  .projects-topbar,
  .projects-footer {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .services,
  .news-section,
  .contact-section,
  .projects-stack {
    justify-items: center;
    text-align: center;
  }

  .projects-stack {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .projects-topbar,
  .projects-footer {
    left: 0;
  }

  .service-grid {
    width: min(980px, 100%);
    margin: 0 auto;
    gap: 0 48px;
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .service-card,
  .news-item,
  .contact-copy,
  .contact-card,
  .contact-card dl {
    text-align: center;
  }

  .news-list {
    width: min(980px, 100%);
    margin: 0 auto;
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .news-item::before {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 72px;
    height: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
  }

  .news-item:hover::before,
  .news-item:focus-within::before {
    transform: translateX(-50%) scaleX(1);
  }

  .contact-section {
    grid-template-columns: minmax(0, 760px);
    gap: 28px;
    position: relative;
    left: 0;
  }

  .contact-copy {
    justify-items: center;
    position: relative;
    left: calc(var(--sidebar-offset) * 0.18);
  }

  .contact-card {
    width: min(760px, 100%);
    position: relative;
    left: calc(var(--sidebar-offset) * 0.18);
  }

  .project-tile-label {
    justify-items: center;
    text-align: center;
  }
}

.about-content,
.section-heading,
.contact-copy,
.projects-topbar {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-content,
.section-heading,
.contact-copy {
  gap: 18px;
  max-width: min(980px, 100%);
}

.about-content h2,
.section-heading h2,
.contact-copy h2,
.projects-topbar h2 {
  margin: 0;
  max-width: 11ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 6.2vw, 6.3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.about-text,
.projects-subtitle {
  max-width: 42rem;
  margin: 0 auto;
  font-size: clamp(1rem, 1.45vw, 1.36rem);
  line-height: 1.7;
  text-align: center;
  color: rgba(15, 15, 16, 0.48);
  text-wrap: pretty;
}

.eyebrow {
  margin: 0;
}

.services,
.news-section {
  align-content: center;
}

.service-card h3,
.news-item h3 {
  margin: 0 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 1.7vw, 1.95rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.service-card p,
.news-item p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-card span,
.news-date,
.contact-card dt {
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .about-display-en {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
  }

  .about-display-ko {
    font-size: clamp(2.45rem, 5.8vw, 4.2rem);
  }

  .about-text-compact {
    max-width: 35rem;
    font-size: 1rem;
  }

  .about-content,
  .section-heading,
  .contact-copy,
  .projects-topbar {
    max-width: min(760px, 100%);
  }

  .about-content h2,
  .section-heading h2,
  .contact-copy h2,
  .projects-topbar h2 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  }

  .about-text,
  .projects-subtitle {
    max-width: 34rem;
    font-size: 1.02rem;
  }
}

@media (max-width: 720px) {
  .about-display {
    gap: 0.14em;
  }

  .about-display-en {
    font-size: clamp(2.25rem, 9.2vw, 3.2rem);
    line-height: 0.98;
  }

  .about-display-ko {
    font-size: clamp(2rem, 8.7vw, 2.95rem);
    line-height: 0.98;
  }

  .about-text-compact {
    max-width: 18.5rem;
    margin-top: 18px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .hero-showreel-title {
    max-width: 9ch;
    font-size: clamp(2.8rem, 11vw, 4.4rem);
  }

  .hero-showreel-logo {
    width: min(50vw, 312px);
  }

  .about-content,
  .section-heading,
  .contact-copy,
  .projects-topbar {
    gap: 14px;
    max-width: min(92vw, 100%);
  }

  .about-content h2,
  .section-heading h2,
  .contact-copy h2,
  .projects-topbar h2 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 10vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
  }

  .about-text,
  .projects-subtitle {
    max-width: 19rem;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .service-card h3,
  .news-item h3 {
    font-size: 1.28rem;
    line-height: 1.12;
  }
}

@media (min-width: 721px) {
  body {
    padding-left: var(--sidebar-offset);
  }

  .site-header,
  .section,
  .site-footer,
  .projects-stack {
    width: min(1200px, calc(100% - 48px));
  }

  .site-header {
    width: 156px;
    padding: 0;
    position: fixed;
    top: 36px;
    left: 36px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
    gap: 0;
  }

  .brand {
    padding: 0 0 20px;
    font-size: 16px;
    line-height: 1;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    overflow: visible;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0 0 0 16px;
    justify-content: flex-start;
    font-size: 14px;
    line-height: 1.2;
  }

  .site-nav a::after {
    display: block;
    left: 0;
    top: 50%;
    bottom: auto;
    width: 1px;
    height: 14px;
    transform: translateY(-50%) scaleY(0);
  }

  .hero {
    width: calc(100% + var(--sidebar-offset));
    margin: 0 0 0 calc(var(--sidebar-offset) * -1);
  }

  .hero-showreel-title {
    width: 100vw;
    max-width: none;
    margin: 0 auto;
    padding-left: 0;
    font-size: 84px;
    line-height: 77px;
    text-align: center;
    left: 0;
  }

  .about-content,
  .section-heading,
  .contact-copy,
  .projects-topbar,
  .projects-footer {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .about-content,
  .section-heading,
  .contact-copy,
  .projects-topbar {
    max-width: 980px;
    gap: 18px;
  }

  .about-content h2,
  .section-heading h2,
  .contact-copy h2,
  .projects-topbar h2 {
    max-width: 11ch;
    font-size: 72px;
    line-height: 71px;
    letter-spacing: -0.065em;
  }

  .about-display-en {
    font-size: 80px;
    line-height: 85pt;
  }

  .about-display-ko {
    font-size: 72px;
    line-height: 85pt;
  }

  .about-text,
  .about-text-compact,
  .projects-subtitle {
    max-width: 700px;
    font-size: 18px;
    line-height: 31px;
  }

  .eyebrow,
  .news-date,
  .service-card span,
  .contact-card dt {
    font-size: 11px;
    line-height: 1.2;
  }

  .projects-stack,
  .services,
  .news-section,
  .contact-section {
    justify-items: center;
    text-align: center;
  }

  .projects-stack {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .projects-topbar,
  .projects-footer {
    left: 0;
  }

  .service-grid {
    width: min(980px, 100%);
    margin: 0 auto;
    gap: 0 48px;
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .service-card h3,
  .news-item h3 {
    font-size: 30px;
    line-height: 32px;
  }

  .service-card p,
  .news-item p,
  .contact-card dd {
    font-size: 15px;
    line-height: 25px;
  }

  .news-list {
    width: min(980px, 100%);
    margin: 0 auto;
    position: relative;
    left: calc(var(--sidebar-offset) * -0.18);
  }

  .news-item::before {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 72px;
    height: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
  }

  .news-item:hover::before,
  .news-item:focus-within::before {
    transform: translateX(-50%) scaleX(1);
  }

  .contact-section {
    grid-template-columns: minmax(0, 760px);
    gap: 28px;
    position: relative;
    left: 0;
  }

  .contact-copy {
    justify-items: center;
    left: 0;
  }

  .contact-card {
    width: min(760px, 100%);
    position: relative;
    left: 0;
  }

  .contact-card,
  .contact-card dl,
  .project-tile-label {
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 720px) {
  .hero-showreel-title {
    display: none;
  }

  body {
    padding-left: 0;
  }

  .hero-showreel-title {
    font-size: 52px;
    line-height: 50px;
  }

  .hero-showreel-logo {
    width: min(52vw, 252px);
  }

  .about-content,
  .section-heading,
  .contact-copy,
  .projects-topbar {
    max-width: min(92vw, 100%);
    gap: 14px;
  }

  .about-content h2,
  .section-heading h2,
  .contact-copy h2,
  .projects-topbar h2 {
    max-width: 10ch;
    font-size: 44px;
    line-height: 46px;
    letter-spacing: -0.06em;
  }

  .about-display-en {
    font-size: 40px;
    line-height: 44px;
  }

  .about-display-ko {
    font-size: 36px;
    line-height: 42px;
  }

  .about-text,
  .about-text-compact,
  .projects-subtitle {
    max-width: 296px;
    font-size: 14px;
    line-height: 22px;
  }

  .service-card h3,
  .news-item h3 {
    font-size: 24px;
    line-height: 27px;
  }

  .service-card p,
  .news-item p,
  .contact-card dd {
    font-size: 14px;
    line-height: 22px;
  }

  .eyebrow,
  .news-date,
  .service-card span,
  .contact-card dt {
    font-size: 10px;
    line-height: 1.2;
  }
}

.services {
  align-content: center;
  display: grid;
  justify-items: center;
  gap: 0;
}

.services-drag-line {
  position: relative;
  width: min(820px, 92vw);
  height: 2px;
  background: rgba(18, 18, 18, 0.12);
  overflow: hidden;
  margin-bottom: 24px;
}

.services-drag-progress {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--text);
  transform: translateX(0);
  transition: transform 260ms ease;
}

.services-viewport {
  position: relative;
  width: min(920px, 100%);
  overflow: hidden;
}

.services-track {
  display: flex;
  width: 100%;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.services-panel {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
}

.services-panel .services-intro {
  margin-bottom: 26px;
}

.services-panel .services-mosaic {
  margin-top: 0;
  margin-bottom: 24px;
}

.services-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.services-nav-prev,
.services-nav-next {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(18, 18, 18, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: #0f0f10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.services-nav-prev:hover,
.services-nav-next:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(18, 18, 18, 0.35);
}

.services-nav-prev:focus-visible,
.services-nav-next:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.services-nav-prev:disabled,
.services-nav-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.news-section {
  align-content: center;
}

.services-intro {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  width: min(920px, 100%);
  margin: 0 auto 26px;
}

.news-intro {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
  width: min(760px, 100%);
  margin: 0 auto 88px;
}

.services-display {
  margin: 0;
  max-width: none;
  font-family: "Manrope", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 68px;
  letter-spacing: -0.075em;
  color: #ffffff;
}

.services-summary {
  max-width: 700px;
  margin: 6px auto 0;
  color: rgba(245, 247, 244, 0.82);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.services .eyebrow {
  color: rgba(245, 247, 244, 0.72);
}

.news-display {
  margin: 0;
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: none;
}

.services-display-line {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.08em;
  word-break: keep-all;
}

.news-display-line {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

.services-display-line-small {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.news-display-line-small {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.service-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--line);
}

.news-list {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 0;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.news-item {
  min-height: 0;
  padding: 14px 0 18px;
  position: relative;
  overflow: visible;
  transform: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.service-card:nth-child(3) {
  grid-column: 1 / 2;
}

.news-item:nth-child(3) {
  grid-column: 1 / 2;
}

.service-card span {
  margin: 0 0 10px;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(15, 15, 16, 0.46);
}

.news-date {
  margin: 0 0 8px;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(15, 15, 16, 0.46);
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.news-item h3 {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(15, 15, 16, 0.76);
}

.news-item p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(15, 15, 16, 0.7);
}

.news-item::before {
  content: none;
}

.news-item:hover,
.news-item:focus-within {
  transform: none;
  box-shadow: none;
}

.services-actions {
  display: flex;
  justify-content: center;
  margin-top: -25px;
}

.news-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.services-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(15, 15, 16, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(15, 15, 16, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.services-more:hover,
.services-more:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 15, 16, 0.22);
}

.news-more:hover,
.news-more:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 15, 16, 0.22);
}

@media (min-width: 721px) {
  .services-drag-line,
  .services-viewport,
  .services-intro,
  .services-mosaic,
  .services-nav {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.14);
  }

  .news-intro,
  .news-list,
  .news-actions {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.14);
  }
}

@media (max-width: 720px) {
  .services-intro {
    width: min(92vw, 100%);
    margin-bottom: 22px;
    gap: 8px;
  }

  .news-intro {
    width: min(92vw, 100%);
    margin-bottom: 48px;
    gap: 14px;
  }

  .services-display {
    font-size: 44px;
    line-height: 42px;
  }

  .news-display-line-small {
    font-size: 22px;
  }

  .services-summary {
    max-width: 296px;
    font-size: 12px;
    line-height: 18px;
  }

  .services-mosaic {
    width: min(92vw, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .news-list {
    width: min(92vw, 100%);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card:nth-child(3) {
    grid-column: auto;
  }

  .news-item:nth-child(3) {
    grid-column: auto;
  }

  .service-tile-card {
    padding: 12px;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
  }

  .news-item h3 {
    font-size: 15px;
  }

  .service-tile-title {
    font-size: 0.98rem;
  }

  .news-item p {
    font-size: 11px;
  }

  .service-tile-caption,
  .service-tile-code {
    font-size: 0.76rem;
  }

  .news-actions {
    margin-top: 28px;
  }

  .services-more {
    min-width: 112px;
    min-height: 42px;
    font-size: 12px;
  }

  .news-more {
    min-width: 112px;
    min-height: 42px;
    font-size: 12px;
  }
}

.about-section {
  position: relative;
}

.about-content {
  width: min(1220px, 100%);
}

.about-display {
  width: min(980px, 100%);
  max-width: none;
  gap: 8px;
}

.about-content h2.about-display {
  max-width: none;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.about-display-en {
  font-size: 78px;
  line-height: 74px;
  letter-spacing: -0.075em;
  word-break: keep-all;
}

.about-display-ko {
  font-size: 64px;
  line-height: 65px;
  letter-spacing: -0.075em;
  word-break: keep-all;
}

.about-text-compact {
  max-width: 760px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 23px;
  color: rgba(15, 15, 16, 0.82);
}

.about-actions {
  margin-top: 72px;
  display: flex;
  justify-content: center;
}

.about-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(15, 15, 16, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.about-more:hover,
.about-more:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 15, 16, 0.22);
}

@media (min-width: 721px) {
  .about-content {
    left: calc(var(--sidebar-offset) * -0.14);
  }
}

@media (max-width: 720px) {
  .about-content {
    width: min(92vw, 100%);
  }

  .about-display {
    gap: 6px;
  }

  .about-display-en {
    font-size: 40px;
    line-height: 39px;
  }

  .about-display-ko {
    font-size: 36px;
    line-height: 35px;
  }

  .about-text-compact {
    max-width: 300px;
    margin-top: 18px;
    font-size: 12px;
    line-height: 18px;
  }

  .about-actions {
    margin-top: 72px;
  }

  .about-more {
    min-width: 112px;
    min-height: 42px;
    font-size: 12px;
  }
}

:root {
  --design-width: 1600px;
  --design-height: 900px;
  --app-scale: 1;
}

body {
  overflow: hidden;
}

.app-shell {
  position: fixed;
  inset: 0;
  background: var(--bg);
}

.app-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.app-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 240ms ease;
}

.app-scroll {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  z-index: 1;
}

@media (min-width: 721px) {
  html {
    scroll-snap-type: none;
  }

  body {
    padding-left: 0;
    overflow: hidden;
  }

  .app-shell {
    display: block;
    overflow: hidden;
  }

  .app-frame {
    top: 0;
    left: 0;
    width: var(--design-width);
    height: var(--design-height);
    transform: scale(var(--app-scale));
    transform-origin: top left;
  }

  .app-scroll {
    width: var(--design-width);
    height: var(--design-height);
    padding-left: var(--sidebar-offset);
    background: transparent;
    scroll-snap-type: y proximity;
  }

  .panel-section {
    min-height: var(--design-height);
  }

  .hero,
  .hero-showreel,
  .hero-showreel-screen,
  .about-section,
  .projects-stack,
  .news-section,
  .contact-section {
    min-height: var(--design-height);
    height: var(--design-height);
    max-height: var(--design-height);
  }

  #services {
    min-height: var(--design-height);
    height: auto;
    max-height: none;
  }

  .site-footer {
    width: min(1200px, calc(100% - 48px));
  }

  #about,
  #projects,
  #services,
  #news,
  #contact {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  .app-shell,
  .app-frame {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .app-scroll {
    width: 100%;
    height: 100%;
    padding-left: 0;
    scroll-snap-type: y proximity;
  }
}

body.theme-about,
body.theme-projects,
body.theme-services,
body.theme-news,
body.theme-contact {
  background: #000000;
}

body.theme-about .app-frame::before,
body.theme-projects .app-frame::before,
body.theme-services .app-frame::before,
body.theme-news .app-frame::before,
body.theme-contact .app-frame::before {
  opacity: 1;
}

body.theme-hero .site-header,
body.theme-about .site-header,
body.theme-projects .site-header,
body.theme-services .site-header,
body.theme-news .site-header,
body.theme-contact .site-header,
body.theme-hero .brand,
body.theme-about .brand,
body.theme-projects .brand,
body.theme-services .brand,
body.theme-news .brand,
body.theme-contact .brand,
body.theme-hero .site-nav a,
body.theme-about .site-nav a,
body.theme-projects .site-nav a,
body.theme-services .site-nav a,
body.theme-news .site-nav a,
body.theme-contact .site-nav a {
  color: rgba(245, 247, 244, 0.96);
}

body.theme-hero .brand-logo-default,
body.theme-about .brand-logo-default,
body.theme-projects .brand-logo-default,
body.theme-services .brand-logo-default,
body.theme-news .brand-logo-default,
body.theme-contact .brand-logo-default {
  display: none;
}

body.theme-hero .brand-logo-dark,
body.theme-about .brand-logo-dark,
body.theme-projects .brand-logo-dark,
body.theme-services .brand-logo-dark,
body.theme-news .brand-logo-dark,
body.theme-contact .brand-logo-dark {
  display: block;
}

body.theme-hero .site-nav a::after,
body.theme-about .site-nav a::after,
body.theme-projects .site-nav a::after,
body.theme-services .site-nav a::after,
body.theme-news .site-nav a::after,
body.theme-contact .site-nav a::after {
  background: rgba(245, 247, 244, 0.9);
}

body.theme-about .site-nav a:hover,
body.theme-projects .site-nav a:hover,
body.theme-services .site-nav a:hover,
body.theme-news .site-nav a:hover,
body.theme-contact .site-nav a:hover,
body.theme-about .site-nav a:focus-visible,
body.theme-projects .site-nav a:focus-visible,
body.theme-services .site-nav a:focus-visible,
body.theme-news .site-nav a:focus-visible,
body.theme-contact .site-nav a:focus-visible {
  color: #ffffff;
}

@media (max-width: 980px) {
  body.nav-menu-open .site-nav a {
    color: rgba(15, 15, 16, 0.92);
  }

  .brand-logo-default,
  .brand-logo-dark {
    align-self: flex-end;
  }

  body.theme-hero:not(.nav-menu-open) .nav-toggle,
  body.theme-about:not(.nav-menu-open) .nav-toggle,
  body.theme-projects:not(.nav-menu-open) .nav-toggle,
  body.theme-services:not(.nav-menu-open) .nav-toggle,
  body.theme-news:not(.nav-menu-open) .nav-toggle,
  body.theme-contact:not(.nav-menu-open) .nav-toggle {
    color: rgba(245, 247, 244, 0.96);
  }

  body.theme-hero .brand-logo-dark,
  body.theme-about .brand-logo-dark,
  body.theme-projects .brand-logo-dark,
  body.theme-services .brand-logo-dark,
  body.theme-news .brand-logo-dark,
  body.theme-contact .brand-logo-dark {
    margin-top: 0;
    width: auto;
    height: 21.33px;
  }
}

.about-section,
.projects-stack,
.services,
.news-section,
.contact-section {
  position: relative;
  background: transparent;
  color: #f5f7f4;
}

.about-section .eyebrow,
.projects-stack .eyebrow,
.services .eyebrow,
.news-section .eyebrow,
.contact-section .eyebrow,
.about-section .about-text,
.about-section .about-text-compact,
.projects-stack .projects-subtitle,
.services .service-card span,
.services .service-card p,
.news-section .news-date,
.news-section .news-item p,
.contact-section .contact-card dt,
.contact-section .contact-card dd {
  color: rgba(245, 247, 244, 0.78);
}

.about-section h2,
.projects-stack h2,
.services h2,
.services h3,
.news-section h2,
.news-section h3,
.contact-section h2 {
  color: #ffffff;
}

.services .service-grid,
.news-section .news-list,
.contact-section .contact-card {
  border-color: rgba(255, 255, 255, 0.18);
}

.services .service-card,
.news-section .news-item {
  border-color: rgba(255, 255, 255, 0.16);
}

.news-section .news-item::before {
  background: rgba(255, 255, 255, 0.72);
}

.projects-more,
.services-more,
.news-more,
.about-more,
.button-primary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.projects-more:hover,
.projects-more:focus-visible,
.services-more:hover,
.services-more:focus-visible,
.news-more:hover,
.news-more:focus-visible,
.about-more:hover,
.about-more:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.44);
}

.projects-stack {
  justify-content: center;
  align-content: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.services {
  justify-content: center;
  align-content: start;
  padding-top: 72px;
  padding-bottom: 72px;
}

.services-drag-line {
  background: rgba(255, 255, 255, 0.18);
}

.services-drag-progress {
  background: rgba(255, 255, 255, 0.9);
}

.services-nav-prev,
.services-nav-next {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(245, 247, 244, 0.96);
}

.services-nav-prev:hover,
.services-nav-next:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.44);
}

.services-nav-prev:disabled,
.services-nav-next:disabled {
  opacity: 0.35;
}

.projects-topbar {
  width: min(920px, 100%);
  justify-items: center;
  text-align: center;
  gap: 10px;
  margin: 0 auto 26px;
}

.projects-topbar .eyebrow {
  color: rgba(245, 247, 244, 0.72);
}

.projects-topbar h2 {
  max-width: none;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 72px;
  line-height: 68px;
  letter-spacing: -0.075em;
  color: #fff;
}

.projects-subtitle {
  max-width: 700px;
  margin: 6px auto 0;
  font-size: 14px;
  line-height: 20px;
  color: rgba(245, 247, 244, 0.82);
  text-align: center;
}

.projects-mosaic {
  width: min(820px, 100%);
  margin: 0 auto;
  gap: 10px;
}

.project-tile-card {
  aspect-ratio: 1.48 / 1;
}

.project-tile-title {
  font-size: 15px;
  line-height: 16px;
}

.project-tile-caption {
  font-size: 10px;
  line-height: 12px;
}

.projects-footer {
  margin-top: 16px;
}

.projects-more {
  min-width: 124px;
  min-height: 46px;
  padding: 0 24px;
  font-size: 13px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 0;
}

.contact-copy {
  width: min(760px, 100%);
  justify-items: center;
  text-align: center;
}

.contact-copy h2 {
  max-width: none;
  margin: 0 0 24px;
}

.contact-copy-actions {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: 100%;
}

.contact-copy-phone {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(245, 247, 244, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 3px;
  transition: color 200ms ease, border-color 200ms ease;
}

.contact-copy-phone:hover,
.contact-copy-phone:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.contact-address-card {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  padding: 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 32px;
  background: #141414;
  box-shadow: none;
  color: #f5f7f4;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  text-align: left;
  text-decoration: none;
}

.contact-address-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.contact-address-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.38), rgba(7, 7, 8, 0.7)),
    url("../contact-map.png") center center / cover no-repeat;
  opacity: 0.62;
  pointer-events: none;
  z-index: 0;
}

.contact-address-card:hover,
.contact-address-card:focus-within {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
}

.contact-address-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-address-map-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #03c75a;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-address-map-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 244, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-address-card-body {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 10px 2px 2px;
  margin-top: auto;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 14px;
}

.contact-address-card-body h3 {
  margin: 0;
  color: rgba(245, 247, 244, 0.72);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-address-text {
  margin: 0;
  color: rgba(245, 247, 244, 0.82);
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
}

.contact-address-text span {
  display: block;
}

@media (min-width: 721px) {
  .contact-section {
    position: relative;
    left: calc(var(--sidebar-offset) * -0.14);
  }

  .projects-stack {
    left: calc(var(--sidebar-offset) * -0.14);
  }

  .projects-topbar,
  .projects-footer {
    left: 0;
  }

  .services-mosaic {
    height: auto;
    min-height: 420px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 47px 19px 40px;
    column-gap: 11px;
    row-gap: 17px;
    background: unset;
    border-color: transparent;
    border-image: none;
  }

  .service-tile {
    height: 137px;
  }

  .service-tile-card {
    height: 100%;
    aspect-ratio: auto;
  }

  .projects-mosaic {
    height: 380px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 47px 19px;
    column-gap: 11px;
    row-gap: 17px;
    background: unset;
    border-color: transparent;
    border-image: none;
  }

  .project-tile {
    height: 137px;
  }

  .project-tile-card {
    height: 100%;
    aspect-ratio: auto;
  }

  .projects-footer {
    margin-top: -59px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-copy {
    position: relative;
    left: 0;
    padding-top: 0;
    padding-bottom: 0;
    height: auto;
    min-height: 148px;
    margin-top: -41px;
    margin-bottom: 32px;
  }

  .contact-address-card {
    align-self: center;
    width: 387px;
    height: 214px;
    aspect-ratio: auto;
    margin-top: 0px;
    margin-bottom: -78px;
    padding: 18px;
    border-radius: 28px;
  }

  .contact-copy h2 {
    margin-top: -40px;
    margin-bottom: -128px;
    height: 82px;
  }

  .contact-copy-actions {
    margin-top: 85px;
    height: 101px;
  }

  .contact-copy .button {
    margin-top: 0;
    margin-bottom: 189px;
    height: 0;
    padding: 25px 14px;
  }
}

@media (max-width: 720px) {
  .projects-stack {
    align-content: start;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .services,
  .news-section,
  .contact-section {
    align-content: start;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .projects-topbar {
    width: min(92vw, 100%);
    margin-bottom: 22px;
    gap: 8px;
  }

  .projects-topbar h2 {
    font-size: 44px;
    line-height: 42px;
  }

  .projects-subtitle {
    max-width: 296px;
    font-size: 12px;
    line-height: 18px;
  }

  .projects-mosaic {
    width: min(92vw, 100%);
    gap: 8px;
  }

  .project-tile-title {
    font-size: 13px;
    line-height: 14px;
  }

  .project-tile-caption {
    font-size: 9px;
    line-height: 11px;
  }

  .projects-footer {
    margin-top: 32px;
  }

  .projects-more {
    min-width: 112px;
    min-height: 42px;
    padding: 0 22px;
    font-size: 12px;
  }

  .project-lightbox {
    padding: 18px;
  }

  .project-lightbox-dialog,
  .project-lightbox-media-frame {
    width: min(100%, 320px);
  }

  .project-lightbox-media-frame {
    border-radius: 22px;
  }

  .contact-copy h2 {
    margin-bottom: 20px;
  }

  .contact-address-card {
    width: min(92vw, 100%);
    margin-top: 18px;
    padding: 18px;
    border-radius: 28px;
  }

  .contact-address-card-body {
    padding: 6px 0 0;
    gap: 10px;
  }

  .contact-address-card-body h3 {
    font-size: 0.74rem;
  }

  .contact-address-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

.site-footer {
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  color: rgba(245, 247, 244, 0.76);
  text-align: center;
}

.site-footer > * {
  position: relative;
  top: -100px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(245, 247, 244, 0.84);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #ffffff;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.footer-brand-mark {
  position: relative;
  width: 123px;
  height: 69px;
  background: url("../logo2.svg") center / contain no-repeat;
}

.footer-brand-mark::before,
.footer-brand-mark::after {
  content: none;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 88px;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -5px;
  margin-bottom: -5px;
}

.footer-meta p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-meta span {
  color: rgba(245, 247, 244, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta-phone span {
  text-transform: none;
  letter-spacing: 0.06em;
}

.footer-meta a {
  color: rgba(245, 247, 244, 0.82);
}

.footer-meta-copy {
  color: rgba(245, 247, 244, 0.56);
}

@media (min-width: 721px) {
  .site-footer {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    position: relative;
    left: calc(var(--sidebar-offset) / -2);
    padding-top: 88px;
    padding-bottom: 48px;
    padding-left: 0;
    padding-right: 0;
    gap: 26px;
  }

  .footer-meta p {
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    width: min(92vw, 100%);
    margin: 0 auto;
    justify-self: center;
    padding-top: 52px;
    padding-bottom: 28px;
    gap: 18px;
  }

  .site-footer > * {
    top: 0;
    width: min(92vw, 100%);
    margin: 0 auto;
  }

  .footer-nav {
    margin-top: 0;
    gap: 12px;
    font-size: 0.66rem;
  }

  .footer-brand-mark {
    width: 102px;
    height: 57px;
  }

  .footer-brand-name {
    font-size: 0.96rem;
  }

  .footer-meta {
    width: 100%;
    gap: 6px;
  }

  .footer-meta p {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .footer-meta span {
    width: 100%;
    font-size: 0.64rem;
  }

  .footer-meta a,
  .footer-meta-copy {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
  }
}
