:root {
  --bg: #eef0f4;
  --paper: #f7f8fb;
  --ink: #20212a;
  --muted: #747884;
  --line: rgba(32, 33, 42, 0.12);
  --accent: #c83f86;
  --cyan: #6db5c7;
  --dark: #101014;
  --dark-2: #1a1a20;
  --shadow-soft: 10px 10px 24px rgba(174, 181, 196, 0.42), -10px -10px 24px rgba(255, 255, 255, 0.88);
  --shadow-inset: inset 9px 9px 18px rgba(174, 181, 196, 0.46), inset -9px -9px 18px rgba(255, 255, 255, 0.95);
  --dark-inset: inset 8px 8px 16px rgba(0, 0, 0, 0.84), inset -7px -7px 14px rgba(63, 63, 72, 0.42);
  --serif: "Noto Serif JP", serif;
  --sans: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 63, 134, 0.11), transparent 27%),
    radial-gradient(circle at 90% 45%, rgba(109, 181, 199, 0.14), transparent 26%),
    linear-gradient(135deg, #f5f6f9 0%, var(--bg) 48%, #e7e9ee 100%);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.is-loading,
body.is-modal-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #111116;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.8s, opacity 0.8s;
  animation: loaderFailsafe 0.8s cubic-bezier(0.76, 0, 0.24, 1) 5s forwards;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.loader__logo {
  width: min(44vw, 380px);
}

.loader__sound {
  position: absolute;
  top: calc(50% + min(18vw, 168px));
  left: 50%;
  display: grid;
  gap: 10px;
  justify-items: center;
  width: min(420px, calc(100% - 40px));
  transform: translateX(-50%);
}

.sound-toggle {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sound-toggle[aria-pressed="true"] {
  border-color: rgba(200, 63, 134, 0.7);
  background: rgba(200, 63, 134, 0.34);
}

.loader__sound p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.loader__sound a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loader__bar {
  position: absolute;
  bottom: 9vh;
  width: min(350px, 58vw);
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #fff, var(--cyan));
  animation: loadBar 1.3s ease both;
}

.page-turn {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background: linear-gradient(100deg, var(--accent), #f6d8e8 50%, var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
}

.page-turn.is-active {
  animation: pageTurn 0.62s cubic-bezier(0.76, 0, 0.24, 1);
}

.cursor {
  position: fixed;
  z-index: 120;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor.is-visible {
  opacity: 0.75;
}

.cursor.is-large {
  width: 46px;
  height: 46px;
}

.prism-layer {
  position: fixed;
  inset: -14vh -14vw;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: normal;
  filter: blur(2px) saturate(1.48) brightness(1.1);
}

.prism-layer::before,
.prism-layer::after {
  content: "";
  position: absolute;
}

.prism-layer::before {
  inset: -10%;
  background:
    linear-gradient(116deg, transparent 12%, rgba(255, 255, 255, 0.86) 17%, rgba(187, 226, 255, 0.46) 20%, transparent 26%),
    linear-gradient(68deg, transparent 44%, rgba(176, 235, 255, 0.64) 50%, rgba(255, 188, 233, 0.54) 54%, transparent 62%),
    linear-gradient(152deg, transparent 62%, rgba(255, 255, 255, 0.82) 68%, rgba(198, 255, 246, 0.42) 71%, transparent 76%),
    radial-gradient(ellipse at 22% 28%, rgba(255, 255, 255, 0.86), transparent 22%),
    radial-gradient(ellipse at 78% 60%, rgba(172, 220, 255, 0.56), transparent 25%);
  opacity: 0.96;
  transform: translate3d(-4%, -2%, 0) rotate(-4deg);
  animation: prismDrift 17s ease-in-out infinite alternate;
}

.prism-layer::after {
  top: 6%;
  left: -32%;
  width: 56vw;
  height: 72vh;
  background:
    linear-gradient(105deg, transparent 12%, rgba(255, 255, 255, 0.94) 18%, rgba(205, 241, 255, 0.54) 22%, transparent 31%),
    linear-gradient(128deg, transparent 54%, rgba(255, 216, 245, 0.5) 60%, rgba(255, 255, 255, 0.78) 64%, transparent 72%);
  opacity: 0.58;
  filter: blur(7px) drop-shadow(0 0 18px rgba(255, 255, 255, 0.68));
  transform: rotate(-14deg);
  animation: prismGlint 13s cubic-bezier(0.45, 0, 0.28, 1) infinite;
}

.prism-layer span {
  position: absolute;
  left: -34vw;
  width: 54vw;
  height: 11vh;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.98) 34%,
    rgba(165, 220, 255, 0.7) 51%,
    rgba(242, 152, 218, 0.6) 66%,
    transparent 100%
  );
  opacity: 0.8;
  filter: blur(10px) drop-shadow(0 0 20px rgba(255, 255, 255, 0.54));
  transform: rotate(-17deg);
  animation: prismSweep 19s linear infinite, prismPulse 4.6s ease-in-out infinite alternate;
}

.prism-layer span:nth-child(1) {
  top: 18%;
  --prism-rotate: -17deg;
}

.prism-layer span:nth-child(2) {
  top: 48%;
  height: 8vh;
  opacity: 0.66;
  --prism-rotate: 13deg;
  transform: rotate(13deg);
  animation-delay: -7s, -1.8s;
}

.prism-layer span:nth-child(3) {
  top: 72%;
  height: 10vh;
  opacity: 0.56;
  --prism-rotate: -9deg;
  transform: rotate(-9deg);
  animation-delay: -13s, -3s;
}

.side-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 146px;
  padding: 34px 20px 28px;
  background: #f7f8fb;
  color: var(--ink);
  box-shadow: 16px 0 42px rgba(174, 181, 196, 0.34);
}

.side-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 28px;
  height: 28px;
  background: #f7f8fb;
  transform: translateY(-50%) rotate(45deg);
}

.side-nav__logo {
  display: grid;
  place-items: center;
  width: 118px;
  min-height: 128px;
  margin-bottom: 34px;
  overflow: visible;
}

.side-nav__logo picture,
.side-nav__logo img {
  display: block;
}

.side-nav__logo picture {
  width: 112px;
}

.side-nav__logo img {
  width: 112px;
  max-width: 100%;
  max-height: 138px;
  object-fit: contain;
  transform: none;
}

.side-nav__links {
  display: grid;
  gap: 16px;
  width: 100%;
}

.volume-control {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 132px;
  margin-bottom: 46px;
}

.volume-control__label {
  color: rgba(32, 33, 42, 0.58);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.volume-control__slider {
  position: relative;
  width: 108px;
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(125, 229, 224, 0.72) 0 var(--volume), rgba(238, 240, 244, 0.7) var(--volume) 100%),
    #eef0f4;
  box-shadow:
    inset 5px 5px 10px rgba(174, 181, 196, 0.48),
    inset -5px -5px 10px rgba(255, 255, 255, 0.98),
    6px 8px 18px rgba(174, 181, 196, 0.18);
}

.volume-control__value {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.46rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.volume-control input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.volume-control__slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--volume);
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f8f9fb;
  box-shadow:
    7px 7px 14px rgba(174, 181, 196, 0.42),
    -7px -7px 14px rgba(255, 255, 255, 0.96),
    inset 2px 2px 5px rgba(255, 255, 255, 0.72),
    inset -3px -3px 7px rgba(174, 181, 196, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.side-nav__links a {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(32, 33, 42, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-orb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef0f4;
  box-shadow: var(--shadow-inset);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.side-nav__links a:hover,
.side-nav__links a:focus-visible {
  color: var(--accent);
  transform: translateY(-3px);
}

.side-nav__links a:hover .nav-orb,
.side-nav__links a:focus-visible .nav-orb {
  color: var(--accent);
  background: #eef0f4;
  box-shadow: 9px 9px 18px rgba(174, 181, 196, 0.42), -9px -9px 18px rgba(255, 255, 255, 0.92);
}

.image-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 146px;
  z-index: 10;
  width: clamp(170px, 22vw, 360px);
  overflow: hidden;
  background: #e3fff7;
  box-shadow: inset -1px 0 rgba(0, 0, 0, 0.08);
}

.image-rail::before,
.image-rail::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 140px;
  pointer-events: none;
}

.image-rail::before {
  top: 0;
  background: linear-gradient(#eafff9, transparent);
}

.image-rail::after {
  bottom: 0;
  background: linear-gradient(transparent, #d9fbf3);
}

.image-rail__track {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  display: flex;
  gap: 18px;
  width: max-content;
  transform: translateX(var(--rail-shift, 0));
  transition: transform 0.22s linear;
}

.art-panel {
  position: relative;
  width: clamp(220px, 20vw, 320px);
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 239, 248, 0.74)),
    repeating-linear-gradient(90deg, rgba(200, 63, 134, 0.09) 0 1px, transparent 1px 28px);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.86), 0 16px 34px rgba(174, 181, 196, 0.22);
}

.art-panel::before,
.art-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 63, 134, 0.22);
  border-radius: 46% 54% 44% 56%;
  transform: rotate(-18deg);
}

.art-panel::before {
  width: 190px;
  height: 280px;
  top: 12%;
  left: 12%;
}

.art-panel::after {
  width: 120px;
  height: 420px;
  right: 8%;
  bottom: 5%;
  border-color: rgba(109, 181, 199, 0.24);
}

.art-panel--two {
  background:
    linear-gradient(145deg, rgba(239, 251, 255, 0.86), rgba(255, 246, 251, 0.74)),
    repeating-linear-gradient(135deg, rgba(109, 181, 199, 0.12) 0 1px, transparent 1px 34px);
}

.art-panel--three {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.86), rgba(238, 240, 244, 0.78)),
    repeating-linear-gradient(0deg, rgba(32, 33, 42, 0.07) 0 1px, transparent 1px 30px);
}

.art-panel--four {
  background:
    linear-gradient(150deg, rgba(255, 239, 248, 0.86), rgba(231, 255, 246, 0.72)),
    repeating-linear-gradient(120deg, rgba(200, 63, 134, 0.1) 0 1px, transparent 1px 26px);
}

.art-panel--five {
  background:
    linear-gradient(135deg, rgba(244, 245, 248, 0.88), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(90deg, rgba(32, 33, 42, 0.06) 0 1px, transparent 1px 24px);
}

.vertical-title {
  position: fixed;
  top: 50%;
  right: 12px;
  z-index: 0;
  display: block;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.3vw, 6.4rem);
  line-height: 0.82;
  color: rgba(32, 33, 42, 0.035);
  pointer-events: none;
}

.site-main {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - clamp(170px, 22vw, 360px) - 230px));
  margin: 0 72px 0 calc(146px + clamp(170px, 22vw, 360px) + 54px);
}

.works,
.about,
.info-section,
.career-story,
.message,
.contact,
.team-cta,
.contact-form-section,
.media-activity {
  padding: 74px 0;
}

.works {
  padding-top: 88px;
}

.label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.45;
}

p,
li {
  color: var(--muted);
  line-height: 1.9;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 36px;
}

.works-stage {
  display: grid;
  gap: 28px;
}

.work-group {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.work-group span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.54fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  min-height: 360px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  background: rgba(247, 248, 251, 0.78);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.9), 0 18px 42px rgba(179, 185, 198, 0.22);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.3s ease, transform 0.35s ease, border-color 0.3s ease;
}

.work-panel:hover,
.work-panel:focus-visible {
  border-color: rgba(200, 63, 134, 0.24);
  box-shadow: var(--shadow-inset);
  transform: translateY(-4px);
}

.work-panel__num {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(32, 33, 42, 0.08);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1;
}

.work-panel__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #e1e4eb;
  box-shadow: var(--shadow-inset);
}

.work-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.6s ease;
}

.work-panel:hover .work-panel__image img {
  transform: scale(1.055);
}

.work-panel__copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.work-panel__copy small {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-panel__copy h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.7vw, 3rem);
  line-height: 1.1;
}

.work-panel__copy p {
  margin-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.about__image {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.about__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about__text {
  padding: 8px 0;
}

.about__text h2 {
  max-width: 760px;
  font-size: clamp(1.9rem, 3.2vw, 3.45rem);
  line-height: 1.18;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.about__role {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(0.86rem, 1.25vw, 1.04rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.info-table,
.career-table {
  border-top: 1px solid var(--line);
}

.info-row,
.career-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) 1fr;
  gap: clamp(18px, 4vw, 46px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.info-row h3,
.career-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.info-row p,
.career-row p {
  margin: 0;
}

.career-row {
  grid-template-columns: 150px minmax(190px, 0.34fr) 1fr;
}

.career-row span {
  align-self: start;
  display: inline-flex;
  justify-content: center;
  min-width: 130px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.message__body,
.contact__body,
.team-cta,
.media-activity {
  max-width: 900px;
  padding: 0;
}

.message__body h2 {
  max-width: 860px;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  line-height: 1.12;
}

.contact__body {
  padding-bottom: 40px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.team-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-cta h2,
.media-activity h2 {
  max-width: 740px;
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.team-cta h2 {
  max-width: 980px;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.14;
}

.media-activity {
  margin-top: 38px;
  border-bottom: 1px solid var(--line);
}

.neo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.neo-button:hover,
.neo-button:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.neo-button.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #df6ca6);
  box-shadow: inset 7px 7px 14px rgba(97, 22, 66, 0.32), inset -6px -6px 12px rgba(255, 255, 255, 0.22);
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.work-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.work-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 22, 0.58);
  backdrop-filter: blur(14px);
}

.work-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  width: min(1080px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px;
  border-radius: 22px;
  background: rgba(238, 240, 244, 0.94);
  box-shadow: 28px 28px 78px rgba(0, 0, 0, 0.32), -18px -18px 44px rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
  transform: translateY(22px);
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-modal.is-open .work-modal__panel {
  transform: translateY(0);
}

.work-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.work-modal__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-inset);
}

.work-modal__image.is-lp {
  aspect-ratio: 9 / 16;
  max-height: min(700px, calc(100vh - 104px));
  justify-self: center;
  width: min(460px, 100%);
}

.work-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-modal__image.is-lp img {
  object-fit: contain;
}

.work-modal__text {
  align-self: center;
  padding: 42px 6px 18px;
}

.work-modal__text h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 3.2rem);
}

.work-modal__switch {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.work-modal__switch button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.work-modal__switch button.is-active {
  color: #fff;
  background: var(--accent);
}

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

.detail-thumb {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.detail-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-inset);
}

.detail-thumb span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  padding-bottom: 40px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  color: var(--ink);
  font: inherit;
  padding: 16px 18px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__wide,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--shadow-inset);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.site-footer small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.privacy-page {
  min-height: 100vh;
}

.privacy-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 40px;
}

.privacy-main h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.privacy-main section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.privacy-main section h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
}

.privacy-actions {
  margin: 34px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes loaderFailsafe {
  to {
    visibility: hidden;
    transform: translateY(-100%);
  }
}

@keyframes loadBar {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pageTurn {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  52% {
    transform: scaleX(1);
    transform-origin: left;
  }
  53% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes prismDrift {
  0% {
    transform: translate3d(-5%, -2%, 0) rotate(-5deg) scale(1);
  }

  50% {
    transform: translate3d(4%, 3%, 0) rotate(3deg) scale(1.04);
  }

  100% {
    transform: translate3d(8%, -1%, 0) rotate(-2deg) scale(1.02);
  }
}

@keyframes prismSweep {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--prism-rotate, -17deg));
  }

  100% {
    transform: translate3d(168vw, 4vh, 0) rotate(var(--prism-rotate, -17deg));
  }
}

@keyframes prismGlint {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-14deg);
  }

  22% {
    opacity: 0.72;
  }

  55% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform: translate3d(190vw, 18vh, 0) rotate(-14deg);
  }
}

@keyframes prismPulse {
  0% {
    filter: blur(12px) drop-shadow(0 0 12px rgba(255, 255, 255, 0.38));
  }

  100% {
    filter: blur(8px) drop-shadow(0 0 28px rgba(255, 255, 255, 0.78));
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .side-nav {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .side-nav__logo {
    min-height: 106px;
    margin-bottom: 22px;
  }

  .side-nav__logo img {
    width: 104px;
    max-height: 112px;
  }

  .volume-control {
    gap: 7px;
    margin-bottom: 32px;
  }

  .side-nav__links {
    gap: 12px;
  }

  .nav-orb {
    width: 50px;
    height: 50px;
  }

  .side-nav__links a {
    gap: 6px;
  }
}

@media (max-width: 1120px) {
  .side-nav {
    width: 124px;
  }

  .image-rail {
    left: 124px;
    width: 190px;
  }

  .site-main {
    width: calc(100% - 374px);
    margin-left: 344px;
    margin-right: 30px;
  }

  .work-panel,
  .about,
  .work-modal__panel {
    grid-template-columns: 1fr;
  }

  .career-row {
    grid-template-columns: 150px 1fr;
  }

  .career-row p {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .prism-layer {
    inset: -9vh -28vw;
    opacity: 0.34;
    filter: blur(3px) saturate(1.18);
  }

  .prism-layer span {
    left: -62vw;
    width: 88vw;
    height: 8vh;
    filter: blur(14px);
  }

  .side-nav {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-height: 104px;
    padding: 12px 14px;
  }

  .side-nav::after,
  .image-rail,
  .vertical-title {
    display: none;
  }

  .side-nav__logo {
    width: 158px;
    min-height: 80px;
    margin: 0;
  }

  .side-nav__logo img {
    width: 150px;
    max-height: 80px;
  }

  .side-nav__logo picture {
    width: 150px;
  }

  .volume-control {
    display: none;
  }

  .side-nav__links {
    display: flex;
    gap: 10px;
    width: auto;
  }

  .nav-orb {
    width: 42px;
    height: 42px;
    font-size: 0.72rem;
  }

  .nav-label {
    display: none;
  }

  .site-main {
    width: min(100% - 28px, 1060px);
    margin: 0 auto;
  }

  .works {
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .works,
  .about,
  .info-section,
  .career-story,
  .message,
  .contact,
  .team-cta,
  .contact-form-section,
  .media-activity {
    padding-bottom: 56px;
  }

  .work-panel {
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .work-panel__copy h3 {
    font-size: clamp(1.45rem, 8vw, 2.4rem);
  }

  .info-row,
  .career-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

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

  .career-row p {
    grid-column: auto;
  }

  .work-modal {
    padding: 12px;
  }

  .work-modal__panel {
    padding: 18px;
    border-radius: 18px;
  }
}

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