/* ==========================================================================
   Xuniq.space — Kinetic Atelier
   Pure CSS3 · Experimental Digital Exhibition
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --mineral: #F1F0EA;
  --sage: #DDE1D8;
  --graphite: #151719;
  --carbon: #08090A;
  --coral: #E84A5F;
  --indigo: #5B4BDB;
  --lime: #D6FF5F;
  --mint: #8AD9C1;
  --text: #161719;
  --text-dark: #F4F2EA;
  --border: rgba(22, 23, 25, 0.13);
  --border-light: rgba(244, 242, 234, 0.14);

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-exp: "Archivo Black", sans-serif;
  --font-serif: "DM Serif Display", serif;
  --font-body: "Onest", sans-serif;

  --nav-h: 3.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--mineral);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

cite {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

::selection {
  background: var(--indigo);
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   Grain Texture
   -------------------------------------------------------------------------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* --------------------------------------------------------------------------
   Floating Navigation
   -------------------------------------------------------------------------- */
.nav-wrap {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(92vw, 52rem);
  mix-blend-mode: difference;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 1.15rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(8, 9, 10, 0.08);
  color: #000;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__status {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 255, 95, 0.6);
  animation: pulse-status 2.4s ease-in-out infinite;
}

@keyframes pulse-status {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 255, 95, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(214, 255, 95, 0); }
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.25s var(--ease);
}

.nav__link:hover {
  opacity: 0.55;
}

.nav__link.is-active::after,
.nav__link:focus-visible::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
}

.nav__cta {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--carbon);
  color: var(--lime);
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--lime);
  color: var(--carbon);
  transform: scale(1.03);
}

@media (min-width: 860px) {
  .nav__menu {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn--primary {
  background: var(--graphite);
  color: var(--text-dark);
  border-color: var(--graphite);
}

.btn--primary:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--mineral);
}

.btn--lime {
  background: var(--lime);
  color: var(--carbon);
  border-color: var(--lime);
}

.btn--lime:hover {
  background: transparent;
  color: var(--lime);
}

.btn--lg {
  padding: 1.15rem 2.4rem;
  font-size: 0.85rem;
}

.edition--featured .btn--ghost {
  border-color: var(--border-light);
  color: var(--text-dark);
}

.edition--featured .btn--ghost:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--carbon);
}

/* --------------------------------------------------------------------------
   Section Heads
   -------------------------------------------------------------------------- */
.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 42rem;
}

.section-head--split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: none;
}

@media (min-width: 768px) {
  .section-head--split {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .section-head--split .section-head__sub {
    max-width: 18rem;
    text-align: right;
    margin: 0;
  }
}

.section-head__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.85rem;
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.section-head__sub {
  margin-top: 1.1rem;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28rem;
  opacity: 0.72;
}

.section-head--dark .section-head__label {
  color: var(--lime);
}

.section-head--dark .section-head__title {
  color: var(--text-dark);
}

.section-head--dark .section-head__sub {
  color: var(--text-dark);
  opacity: 0.65;
}

/* ==========================================================================
   01 — Kinetic Entrance (Hero)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(6.5rem, 12vw, 9rem) clamp(1.25rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(91, 75, 219, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 74, 95, 0.1), transparent 50%),
    linear-gradient(165deg, var(--mineral) 0%, var(--sage) 100%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  max-width: 78rem;
  margin: 0 auto;
  width: 100%;
}

.hero__label {
  margin-bottom: 1.75rem;
}

.hero__label-rotate {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  transform-origin: left center;
  color: var(--indigo);
}

.hero__title {
  font-family: var(--font-exp);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 16ch;
}

.hero__line {
  display: block;
}

.hero__line--1 {
  font-size: clamp(2.4rem, 8.5vw, 7.5rem);
  animation: kinetic-in 1s var(--ease-out) both;
}

.hero__line--2 {
  font-size: clamp(2.8rem, 11vw, 9.5rem);
  color: var(--coral);
  margin-left: clamp(0rem, 4vw, 3.5rem);
  animation: kinetic-in 1s 0.12s var(--ease-out) both;
}

.hero__line--3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.2rem, 7vw, 6rem);
  text-transform: none;
  letter-spacing: -0.02em;
  margin-left: clamp(2rem, 12vw, 10rem);
  animation: kinetic-in 1s 0.22s var(--ease-out) both;
}

.hero__line--4 {
  font-size: clamp(2.5rem, 9.5vw, 8.2rem);
  margin-left: clamp(-0.5rem, -2vw, -1.5rem);
  position: relative;
  animation: kinetic-in 1s 0.32s var(--ease-out) both;
}

@keyframes kinetic-in {
  from {
    opacity: 0;
    transform: translateY(2.5rem) skewY(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

.hero__support {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 26rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  opacity: 0.78;
  animation: kinetic-in 1s 0.45s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: kinetic-in 1s 0.55s var(--ease-out) both;
}

/* Hero abstract forms */
.hero__forms {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.liquid {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  filter: blur(0.5px);
  animation: liquid-morph 12s ease-in-out infinite;
}

.liquid--coral {
  width: clamp(12rem, 28vw, 26rem);
  height: clamp(12rem, 28vw, 26rem);
  background: radial-gradient(circle at 35% 35%, rgba(232, 74, 95, 0.55), rgba(232, 74, 95, 0.08));
  top: 12%;
  right: 4%;
  animation-delay: 0s;
}

.liquid--indigo {
  width: clamp(10rem, 22vw, 20rem);
  height: clamp(14rem, 26vw, 24rem);
  background: radial-gradient(circle at 60% 40%, rgba(91, 75, 219, 0.45), rgba(91, 75, 219, 0.05));
  bottom: 8%;
  right: 18%;
  animation-delay: -4s;
  animation-duration: 14s;
}

.liquid--lime {
  width: clamp(4rem, 8vw, 7rem);
  height: clamp(4rem, 8vw, 7rem);
  background: var(--lime);
  opacity: 0.85;
  top: 38%;
  right: 32%;
  border-radius: 50%;
  animation: float-lime 7s ease-in-out infinite;
}

@keyframes liquid-morph {
  0%, 100% {
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
    transform: translate(-2%, 3%) rotate(8deg);
  }
  66% {
    border-radius: 55% 45% 40% 60% / 40% 60% 55% 45%;
    transform: translate(2%, -2%) rotate(-5deg);
  }
}

@keyframes float-lime {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12px, 18px) scale(1.12); }
}

.arch-line {
  position: absolute;
  background: rgba(22, 23, 25, 0.18);
  transform-origin: left center;
}

.arch-line--1 {
  --line-rot: -18deg;
  width: min(40vw, 28rem);
  height: 1px;
  top: 28%;
  left: 55%;
  transform: rotate(-18deg);
  animation: draw-line 1.6s 0.6s var(--ease-out) both;
}

.arch-line--2 {
  width: 1px;
  height: min(35vh, 18rem);
  top: 45%;
  right: 12%;
  transform-origin: top center;
  animation: draw-line-v 1.6s 0.8s var(--ease-out) both;
}

.arch-line--3 {
  --line-rot: 8deg;
  width: min(25vw, 16rem);
  height: 1px;
  bottom: 18%;
  left: 8%;
  transform: rotate(8deg);
  animation: draw-line 1.6s 1s var(--ease-out) both;
}

@keyframes draw-line {
  from { transform: rotate(var(--line-rot, -18deg)) scaleX(0); opacity: 0; }
  to { transform: rotate(var(--line-rot, -18deg)) scaleX(1); opacity: 1; }
}

@keyframes draw-line-v {
  from { transform: scaleY(0); opacity: 0; transform-origin: top; }
  to { transform: scaleY(1); opacity: 1; }
}

.micro-rotate {
  position: absolute;
  bottom: 12%;
  right: 6%;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--text);
  opacity: 0.4;
}

/* ==========================================================================
   02 — Manifesto
   ========================================================================== */
.manifesto {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--mineral);
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.manifesto__vert {
  position: absolute;
  left: clamp(0.5rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.35;
}

.manifesto__quote-mark {
  position: absolute;
  top: clamp(2rem, 6vw, 5rem);
  left: clamp(2rem, 8vw, 8rem);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 0.7;
  color: var(--indigo);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.manifesto__circle {
  position: absolute;
  width: clamp(10rem, 28vw, 22rem);
  height: clamp(10rem, 28vw, 22rem);
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.12;
  right: clamp(-2rem, 5vw, 8%);
  bottom: 10%;
  animation: pulse-circle 8s ease-in-out infinite;
}

@keyframes pulse-circle {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.06); opacity: 0.18; }
}

.manifesto__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.manifesto__lines span {
  position: absolute;
  background: var(--text);
  opacity: 0.1;
}

.manifesto__lines span:nth-child(1) {
  width: 1px;
  height: 40%;
  left: 22%;
  top: 20%;
}

.manifesto__lines span:nth-child(2) {
  width: 35%;
  height: 1px;
  right: 10%;
  top: 35%;
}

.manifesto__lines span:nth-child(3) {
  width: 1px;
  height: 25%;
  right: 30%;
  bottom: 15%;
}

.manifesto__content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin-left: clamp(1.5rem, 8vw, 8rem);
}

.manifesto__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.manifesto__body {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 1.75rem;
}

.manifesto__aside {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--coral);
  max-width: 22rem;
}

/* ==========================================================================
   03 — Experimental Rooms
   ========================================================================== */
.rooms {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--sage);
}

.rooms__track {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .rooms__track {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .rooms__track {
    grid-template-columns: repeat(5, 1fr);
  }
}

.room {
  position: relative;
  min-height: clamp(18rem, 42vh, 28rem);
  padding: 1.75rem 1.5rem 2rem;
  background: var(--mineral);
  overflow: hidden;
  cursor: default;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

.room__num {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0.5;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}

.room__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: font-size 0.45s var(--ease), letter-spacing 0.45s var(--ease), transform 0.45s var(--ease);
  transform-origin: left top;
}

.room__copy {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 16rem;
  opacity: 0.7;
  transition: opacity 0.4s var(--ease);
}

.room__shape {
  position: absolute;
  pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.5;
}

.room__marker {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.25;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease);
}

/* Unique room compositions */
.room--vision .room__shape {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--coral);
  bottom: -1.5rem;
  right: -1rem;
  opacity: 0.2;
}

.room--identity .room__shape {
  width: 5rem;
  height: 12rem;
  background: var(--indigo);
  top: 20%;
  right: 1rem;
  opacity: 0.15;
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
}

.room--experience .room__shape {
  width: 9rem;
  height: 9rem;
  border: 2px solid var(--lime);
  border-radius: 40% 60% 55% 45%;
  bottom: 10%;
  right: 8%;
  opacity: 0.4;
  background: transparent;
}

.room--technology .room__shape {
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, var(--mint), transparent);
  top: auto;
  bottom: 0;
  left: 0;
  right: auto;
  opacity: 0.35;
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}

.room--culture .room__shape {
  width: 6rem;
  height: 6rem;
  background: var(--coral);
  top: 15%;
  right: 15%;
  opacity: 0.18;
  border-radius: 0;
  transform: rotate(18deg);
}

.room:hover,
.room:focus-visible {
  background: var(--graphite);
  color: var(--text-dark);
  outline: none;
}

.room:hover .room__title,
.room:focus-visible .room__title {
  transform: scale(1.12);
  letter-spacing: -0.045em;
}

.room:hover .room__num,
.room:focus-visible .room__num {
  opacity: 1;
}

.room:hover .room__copy,
.room:focus-visible .room__copy {
  opacity: 0.85;
}

.room:hover .room__marker,
.room:focus-visible .room__marker {
  opacity: 1;
  background: var(--lime);
  transform: translate(-0.5rem, -0.75rem) scale(1.4);
}

.room--vision:hover .room__num,
.room--vision:focus-visible .room__num { color: var(--coral); }
.room--vision:hover .room__shape,
.room--vision:focus-visible .room__shape {
  transform: translate(-1.5rem, -2rem) scale(1.25);
  opacity: 0.55;
}

.room--identity:hover .room__num,
.room--identity:focus-visible .room__num { color: var(--indigo); }
.room--identity:hover .room__shape,
.room--identity:focus-visible .room__shape {
  transform: translateX(-1rem) skewX(-8deg);
  opacity: 0.45;
}

.room--experience:hover .room__num,
.room--experience:focus-visible .room__num { color: var(--lime); }
.room--experience:hover .room__shape,
.room--experience:focus-visible .room__shape {
  transform: rotate(25deg) scale(1.15);
  opacity: 0.7;
}

.room--technology:hover .room__num,
.room--technology:focus-visible .room__num { color: var(--mint); }
.room--technology:hover .room__shape,
.room--technology:focus-visible .room__shape {
  transform: translateY(-1.5rem);
  opacity: 0.6;
}

.room--culture:hover .room__num,
.room--culture:focus-visible .room__num { color: var(--coral); }
.room--culture:hover .room__shape,
.room--culture:focus-visible .room__shape {
  transform: rotate(45deg) scale(1.3);
  opacity: 0.4;
}

/* ==========================================================================
   04 — Moving Gallery
   ========================================================================== */
.gallery {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--mineral);
}

.gallery__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .gallery__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(8rem, auto);
  }

  .work--circle { grid-column: 1 / 5; }
  .work--vertical { grid-column: 6 / 9; margin-top: 4rem; }
  .work--cropped { grid-column: 9 / 13; margin-top: 1rem; }
  .work--diagonal { grid-column: 2 / 7; }
  .work--oversized { grid-column: 7 / 13; margin-top: -2rem; }
  .work--floating { grid-column: 4 / 9; margin-top: 1rem; }
}

.work {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.work__media {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  transition: transform 0.6s var(--ease);
}

.work__fill {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.work:hover .work__fill {
  transform: scale(1.08);
  filter: saturate(1.15);
}

.work:hover .work__media {
  transform: translateY(-4px);
}

/* Unusual shapes */
.work--circle .work__media {
  width: min(100%, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  margin-inline: auto;
}

.work--circle .work__fill { min-height: 0; }

.work--vertical .work__media {
  aspect-ratio: 3 / 4.2;
  width: min(100%, 14rem);
  clip-path: inset(0 0 0 0 round 0);
}

.work--cropped .work__media {
  aspect-ratio: 16 / 10;
  clip-path: polygon(8% 0, 100% 0, 100% 88%, 0 100%, 0 12%);
}

.work--diagonal .work__media {
  aspect-ratio: 5 / 3;
  transform: rotate(-2.5deg);
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.work--diagonal:hover .work__media {
  transform: rotate(0deg) translateY(-4px);
}

.work--oversized .work__media {
  aspect-ratio: 16 / 9;
  min-height: 16rem;
}

.work--floating .work__media {
  aspect-ratio: 1 / 1.05;
  width: min(100%, 16rem);
  margin-left: auto;
  border-radius: 0 40% 0 40%;
  box-shadow: 1.5rem 1.5rem 0 var(--lime);
}

/* Abstract project fills (CSS-only “images”) */
.work__fill--void {
  background:
    radial-gradient(circle at 50% 50%, transparent 28%, var(--carbon) 29%),
    linear-gradient(135deg, var(--graphite), var(--indigo));
}

.work__fill--morph {
  background:
    linear-gradient(180deg, var(--coral) 0%, transparent 60%),
    linear-gradient(45deg, var(--indigo), var(--mint));
}

.work__fill--form {
  background:
    repeating-linear-gradient(-35deg, transparent, transparent 18px, rgba(21, 23, 25, 0.12) 18px, rgba(21, 23, 25, 0.12) 19px),
    linear-gradient(120deg, var(--sage), var(--lime) 40%, var(--indigo));
}

.work__fill--shift {
  background:
    linear-gradient(90deg, var(--coral) 0 35%, transparent 35%),
    linear-gradient(var(--graphite), var(--text));
}

.work__fill--pulse {
  background:
    radial-gradient(ellipse at 30% 70%, var(--lime) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%, var(--coral) 0%, transparent 40%),
    var(--indigo);
}

.work__fill--nova {
  background:
    conic-gradient(from 210deg, var(--mint), var(--indigo), var(--coral), var(--lime), var(--mint));
}

.work__title {
  font-family: var(--font-exp);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-top: 0.25rem;
}

.work__year {
  font-size: 0.8rem;
  opacity: 0.45;
  margin-top: 0.15rem;
}

.work__desc {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.72;
  max-width: 22rem;
}

.work--circle .work__meta { text-align: center; }
.work--circle .work__desc { margin-inline: auto; }

/* ==========================================================================
   05 — Spatial Process
   ========================================================================== */
.process {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--sage);
  overflow: hidden;
}

.process__stage {
  position: relative;
  padding: 2rem 0 1rem;
}

.process__path {
  display: none;
  width: 100%;
  height: 12rem;
  margin-bottom: -6rem;
  position: relative;
  z-index: 0;
}

.process__stroke {
  stroke: var(--graphite);
  stroke-width: 1.5;
  stroke-dasharray: 8 6;
  opacity: 0.35;
  animation: dash-move 28s linear infinite;
}

@keyframes dash-move {
  to { stroke-dashoffset: -400; }
}

.process__steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-left: 1px solid var(--border);
  margin-left: 0.55rem;
}

.step__node {
  position: absolute;
  left: -0.45rem;
  top: 1.75rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid var(--mineral);
  box-shadow: 0 0 0 1px currentColor;
  animation: node-pulse 3s ease-in-out infinite;
}

.step__node--coral { background: var(--coral); color: var(--coral); }
.step__node--indigo { background: var(--indigo); color: var(--indigo); animation-delay: 0.4s; }
.step__node--lime { background: var(--lime); color: var(--lime); animation-delay: 0.8s; }
.step__node--mint { background: var(--mint); color: var(--mint); animation-delay: 1.2s; }

@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.step__num {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.45;
  margin-bottom: 0.35rem;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.step__text {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.65;
}

@media (min-width: 900px) {
  .process__path {
    display: block;
  }

  .process__steps {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .step {
    flex: 1;
    border-left: none;
    margin-left: 0;
    padding: 5.5rem 0.75rem 0;
    text-align: center;
  }

  .step:nth-child(even) {
    padding-top: 8.5rem;
  }

  .step__node {
    left: 50%;
    top: 3.2rem;
    transform: translateX(-50%);
  }

  .step:nth-child(even) .step__node {
    top: 6.2rem;
  }

  .step__node {
    animation: node-pulse-x 3s ease-in-out infinite;
  }

  @keyframes node-pulse-x {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
  }
}

/* ==========================================================================
   06 — Data Sculpture
   ========================================================================== */
.data {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--carbon);
  color: var(--text-dark);
  min-height: 90vh;
  overflow: hidden;
}

.data__sculpture {
  position: relative;
  min-height: clamp(28rem, 70vh, 42rem);
  margin-top: 2rem;
}

.data__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.data__lines span {
  position: absolute;
  background: rgba(244, 242, 234, 0.08);
}

.data__lines span:nth-child(1) {
  width: 1px;
  height: 100%;
  left: 18%;
}

.data__lines span:nth-child(2) {
  width: 1px;
  height: 100%;
  left: 42%;
}

.data__lines span:nth-child(3) {
  width: 1px;
  height: 100%;
  left: 68%;
}

.data__lines span:nth-child(4) {
  width: 100%;
  height: 1px;
  top: 32%;
}

.data__lines span:nth-child(5) {
  width: 100%;
  height: 1px;
  top: 68%;
}

.stat {
  position: absolute;
  z-index: 1;
}

.stat__num {
  display: block;
  font-family: var(--font-exp);
  font-size: clamp(3.2rem, 12vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.stat__num--coral { color: var(--coral); }
.stat__num--indigo { color: var(--indigo); }
.stat__num--lime { color: var(--lime); }
.stat__num--mint { color: var(--mint); }

.stat__label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
}

.stat--1 {
  top: 4%;
  left: 0;
}

.stat--2 {
  top: 28%;
  right: 0;
  text-align: right;
}

.stat--3 {
  bottom: 22%;
  left: 8%;
}

.stat--4 {
  bottom: 0;
  right: 5%;
  text-align: right;
}

@media (min-width: 768px) {
  .stat--1 { left: 5%; }
  .stat--2 { top: 18%; right: 8%; }
  .stat--3 { left: 22%; bottom: 18%; }
  .stat--4 { right: 12%; }
}

/* ==========================================================================
   07 — Voices
   ========================================================================== */
.voices {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--mineral);
}

.voices__field {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .voices__field {
    grid-template-columns: repeat(12, 1fr);
    min-height: 36rem;
  }

  .voice--a {
    grid-column: 1 / 7;
    align-self: start;
  }

  .voice--b {
    grid-column: 6 / 13;
    align-self: center;
    margin-top: 4rem;
  }

  .voice--c {
    grid-column: 2 / 9;
    align-self: end;
  }
}

.voice {
  position: relative;
  max-width: 28rem;
}

.voice--b {
  margin-left: auto;
}

.voice__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.voice--a .voice__quote { color: var(--text); }
.voice--b .voice__quote { color: var(--indigo); }
.voice--c .voice__quote { color: var(--coral); }

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

.voice__portrait {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, var(--sage), var(--coral));
}

.voice__portrait--2 {
  background: linear-gradient(145deg, var(--indigo), var(--mint));
  border-radius: 30% 70% 50% 50%;
}

.voice__portrait--3 {
  background: linear-gradient(200deg, var(--lime), var(--graphite));
  border-radius: 0;
  transform: rotate(8deg);
}

.voice__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.voice__role {
  display: block;
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 0.15rem;
}

/* ==========================================================================
   08 — Xuniq Editions
   ========================================================================== */
.editions {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--sage);
}

.editions__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .editions__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.edition {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--mineral);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 26rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.edition:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 23, 25, 0.28);
}

.edition--featured {
  background: var(--graphite);
  color: var(--text-dark);
  border: 2px solid var(--lime);
  box-shadow: inset 0 0 0 1px rgba(232, 74, 95, 0.35);
}

.edition--featured::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--coral);
}

.edition--featured:hover {
  border-color: var(--lime);
  transform: translateY(-8px) scale(1.01);
}

.edition__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1.25rem;
}

.edition--featured .edition__tag {
  color: var(--lime);
  opacity: 1;
}

.edition__name {
  font-family: var(--font-exp);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.edition__lead {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.72;
  margin-bottom: 1.75rem;
  flex-grow: 0;
}

.edition__list {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.edition__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.edition--featured .edition__list li {
  border-bottom-color: var(--border-light);
}

.edition__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--coral);
  transform: translateY(-50%);
}

.edition--featured .edition__list li::before {
  background: var(--lime);
}

.edition .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ==========================================================================
   09 — Final Installation
   ========================================================================== */
.final {
  position: relative;
  min-height: 100svh;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--graphite);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.final__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final__outline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-exp);
  font-size: clamp(5rem, 22vw, 18rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 242, 234, 0.12);
  text-stroke: 1.5px rgba(244, 242, 234, 0.12);
  white-space: nowrap;
  user-select: none;
}

.final__circle {
  position: absolute;
  width: clamp(12rem, 30vw, 26rem);
  height: clamp(12rem, 30vw, 26rem);
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.35;
  top: 10%;
  right: 8%;
  animation: float-form 10s ease-in-out infinite;
  mix-blend-mode: screen;
}

.final__slash {
  position: absolute;
  width: clamp(10rem, 40vw, 32rem);
  height: clamp(3rem, 8vw, 6rem);
  background: var(--coral);
  opacity: 0.55;
  bottom: 18%;
  left: 5%;
  transform: rotate(-28deg) skewX(-12deg);
  animation: slash-shift 9s ease-in-out infinite;
  mix-blend-mode: screen;
}

.final__lime {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: var(--lime);
  top: 28%;
  left: 22%;
  animation: float-lime 5s ease-in-out infinite;
}

.final__lines span {
  position: absolute;
  background: rgba(244, 242, 234, 0.12);
  animation: line-drift 12s linear infinite;
}

.final__lines span:nth-child(1) {
  width: 45%;
  height: 1px;
  top: 22%;
  left: 10%;
}

.final__lines span:nth-child(2) {
  width: 1px;
  height: 40%;
  top: 30%;
  right: 25%;
  animation-delay: -3s;
}

.final__lines span:nth-child(3) {
  width: 30%;
  height: 1px;
  bottom: 30%;
  right: 10%;
  animation-delay: -6s;
}

@keyframes float-form {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 4%); }
}

@keyframes slash-shift {
  0%, 100% { transform: rotate(-28deg) skewX(-12deg) translate(0, 0); }
  50% { transform: rotate(-26deg) skewX(-10deg) translate(2%, -3%); }
}

@keyframes line-drift {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.28; }
}

.final__content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.final__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.final__support {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.7;
  margin-bottom: 2.25rem;
}

.final .btn--primary:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--carbon);
}

/* ==========================================================================
   10 — Experimental Footer
   ========================================================================== */
.footer {
  background: var(--carbon);
  color: var(--text-dark);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 4rem) 2rem;
}

.footer__top {
  display: grid;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.footer__logo {
  font-family: var(--font-exp);
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  opacity: 0.7;
  max-width: 16rem;
}

.footer__orb {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  margin-top: 2rem;
}

.footer__orb-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  border-top-color: transparent;
  border-left-color: var(--coral);
  animation: spin-orb 8s linear infinite;
}

.footer__orb-core {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--indigo);
  animation: pulse-core 3s ease-in-out infinite;
}

@keyframes spin-orb {
  to { transform: rotate(360deg); }
}

@keyframes pulse-core {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.7; }
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer__heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.15rem;
}

.footer__col a {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__col a:hover {
  opacity: 1;
  color: var(--coral);
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  opacity: 0.45;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__credit {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Small mobile tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .nav {
    padding: 0.45rem 0.5rem 0.45rem 0.95rem;
  }

  .nav__cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.62rem;
  }

  .hero__line--3 {
    margin-left: 1rem;
  }

  .hero__line--4 {
    margin-left: 0;
  }

  .manifesto__vert {
    display: none;
  }

  .manifesto__content {
    margin-left: 0;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .data__sculpture {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 1rem 0;
  }

  .stat {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    text-align: left !important;
  }

  .data__lines {
    display: none;
  }
}
