:root {
  --ink: #050405;
  --black: #0b080c;
  --cream: #f0dcc2;
  --muted: #b8a991;
  --plum: #5b214d;
  --ember: #c9773a;
  --line: rgba(240, 220, 194, 0.18);
  --glass: rgba(22, 16, 23, 0.58);
  --edge: clamp(1rem, 4.8vw, 5.5rem);
  --scene-y: clamp(5rem, 8vw, 9rem);
  --nav-h: clamp(4.2rem, 7vw, 5.8rem);
  --hero-type: clamp(4.1rem, 5.6vw, 14.5rem);
  --display-type: clamp(3.25rem, 6.7vw, 8.4rem);
  --body-type: clamp(0.98rem, 1.2vw, 1.22rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--cream);
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(91, 33, 77, 0.42), transparent 30rem),
    radial-gradient(circle at 12% 75%, rgba(201, 119, 58, 0.18), transparent 24rem),
    linear-gradient(105deg, #030303, #110c12 48%, #050405);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

#atmosphere,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#atmosphere {
  z-index: 0;
  opacity: 0.76;
}

.grain {
  z-index: 60;
  opacity: 0.23;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, .08) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px);
  animation: grain-drift 900ms steps(4) infinite;
}

@keyframes grain-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(-1.5%, 1%, 0);
  }

  50% {
    transform: translate3d(1%, -1.5%, 0);
  }

  75% {
    transform: translate3d(1.5%, 1.5%, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(91, 33, 77, 0.34), transparent 24rem),
    #030303;
  overflow: hidden;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(0deg, transparent 0 8px, rgba(240, 220, 194, 0.035) 9px 10px);
  animation: crt 2.8s linear infinite;
}



.preloader p {
  position: absolute;
  bottom: 16vh;
  margin: 0;
  color: var(--muted);
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    opacity: 0.62;
  }
}

@keyframes crt {
  to {
    transform: translateY(20px);
  }
}

.tarq-mark {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.05em 0.13em;
  color: var(--cream);
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 800;
  line-height: 0.72;
  text-shadow: 0 0 26px rgba(240, 220, 194, 0.24), 0 0 60px rgba(91, 33, 77, 0.34);
}

.tarq-mark span {
  display: block;
}

.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  padding: 1rem var(--edge);
  color: rgba(240, 220, 194, 0.9);
  background: rgba(11, 8, 12, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 220, 194, 0.08);
  width: 100vw;
}

.hud__brand {
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hud__nav,
.footer nav {
  display: flex;
  gap: clamp(0.85rem, 2vw, 2rem);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(240, 220, 194, 0.2);
  border-radius: 50%;
  padding: 0;
  color: var(--cream);
  background: rgba(10, 8, 11, 0.34);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.22rem auto;
  background: currentColor;
  transform-origin: center;
  transition: transform 360ms ease, opacity 360ms ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2.5rem;
  padding: var(--nav-h) var(--edge) 2rem;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-1.5rem);
  background:
    radial-gradient(circle at 68% 28%, rgba(91, 33, 77, 0.42), transparent 24rem),
    radial-gradient(circle at 18% 82%, rgba(201, 119, 58, 0.16), transparent 20rem),
    rgba(3, 3, 3, 0.9);
  backdrop-filter: blur(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.mobile-menu__glow {
  position: absolute;
  inset: 18% -30% auto auto;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(91, 33, 77, 0.24);
  filter: blur(48px);
  pointer-events: none;
}

.mobile-menu nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(0.7rem, 3vw, 1.2rem);
}

.mobile-menu a {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 16vw, 6.6rem);
  font-weight: 800;
  line-height: 0.9;
}

.mobile-menu span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

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

.scene {
  position: relative;
  min-height: 100svh;
  padding: var(--scene-y) var(--edge);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  padding-top: max(var(--scene-y), calc(var(--nav-h) + 1rem));
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  pointer-events: none;
}

.orb--plum {
  top: 15%;
  right: 8%;
  width: 38vw;
  height: 38vw;
  background: rgba(91, 33, 77, 0.26);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title,
.about h2,
.philosophy h2,
.project h2,
.contact h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  line-height: 0.88;
}

.hero-title {
  max-width: 9ch;
  font-size: var(--hero-type);
  overflow-wrap: anywhere;
}

.hero-title span {
  display: block;
  transform-origin: left center;
}

.hero__text {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: var(--body-type);
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.3rem;
}

.magnetic {
  position: relative;
  display: inline-grid;
  min-height: 3.4rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 220, 194, 0.28);
  border-radius: 999px;
  padding: 0 1.4rem;
  color: var(--cream);
  background: rgba(240, 220, 194, 0.08);
  cursor: pointer;
}

.magnetic::before {
  content: "";
  position: absolute;
  inset: -120% 20%;
  background: radial-gradient(circle, rgba(201, 119, 58, 0.45), transparent 62%);
  opacity: 0;
  transition: opacity 360ms ease, transform 360ms ease;
}

.magnetic:hover::before {
  opacity: 1;
  transform: scale(1.4);
}

.magnetic span {
  position: relative;
  z-index: 1;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.magnetic--ghost {
  background: transparent;
}

.hero__visual {
  position: relative;
  min-height: min(70svh, 720px);
  perspective: 900px;
  contain: layout paint;
}

.hero__visual picture,
.hero__visual img {
  position: absolute;
  inset: 6% 0 auto auto;
  width: min(100%, 680px);
  height: 100%;
}

.hero__visual img {
  object-fit: cover;
  /* border: 1px solid rgba(240, 220, 194, 0.16); */
  filter: saturate(0.72) contrast(1.08);
  transform: rotateY(-8deg) rotateZ(2deg);
  /* box-shadow: 0 42px 120px rgba(0, 0, 0, 0.64); */
  transition: filter 700ms ease, transform 700ms ease;
}

.hero__visual:hover img {
  filter: saturate(1.05) contrast(1.08);
  transform: rotateY(-4deg) rotateZ(0deg) scale(1.02);
}



.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about h2,
.philosophy h2,
.contact h2 {
  max-width: 10ch;
  font-size: var(--display-type);
  overflow-wrap: anywhere;
}

.about p,
.philosophy__intro {
  max-width: 45rem;
  color: var(--muted);
  font-size: var(--body-type);
  line-height: 1.5;
}


.about__mark-wrap {
  min-height: min(65svh, 46rem);
  display: grid;
  place-items: center;
}

.signature-logo {
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.philosophy {
  display: grid;
  align-content: center;
  min-height: 140svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(91, 33, 77, 0.28), transparent 28rem),
    rgba(0, 0, 0, 0.25);
}

.logo-environment {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100vw;
  opacity: 0.105;
  font-size: clamp(13rem, 33vw, 42rem);
  transform: translate(-50%, -50%) scale(1.3);
  filter: blur(0.5px);
}

.philosophy__intro {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.philosophy__cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.glass-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(240, 220, 194, 0.18);
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(18, 12, 19, 0.52));
  backdrop-filter: blur(22px);
  box-shadow: inset 0 0 40px rgba(240, 220, 194, 0.04), 0 40px 100px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
}

.glass-card span,
.service-panel span {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.glass-card h3 {
  margin: 1rem 0 0.7rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  line-height: 1;
  width: 21vw;
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services {
  min-height: 420svh;
  padding: 0;
}

.services__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(5rem, 7vw, 7rem) 0;
}

.services__sticky>.eyebrow {
  padding-left: clamp(1rem, 5vw, 5rem);
}

.services__track {
  display: flex;
  gap: 4vw;
  width: max-content;
  padding: 3rem clamp(1rem, 5vw, 5rem) 0;
  will-change: transform;
}

.service-panel {
  position: relative;
  width: min(78vw, 1040px);
  height: min(66vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(240, 220, 194, 0.16);
  padding: clamp(1.4rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 78% 25%, rgba(201, 119, 58, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(91, 33, 77, 0.24), rgba(6, 5, 7, 0.92)),
    image-set(url("assets/tarq-cinematic-team.webp") type("image/webp"), url("assets/tarq-cinematic-team.png") type("image/png")) center/cover;
  background-blend-mode: screen, normal, luminosity;
}

.service-panel::before,
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, .75), transparent 55%, rgba(0, 0, 0, .52));
}

.service-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0.5rem 0 1rem;
  max-width: 9ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 6vw, 10rem);
  line-height: 0.84;
}

.service-panel p,
.work-card p {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-panel span {
  position: relative;
  z-index: 1;
}

.work {
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.work__sticky {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: var(--scene-y) var(--edge);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96), rgba(3, 3, 3, 0.38) 48%, rgba(3, 3, 3, 0.9)),
    radial-gradient(circle at 74% 48%, rgba(201, 119, 58, 0.16), transparent 24rem),
    radial-gradient(circle at 24% 22%, rgba(91, 33, 77, 0.22), transparent 26rem),
    #050405;
}

.work__intro {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.work__intro h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.4rem, 7.6vw, 9.6rem);
  line-height: 0.86;
}

.work__intro p:not(.eyebrow) {
  max-width: 35rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.work__system {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 1.7vw, 1.35rem);
}

.work-card {
  position: relative;
  min-height: clamp(11rem, 18vh, 15rem);
  display: grid;
  align-content: end;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(240, 220, 194, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 220, 194, 0.075), rgba(240, 220, 194, 0.018)),
    rgba(16, 10, 16, 0.68);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  transform-origin: center right;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background:
    linear-gradient(90deg, transparent, rgba(240, 220, 194, 0.08), transparent),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(240, 220, 194, 0.035) 59px 60px);
  transform: translateX(-40%);
}

.work-card span {
  position: relative;
  z-index: 1;
  color: rgba(201, 119, 58, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.work-card h3 {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0;
  color: var(--cream);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.3vw, 4rem);
  line-height: 0.94;
}

.work-card p {
  margin: 0.8rem 0 0;
}

.work__orbit {
  position: absolute;
  inset: 50% auto auto 53%;
  width: min(48vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 220, 194, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.86;
  pointer-events: none;
}

.work__orbit::before,
.work__orbit::after,
.work__orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.work__orbit::before {
  inset: 16%;
  border: 1px solid rgba(201, 119, 58, 0.16);
}

.work__orbit::after {
  inset: 32%;
  border: 1px dashed rgba(240, 220, 194, 0.18);
}

.work__orbit span {
  width: 0.66rem;
  height: 0.66rem;
  background: var(--cream);
  box-shadow: 0 0 24px rgba(201, 119, 58, 0.72);
}

.work__orbit span:nth-child(1) {
  top: 14%;
  left: 50%;
}

.work__orbit span:nth-child(2) {
  right: 17%;
  bottom: 28%;
}

.work__orbit span:nth-child(3) {
  left: 21%;
  bottom: 18%;
}

.character-showcase {
  min-height: 400svh;
  height: auto;
  padding: 0;
  isolation: isolate;
  overflow: clip;
}

.character-showcase__sticky {
  position: relative;
  top: auto;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(91, 33, 77, 0.34), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(201, 119, 58, 0.12), transparent 18rem),
    linear-gradient(120deg, #030303, #100a10 52%, #050405);
}

.character-showcase__sticky::before,
.character-showcase__sticky::after,
.character-showcase__atmosphere {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.character-showcase__sticky::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 32%, transparent 66%, rgba(0, 0, 0, 0.72)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 24%, transparent 72%, rgba(0, 0, 0, 0.78));
}

.character-showcase__sticky::after {
  z-index: 5;
  opacity: 0.16;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(240, 220, 194, 0.08) 55px 56px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(240, 220, 194, 0.045) 55px 56px);
}

.character-showcase__atmosphere {
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(240, 220, 194, 0.1), transparent 22rem),
    radial-gradient(ellipse at 50% 92%, rgba(201, 119, 58, 0.16), transparent 26rem);
  filter: blur(0.2px);
  animation: character-breathe 5.8s ease-in-out infinite alternate;
}

@keyframes character-breathe {
  from {
    transform: scale(1) translateY(0);
    opacity: 0.72;
  }

  to {
    transform: scale(1.08) translateY(-1.5vh);
    opacity: 1;
  }
}

.character-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  perspective: 1200px;
  overflow: hidden;
}

.character-stage::before {
  content: "";
  position: absolute;
  bottom: 5vh;
  left: 50%;
  width: min(68vw, 58rem);
  height: 16vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 119, 58, 0.18), rgba(91, 33, 77, 0.13) 42%, transparent 68%);
  filter: blur(16px);
  transform: translateX(-50%);
}

.character-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(75vw, 32rem);
  height: min(65svh, 68rem);
  display: grid;
  place-items: center;
  opacity: 0;
  filter: blur(18px) saturate(0.65);
  transform: none;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.character-card::before {
  content: "";
  position: absolute;
  inset: 9% 12% 3%;
  transform: translateZ(-80px) rotateZ(-2deg);
}

.character-card picture,
.character-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 92%;
}

.character-card img {
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 42px 62px rgba(0, 0, 0, 0.78));
  transform: translateZ(120px);
}

.character-card.is-active {
  opacity: 1;
  filter: blur(0) saturate(0.96);
}

.character-info {
  position: absolute;
  z-index: 7;
  left: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1.3rem, 6vh, 4.5rem);
  width: min(36rem, 42vw);
  color: var(--muted);
}

.character-info h2 {
  margin: 0;
  color: var(--cream);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4.5vw, 5.2rem);
  line-height: 0.92;
}

.character-info p {
  margin: 1rem 0 0;
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.character-info span {
  display: block;
  margin-top: 1.15rem;
  color: rgba(240, 220, 194, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.character-name {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 5vh, 4rem);
  max-width: min(46rem, 48vw);
  color: rgba(240, 220, 194, 0.94);
  font-family: "Playfair Display", serif;
  font-size: clamp(4.4rem, 7vw, 13rem);
  font-weight: 800;
  line-height: 0.78;
  text-align: right;
  text-shadow: 0 0 48px rgba(91, 33, 77, 0.45);
  will-change: transform, opacity, filter;
  z-index: 1000;
}

.character-progress {
  position: absolute;
  z-index: 8;
  top: 50%;
  right: clamp(1rem, 2vw, 2rem);
  display: grid;
  gap: 0.7rem;
  transform: translateY(-50%);
}

.character-progress span {
  width: 0.42rem;
  height: 2.5rem;
  border: 1px solid rgba(240, 220, 194, 0.28);
  background: rgba(240, 220, 194, 0.05);
  transition: background 420ms ease, box-shadow 420ms ease, transform 420ms ease;
}

.character-progress span.is-active {
  background: var(--cream);
  box-shadow: 0 0 24px rgba(201, 119, 58, 0.42);
  transform: scaleY(1.22);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 4rem;
  align-items: center;
}

.contact__info h2 {
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 0.95;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3rem;
}

.contact__details a {
  display: inline-block;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 300ms ease;
  letter-spacing: 0.05em;
}

.contact__details a:hover {
  color: var(--cream);
}

.contact__form {
  display: grid;
  gap: 1rem;
}

.contact__form label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid rgba(240, 220, 194, 0.15);
  border-radius: 0;
  padding: 1rem;
  color: var(--cream);
  outline: 0;
  background: rgba(240, 220, 194, 0.055);
  backdrop-filter: blur(18px);
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(201, 119, 58, 0.7);
  box-shadow: 0 0 34px rgba(201, 119, 58, 0.12);
  background: rgba(240, 220, 194, 0.075);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(240, 220, 194, 0.12);
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: rgba(240, 220, 194, 0.72);
}

@media (max-width: 1180px) {
  :root {
    --edge: clamp(1rem, 4vw, 3rem);
    --scene-y: clamp(4.5rem, 7vw, 7rem);
    --hero-type: clamp(4rem, 9vw, 10rem);
    --display-type: clamp(3rem, 8vw, 6.8rem);
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  }

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

  .glass-card {
    min-height: 18rem;
  }

  .service-panel {
    width: min(82vw, 880px);
  }

  .service-panel h2 {
    font-size: clamp(3.3rem, 9vw, 7.5rem);
  }

  .work__sticky {
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  }

  .character-card {
    width: min(80vw, 50rem);
    height: min(85svh, 60rem);
  }

  .character-info {
    width: min(34rem, 48vw);
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 4.6rem;
    --scene-y: clamp(4rem, 9vw, 6rem);
    --hero-type: clamp(3.7rem, 15vw, 7.5rem);
    --display-type: clamp(2.85rem, 10vw, 5.5rem);
    --body-type: clamp(0.98rem, 2vw, 1.12rem);
  }

  .hud {
    mix-blend-mode: normal;
  }

  .hud__nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .scene {
    min-height: auto;
  }

  .hero {
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 2.2rem;
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  .hero__copy {
    position: relative;
    z-index: 2;
  }

  .hero-title {
    max-width: 8ch;
  }

  .hero__text {
    max-width: 34rem;
    margin-top: 1.45rem;
    line-height: 1.7;
  }

  .hero__actions {
    margin-top: 1.7rem;
  }

  .hero__visual {
    min-height: clamp(22rem, 58svh, 34rem);
    order: -1;
  }

  .hero__visual picture,
  .hero__visual img {
    inset: 0 0 auto auto;
    width: min(92vw, 42rem);
    height: 100%;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .about h2,
  .philosophy h2,
  .contact h2 {
    max-width: 12ch;
  }

  .about__mark-wrap {
    min-height: clamp(18rem, 45svh, 30rem);
  }

  .philosophy {
    min-height: auto;
  }

  .philosophy__intro {
    margin-bottom: 2rem;
  }

  .services {
    min-height: 360svh;
  }

  .services__sticky {
    padding: clamp(4.5rem, 10vw, 6rem) 0;
  }

  .services__track {
    gap: 1rem;
    padding-top: 2rem;
  }

  .service-panel {
    width: 84vw;
    height: min(64svh, 560px);
    min-height: 28rem;
  }

  .work__sticky {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 2rem;
  }

  .work__intro h2 {
    max-width: 12ch;
    font-size: clamp(3rem, 10vw, 6rem);
  }

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

  .work-card {
    min-height: 15rem;
  }

  .work__orbit {
    inset: 57% auto auto 68%;
    width: min(80vw, 34rem);
    opacity: 0.45;
  }

  .character-card {
    width: min(90vw, 44rem);
    height: min(85svh, 58rem);
  }

  .character-info {
    width: min(32rem, 56vw);
  }

  .character-name {
    max-width: 52vw;
    font-size: clamp(3.4rem, 12vw, 8rem);
  }

  .contact {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --edge: clamp(1rem, 5vw, 1.4rem);
    --scene-y: clamp(3.5rem, 11vw, 5rem);
    --hero-type: clamp(3.35rem, 17vw, 5.8rem);
    --display-type: clamp(2.5rem, 12vw, 4.3rem);
  }

  .hud {
    padding: 0.75rem var(--edge);
  }

  .mobile-menu {
    justify-items: stretch;
  }

  .mobile-menu a {
    font-size: clamp(2.8rem, 17vw, 5rem);
  }

  .hero {
    gap: 1.5rem;
  }

  .hero__visual {
    min-height: clamp(20rem, 52svh, 29rem);
  }

  .hero__visual picture,
  .hero__visual img {
    width: 100%;
  }



  .hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .magnetic {
    width: 100%;
    min-height: 3.25rem;
  }

  .about__mark-wrap {
    min-height: 16rem;
  }

  .tarq-mark {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .philosophy__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .glass-card {
    min-height: 14rem;
  }

  .service-panel {
    width: 86vw;
    min-height: 25rem;
    height: 60svh;
    padding: 1.3rem;
  }

  .service-panel h2 {
    max-width: 10ch;
    font-size: clamp(2.6rem, 14vw, 4.9rem);
  }

  .service-panel p,
  .work-card p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .work__system {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card {
    min-height: 11rem;
  }

  .work-card h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .character-showcase {
    min-height: 380svh;
  }

  .character-showcase__sticky {
    height: 100svh;
    min-height: 100svh;
  }

  .character-card {
    top: -8svh;
    width: min(98vw, 36rem);
    height: min(75svh, 45rem);
  }

  .character-card::before {
    inset: 11% 10% 5%;
  }

  .character-info {
    left: var(--edge);
    right: calc(var(--edge) + 1.2rem);
    bottom: clamp(1rem, 4svh, 2rem);
    width: auto;
  }

  .character-info h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .character-info p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .character-info span {
    margin-top: 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .character-name {
    /* top: calc(var(--nav-h) + 0.5rem); */
    right: 2rem;
    bottom: auto;
    max-width: 80vw;
    font-size: clamp(3.1rem, 16vw, 5.4rem);
    opacity: 0.72;
    z-index: 1000;
  }

  .character-progress {
    right: 0.65rem;
    gap: 0.45rem;
  }

  .character-progress span {
    width: 0.32rem;
    height: 2rem;
  }

  .contact__form input,
  .contact__form textarea {
    padding: 0.9rem;
  }

  .footer {
    display: grid;
    justify-items: start;
    line-height: 1.6;
  }

  .footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  :root {
    --hero-type: clamp(3rem, 16vw, 4.2rem);
    --display-type: clamp(2.25rem, 11.5vw, 3.4rem);
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.17em;
  }

  .hero__text,
  .about p,
  .philosophy__intro,
  .work__intro p:not(.eyebrow) {
    line-height: 1.6;
  }

  .hero__visual {
    min-height: 18.5rem;
  }

  .service-panel {
    min-height: 23rem;
  }

  .character-card {
    top: -13svh;
    height: min(58svh, 31rem);
  }

  .character-info p {
    font-size: 0.9rem;
  }

  .character-info span {
    display: none;
  }
}

@media (max-height: 620px) and (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 18rem;
  }

  .service-panel {
    height: 76svh;
    min-height: 22rem;
  }

  .character-card {
    top: -16svh;
    height: 58svh;
  }

  .character-info p {
    display: none;
  }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    background:
      radial-gradient(circle at 85% 8%, rgba(91, 33, 77, 0.24), transparent 18rem),
      radial-gradient(circle at 10% 55%, rgba(201, 119, 58, 0.14), transparent 16rem),
      linear-gradient(155deg, #050405, #100b10 54%, #050405);
  }

  #atmosphere {
    display: none;
  }

  .grain {
    opacity: 0.12;
    animation: none;
  }

  .preloader {
    display: grid;
  }

  .hud {
    min-height: 4.25rem;
    border-bottom: 1px solid rgba(240, 220, 194, 0.08);
    background: rgba(5, 4, 5, 0.78);
    backdrop-filter: blur(18px);
  }

  .hud__brand {
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
  }

  .menu-toggle span {
    grid-area: 1 / 1;
  }

  .menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle span:last-child {
    transform: translateY(4px);
  }

  body.menu-open .menu-toggle span:first-child {
    transform: rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    align-content: center;
    gap: 2rem;
    padding: 5rem var(--edge) 2rem;
    background:
      linear-gradient(180deg, rgba(5, 4, 5, 0.98), rgba(13, 8, 13, 0.96)),
      radial-gradient(circle at 80% 18%, rgba(201, 119, 58, 0.14), transparent 16rem);
  }

  .mobile-menu a {
    border-bottom: 1px solid rgba(240, 220, 194, 0.12);
    padding-bottom: 0.55rem;
    font-size: clamp(2.45rem, 12vw, 4.4rem);
    line-height: 0.95;
  }

  .mobile-menu__glow {
    display: none;
  }

  .scene {
    min-height: auto;
    /* padding: clamp(4.5rem, 13vw, 6.5rem) var(--edge); */
  }

  .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 1.2rem);
    gap: 1.8rem;
  }

  .orb,
  .portrait,
  .scanline {
    display: none;
  }

  .hero__visual {
    order: 0;
    min-height: auto;
    aspect-ratio: 4 / 3;
    /* border: 1px solid rgba(240, 220, 194, 0.12); */
    overflow: hidden;
    /* background: rgba(240, 220, 194, 0.04); */
  }

  .hero__visual picture,
  .hero__visual img {
    position: static;
    width: 100%;
    height: 100%;
  }

  .hero__visual img {
    object-fit: cover;
    transform: none;
    filter: saturate(0.9) contrast(1.04);
    box-shadow: none;
  }

  .hero__visual:hover img {
    transform: none;
    filter: saturate(0.9) contrast(1.04);
  }

  .hero-title {
    max-width: 7ch;
    font-size: clamp(3.35rem, 15vw, 6.2rem);
    line-height: 0.9;
  }

  .hero__text {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero__actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.45rem;
  }

  .magnetic {
    width: 100%;
    min-height: 3.15rem;
  }

  .magnetic::before {
    display: none;
  }

  .about {
    gap: 2.25rem;
  }

  .about h2,
  .philosophy h2,
  .contact h2,
  .work__intro h2 {
    max-width: 11ch;
    font-size: clamp(2.55rem, 11vw, 4.8rem);
    line-height: 0.95;
  }

  .about p,
  .philosophy__intro,
  .work__intro p:not(.eyebrow),
  .service-panel p,
  .work-card p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .about__mark-wrap {
    min-height: 13rem;
    border: 1px solid rgba(240, 220, 194, 0.1);
    background: rgba(240, 220, 194, 0.035);
  }

  .signature-logo {
    opacity: 1;
    filter: none;
  }

  .philosophy {
    display: block;
    min-height: auto;
    background:
      radial-gradient(circle at 50% 15%, rgba(91, 33, 77, 0.18), transparent 18rem),
      rgba(0, 0, 0, 0.12);
  }

  .philosophy__intro {
    margin-bottom: 1.35rem;
  }

  .philosophy__cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .glass-card {
    min-height: auto;
    padding: 1.15rem;
  }

  .glass-card h3 {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
  }

  .services {
    min-height: auto;
    padding: clamp(4.5rem, 13vw, 6.5rem) var(--edge);
  }

  .services__sticky {
    position: relative;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .services__sticky>.eyebrow {
    padding-left: 0;
  }

  .services__track {
    display: grid;
    width: auto;
    gap: 0.9rem;
    padding: 1.25rem 0 0;
  }

  .service-panel {
    width: 100%;
    min-height: 17rem;
    height: auto;
    padding: 1.15rem;
    background-position: center;
  }

  .service-panel::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.88));
  }

  .service-panel h2 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11vw, 4.2rem);
    line-height: 0.92;
  }

  .work {
    min-height: auto;
  }

  .work__sticky {
    min-height: auto;
    padding: clamp(4.5rem, 13vw, 6.5rem) var(--edge);
    background:
      radial-gradient(circle at 80% 30%, rgba(201, 119, 58, 0.1), transparent 15rem),
      #050405;
  }

  .work__system {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .work-card {
    min-height: auto;
    padding: 1.15rem;
  }

  .work-card h3 {
    margin-top: 0.75rem;
    font-size: clamp(1.85rem, 8vw, 2.8rem);
  }

  .work__orbit {
    display: none;
  }

  .character-showcase {
    min-height: auto;
    overflow: hidden;
  }

  .character-showcase__sticky {
    min-height: auto;
    height: auto;
    /* padding: clamp(4.5rem, 13vw, 6.5rem) var(--edge); */
  }

  .character-showcase__sticky::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.72));
  }

  .character-showcase__sticky::after {
    opacity: 0.08;
  }

  .character-showcase__atmosphere {
    animation: none;
  }

  .character-stage {
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    overflow: visible;
    perspective: none;
  }

  .character-stage::before {
    display: none;
  }

  .character-card {
    position: relative;
    inset: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    opacity: 1 !important;
    filter: none !important;
  }

  .character-card::before {
    inset: 0;
    transform: none;
    /* background: rgba(240, 220, 194, 0.04); */
  }

  .character-card picture,
  .character-card img {
    height: 100%;
  }

  .character-card img {
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.58));
  }

  .character-info {
    position: relative;
    z-index: 7;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(240, 220, 194, 0.12);
  }

  .character-info h2 {
    font-size: clamp(2.1rem, 9vw, 3.6rem);
  }

  .character-progress,
  .eyebrow {
    display: none;
  }

  .contact {
    gap: 1.5rem;
  }

  .contact__form {
    gap: 0.85rem;
  }

  .contact__form input,
  .contact__form textarea {
    min-height: 3.15rem;
    border-radius: 6px;
    background: rgba(240, 220, 194, 0.07);
  }

  .contact__form button {
    margin-top: 0.25rem;
  }

  .footer {
    display: grid;
    gap: 0.75rem;
    padding: 1.5rem var(--edge);
  }

  .footer nav {
    order: -1;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .character-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .character-card {
    aspect-ratio: 4 / 5;
  }

  .character-card:nth-child(n + 3) {
    display: none;
  }

  .service-panel {
    min-height: 15.5rem;
  }
}

@media (max-width: 900px) {
  :root {
    --edge: clamp(1.05rem, 5vw, 2rem);
    --scene-y: clamp(3.25rem, 9vw, 4.75rem);
  }

  .scene,
  .services,
  .work__sticky,
  .character-showcase__sticky {
    padding-top: var(--scene-y);
    /* padding-bottom: var(--scene-y); */
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: clamp(2.5rem, 7vw, 4rem);
  }

  .hero__copy,
  .about__copy,
  .philosophy__intro,
  .work__intro,
  .contact>div {
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  .hero__visual {
    width: min(100%, 34rem);
    margin-inline: auto;
    /* border-radius: 18px; */
    /* box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42); */
  }

  .about {
    gap: clamp(1.25rem, 4vw, 2rem);
  }

  .about__mark-wrap {
    width: min(100%, 22rem);
    min-height: clamp(12rem, 38vw, 17rem);
    margin-inline: auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: inset 0 0 70px rgba(91, 33, 77, 0.22), 0 28px 90px rgba(0, 0, 0, 0.34);
  }

  .signature-logo {
    font-size: clamp(4.8rem, 20vw, 8.5rem);
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
  }

  .philosophy__cards,
  .services__track,
  .work__system {
    width: min(100%, 37rem);
    margin-inline: auto;
  }

  .philosophy__cards {
    gap: 0.72rem;
  }

  .glass-card,
  .work-card {
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(240, 220, 194, 0.11), rgba(240, 220, 194, 0.025)),
      rgba(12, 8, 13, 0.72);
    box-shadow: inset 0 0 34px rgba(240, 220, 194, 0.035), 0 22px 70px rgba(0, 0, 0, 0.34);
  }

  .services__track {
    gap: 0.9rem;
  }

  .service-panel {
    width: min(100%, 36rem);
    min-height: clamp(17rem, 52vw, 24rem);
    margin-inline: auto;
    border-radius: 22px;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4);
  }

  .service-panel:nth-child(even) {
    width: min(94%, 34rem);
  }

  .service-panel h2 {
    font-size: clamp(2.45rem, 10.5vw, 4.6rem);
  }

  .work__sticky {
    gap: clamp(1.25rem, 4vw, 1.9rem);
    background:
      radial-gradient(circle at 50% 30%, rgba(91, 33, 77, 0.22), transparent 17rem),
      radial-gradient(circle at 88% 72%, rgba(201, 119, 58, 0.13), transparent 13rem),
      #050405;
  }

  .work__system {
    gap: 0.85rem;
    perspective: 900px;
  }

  .work-card {
    width: min(100%, 34rem);
    min-height: clamp(10.5rem, 30vw, 13.5rem);
    margin-inline: auto;
  }

  .work-card:nth-child(2) {
    width: min(94%, 32rem);
  }

  .work-card:nth-child(3) {
    width: min(88%, 30rem);
  }

  .character-showcase {
    background:
      radial-gradient(circle at 50% 28%, rgba(201, 119, 58, 0.12), transparent 15rem),
      #050405;
  }

  .character-showcase__sticky {
    display: grid;
    align-items: center;
    gap: 1.35rem;
  }

  .character-stage {
    display: block;
    width: min(100%, 35rem);
    height: clamp(25rem, 86vw, 39rem);
    margin-inline: auto;
    overflow: visible;
    perspective: 900px;
  }

  .character-card {
    position: absolute;
    width: clamp(11.5rem, 46vw, 18rem);
    height: clamp(16rem, 64vw, 25rem);
    border-radius: 24px;
    overflow: hidden;
    opacity: 1;
    filter: none;
    /* box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42); */
  }

  .character-card::before {
    border-radius: inherit;
    /* background: */
    /* radial-gradient(circle at 50% 10%, rgba(240, 220, 194, 0.1), transparent 12rem), */
    /* linear-gradient(150deg, rgba(240, 220, 194, 0.055), rgba(91, 33, 77, 0.14)); */
  }

  .character-card:nth-child(1) {
    left: 50%;
    top: 0;
    z-index: 4;
    transform: translateX(-50%) rotateZ(-2deg);
  }

  .character-card:nth-child(2) {
    left: 7%;
    top: 27%;
    z-index: 3;
    transform: rotateZ(-7deg) scale(0.88);
  }

  .character-card:nth-child(3) {
    right: 6%;
    top: 30%;
    z-index: 2;
    transform: rotateZ(7deg) scale(0.86);
  }

  .character-card:nth-child(4) {
    left: 50%;
    bottom: 0;
    z-index: 1;
    transform: translateX(-50%) scale(0.78);
    opacity: 0.58;
  }

  .character-card img {
    padding: 0.55rem 0.35rem 0;
  }

  .character-info {
    width: min(100%, 35rem);
    margin-inline: auto;
    margin-top: 0;
    border-top: 0;
    text-align: center;
  }

  .character-info .eyebrow {
    margin-bottom: 0.65rem;
  }

  .character-info p {
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  .character-info span {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

  .contact {
    gap: 1.2rem;
  }

  .contact__form {
    width: min(100%, 35rem);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .character-stage {
    height: clamp(24rem, 96vw, 34rem);
  }

  .character-card:nth-child(n + 3) {
    display: grid;
  }

  .character-card {
    width: clamp(10.5rem, 52vw, 15rem);
    height: clamp(14.5rem, 72vw, 21rem);
  }

  .character-card:nth-child(2) {
    left: -1%;
  }

  .character-card:nth-child(3) {
    right: -1%;
  }

  .character-card:nth-child(4) {
    bottom: 2%;
  }
}

@media (max-width: 900px) {
  .philosophy {
    padding-top: clamp(3rem, 8vw, 4.25rem);
    padding-bottom: clamp(3rem, 8vw, 4.25rem);
    background:
      radial-gradient(circle at 18% 18%, rgba(201, 119, 58, 0.16), transparent 12rem),
      radial-gradient(circle at 85% 55%, rgba(91, 33, 77, 0.24), transparent 16rem),
      linear-gradient(180deg, rgba(5, 4, 5, 0.2), rgba(5, 4, 5, 0.78));
  }

  .philosophy__intro {
    margin-bottom: clamp(1.5rem, 5vw, 2.25rem);
  }

  .philosophy__cards {
    position: relative;
    width: min(100%, 34rem);
    gap: 0;
    padding-left: clamp(2.6rem, 9vw, 4rem);
  }

  .philosophy__cards::before {
    content: "";
    position: absolute;
    top: 0.6rem;
    bottom: 0.6rem;
    left: clamp(1rem, 3vw, 1.4rem);
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(201, 119, 58, 0.62), rgba(240, 220, 194, 0.18), transparent);
  }

  .glass-card {
    position: relative;
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0 0 clamp(1.25rem, 5vw, 1.9rem);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .glass-card:last-child {
    padding-bottom: 0;
  }

  .glass-card::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: calc(clamp(-3rem, -7vw, -2.1rem));
    width: 0.82rem;
    height: 0.82rem;
    border: 1px solid rgba(240, 220, 194, 0.55);
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 24px rgba(201, 119, 58, 0.5);
  }

  .glass-card span {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(201, 119, 58, 0.92);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .glass-card h3 {
    width: 70vw;
    margin: 0;
    font-size: clamp(1.75rem, 8vw, 2.7rem);
    line-height: 0.98;
  }

  .glass-card p {
    max-width: 26rem;
    margin-top: 0.55rem;
    color: rgba(184, 169, 145, 0.9);
    line-height: 1.58;
  }

  .character-showcase {
    min-height: 360svh;
    overflow: visible;
  }

  .character-showcase__sticky {
    position: sticky;
    top: 0;
    min-height: 100svh;
    height: 100svh;
    align-content: center;
    gap: clamp(1rem, 3vw, 1.35rem);
    overflow: hidden;
  }

  .character-stage {
    width: min(100%, 36rem);
    height: clamp(22rem, 48svh, 40rem);
    overflow: hidden;
  }

  .character-card,
  .character-card:nth-child(1),
  .character-card:nth-child(2),
  .character-card:nth-child(3),
  .character-card:nth-child(4) {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: clamp(12rem, 52vw, 19rem);
    height: clamp(17rem, 70vw, 28rem);
    opacity: 0 !important;
    filter: blur(14px) saturate(0.62) !important;
    transform: translate(-50%, -50%) scale(0.72) !important;
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), opacity 520ms ease, filter 520ms ease;
    pointer-events: none;
  }

  .character-card.is-active {
    left: 50% !important;
    top: 50% !important;
    z-index: 5;
    opacity: 1 !important;
    filter: blur(0) saturate(1) !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }

  .character-card.is-prev {
    left: 50% !important;
    top: 50% !important;
    z-index: 3;
    opacity: 0.44 !important;
    filter: blur(3px) saturate(0.72) !important;
    transform: translate(-112%, -49%) scale(0.76) rotateZ(-5deg) !important;
  }

  .character-card.is-next {
    left: 50% !important;
    top: 50% !important;
    z-index: 3;
    opacity: 0.44 !important;
    filter: blur(3px) saturate(0.72) !important;
    transform: translate(12%, -49%) scale(0.76) rotateZ(5deg) !important;
  }

  .character-card.is-hidden-mobile {
    left: 50% !important;
    top: 50% !important;
    z-index: 1;
    opacity: 0 !important;
    filter: blur(16px) saturate(0.5) !important;
    transform: translate(-50%, -44%) scale(0.58) !important;
  }

  .character-card img {
    padding: 0.4rem 0.25rem 0;
  }

  .character-info {
    width: min(100%, 32rem);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
  }
}

@media (max-width: 520px) {
  .philosophy__cards {
    padding-left: 2.8rem;
  }

  .glass-card::before {
    left: -2.15rem;
  }

  .character-showcase {
    min-height: 340svh;
  }

  .character-stage {
    height: clamp(22rem, 68svh, 29rem);
  }

  .character-card,
  .character-card:nth-child(1),
  .character-card:nth-child(2),
  .character-card:nth-child(3),
  .character-card:nth-child(4) {
    width: clamp(11rem, 91vw, 22.5rem);
    height: clamp(15.5rem, 124vw, 29rem);
  }

  .character-card.is-prev {
    transform: translate(-106%, -49%) scale(0.72) rotateZ(-5deg) !important;
  }

  .character-card.is-next {
    transform: translate(6%, -49%) scale(0.72) rotateZ(5deg) !important;
  }
}

@media (max-width: 900px) {
  .about {
    overflow: visible !important;
    z-index: 5;
  }

  .about__mark-wrap {
    width: min(100%, 22rem) !important;
    min-height: clamp(12rem, 38vw, 17rem);
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    contain: none !important;
    isolation: visible;
    z-index: 8;
  }

  .signature-logo {
    position: relative;
    z-index: 9;
  }
}

/* ==========================================================================
   NEW TEAM PAGE STYLES
   ========================================================================== */
.team-page {
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 6rem));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: minmax(0, 90%);
    justify-content: center;
    gap: 2rem;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(240, 220, 194, 0.18);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(18, 12, 19, 0.42));
  backdrop-filter: blur(22px);
  box-shadow: inset 0 0 30px rgba(240, 220, 194, 0.03), 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: inset 0 0 40px rgba(240, 220, 194, 0.05), 0 30px 80px rgba(0, 0, 0, 0.45);
  border-color: rgba(240, 220, 194, 0.28);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(240, 220, 194, 0.1);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}

.team-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card__info h3 {
  margin: 0;
  color: var(--cream);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.team-card__role {
  display: block;
  margin-top: 0.5rem;
  color: var(--ember);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-card__intro {
  margin: 1.2rem 0 0.5rem;
  color: var(--muted);
  font-size: var(--body-type);
  line-height: 1.6;
}

.team-card__expandable {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card.is-expanded .team-card__expandable {
  grid-template-rows: 1fr;
}

.team-card__expandable-content {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.team-card.is-expanded .team-card__expandable-content {
  opacity: 1;
  transform: translateY(0);
}

.team-card__desc {
  margin: 0.5rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.team-card__skills span {
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 220, 194, 0.8);
  border: 1px solid rgba(240, 220, 194, 0.15);
  border-radius: 4px;
  background: rgba(240, 220, 194, 0.03);
}

.team-card__footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(240, 220, 194, 0.08);
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--ember);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 300ms ease;
}

.read-more-btn:hover {
  color: var(--cream);
}

.team-card__socials {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(240, 220, 194, 0.04);
  border: 1px solid rgba(240, 220, 194, 0.1);
  color: var(--muted);
  transition: transform 300ms ease, background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(240, 220, 194, 0.1);
  color: var(--cream);
  border-color: rgba(240, 220, 194, 0.25);
}

/* ==========================================================================
   NEW PROJECTS PAGE STYLES
   ========================================================================== */
.projects-hero {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.projects-hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
}

.projects-hero p {
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 38rem;
}

.featured-projects {
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  margin-bottom: clamp(5rem, 8vw, 8rem);
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  border: 1px solid rgba(240, 220, 194, 0.12);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(18, 12, 19, 0.4));
  backdrop-filter: blur(18px);
}

.featured-card:nth-child(even) {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.featured-card:nth-child(even) .featured-card__media {
  order: 2;
}

.featured-card__media {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(240, 220, 194, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card__media img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.featured-card:hover .featured-card__media img {
  transform: scale(1.03);
}

.featured-card__content h3 {
  margin: 0.5rem 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.featured-card__category {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.featured-card__desc {
  color: var(--muted);
  font-size: var(--body-type);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.featured-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.featured-card__tech span {
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(240, 220, 194, 0.7);
  border: 1px solid rgba(240, 220, 194, 0.1);
  border-radius: 4px;
}

.running-projects {
  margin-bottom: clamp(5rem, 8vw, 8rem);
}

.running-projects h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.running-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.running-card {
  padding: 2rem;
  border: 1px solid rgba(240, 220, 194, 0.15);
  border-radius: 12px;
  background: rgba(18, 12, 19, 0.45);
  backdrop-filter: blur(12px);
}

.running-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.running-card h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--cream);
}

.running-card__client {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.running-card__service {
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.running-card__progress {
  margin-top: 2rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(240, 220, 194, 0.1);
  border-radius: 2px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--ember);
  border-radius: 2px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials {
  margin-bottom: clamp(5rem, 8vw, 8rem);
  overflow: hidden;
}

.testimonials h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
  text-align: center;
}

.swiper {
  width: 100%;
  padding: 1rem 0 3rem 0;
  overflow: visible;
}

.swiper-slide {
  height: auto;
}

.testimonial-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(240, 220, 194, 0.12);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(10, 8, 11, 0.5));
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}

.testimonial-card__review {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-card__client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(240, 220, 194, 0.2);
  object-fit: cover;
}

.testimonial-card__info h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cream);
}

.testimonial-card__info span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {}

@media (max-width: 768px) {
  /* .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } */

  .running-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-card,
  .featured-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-card:nth-child(even) .featured-card__media {
    order: -1;
  }
}