/*
Theme Name: C-Art Production
Theme URI: https://c-artproduction.com
Author: C-Art Production
Description: C-Art production video production portfolio theme.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.5
Text Domain: c-art-production
*/

:root {
  --green: #137944;
  --green-bright: #9bd39d;
  --green-deep: #083820;
  --sage: #b9c8ae;
  --sage-soft: #e5e7dc;
  --gold: #c9ae69;
  --ink: #20221f;
  --ink-soft: #4d514b;
  --line: rgba(226, 232, 216, 0.16);
  --paper: #f6f3e8;
  --paper-soft: #ebe9df;
  --white: #ffffff;
  --night: #070908;
  --night-soft: #101611;
  --glass: rgba(246, 243, 232, 0.08);
  --glass-strong: rgba(246, 243, 232, 0.13);
  --shadow: 0 28px 80px rgba(3, 7, 5, 0.3);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 0%, rgba(185, 200, 174, 0.12), transparent 34rem),
    radial-gradient(circle at 16% 30%, rgba(19, 121, 68, 0.14), transparent 30rem),
    linear-gradient(180deg, #070908 0%, #0a0f0b 24%, #11170f 46%, #0d110d 70%, #070908 100%);
  color: var(--white);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  background:
    radial-gradient(circle at 70% 8%, rgba(185, 200, 174, 0.1), transparent 36rem),
    radial-gradient(circle at 18% 42%, rgba(19, 121, 68, 0.12), transparent 34rem),
    radial-gradient(circle at 84% 72%, rgba(201, 174, 105, 0.07), transparent 38rem),
    linear-gradient(
      180deg,
      #070908 0%,
      #0b100c 18%,
      #12170f 36%,
      #0e150f 54%,
      #121611 72%,
      #080d09 88%,
      #070908 100%
    );
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at calc(var(--pointer-x, 0.5) * 100%) calc(var(--pointer-y, 0.5) * 100%), rgba(201, 174, 105, 0.12), transparent 28rem),
    radial-gradient(circle at 76% 16%, rgba(155, 211, 157, 0.12), transparent 34rem),
    radial-gradient(circle at 16% 58%, rgba(35, 78, 54, 0.34), transparent 42rem),
    conic-gradient(from calc(var(--scroll-progress, 0) * 120deg) at 50% 42%, rgba(185, 200, 174, 0.07), transparent 22%, rgba(201, 174, 105, 0.06), transparent 54%, rgba(19, 121, 68, 0.08), transparent 78%);
  mix-blend-mode: screen;
  transform:
    translate3d(
      calc((var(--pointer-x, 0.5) - 0.5) * -34px),
      calc((var(--pointer-y, 0.5) - 0.5) * -28px),
      0
    )
    rotate(calc(var(--scroll-progress, 0) * 8deg));
  transition: transform 0.22s ease-out;
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    repeating-conic-gradient(from 0deg, rgba(229, 231, 220, 0.12) 0deg 0.45deg, transparent 0.45deg 12deg),
    linear-gradient(rgba(229, 231, 220, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 231, 220, 0.07) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  mask-image:
    radial-gradient(circle at 50% calc(18% + var(--scroll-progress, 0) * 62%), rgba(0, 0, 0, 0.8), transparent 68%);
  transform:
    rotate(calc(var(--scroll-progress, 0) * 18deg))
    translate3d(calc((var(--pointer-x, 0.5) - 0.5) * 16px), calc((var(--pointer-y, 0.5) - 0.5) * 16px), 0);
  transition: transform 0.22s ease-out;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 32px), 1240px);
  margin: 16px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(185, 200, 174, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 0%, rgba(201, 174, 105, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(8, 13, 10, 0.9), rgba(18, 29, 19, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: clamp(126px, 12vw, 168px);
  height: auto;
}

.site-header .brand-logo {
  width: clamp(138px, 12vw, 176px);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  color: rgba(229, 231, 220, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--white);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(229, 231, 220, 0.34);
  border-radius: var(--radius);
  color: var(--sage-soft);
  background: rgba(246, 243, 232, 0.045);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.header-action:hover,
.header-action:focus-visible {
  border-color: rgba(201, 174, 105, 0.72);
  background: rgba(201, 174, 105, 0.16);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 118px 22px 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.12), rgba(7, 9, 8, 0.62) 72%, transparent 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.72;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.92) 0%, rgba(7, 9, 8, 0.74) 34%, rgba(7, 9, 8, 0.34) 64%, rgba(7, 9, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.36), rgba(7, 9, 8, 0.86));
  mask-image: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 88%;
  opacity: 0.16;
  background:
    conic-gradient(from 215deg, transparent, rgba(229, 231, 220, 0.14), transparent 32%),
    linear-gradient(115deg, transparent 0 28%, rgba(201, 174, 105, 0.12), transparent 60%);
  filter: blur(28px);
  transform: skewX(-12deg);
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 9, 8, 0.18), rgba(7, 9, 8, 0.52)),
    url("./assets/showreel-poster.svg") center / cover;
}

.hero-video-bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(120px, 24vh, 250px);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0), rgba(7, 9, 8, 0.68) 54%, rgba(7, 9, 8, 0.98) 100%);
}

.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 66%, rgba(7, 9, 8, 0.72), transparent 18rem),
    radial-gradient(circle at 70% 42%, rgba(10, 18, 14, 0.24), rgba(7, 9, 8, 0.48) 44%, rgba(7, 9, 8, 0.74) 100%),
    linear-gradient(90deg, rgba(7, 9, 8, 0.9), rgba(7, 9, 8, 0.34) 56%, rgba(7, 9, 8, 0.8));
}

.hero-video-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.68;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(0.8) contrast(1.08) brightness(0.72);
  transform:
    scale(1.04)
    translate3d(calc((var(--pointer-x, 0.5) - 0.5) * -16px), calc((var(--pointer-y, 0.5) - 0.5) * -10px), 0);
  transition:
    opacity 0.8s ease,
    transform 0.2s ease-out;
}

.hero.has-background-video .hero-video-frame {
  opacity: 0.68;
}

.hero.has-background-video::before {
  opacity: 0.22;
}

.hero-stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  width: min(100%, var(--max));
  min-height: calc(100svh - 190px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 570px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-wrap: balance;
}

.eyebrow,
.section-kicker,
.project-type {
  margin: 0 0 18px;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero-logo-title {
  margin: 0;
  width: fit-content;
  line-height: 0.92;
  text-shadow: 0 18px 56px rgba(0, 0, 0, 0.32);
}

.hero-logo-image {
  display: block;
  width: clamp(300px, 35vw, 520px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 52px rgba(0, 0, 0, 0.36));
}

.hero-line {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  font-weight: 700;
}

.hero-line span {
  color: var(--green-bright);
  font-weight: 900;
  text-shadow: 0 0 28px rgba(155, 211, 157, 0.28);
}

.hero-description {
  width: min(100%, 570px);
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  text-wrap: pretty;
}

.hero-description span,
.intro-layout h2 span,
.intro-lead span,
.scroll-cinema-copy h2 span,
.scroll-cinema-note span,
.section-heading h2 span,
.section-heading p span,
.portfolio-title span,
.service-title span,
.about-layout h2 span,
.about-copy p span,
.team-heading h2 span,
.team-heading p span,
.contact-card h2 span,
.contact-card p:not(.section-kicker) span {
  display: block;
}

.hero-description span + span,
.intro-lead span + span,
.scroll-cinema-note span + span,
.section-heading p span + span,
.about-copy p span + span,
.team-heading p span + span {
  margin-top: 0.32rem;
}

.contact-card p:not(.section-kicker) span + span {
  margin-top: 0.42rem;
}

.copy-line {
  display: block;
}

.copy-line + .copy-line {
  margin-top: 0.32rem;
}

.contact-card p:not(.section-kicker) {
  line-height: 1.78;
}

.contact-card p:not(.section-kicker) .copy-line + .copy-line {
  margin-top: 0.28rem;
}

.intro-layout h2 span + span,
.scroll-cinema-copy h2 span + span,
.section-heading h2 span + span,
.portfolio-title span + span,
.service-title span + span,
.about-layout h2 span + span,
.team-heading h2 span + span {
  margin-top: 0.08em;
}

.section-heading strong,
.about-layout h2 strong,
.about-copy strong,
.contact-card h2 strong {
  color: var(--green-bright);
  font-weight: 900;
  text-shadow: 0 0 28px rgba(155, 211, 157, 0.18);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

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

.button.primary {
  background:
    linear-gradient(135deg, var(--green), #1a8d54);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(19, 121, 68, 0.26);
}

.button.secondary {
  border-color: rgba(229, 231, 220, 0.28);
  color: var(--sage-soft);
}

.button-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, var(--max));
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-meta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hero-meta a:hover,
.hero-meta a:focus-visible {
  border-color: rgba(201, 174, 105, 0.44);
  background: rgba(201, 174, 105, 0.12);
  color: var(--white);
  transform: translateY(-1px);
}

.scroll-cinema {
  position: relative;
  height: 600svh;
  min-height: 600svh;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.42), rgba(7, 9, 8, 0.82)),
    radial-gradient(circle at 54% 48%, rgba(155, 211, 157, 0.12), transparent 38rem),
    url("./assets/scroll-cinema-poster.jpg") center / cover no-repeat,
    linear-gradient(180deg, rgba(7, 9, 8, 0.98), rgba(8, 14, 10, 0.99));
  color: var(--white);
  overflow: visible;
}

.scroll-cinema::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  z-index: 2;
  height: clamp(110px, 20vh, 230px);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.98) 0%, rgba(7, 9, 8, 0.76) 42%, rgba(7, 9, 8, 0) 100%);
}

.scroll-cinema-stage {
  --cinema-progress: 0;
  --cinema-copy-opacity: 1;
  --cinema-copy-y: 0px;
  --cinema-line-one-opacity: 1;
  --cinema-line-one-y: 0px;
  --cinema-line-two-opacity: 1;
  --cinema-line-two-y: 0px;
  --cinema-note-opacity: 0.92;
  --cinema-note-y: 0px;
  --cinema-media-scale: 1.06;
  --cinema-media-y: 0%;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: max(92px, env(safe-area-inset-top)) 22px clamp(58px, 7vw, 88px);
  isolation: isolate;
}

.scroll-cinema-stage::before,
.scroll-cinema-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scroll-cinema-stage::before {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.52) 0%, rgba(7, 9, 8, 0.1) 38%, rgba(7, 9, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.42) 0%, rgba(7, 9, 8, 0.04) 46%, rgba(7, 9, 8, 0.74) 100%),
    radial-gradient(circle at calc(18% + var(--cinema-progress) * 54%) calc(68% - var(--cinema-progress) * 20%), rgba(155, 211, 157, 0.17), transparent 34rem);
}

.scroll-cinema-stage::after {
  opacity: calc(0.12 + var(--cinema-progress) * 0.16);
  background:
    linear-gradient(116deg, transparent 6%, rgba(255, 255, 255, 0.08) 7%, transparent 8%),
    linear-gradient(122deg, transparent 34%, rgba(155, 211, 157, 0.07) 35%, transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(201, 174, 105, 0.14), transparent 26rem);
  transform: translate3d(calc((var(--cinema-progress) - 0.5) * 14%), calc((0.5 - var(--cinema-progress)) * 4%), 0);
}

.scroll-cinema-media {
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.08), rgba(7, 9, 8, 0.54)),
    url("./assets/scroll-cinema-poster.jpg") center / cover no-repeat;
  filter: saturate(1.05) contrast(1.1) brightness(0.9);
  transform:
    translate3d(0, var(--cinema-media-y), 0)
    scale(var(--cinema-media-scale));
  transform-origin: center center;
  will-change: transform;
}

.scroll-cinema-media video,
.scroll-cinema-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.scroll-cinema-shards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scroll-cinema-shards span {
  position: absolute;
  width: clamp(160px, 22vw, 380px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 211, 157, 0.5), transparent);
  opacity: calc(0.08 + var(--cinema-progress) * 0.36);
  transform:
    translate3d(calc(var(--cinema-progress) * 220px), calc(var(--cinema-progress) * -74px), 0)
    rotate(-14deg);
}

.scroll-cinema-shards span:nth-child(1) { left: 11%; top: 24%; }
.scroll-cinema-shards span:nth-child(2) { left: 54%; top: 32%; transform: translate3d(calc(var(--cinema-progress) * -110px), calc(var(--cinema-progress) * 42px), 0) rotate(18deg); }
.scroll-cinema-shards span:nth-child(3) { left: 24%; top: 72%; transform: translate3d(calc(var(--cinema-progress) * 150px), calc(var(--cinema-progress) * 28px), 0) rotate(9deg); }
.scroll-cinema-shards span:nth-child(4) { left: 70%; top: 78%; transform: translate3d(calc(var(--cinema-progress) * -130px), calc(var(--cinema-progress) * -30px), 0) rotate(-24deg); }

.scroll-cinema-copy {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  justify-items: end;
  padding-top: clamp(24px, 7vh, 86px);
  padding-bottom: clamp(18px, 4vh, 44px);
  text-align: right;
  opacity: var(--cinema-copy-opacity);
  transform: translate3d(0, var(--cinema-copy-y), 0);
  will-change: opacity, transform;
}

.scroll-cinema-copy h2 {
  max-width: min(760px, 58vw);
  margin: 0;
  font-size: clamp(2.45rem, 5.2vw, 6.1rem);
  font-weight: 520;
  line-height: 1.02;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
  text-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(11, 17, 12, 0.34);
}

.scroll-cinema-copy h2 span {
  display: block;
}

.scroll-cinema-copy h2 span:first-child {
  opacity: var(--cinema-line-one-opacity);
  transform: translate3d(0, var(--cinema-line-one-y), 0);
}

.scroll-cinema-copy h2 span:nth-child(2) {
  opacity: var(--cinema-line-two-opacity);
  transform: translate3d(0, var(--cinema-line-two-y), 0);
}

.scroll-cinema-copy h2 span:nth-child(3) {
  color: rgba(233, 240, 236, 0.96);
}

.scroll-cinema-copy h2 em {
  color: var(--green-bright);
  font-style: normal;
  font-weight: 720;
  text-shadow:
    0 18px 56px rgba(155, 211, 157, 0.2),
    0 0 18px rgba(155, 211, 157, 0.18);
}

.scroll-cinema-note {
  max-width: 580px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  word-break: keep-all;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: var(--cinema-note-opacity);
  transform: translate3d(0, var(--cinema-note-y), 0);
  will-change: opacity, transform;
}

.scroll-cinema-progress {
  position: absolute;
  left: max(22px, calc((100vw - var(--max)) / 2));
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: clamp(24px, 4vw, 42px);
  z-index: 3;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.scroll-cinema-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
  transform: scaleX(var(--cinema-progress));
  transform-origin: left center;
}

.section,
.intro-band,
.process-band {
  position: relative;
  padding: clamp(76px, 10vw, 138px) 22px;
  overflow: hidden;
  color: var(--white);
}

.section::before,
.intro-band::before,
.process-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}

.section::after,
.intro-band::after,
.process-band::after {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.portfolio.section,
.services.section,
.about.section,
.team.section,
.process-band,
.contact.section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.intro-band {
  background: transparent;
}

.intro-band[data-intro-story] {
  min-height: 260svh;
  padding: 0 22px;
  overflow: visible;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  grid-template-areas:
    "copy visual"
    "principles principles";
  gap: clamp(34px, 6vw, 76px) clamp(32px, 7vw, 96px);
  align-items: center;
}

.intro-band[data-intro-story] .intro-layout {
  --intro-progress: 0;
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding: clamp(112px, 12vh, 156px) 0 clamp(70px, 8vh, 112px);
  align-content: center;
  isolation: isolate;
}

.intro-band[data-intro-story] .intro-layout::before {
  content: "";
  position: absolute;
  inset: clamp(54px, 8vw, 104px) -5vw clamp(42px, 6vw, 86px);
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background:
    radial-gradient(circle at calc(18% + var(--intro-progress) * 58%) calc(30% + var(--intro-progress) * 22%), rgba(155, 211, 157, 0.12), transparent 28rem),
    linear-gradient(118deg, rgba(16, 50, 64, 0.42), rgba(14, 30, 18, 0.14) 54%, rgba(201, 174, 105, 0.1));
  opacity: 0.92;
  transform:
    translate3d(calc((var(--intro-progress) - 0.5) * 20px), 0, 0)
    scale(calc(0.985 + var(--intro-progress) * 0.022));
}

.intro-copy {
  grid-area: copy;
  max-width: 760px;
  transform: translate3d(0, calc((0.5 - var(--intro-progress, 0)) * 18px), 0);
  transition: transform 0.6s ease;
}

.intro-visual {
  grid-area: visual;
  position: relative;
  min-height: clamp(260px, 28vw, 370px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 24% 64%, rgba(155, 211, 157, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(13, 42, 58, 0.34), rgba(9, 16, 11, 0.14));
  transform:
    translate3d(calc((var(--intro-progress, 0) - 0.5) * 26px), calc((0.5 - var(--intro-progress, 0)) * 14px), 0)
    scale(calc(0.98 + var(--intro-progress, 0) * 0.035));
  transform-origin: center center;
  transition: transform 0.6s ease;
  will-change: transform;
}

.intro-visual::before,
.intro-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro-visual::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.46;
}

.intro-visual::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 10, 0.36), transparent 30%, rgba(8, 12, 10, 0.16)),
    radial-gradient(circle at 72% 28%, rgba(201, 174, 105, 0.12), transparent 28%),
    radial-gradient(circle at 28% 72%, rgba(179, 245, 190, 0.1), transparent 30%);
}

.intro-discovery,
.intro-storyboard,
.intro-result-screen {
  position: absolute;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;
  will-change: transform, opacity;
}

.intro-discovery {
  left: 9%;
  top: 18%;
  z-index: 3;
  width: clamp(180px, 18vw, 260px);
  padding: 18px;
  border: 1px solid rgba(179, 245, 190, 0.24);
  background:
    radial-gradient(circle at 20% 26%, rgba(179, 245, 190, 0.18), transparent 34%),
    rgba(7, 12, 9, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 22px 62px rgba(0, 0, 0, 0.26);
}

.intro-discovery::before {
  content: "기획 단서";
  display: block;
  margin-bottom: 18px;
  color: rgba(201, 174, 105, 0.95);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.intro-seed-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 12px 9px 10px;
  border: 1px solid rgba(179, 245, 190, 0.28);
  border-radius: 999px;
  color: rgba(242, 250, 246, 0.94);
  background:
    linear-gradient(135deg, rgba(179, 245, 190, 0.14), rgba(201, 174, 105, 0.1)),
    rgba(6, 12, 9, 0.48);
  box-shadow:
    0 0 28px rgba(179, 245, 190, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intro-seed-mark::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 58% 42% 55% 45% / 62% 44% 56% 38%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.76), transparent 18%),
    linear-gradient(135deg, rgba(211, 255, 220, 0.98), rgba(19, 121, 68, 0.72));
  box-shadow: 0 0 18px rgba(179, 245, 190, 0.34);
  transform: rotate(-28deg);
}

.intro-seed-mark::after {
  content: "기획의 씨앗";
  white-space: nowrap;
}

.intro-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intro-keywords span {
  padding: 8px 10px;
  border: 1px solid rgba(179, 245, 190, 0.2);
  color: rgba(242, 250, 246, 0.88);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 800;
}

.intro-storyboard {
  left: 24%;
  top: 25%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(62%, 420px);
}

.intro-storyboard::before,
.intro-result-screen::before {
  position: absolute;
  top: -26px;
  left: 0;
  color: rgba(201, 174, 105, 0.94);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.intro-storyboard::before {
  content: "콘티 보드";
}

.intro-result-screen::before {
  content: "완성 화면";
}

.intro-board-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(179, 245, 190, 0.06),
    0 16px 44px rgba(0, 0, 0, 0.18);
}

.intro-board-frame::before,
.intro-board-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro-board-frame::before {
  left: 12%;
  right: 12%;
  bottom: 22%;
  height: 1px;
  background: rgba(201, 174, 105, 0.46);
}

.intro-board-frame::after {
  width: 26%;
  aspect-ratio: 16 / 9;
  left: 18%;
  top: 20%;
  border: 1px solid rgba(179, 245, 190, 0.34);
  background: rgba(179, 245, 190, 0.12);
}

.intro-board-frame-two::after {
  left: 38%;
  top: 26%;
}

.intro-board-frame-three::after {
  left: 56%;
  top: 18%;
}

.intro-result-screen {
  right: 8%;
  bottom: 16%;
  z-index: 4;
  width: clamp(190px, 24vw, 330px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 174, 105, 0.32);
  background:
    radial-gradient(circle at 68% 34%, rgba(201, 174, 105, 0.26), transparent 38%),
    linear-gradient(135deg, rgba(179, 245, 190, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 28px 74px rgba(0, 0, 0, 0.34);
}

.intro-screen-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
}

.intro-play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(44px, 5vw, 62px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(19, 121, 68, 0.82);
  box-shadow: 0 0 34px rgba(179, 245, 190, 0.2);
  transform: translate(-50%, -50%);
}

.intro-play-mark::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid rgba(255, 255, 255, 0.9);
  transform: translate(-40%, -50%);
}

.intro-layout[data-active-step="0"] .intro-discovery {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.08);
}

.intro-layout[data-active-step="0"] .intro-storyboard {
  opacity: 0.3;
  transform: translate3d(42px, 14px, 0) scale(0.86);
  filter: saturate(0.65);
}

.intro-layout[data-active-step="0"] .intro-result-screen {
  opacity: 0.2;
  transform: translate3d(44px, 34px, 0) scale(0.78);
  filter: saturate(0.55);
}

.intro-layout[data-active-step="1"] .intro-discovery {
  opacity: 0.48;
  transform: translate3d(-26px, -18px, 0) scale(0.78);
  filter: saturate(0.72);
}

.intro-layout[data-active-step="1"] .intro-storyboard {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.08);
  filter: saturate(1.08);
}

.intro-layout[data-active-step="1"] .intro-result-screen {
  opacity: 0.38;
  transform: translate3d(16px, 18px, 0) scale(0.86);
  filter: saturate(0.72);
}

.intro-layout[data-active-step="2"] .intro-discovery {
  opacity: 0.3;
  transform: translate3d(-38px, -30px, 0) scale(0.68);
  filter: saturate(0.58);
}

.intro-layout[data-active-step="2"] .intro-storyboard {
  opacity: 0.5;
  transform: translate3d(-54px, -16px, 0) scale(0.9);
  filter: saturate(0.72);
}

.intro-layout[data-active-step="2"] .intro-result-screen {
  opacity: 1;
  transform: translate3d(-18px, 4px, 0) scale(1.12);
  filter: saturate(1.12);
}

.intro-principles {
  grid-area: principles;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(6px, 2vw, 20px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: grid-template-columns 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-principles[data-active-step="0"] {
  grid-template-columns: 1.42fr 0.82fr 0.82fr;
}

.intro-principles[data-active-step="1"] {
  grid-template-columns: 0.82fr 1.42fr 0.82fr;
}

.intro-principles[data-active-step="2"] {
  grid-template-columns: 0.82fr 0.82fr 1.42fr;
}

.intro-principle {
  position: relative;
  min-height: 178px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 22% 0%, rgba(155, 211, 157, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  opacity: 0.72;
  transform: scale(0.985);
  overflow: hidden;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    min-height 0.38s ease,
    box-shadow 0.38s ease,
    opacity 0.38s ease,
    transform 0.38s ease;
}

.intro-principle::before {
  content: attr(data-step-label);
  position: absolute;
  right: clamp(16px, 2vw, 30px);
  bottom: -0.22em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(4rem, 10vw, 8.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translate3d(16px, 18px, 0) scale(0.92);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
}

.intro-principle::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(155, 211, 157, 0.16) 48%, transparent 100%);
  opacity: 0;
  transform: translateX(-54%);
  transition:
    opacity 0.5s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.intro-principle:last-child {
  border-right: 0;
}

.intro-principle:hover {
  background:
    radial-gradient(circle at 22% 0%, rgba(155, 211, 157, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));
  transform: translateY(-2px);
}

.intro-principle.is-after {
  opacity: 0.76;
}

.intro-principle.is-before {
  opacity: 0.82;
}

.intro-principle.is-active {
  min-height: 204px;
  opacity: 1;
  transform: translateY(-4px) scale(1);
  background:
    radial-gradient(circle at 20% 2%, rgba(155, 211, 157, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026));
  box-shadow:
    inset 0 0 0 1px rgba(155, 211, 157, 0.12),
    0 22px 70px rgba(0, 0, 0, 0.22);
}

.intro-principle.is-active::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.intro-principle.is-active::after {
  opacity: 1;
  transform: translateX(42%);
}

.intro-principle span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  transition:
    color 0.35s ease,
    margin 0.35s ease,
    transform 0.35s ease;
}

.intro-principle-short {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(201, 255, 210, 0.98);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    0 18px 48px rgba(155, 211, 157, 0.22),
    0 0 22px rgba(179, 245, 190, 0.2);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: left center;
  transition:
    opacity 0.42s ease,
    max-height 0.42s ease,
    margin 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 4.4rem;
  overflow: hidden;
}

.intro-principle strong {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  font-weight: 800;
  line-height: 1.3;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.42s ease,
    max-height 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-principle p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.72;
  word-break: keep-all;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.46s ease 0.04s,
    max-height 0.46s ease,
    margin 0.46s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-principle.is-active span {
  margin-bottom: 20px;
  color: var(--gold);
}

.intro-principle.is-active .intro-principle-short {
  opacity: 0;
  max-height: 0;
  margin: 0;
  transform: translate3d(0, -10px, 0) scale(0.92);
}

.intro-principle.is-active strong {
  opacity: 1;
  max-height: 4.5rem;
  transform: translate3d(0, 0, 0);
}

.intro-principle.is-active p {
  opacity: 1;
  max-height: 8rem;
  margin-top: 14px;
  transform: translate3d(0, 0, 0);
}

.intro-layout h2,
.section-heading h2,
.about-layout h2,
.page-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.25vw, 4.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro-layout h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.intro-layout h2 span,
.intro-lead span {
  display: block;
}

.intro-layout h2 span + span {
  margin-top: 0.1em;
}

.intro-lead span + span {
  margin-top: 0.32rem;
}

.about-layout h2 span {
  display: block;
}

.intro-lead,
.section-heading p,
.about-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  text-wrap: pretty;
}

.intro-lead {
  margin-top: clamp(22px, 3vw, 34px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 18px clamp(28px, 5vw, 76px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.section-heading p {
  max-width: 560px;
  padding-top: 0.5rem;
  justify-self: end;
}

.service-title span {
  display: block;
}

.service-title strong {
  color: var(--sage-soft);
  font-weight: 800;
  text-shadow: 0 0 30px rgba(201, 174, 105, 0.18);
}

#services .section-heading p {
  text-align: right;
}

.portfolio {
  background: transparent;
}

.portfolio-feature {
  --tilt-x: 0;
  --tilt-y: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: stretch;
  transform:
    perspective(1200px)
    rotateX(calc(var(--tilt-y) * -1.2deg))
    rotateY(calc(var(--tilt-x) * 1.6deg));
  transition: transform 0.25s ease;
}

.portfolio-feature-compact {
  align-items: center;
}

.portfolio-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(7, 9, 8, 0.08), rgba(7, 9, 8, 0.3)),
    url("./assets/showreel-poster.svg") center / cover,
    var(--night);
  box-shadow: var(--shadow);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.02);
  transition:
    opacity 0.3s ease,
    transform 0.5s ease;
}

.portfolio-thumb:hover img,
.portfolio-thumb:focus-visible img {
  opacity: 1;
  transform: scale(1.07);
}

.portfolio-video-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.portfolio-video.is-playing .portfolio-video-frame {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-video.is-playing img {
  opacity: 0;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.22), transparent 34%),
    rgba(19, 121, 68, 0.84);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-video.is-playing .play-badge {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  pointer-events: none;
}

.play-badge::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 23px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--white);
}

.portfolio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 174, 105, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.12), rgba(246, 243, 232, 0.045));
  min-width: 0;
  color: var(--white);
  backdrop-filter: blur(18px);
}

.portfolio-copy h3,
.service-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
}

.portfolio-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.project-specs {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.portfolio-link {
  width: fit-content;
  margin-top: 26px;
}

.portfolio-page {
  padding-top: 112px;
}

.portfolio-page-hero {
  min-height: 58svh;
  display: grid;
  align-items: end;
}

.portfolio-page-hero .section-heading {
  margin-bottom: 0;
}

.portfolio-directory {
  padding-top: 0;
}

.portfolio-showreel-card {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.portfolio-showreel-card .project-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  min-height: 320px;
}

.portfolio-showreel-card .project-card > img,
.portfolio-showreel-card .project-card > .portfolio-fallback-thumb {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.portfolio-showreel-card .project-card-body {
  align-content: center;
}

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

.project-card {
  --tilt-x: 0;
  --tilt-y: 0;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: block;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(201, 174, 105, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.11), rgba(246, 243, 232, 0.035));
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.24);
  transform:
    perspective(1100px)
    rotateX(calc(var(--tilt-y) * -1.5deg))
    rotateY(calc(var(--tilt-x) * 2deg));
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.project-card:hover {
  border-color: rgba(201, 174, 105, 0.34);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.94;
  filter: saturate(0.98) contrast(1.08) brightness(1.08);
  transition:
    opacity 0.3s ease,
    transform 0.55s ease;
}

.project-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.portfolio-fallback-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 210px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(155, 211, 157, 0.24), transparent 34%),
    radial-gradient(circle at 78% 62%, rgba(201, 174, 105, 0.18), transparent 28%),
    url("./assets/showreel-poster.svg") center / cover,
    var(--night);
  transition: transform 0.55s ease;
}

.portfolio-fallback-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.04), rgba(7, 9, 8, 0.4)),
    repeating-linear-gradient(90deg, rgba(229, 231, 220, 0.08) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.portfolio-fallback-emblem {
  position: relative;
  z-index: 1;
  width: clamp(82px, 9vw, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 174, 105, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 36%, rgba(246, 243, 232, 0.18), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(155, 211, 157, 0.2), rgba(7, 9, 8, 0.1) 58%, transparent 68%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 42px rgba(155, 211, 157, 0.14);
  transition:
    border-color 0.35s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.portfolio-fallback-emblem::before,
.portfolio-fallback-emblem::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.portfolio-fallback-emblem::before {
  inset: 24%;
  border-left: 7px solid rgba(155, 211, 157, 0.74);
  border-bottom: 7px solid rgba(201, 174, 105, 0.58);
  transform: rotate(34deg) skew(-8deg);
  transform-origin: center;
}

.portfolio-fallback-emblem::after {
  top: 22%;
  right: 19%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(201, 174, 105, 0.72);
  box-shadow: 0 0 22px rgba(201, 174, 105, 0.34);
}

.project-card:hover .portfolio-fallback-thumb {
  transform: scale(1.03);
}

.project-card:hover .portfolio-fallback-emblem {
  border-color: rgba(155, 211, 157, 0.62);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.42),
    inset 0 0 48px rgba(155, 211, 157, 0.2);
  transform: rotate(-4deg) scale(1.04);
}

.project-card-body {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
}

.project-card .project-type {
  margin-bottom: 0;
  color: var(--gold);
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.14;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.project-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(229, 231, 220, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
}

.portfolio-detail-page {
  padding-top: 112px;
}

.portfolio-detail-hero {
  padding: clamp(42px, 6vw, 78px) 22px clamp(22px, 4vw, 46px);
  display: grid;
  align-items: center;
}

.portfolio-detail-section {
  padding-top: clamp(18px, 3vw, 44px);
}

.portfolio-detail-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(30px, 5.4vw, 78px);
  align-items: center;
}

.back-link {
  grid-column: 1 / -1;
  width: fit-content;
  color: rgba(229, 231, 220, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.back-link::before {
  content: "< ";
  color: var(--gold);
}

.detail-heading {
  display: grid;
  align-content: center;
}

.detail-heading > p:not(.section-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.detail-heading .page-title {
  max-width: 780px;
}

.detail-heading .page-title::after {
  content: "";
  display: block;
  width: min(160px, 36vw);
  height: 2px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--gold), rgba(155, 211, 157, 0.24));
}

.detail-heading .project-meta {
  margin-top: 28px;
}

.detail-case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.detail-case-meta span,
.detail-case-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-case-meta span {
  border: 1px solid rgba(201, 174, 105, 0.36);
  color: var(--gold);
}

.detail-case-meta a {
  border: 1px solid rgba(155, 211, 157, 0.28);
  color: var(--green-bright);
}

.detail-visual {
  --tilt-x: 0;
  --tilt-y: 0;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(246, 243, 232, 0.05);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
  transform:
    perspective(1100px)
    rotateX(calc(var(--tilt-y) * -1deg))
    rotateY(calc(var(--tilt-x) * 1.2deg));
  transition:
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.detail-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(201, 174, 105, 0.16), transparent 32%),
    linear-gradient(180deg, transparent 46%, rgba(7, 9, 8, 0.26)),
    linear-gradient(90deg, rgba(201, 174, 105, 0.06), transparent 42%);
}

.detail-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.98) contrast(1.08) brightness(1.08);
  transition:
    filter 0.28s ease,
    transform 0.52s ease;
}

.detail-visual:hover,
.detail-visual:focus-within {
  border-color: rgba(201, 174, 105, 0.38);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.38);
}

.detail-visual:hover img,
.detail-visual:focus-within img {
  transform: scale(1.025);
}

.detail-visual-fallback img {
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.14) brightness(1.22);
}

.detail-visual-fallback::before {
  content: "C-Art";
  position: absolute;
  left: clamp(24px, 4vw, 52px);
  bottom: clamp(28px, 4vw, 56px);
  z-index: 2;
  color: rgba(246, 243, 232, 0.96);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-shadow: 0 20px 58px rgba(0, 0, 0, 0.48);
}

.detail-visual-collage > img[data-detail-image] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.detail-preview-collage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 7px;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 7px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(155, 211, 157, 0.12), transparent 32%),
    rgba(7, 9, 8, 0.34);
}

.detail-preview-collage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.95) contrast(1.08) brightness(0.9);
  transition:
    opacity 0.24s ease,
    transform 0.42s ease,
    filter 0.24s ease;
}

.detail-preview-collage img:nth-child(3n + 1) {
  filter: saturate(1.02) contrast(1.08) brightness(0.96);
}

.detail-preview-collage img:nth-child(4n) {
  filter: saturate(0.92) contrast(1.16) brightness(0.84);
}

.detail-visual-collage:hover img,
.detail-visual-collage:focus-within img {
  transform: none;
}

.detail-visual-collage:hover .detail-preview-collage img,
.detail-visual-collage:focus-within .detail-preview-collage img {
  opacity: 0.96;
  transform: scale(1.025);
}

.detail-insight-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.detail-panel {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 174, 105, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.1), rgba(246, 243, 232, 0.034));
  transform:
    perspective(1100px)
    rotateX(calc(var(--tilt-y, 0) * -0.7deg))
    rotateY(calc(var(--tilt-x, 0) * 0.9deg));
  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    transform 0.24s ease;
}

.detail-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(155, 211, 157, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(201, 174, 105, 0.08), transparent 42%);
  transition: opacity 0.24s ease;
}

.detail-panel-feature {
  background:
    radial-gradient(circle at 12% 0%, rgba(155, 211, 157, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.1), rgba(246, 243, 232, 0.034));
}

.detail-panel:hover,
.detail-panel:focus-within {
  border-color: rgba(155, 211, 157, 0.34);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(155, 211, 157, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.12), rgba(246, 243, 232, 0.044));
}

.detail-panel:hover::before,
.detail-panel:focus-within::before {
  opacity: 1;
}

.detail-panel:focus-visible {
  outline: 2px solid rgba(155, 211, 157, 0.58);
  outline-offset: 4px;
}

.detail-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.12;
}

.detail-panel p:not(.section-kicker) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.72;
}

.detail-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.68);
}

.detail-project-list {
  display: grid;
  gap: 22px;
}

.detail-empty-panel {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 174, 105, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.095), rgba(246, 243, 232, 0.032));
}

.detail-empty-panel h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.detail-empty-panel p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.detail-empty-panel code {
  color: var(--green-bright);
  word-break: break-all;
}

.detail-project-card {
  --tilt-x: 0;
  --tilt-y: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(240px, 0.52fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(201, 174, 105, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.095), rgba(246, 243, 232, 0.032));
  transform:
    perspective(1100px)
    rotateX(calc(var(--tilt-y) * -1.2deg))
    rotateY(calc(var(--tilt-x) * 1.5deg));
  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    transform 0.24s ease;
}

.detail-project-card:hover {
  border-color: rgba(201, 174, 105, 0.28);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(201, 174, 105, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.12), rgba(246, 243, 232, 0.042));
}

.detail-project-card.is-playing {
  border-color: rgba(229, 231, 220, 0.18);
  background: linear-gradient(135deg, rgba(7, 9, 8, 0.82), rgba(19, 24, 18, 0.62));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  transform: none;
}

.detail-project-card.is-playing:hover {
  border-color: rgba(229, 231, 220, 0.22);
  background: linear-gradient(135deg, rgba(7, 9, 8, 0.84), rgba(19, 24, 18, 0.66));
  transform: none;
}

.detail-project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: clamp(360px, 42vw, 620px);
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 9, 8, 0.08), rgba(7, 9, 8, 0.42)),
    url("./assets/showreel-poster.svg") center / cover,
    var(--night);
}

.detail-project-card.is-playing .detail-project-media {
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -36px 72px rgba(0, 0, 0, 0.22);
}

.detail-project-media img,
.detail-project-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-project-media img {
  opacity: 0.92;
  filter: saturate(0.98) contrast(1.08) brightness(1.08);
  transition:
    opacity 0.32s ease,
    transform 0.52s ease;
}

.portfolio-fallback-media::before {
  content: "C-Art";
  position: absolute;
  left: 28px;
  bottom: 44px;
  z-index: 2;
  color: rgba(246, 243, 232, 0.96);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 0.9;
  pointer-events: none;
}

.detail-project-video {
  z-index: 1;
  opacity: 0;
  border: 0;
  background: var(--night);
  transition: opacity 0.32s ease;
}

.detail-project-card.is-playing .detail-project-video {
  opacity: 1;
  background: #000;
}

.detail-project-card.is-playing .detail-project-media img {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
}

.detail-project-card.is-playing .portfolio-fallback-media::before {
  opacity: 0;
  visibility: hidden;
}

.detail-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(7, 9, 8, 0.58);
  color: var(--white);
  cursor: pointer;
  font-size: 0;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition:
    opacity 0.26s ease,
    transform 0.26s ease,
    background 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.detail-play-button::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(155, 211, 157, 0.2);
  border-radius: inherit;
  background: rgba(155, 211, 157, 0.08);
  opacity: 0.72;
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.detail-play-icon {
  display: block;
  width: 27px;
  height: 27px;
  margin-left: 3px;
  fill: currentColor;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.detail-play-button:hover::before,
.detail-play-button:focus-visible::before {
  opacity: 0.95;
  transform: scale(1.08);
}

.detail-play-button:hover,
.detail-play-button:focus-visible {
  border-color: rgba(155, 211, 157, 0.78);
  background: rgba(19, 121, 68, 0.86);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.38),
    0 0 0 8px rgba(19, 121, 68, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%) scale(1.03);
}

.detail-project-card.is-playing .detail-play-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
}

.detail-project-card.is-playing .detail-project-body {
  opacity: 0.58;
  background: linear-gradient(145deg, rgba(7, 9, 8, 0.1), rgba(246, 243, 232, 0.026));
}

.detail-project-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 34px);
}

.detail-project-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.75vw, 1.9rem);
  line-height: 1.12;
}

.detail-project-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  line-height: 1.62;
}

.detail-project-workflow {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
}

.detail-project-workflow div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.detail-project-workflow dt {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-project-workflow dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.project-specs div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.spec-label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-specs span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.services {
  background: transparent;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card {
  --tilt-x: 0;
  --tilt-y: 0;
  --service-card-image: url("./assets/showreel-thumbnail.jpg");
  --service-card-position: center;
  --service-card-size: contain;
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(145deg, rgba(246, 243, 232, 0.095), rgba(246, 243, 232, 0.032));
  color: var(--white);
  transform:
    perspective(900px)
    rotateX(calc(var(--tilt-y) * -3deg))
    rotateY(calc(var(--tilt-x) * 4deg));
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}

.service-card > * {
  position: relative;
  z-index: 2;
  transition:
    color 0.26s ease,
    opacity 0.26s ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.72s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.86s ease;
}

.service-card::before {
  opacity: 0.08;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.02), rgba(13, 17, 16, 0.66)),
    var(--service-card-image) var(--service-card-position) / var(--service-card-size) no-repeat;
  transform: scale(1.1) translate3d(0, 0, 0);
  filter: saturate(0.9) contrast(1.02) brightness(0.86);
}

.service-card:nth-child(1) {
  --service-card-image: url("./assets/previews/commercial-brand.jpg");
  --service-card-position: center;
}

.service-card:nth-child(2) {
  --service-card-image: url("./assets/previews/promotion-institution.jpg");
  --service-card-position: center;
}

.service-card:nth-child(3) {
  --service-card-image: url("./assets/previews/institution.jpg");
  --service-card-position: center;
}

.service-card:nth-child(4) {
  --service-card-image: url("./assets/previews/wedding.jpg");
  --service-card-position: center;
}

.service-card:nth-child(5) {
  --service-card-image: url("./assets/previews/live-concert.jpg");
  --service-card-position: center;
}

.service-card:nth-child(6) {
  --service-card-image: url("./assets/previews/sketch.jpg");
  --service-card-position: center;
}

.service-card:nth-child(7) {
  --service-card-image: url("./assets/previews/documentary-interview.jpg");
  --service-card-position: center;
}

.service-card:nth-child(8) {
  --service-card-image: url("./assets/previews/webdrama-film.jpg");
  --service-card-position: center;
}

.service-card:nth-child(9) {
  --service-card-image: url("./assets/previews/performance.jpg");
  --service-card-position: center;
}

.service-card:nth-child(10) {
  --service-card-image: url("./assets/previews/youtube.jpg");
  --service-card-position: center;
}

.service-card:nth-child(11) {
  --service-card-image: url("./assets/previews/cover-video.jpg");
  --service-card-position: center;
}

.service-card:nth-child(12) {
  --service-card-image: url("./assets/previews/shortform.jpg");
  --service-card-position: center;
}

.service-card:nth-child(12)::before,
.service-card:nth-child(12)::after {
  inset: 0;
  opacity: 0.16;
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04) brightness(0.98);
  mix-blend-mode: normal;
}

.service-card:nth-child(12)::before {
  right: 50%;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.12), rgba(13, 17, 16, 0.58)),
    url("./assets/previews/shortform.jpg") center / cover no-repeat;
  transform-origin: right center;
}

.service-card::after {
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(201, 174, 105, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(155, 211, 157, 0.13), transparent 56%);
  mix-blend-mode: screen;
}

.service-card:nth-child(12)::after {
  left: 50%;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.12), rgba(13, 17, 16, 0.58)),
    url("./assets/previews/shortform-alt.jpg") center / cover no-repeat;
  mix-blend-mode: normal;
  transform-origin: left center;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-mobile-preview {
  border-color: rgba(179, 245, 190, 0.28);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(201, 174, 105, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.14), rgba(246, 243, 232, 0.045));
  color: var(--white);
  transform:
    perspective(900px)
    translateY(-3px)
    rotateX(calc(var(--tilt-y) * -3deg))
    rotateY(calc(var(--tilt-x) * 4deg));
}

.service-card:hover::before,
.service-card:focus-visible::before,
.service-card.is-mobile-preview::before {
  opacity: 0.92;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.01), rgba(13, 17, 16, 0.24)),
    var(--service-card-image) var(--service-card-position) / var(--service-card-size) no-repeat;
  transform:
    scale(1.035)
    translate3d(-1.2%, -0.8%, 0);
  filter: saturate(1.38) contrast(1.12) brightness(1.13);
}

.service-card:hover::after,
.service-card:focus-visible::after,
.service-card.is-mobile-preview::after {
  opacity: 0.38;
}

.service-card:nth-child(12):hover::before,
.service-card:nth-child(12):focus-visible::before,
.service-card:nth-child(12).is-mobile-preview::before {
  opacity: 0.92;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.01), rgba(13, 17, 16, 0.22)),
    url("./assets/previews/shortform.jpg") center / cover no-repeat;
  transform: translateX(-5%) scale(1.035);
  filter: saturate(1.34) contrast(1.12) brightness(1.12);
}

.service-card:nth-child(12):hover::after,
.service-card:nth-child(12):focus-visible::after,
.service-card:nth-child(12).is-mobile-preview::after {
  opacity: 0.92;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.01), rgba(13, 17, 16, 0.22)),
    url("./assets/previews/shortform-alt.jpg") center / cover no-repeat;
  transform: translateX(5%) scale(1.035);
  filter: saturate(1.34) contrast(1.12) brightness(1.12);
}

.service-card:hover p,
.service-card:hover .service-index,
.service-card:focus-visible p,
.service-card:focus-visible .service-index,
.service-card.is-mobile-preview p,
.service-card.is-mobile-preview .service-index {
  color: rgba(255, 255, 255, 0.68);
}

.service-index {
  display: block;
  margin-bottom: 44px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.service-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.service-card h3 {
  position: relative;
  transition:
    color 0.36s ease,
    text-shadow 0.36s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-bright), transparent);
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: left;
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.service-card:hover h3,
.service-card:focus-visible h3,
.service-card.is-mobile-preview h3 {
  color: #f3f6dc;
  text-shadow:
    0 1px 18px rgba(7, 9, 8, 0.82),
    0 0 28px rgba(201, 174, 105, 0.26);
  transform: translateY(clamp(18px, 2.4vw, 28px));
}

.service-card:hover h3::after,
.service-card:focus-visible h3::after,
.service-card.is-mobile-preview h3::after {
  opacity: 1;
  transform: scaleX(1);
}

.about {
  background: transparent;
  overflow: hidden;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  inset: 6% 0 auto 0;
  height: 72%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(155, 211, 157, 0.1), transparent 30rem),
    radial-gradient(circle at 78% 42%, rgba(201, 174, 105, 0.08), transparent 28rem);
  opacity: 0.84;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.86fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: stretch;
}

.about-layout h2 {
  max-width: 600px;
}

.about-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
  justify-self: end;
  padding-top: 0.7rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.values span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(229, 231, 220, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.team {
  background: transparent;
}

.team-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 18px clamp(28px, 5vw, 76px);
  align-items: end;
}

.team-heading .section-kicker {
  grid-column: 1 / -1;
}

.team-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

.team-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
}

.member-card {
  --tilt-x: 0;
  --tilt-y: 0;
  --spot-x: 50%;
  --spot-y: 50%;
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: clamp(20px, 3.6vw, 44px);
  align-items: stretch;
  min-height: clamp(460px, 43vw, 560px);
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(201, 174, 105, 0.09), transparent 38%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.105), rgba(246, 243, 232, 0.035));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  transform:
    perspective(1200px)
    rotateX(calc(var(--tilt-y) * -1.8deg))
    rotateY(calc(var(--tilt-x) * 2.4deg));
  transition: transform 0.25s ease;
  overflow: hidden;
}

.team-showcase {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.team-feature {
  position: relative;
  min-height: clamp(460px, 43vw, 560px);
  isolation: isolate;
  overflow: visible;
}

.team-feature .member-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(0, 48px, 0)
    scale(0.965)
    perspective(1200px)
    rotateX(calc(var(--tilt-y) * -1.2deg))
    rotateY(calc(var(--tilt-x) * 1.6deg));
  transition:
    opacity 0.42s ease,
    transform 0.64s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.team-feature .member-card.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(179, 245, 190, 0.24);
  box-shadow: 0 36px 92px rgba(0, 0, 0, 0.32);
  transform:
    translate3d(0, 0, 0)
    scale(1)
    perspective(1200px)
    rotateX(calc(var(--tilt-y) * -1.2deg))
    rotateY(calc(var(--tilt-x) * 1.6deg));
}

.team-selector {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at calc(var(--pointer-x, 0.5) * 100%) calc(var(--pointer-y, 0.5) * 100%), rgba(155, 211, 157, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.05), rgba(7, 13, 9, 0.58));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 211, 157, 0.34) rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.team-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 16px clamp(14px, 2vw, 20px);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--radius) - 4px);
  color: inherit;
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    background 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.team-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 16%, rgba(179, 245, 190, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(201, 174, 105, 0.08), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-tab[data-team-target="0"] {
  --team-thumb-y: 14%;
}

.team-tab[data-team-target="1"] {
  --team-thumb-y: 18%;
}

.team-tab[data-team-target="2"] {
  --team-thumb-y: 14%;
  --team-thumb-shift-x: -5%;
}

.team-tab:hover,
.team-tab:focus-visible,
.team-tab.is-active {
  border-color: rgba(179, 245, 190, 0.24);
  background: linear-gradient(135deg, rgba(179, 245, 190, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 0 0 1px rgba(179, 245, 190, 0.12), 0 12px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.team-tab:hover::before,
.team-tab:focus-visible::before,
.team-tab.is-active::before {
  opacity: 1;
}

.team-tab-index {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.team-tab img {
  position: relative;
  z-index: 1;
  width: 58px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center var(--team-thumb-y, 18%);
  background: rgba(230, 237, 228, 0.82);
  transform: translateX(var(--team-thumb-shift-x, 0)) scale(1);
  opacity: 0.84;
  filter: saturate(0.82) contrast(1.03);
  transition:
    opacity 0.34s ease,
    filter 0.34s ease,
    transform 0.34s ease;
}

.team-tab:hover img,
.team-tab:focus-visible img,
.team-tab.is-active img {
  opacity: 1;
  filter: saturate(1.03) contrast(1.08);
  transform: translateX(var(--team-thumb-shift-x, 0)) scale(1.06);
}

.team-tab-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.team-tab-copy small {
  color: rgba(201, 174, 105, 0.95);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-tab-copy strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1;
}

.member-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(7, 9, 8, 0.34)),
    linear-gradient(90deg, rgba(201, 174, 105, 0.12), transparent 36%);
  pointer-events: none;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--member-photo-y, 24%);
  filter: saturate(0.94) contrast(1.04);
  transform: translate(var(--member-photo-shift-x, 0), var(--member-photo-shift-y, 0)) scale(var(--member-photo-scale, 1));
  transform-origin: center center;
}

.member-photo-portrait img {
  object-fit: cover;
  object-position: center var(--member-photo-y, 24%);
  background: rgba(230, 237, 228, 0.82);
}

.member-card[data-team-member="0"] {
  --member-photo-y: 20%;
}

.member-card[data-team-member="1"] {
  --member-photo-y: 24%;
}

.member-card[data-team-member="2"] {
  --member-photo-y: 22%;
  --member-photo-shift-x: -2.5%;
  --member-photo-shift-y: 2%;
  --member-photo-scale: 1.035;
}

.member-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6px, 2.4vw, 30px);
}

.member-role {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.member-profile h3 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  font-weight: 500;
  line-height: 0.95;
}

.member-profile > p:not(.member-role) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.member-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(229, 231, 220, 0.9);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 800;
}

.member-credits {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.member-credits strong {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.member-credits ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.66);
}

.process-band {
  background: transparent;
  color: var(--white);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at calc(var(--pointer-x, 0.5) * 100%) calc(var(--pointer-y, 0.5) * 100%), rgba(201, 174, 105, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.035), rgba(246, 243, 232, 0.012));
}

.process-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  z-index: -1;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(155, 211, 157, 0.36), rgba(201, 174, 105, 0.45), transparent);
  box-shadow: 0 0 28px rgba(155, 211, 157, 0.12);
  transform: translateY(-50%);
}

.process-grid::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  z-index: -1;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(155, 211, 157, 0.82), rgba(201, 174, 105, 0.72), transparent);
  opacity: 0;
  box-shadow: 0 0 34px rgba(155, 211, 157, 0.22);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition:
    opacity 0.36s ease,
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-grid:hover::after,
.process-grid:focus-within::after {
  opacity: 0.95;
  transform: translateY(-50%) scaleX(1);
}

.process-item {
  --tilt-x: 0;
  --tilt-y: 0;
  position: relative;
  min-height: 210px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(246, 243, 232, 0.075), rgba(246, 243, 232, 0.025));
  transform:
    perspective(900px)
    rotateX(calc(var(--tilt-y) * -2.4deg))
    rotateY(calc(var(--tilt-x) * 3deg));
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}

.process-item::before {
  content: attr(data-cart-letter);
  position: absolute;
  right: clamp(12px, 2.6vw, 30px);
  bottom: -0.18em;
  z-index: 0;
  color: rgba(155, 211, 157, 0.08);
  font-size: clamp(6.2rem, 11vw, 10rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.06em;
  opacity: 0.78;
  transform: translate3d(0, 14px, 0) scale(0.96);
  transition:
    color 0.7s ease,
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-item:hover {
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(201, 174, 105, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.11), rgba(246, 243, 232, 0.035));
  transform:
    perspective(900px)
    translateY(-3px)
    rotateX(calc(var(--tilt-y) * -2.4deg))
    rotateY(calc(var(--tilt-x) * 3deg));
}

.process-item:hover::before {
  color: rgba(201, 174, 105, 0.14);
  opacity: 1;
  transform: translate3d(-4px, 4px, 0) scale(1.04);
}

.process-item i {
  position: absolute;
  right: clamp(20px, 3vw, 34px);
  top: clamp(22px, 3vw, 32px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow:
    0 0 0 8px rgba(155, 211, 157, 0.08),
    0 0 32px rgba(155, 211, 157, 0.36);
  opacity: 0.64;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.process-item:hover i {
  opacity: 1;
  transform: scale(1.25);
  box-shadow:
    0 0 0 12px rgba(155, 211, 157, 0.1),
    0 0 42px rgba(201, 174, 105, 0.34);
}

.process-item > span,
.process-item strong,
.process-item p,
.process-item i {
  z-index: 1;
}

.process-item > span {
  position: relative;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.process-item strong {
  position: relative;
  display: block;
  margin-top: 42px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
}

.process-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.01em;
  letter-spacing: -0.025em;
}

.brand-letter {
  position: relative;
  display: inline-block;
  color: var(--green-bright);
  text-shadow: 0 0 24px rgba(155, 211, 157, 0.42);
  transform: translateY(-0.03em);
  transition:
    color 0.42s ease,
    text-shadow 0.42s ease,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-letter::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  width: 0.46em;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
  opacity: 0.74;
  transform: translateX(-50%) scaleX(0.76);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
}

.process-item:hover .brand-letter {
  color: var(--gold);
  text-shadow: 0 0 32px rgba(201, 174, 105, 0.44);
  transform: translateY(-0.09em) scale(1.08);
}

.process-item:hover .brand-letter::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1.32);
}

.process-item p {
  position: relative;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.contact {
  background: transparent;
}


.contact-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(420px, 0.9fr);
  gap: clamp(18px, 2.8vw, 42px);
  align-items: stretch;
}

.contact-card {
  --tilt-x: 0;
  --tilt-y: 0;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  top: auto;
  height: 100%;
  min-height: 420px;
  perspective: 1200px;
}

.contact-card-face {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(155, 211, 157, 0.24);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(155, 211, 157, 0.16), transparent 30%),
    radial-gradient(circle at 8% 0%, rgba(201, 174, 105, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(16, 34, 31, 0.97), rgba(8, 20, 22, 0.95) 48%, rgba(22, 40, 35, 0.9) 100%);
  color: var(--white);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform:
    rotateX(calc(var(--tilt-y) * -3deg))
    rotateY(calc(var(--tilt-x) * 4deg));
  transition: transform 0.25s ease;
}

.contact-card-face::before {
  content: "C-Art";
  position: absolute;
  right: clamp(18px, 5vw, 54px);
  top: clamp(18px, 4vw, 44px);
  color: rgba(232, 242, 234, 0.055);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 300;
  line-height: 1;
}

.contact-card-face::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 174, 105, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 211, 157, 0.1), transparent 62%);
}

.contact-card h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  font-weight: 760;
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: 0;
}

.contact-card h2 span {
  display: block;
}

.contact-card p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 18px 0 0;
  padding-bottom: clamp(12px, 1.4vw, 20px);
  color: rgba(232, 242, 234, 0.74);
  font-size: clamp(0.94rem, 1.02vw, 1rem);
  line-height: 1.56;
  word-break: keep-all;
}

address {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-style: normal;
  font-weight: 700;
}

address span,
address a {
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.contact-form {
  --tilt-x: 0;
  --tilt-y: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: stretch;
  min-height: 0;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(155, 211, 157, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(155, 211, 157, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(20, 42, 38, 0.82), rgba(20, 34, 32, 0.54));
  color: var(--white);
  backdrop-filter: blur(18px);
  transform:
    perspective(1100px)
    rotateX(calc(var(--tilt-y) * -1.6deg))
    rotateY(calc(var(--tilt-x) * 2.2deg));
  transition: transform 0.25s ease;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label:nth-child(n + 3),
.contact-form .form-button {
  grid-column: 1 / -1;
}

.contact-form span,
.contact-form-cf7 label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
}

.contact-form select {
  line-height: 1.2;
}

.contact-form option {
  background: var(--night);
  color: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 104px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(201, 174, 105, 0.14);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form.contact-form-cf7 {
  display: block;
}

.contact-form-cf7 .wpcf7,
.contact-form-cf7 .wpcf7-form {
  width: 100%;
}

.contact-form-cf7 .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  align-items: start;
}

.contact-form-cf7 p {
  display: grid;
  gap: 6px;
  margin: 0;
}

.contact-form-cf7 label {
  display: grid;
  gap: 6px;
}

.contact-form-cf7 .wpcf7-form p:nth-of-type(n + 5),
.contact-form-cf7 .wpcf7-response-output {
  grid-column: 1 / -1;
}

.contact-form-cf7 .wpcf7-form-control-wrap {
  display: block;
}

.contact-form-cf7 textarea {
  height: 116px;
  min-height: 116px;
  max-height: 180px;
}

.contact-form-cf7 .wpcf7-submit {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.contact-form-cf7 .wpcf7-spinner {
  margin: 0 0 0 8px;
}

.contact-form-cf7 .wpcf7-response-output {
  margin: 0;
  border-color: rgba(155, 211, 157, 0.36);
  color: rgba(255, 255, 255, 0.78);
}

.form-button {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 16% 0%, rgba(201, 174, 105, 0.06), transparent 28%),
    linear-gradient(180deg, #070908 0%, #050706 100%);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-brand-logo {
  width: clamp(128px, 12vw, 162px);
  opacity: 0.9;
}

.reveal {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity 0.7s ease,
    translate 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  translate: 0 0;
}

.portfolio-admin-page {
  padding-top: 112px;
}

.admin-hero {
  min-height: auto;
  padding: clamp(96px, 12vw, 150px) 0 clamp(42px, 7vw, 82px);
}

.admin-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.admin-hero-layout .page-title {
  max-width: 860px;
  margin-bottom: 20px;
}

.admin-hero-layout p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.admin-notice {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(155, 211, 157, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(246, 243, 232, 0.1), rgba(246, 243, 232, 0.04));
}

.admin-notice strong {
  color: var(--green-bright);
}

.admin-notice span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.admin-workspace {
  padding-top: 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: 22px;
  align-items: start;
}

.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(
      circle at var(--spot-x, 50%) var(--spot-y, 50%),
      rgba(201, 174, 105, 0.08),
      transparent 34%
    ),
    linear-gradient(145deg, rgba(246, 243, 232, 0.105), rgba(246, 243, 232, 0.035));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.admin-form {
  padding: clamp(22px, 3vw, 34px);
}

.admin-form-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

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

.admin-field.full {
  grid-column: 1 / -1;
}

.admin-field span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-field small {
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.6;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  padding: 14px 15px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.admin-field textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: rgba(155, 211, 157, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.admin-field input[type="file"] {
  padding: 12px;
}

.admin-preview {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--night);
}

.admin-preview span {
  display: block;
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-preview strong {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  word-break: break-all;
}

.admin-actions,
.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.admin-list-panel {
  position: sticky;
  top: 110px;
  padding: clamp(20px, 2.4vw, 28px);
}

.admin-guide {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(155, 211, 157, 0.18);
  border-radius: 16px;
  background: rgba(155, 211, 157, 0.06);
}

.admin-guide strong {
  color: var(--green-bright);
}

.admin-guide span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

.admin-project-list {
  display: grid;
  gap: 12px;
  max-height: 680px;
  overflow: auto;
  padding-right: 4px;
}

.admin-empty {
  color: rgba(255, 255, 255, 0.58);
}

.admin-project-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-project-item img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: var(--night);
}

.admin-project-item span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-project-item strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  line-height: 1.35;
}

.admin-project-item p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-project-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.admin-project-actions button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-project-actions button:hover {
  border-color: rgba(155, 211, 157, 0.45);
  color: var(--green-bright);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-card-face {
    min-height: auto;
  }
}

@media (max-width: 1120px) {
  .member-card {
    grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
    min-height: clamp(480px, 52vw, 600px);
  }

  .team-feature {
    min-height: clamp(480px, 52vw, 600px);
  }

  .team-selector {
    grid-auto-columns: minmax(210px, 1fr);
  }

  .team-tab {
    grid-template-columns: auto 56px minmax(0, 1fr);
    min-height: 94px;
  }

  .team-tab img {
    width: 56px;
  }
}

@media (max-width: 760px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label,
  .contact-form .form-button {
    grid-column: 1;
  }


  .intro-band[data-intro-story] {
    min-height: auto;
    padding: 72px 16px;
    overflow: hidden;
  }

  .intro-band[data-intro-story] .intro-layout {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 0;
    gap: 20px;
    align-content: start;
  }

  .intro-band[data-intro-story] .intro-layout::before {
    inset: -18px -14px;
    opacity: 0.78;
    transform: none;
  }

  .intro-copy {
    transform: none;
  }

  .intro-visual {
    width: 100%;
    min-height: clamp(280px, 72vw, 390px);
    opacity: 1;
    transform: none;
  }

  .intro-principles,
  .intro-principles[data-active-step] {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .intro-principle {
    min-height: 104px;
    opacity: 0.74;
    transform: none;
  }

  .intro-principle.is-active {
    min-height: 136px;
    opacity: 1;
    transform: translateY(-2px);
    background:
      radial-gradient(circle at 22% 22%, rgba(179, 245, 190, 0.16), transparent 34%),
      linear-gradient(135deg, rgba(246, 243, 232, 0.11), rgba(155, 211, 157, 0.08));
  }

  .service-card {
    cursor: pointer;
  }

  .service-card::before {
    opacity: 0.16;
  }

  .team-showcase {
    display: grid;
    gap: 14px;
  }

  .member-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
  }

  .member-photo {
    min-height: clamp(280px, 76vw, 420px);
  }

  .team-feature {
    min-height: 0;
    scroll-margin-top: 128px;
  }

  .team-feature .member-card {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    scroll-margin-top: 128px;
  }

  .team-feature .member-card.is-active {
    display: grid;
    transform: none;
  }

  .team-selector {
    position: relative;
    top: auto;
    z-index: 1;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 82vw);
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 13, 9, 0.78);
    backdrop-filter: blur(14px);
  }

  .team-tab {
    grid-template-columns: auto 54px minmax(0, 1fr);
    min-height: 92px;
    padding: 14px;
  }

  .team-tab:hover,
  .team-tab:focus-visible,
  .team-tab.is-active {
    transform: translateY(-2px);
  }

  .team-tab img {
    width: 54px;
  }
}

@media (max-width: 1120px) {
  html,
  body,
  .site-shell {
    overflow-x: visible;
    overflow-y: visible;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    width: min(calc(100% - 24px), var(--max));
    padding: 12px;
  }

  .site-header .brand-logo {
    width: clamp(126px, 20vw, 156px);
  }

  .header-action {
    justify-self: end;
  }

  .nav-links {
    justify-content: center;
    gap: clamp(16px, 3vw, 30px);
    overflow-x: auto;
    padding: 2px 2px 0;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-top: clamp(132px, 15vw, 168px);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 220px);
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-logo-image {
    width: clamp(260px, 48vw, 440px);
  }

  .scroll-cinema-copy {
    justify-items: start;
    text-align: left;
  }

  .scroll-cinema-copy h2 {
    max-width: min(760px, 82vw);
    font-size: clamp(2.1rem, 6vw, 5rem);
  }

  .section-heading,
  .about-layout,
  .team-heading {
    grid-template-columns: 1fr;
  }

  .section-heading p,
  #services .section-heading p,
  .team-heading p {
    justify-self: start;
    max-width: 760px;
    padding-top: 0;
    text-align: left;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "principles";
  }

  .intro-visual {
    min-height: 360px;
  }

  .about-copy {
    justify-self: start;
    max-width: 760px;
  }

  /* portfolio list should surface cards earlier on compact screens */
  .portfolio-page {
    padding-top: 96px;
  }

  .portfolio-page-hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 34px;
    align-items: end;
  }

  .portfolio-feature,
  .portfolio-showreel-card .project-card {
    grid-template-columns: 1fr;
  }

  .portfolio-showreel-card .project-card > img,
  .portfolio-showreel-card .project-card > .portfolio-fallback-thumb {
    height: auto;
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }

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

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

  .process-item {
    min-height: 180px;
  }

  .portfolio-detail-page {
    padding-top: 102px;
  }

  .portfolio-detail-hero {
    padding: 44px 16px 28px;
  }

  .portfolio-detail-case {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .portfolio-detail-case .back-link {
    order: 1;
  }

  .portfolio-detail-case .detail-heading {
    order: 2;
  }

  .portfolio-detail-case .detail-visual {
    order: 3;
  }

  .detail-visual img,
  .detail-preview-collage {
    aspect-ratio: 16 / 9;
  }

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

  .detail-panel {
    min-height: 0;
    padding: 28px;
  }

  .detail-panel-feature {
    grid-column: 1 / -1;
  }

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

  .detail-project-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
  }

  .site-header .brand-logo {
    width: clamp(116px, 35vw, 136px);
  }

  .header-action {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: auto;
    padding: 128px 16px 24px;
  }

  .hero::before {
    opacity: 0.52;
    background:
      linear-gradient(180deg, rgba(7, 9, 8, 0.44), rgba(7, 9, 8, 0.86)),
      linear-gradient(90deg, rgba(7, 9, 8, 0.9), rgba(7, 9, 8, 0.5));
  }

  .hero-video-bg::after {
    background:
      radial-gradient(circle at 72% 58%, rgba(7, 9, 8, 0.42), transparent 12rem),
      linear-gradient(180deg, rgba(7, 9, 8, 0.18), rgba(7, 9, 8, 0.88));
  }

  .hero-stage {
    min-height: calc(100svh - 196px);
    align-items: end;
  }

  .eyebrow,
  .section-kicker,
  .project-type {
    margin-bottom: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.28em;
  }

  .hero-logo-image {
    width: min(76vw, 310px);
  }

  .hero-line {
    margin-top: 22px;
    font-size: clamp(1.02rem, 5vw, 1.28rem);
    line-height: 1.36;
  }

  .hero-description {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.64;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .hero-meta {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .hero-meta::-webkit-scrollbar {
    display: none;
  }

  .hero-meta a {
    flex: 0 0 auto;
  }

  .scroll-cinema {
    height: min(220svh, 2200px);
    min-height: min(220svh, 2200px);
    overflow: visible;
  }

  .scroll-cinema-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    padding: 118px 16px 58px;
  }

  .scroll-cinema-copy h2 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3.35rem);
    line-height: 1.05;
  }

  .scroll-cinema-note {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .section,
  .process-band {
    padding: 64px 16px;
  }

  .section-heading,
  .team-heading {
    gap: 12px;
    margin-bottom: 28px;
  }

  .intro-layout h2,
  .section-heading h2,
  .about-layout h2,
  .team-heading h2,
  .page-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.1;
  }

  .section-heading p,
  .about-copy p,
  .team-heading p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .portfolio-feature {
    gap: 14px;
  }

  .portfolio-copy {
    padding: 20px;
  }

  .portfolio-copy h3,
  .service-card h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

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

  .project-card {
    min-height: 360px;
  }

  .portfolio-showreel-card .project-card {
    min-height: auto;
  }

  .portfolio-showreel-card .project-card > img,
  .portfolio-showreel-card .project-card > .portfolio-fallback-thumb {
    min-height: 220px;
  }

  .service-grid {
    border-left: 0;
  }

  .service-card {
    min-height: 190px;
    padding: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .service-index {
    margin-bottom: 34px;
  }

  .process-item {
    min-height: 150px;
    padding: 20px;
  }

  .process-item strong {
    margin-top: 26px;
  }

  .process-item::before {
    font-size: clamp(5rem, 28vw, 7rem);
  }

  .member-profile h3 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .member-profile > p:not(.member-role),
  .member-credits ul {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .team-tab-copy small {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .contact-layout {
    gap: 14px;
  }

  .contact-card-face {
    padding: 24px 20px;
  }

  .contact-card h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

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

  .contact-form label,
  .contact-form .form-button,
  .contact-form-cf7 .wpcf7-form p,
  .contact-form-cf7 .wpcf7-response-output {
    grid-column: 1 / -1;
  }

  .site-footer {
    display: grid;
    justify-items: start;
    gap: 16px;
    padding: 28px 16px;
  }

  .site-footer p {
    line-height: 1.6;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-action {
    display: none;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }
}

/* Final mobile experience reset: small screens get their own layout, not a squeezed desktop. */
@media (max-width: 760px) {
  html,
  body,
  .site-shell {
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
  }

  body {
    min-width: 0;
  }

  .site-header {
    inset: max(10px, env(safe-area-inset-top)) 10px auto 10px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 8px 9px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border-radius: 15px;
    overflow: visible;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header .brand-logo {
    width: clamp(78px, 22vw, 92px);
    max-width: 92px;
  }

  .header-action {
    display: none;
  }

  .nav-links {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 0;
    font-size: clamp(0.42rem, 1.65vw, 0.5rem);
    line-height: 1;
    letter-spacing: 0.015em;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-width: auto;
    width: auto;
    padding: 7px 4px 6px;
    border: 1px solid rgba(229, 231, 220, 0.14);
    border-radius: 999px;
    background: rgba(246, 243, 232, 0.035);
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

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

  .nav-links a.active {
    border-color: rgba(155, 211, 157, 0.45);
    background: rgba(155, 211, 157, 0.1);
  }

  .hero {
    min-height: auto;
    padding: 92px 16px 30px;
  }

  .hero-stage {
    min-height: auto;
    align-items: end;
    padding-top: 8svh;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-logo-image {
    width: min(68vw, 244px);
  }

  .hero-line {
    font-size: clamp(1.05rem, 4.8vw, 1.28rem);
    line-height: 1.36;
  }

  .hero-description span {
    display: inline;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-meta {
    display: none;
  }

  /* mobile detail panels should read as stacked cards */

  /* mobile portfolio list should keep the first cards near the fold */
  .portfolio-page {
    padding-top: 76px;
  }

  .portfolio-page-hero {
    min-height: auto;
    padding: 34px 16px 22px;
  }

  .portfolio-page-hero .section-heading {
    gap: 12px;
  }

  .portfolio-page-hero .section-heading p span {
    display: inline;
  }

  .portfolio-directory {
    padding-top: 10px;
  }

  .portfolio-showreel-card {
    margin-bottom: 14px;
  }

  .portfolio-detail-page {
    padding-top: 92px;
  }

  .portfolio-detail-hero {
    padding: 32px 16px 18px;
  }

  .portfolio-detail-section,
  .portfolio-directory {
    padding-top: 28px;
  }

  .portfolio-detail-case {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-detail-case .back-link {
    order: 1;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .portfolio-detail-case .detail-heading {
    order: 2;
  }

  .portfolio-detail-case .detail-visual {
    order: 3;
  }

  .detail-heading > p:not(.section-kicker) {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .detail-heading .page-title::after {
    width: min(128px, 38vw);
    margin-top: 18px;
  }

  .detail-case-meta {
    gap: 8px;
    margin-top: 22px;
  }

  .detail-case-meta span,
  .detail-case-meta a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .detail-heading .project-meta {
    margin-top: 18px;
  }

  .detail-visual {
    border-radius: 14px;
  }

  .detail-preview-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
  }

  .detail-insight-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-panel,
  .detail-panel-feature {
    grid-column: auto;
    min-height: 0;
    padding: 20px;
    border-radius: 14px;
    transform: none !important;
  }

  .detail-panel .section-kicker {
    margin-bottom: 12px;
    letter-spacing: 0.18em;
  }

  .detail-panel h2 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.14;
    word-break: keep-all;
  }

  .detail-panel p:not(.section-kicker),
  .detail-panel ul {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .detail-panel ul {
    gap: 8px;
    padding-left: 1rem;
  }

  .detail-project-list {
    gap: 14px;
  }

  .detail-project-card {
    grid-template-columns: 1fr;
    border-radius: 14px;
    transform: none !important;
  }

  .detail-project-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .detail-project-body {
    padding: 18px;
  }

  .detail-project-body h3 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }


  .team-selector {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    scroll-snap-type: none;
    scrollbar-width: none;
    backdrop-filter: none;
  }

  .team-tab {
    grid-template-columns: auto 46px minmax(0, 1fr);
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    scroll-snap-align: unset;
  }

  .team-tab:hover,
  .team-tab:focus-visible,
  .team-tab.is-active {
    transform: none;
  }

  .team-tab img {
    width: 46px;
    border-radius: 8px;
  }

  .team-tab-copy {
    gap: 4px;
  }

  .team-tab-copy small {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .team-tab-copy strong {
    font-size: 1.02rem;
  }

  .scroll-cinema {
    height: min(200svh, 1600px);
    min-height: min(200svh, 1600px);
    overflow: visible;
  }

  .scroll-cinema-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    padding: max(112px, env(safe-area-inset-top)) 16px 58px;
    align-items: center;
  }

  .scroll-cinema-stage::before {
    background:
      linear-gradient(180deg, rgba(7, 9, 8, 0.24) 0%, rgba(7, 9, 8, 0.34) 42%, rgba(7, 9, 8, 0.82) 100%),
      linear-gradient(90deg, rgba(7, 9, 8, 0.74), rgba(7, 9, 8, 0.16));
  }

  .scroll-cinema-stage::after {
    opacity: 0.18;
    transform: translate3d(calc((var(--cinema-progress) - 0.5) * 7%), calc((0.5 - var(--cinema-progress)) * 2%), 0);
  }

  .scroll-cinema-media {
    inset: 0;
    filter: saturate(1.03) contrast(1.05) brightness(0.72);
    transform:
      translate3d(0, calc(var(--cinema-progress) * -2.5%), 0)
      scale(calc(1.045 - var(--cinema-progress) * 0.035));
  }

  .scroll-cinema-media img,
  .scroll-cinema-media video {
    object-position: center center;
  }

  .scroll-cinema-shards {
    display: none;
  }

  .scroll-cinema-progress {
    display: block;
    left: 16px;
    right: 16px;
    bottom: 28px;
  }

  .scroll-cinema-copy {
    width: 100%;
    padding: min(7svh, 58px) 0 0;
    justify-items: start;
    text-align: left;
    opacity: 1;
    transform: none;
  }

  .scroll-cinema-copy h2 {
    max-width: 100%;
    font-size: clamp(2.05rem, 8.6vw, 2.7rem);
    line-height: 1.12;
  }

  .scroll-cinema-copy h2 span {
    display: inline;
    opacity: 1;
    transform: none;
  }

  .scroll-cinema-copy h2 span + span::before {
    content: " ";
  }

  .scroll-cinema-note {
    max-width: 100%;
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 1;
    transform: none;
  }

  .section,
  .intro-band,
  .process-band {
    padding: 58px 16px;
  }

  .intro-band[data-intro-story] {
    min-height: auto !important;
    padding: 62px 16px !important;
    overflow: hidden !important;
  }

  .intro-band[data-intro-story] .intro-layout {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "principles";
    gap: 22px;
    align-content: start;
  }

  .intro-band[data-intro-story] .intro-layout::before {
    inset: -18px -14px;
    opacity: 0.68;
    transform: none !important;
  }

  .intro-copy {
    max-width: 100%;
    transform: none !important;
  }

  .intro-visual {
    display: none !important;
  }

  .intro-layout h2,
  .section-heading h2,
  .about-layout h2,
  .team-heading h2,
  .page-title {
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 1.12;
  }

  .intro-principles,
  .intro-principles[data-active-step] {
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin-top: 0;
    border: 0;
    overflow: visible;
  }

  .intro-principle,
  .intro-principle.is-active,
  .intro-principle.is-before,
  .intro-principle.is-after {
    min-height: 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    opacity: 1 !important;
    transform: none !important;
    background:
      radial-gradient(circle at 14% 12%, rgba(155, 211, 157, 0.1), transparent 34%),
      linear-gradient(135deg, rgba(246, 243, 232, 0.07), rgba(246, 243, 232, 0.018));
    box-shadow: none;
  }

  .intro-principle::before,
  .intro-principle::after {
    display: none !important;
  }

  .intro-principle span,
  .intro-principle.is-active span {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    transform: none;
  }

  .intro-principle-short,
  .intro-principle.is-active .intro-principle-short {
    opacity: 1 !important;
    max-height: none !important;
    margin: 0 0 8px !important;
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    line-height: 1.05;
    transform: none !important;
  }

  .intro-principle strong,
  .intro-principle.is-active strong {
    opacity: 1 !important;
    max-height: none !important;
    font-size: 1.05rem;
    transform: none !important;
  }

  .intro-principle p,
  .intro-principle.is-active p {
    opacity: 0.76 !important;
    max-height: none !important;
    margin-top: 8px;
    transform: none !important;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  .process-grid::before,
  .process-grid::after {
    display: none !important;
  }

  .process-item {
    min-height: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    transform: none !important;
  }

  .process-item::before {
    right: 10px;
    bottom: -0.14em;
    font-size: 4.2rem;
    opacity: 0.22;
    transform: none;
  }

  .process-item i {
    top: 18px;
    right: 18px;
    width: 8px;
    height: 8px;
  }

  .process-item strong {
    margin-top: 22px;
    font-size: 1.45rem;
  }

  .process-item p {
    font-size: 0.92rem;
    line-height: 1.62;
  }
}

@media (max-width: 420px) {
  .site-header {
    inset-inline: 10px;
    padding: 10px;
  }

  .site-header .brand-logo {
    width: clamp(78px, 22vw, 92px);
  }

  .nav-links {
    gap: 4px;
    font-size: clamp(0.42rem, 1.65vw, 0.5rem);
    letter-spacing: 0.015em;
  }

  .nav-links a {
    padding: 7px 3px;
  }

  .hero {
    padding-top: 92px;
  }

  .scroll-cinema-stage {
    height: 100dvh;
    min-height: 100svh;
  }

  .scroll-cinema-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
