/* ============================================
   Brynu.site — Organic Future
   Soft forms. Strong ideas.
   ============================================ */

:root {
  --porcelain: #F3F0EA;
  --midnight: #11121A;
  --deep-indigo: #30356F;
  --electric: #5964D9;
  --coral: #E76B61;
  --soft-coral: #F29A8F;
  --champagne: #E8C98F;
  --sage: #9BAF9B;
  --text: #171821;
  --text-light: #F8F5EF;
  --text-muted: #777982;

  --grad-orchid: linear-gradient(125deg, #30356F 0%, #5964D9 38%, #E76B61 72%, #E8C98F 100%);
  --grad-coral-sky: linear-gradient(135deg, #F29A8F 0%, #E76B61 45%, #5964D9 100%);
  --grad-midnight-bloom: linear-gradient(145deg, #11121A 0%, #30356F 48%, #E76B61 100%);
  --grad-sage-horizon: linear-gradient(135deg, #9BAF9B 0%, #E8C98F 48%, #F29A8F 100%);
  --grad-dusk: linear-gradient(120deg, #11121A 0%, #5964D9 45%, #F29A8F 100%);
  --grad-line: linear-gradient(90deg, #30356F, #E76B61, #E8C98F);
  --grad-footer: linear-gradient(90deg, #30356F, #E76B61, #E8C98F, #9BAF9B);

  --font-display: "Syne", sans-serif;
  --font-secondary: "Plus Jakarta Sans", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 7rem;
  --shell: min(92vw, 1200px);
  --nav-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--porcelain);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--midnight);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-label.light {
  color: color-mix(in srgb, var(--text-light) 55%, transparent);
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn-primary {
  background: var(--midnight);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--deep-indigo);
  transform: translateY(-2px);
}

.btn-ghost {
  border-bottom: 1px solid var(--text);
  padding-inline: 0;
  border-radius: 0;
}

.btn-ghost:hover {
  color: var(--coral);
  border-color: var(--coral);
}

/* ============================================
   1. Navigation
   ============================================ */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle:focus-visible + .nav-inner .nav-menu {
  outline: 2px solid var(--electric);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--porcelain) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--deep-indigo) 28%, transparent);
}

.nav-inner {
  width: var(--shell);
  margin-inline: auto;
  min-height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  justify-self: start;
}

.nav-brand-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.nav-brand-site {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.nav-field {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-align: center;
}

.nav-explore {
  justify-self: end;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease);
}

.nav-explore::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-explore:hover {
  color: var(--coral);
}

.nav-explore:hover::after {
  transform: scaleX(1);
}

.nav-menu {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  justify-self: end;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-menu-bar {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 4vw 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--deep-indigo) 18%, transparent);
  background: var(--porcelain);
}

.mobile-nav a {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.85rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--deep-indigo) 12%, transparent);
  transition: color 0.3s var(--ease);
}

.mobile-nav a:hover {
  color: var(--coral);
}

/* ============================================
   2. Hero
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--porcelain);
  overflow: hidden;
}

.hero-grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  min-height: calc(100svh - var(--nav-h) - 6rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.hero-title {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9.5vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.hero-line {
  display: block;
}

.hero-line-thin {
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--deep-indigo);
  margin-left: 0.08em;
}

.hero-line-italic {
  font-family: var(--font-secondary);
  font-style: italic;
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: -0.02em;
  color: var(--coral);
  margin-top: 0.12em;
  margin-left: 0.35em;
}

.hero-footer {
  margin-top: auto;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  max-width: 28rem;
}

.hero-support {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero-sculpture {
  position: relative;
  min-height: clamp(340px, 52vh, 560px);
  display: grid;
  place-items: center;
}

.hero-ghost {
  position: absolute;
  inset: auto 0 18% 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 11rem);
  letter-spacing: -0.04em;
  color: var(--deep-indigo);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  line-height: 0.8;
}

.sculpture {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  z-index: 1;
}

.sculpt-blob,
.sculpt-curve,
.sculpt-ring,
.sculpt-oval,
.sculpt-sphere,
.sculpt-grid {
  position: absolute;
}

.sculpt-blob.indigo {
  inset: 12% 18% 22% 8%;
  background: var(--grad-orchid);
  border-radius: 58% 42% 38% 62% / 48% 55% 45% 52%;
  animation: float-a 12s ease-in-out infinite;
  filter: saturate(1.05);
}

.sculpt-curve.coral {
  width: 58%;
  height: 42%;
  right: 4%;
  top: 18%;
  background: var(--grad-coral-sky);
  border-radius: 0 50% 40% 60%;
  clip-path: polygon(8% 18%, 100% 0, 92% 100%, 0 78%);
  animation: float-b 14s ease-in-out infinite;
  opacity: 0.92;
}

.sculpt-ring.champagne {
  width: 46%;
  aspect-ratio: 1;
  left: 8%;
  bottom: 10%;
  border: 10px solid color-mix(in srgb, var(--champagne) 85%, white);
  border-radius: 50%;
  animation: spin-slow 28s linear infinite;
  opacity: 0.9;
}

.sculpt-oval.sage {
  width: 34%;
  height: 48%;
  right: 14%;
  bottom: 8%;
  background: color-mix(in srgb, var(--sage) 80%, white);
  border-radius: 50%;
  transform: rotate(18deg);
  animation: float-c 16s ease-in-out infinite;
  opacity: 0.85;
}

.sculpt-sphere {
  width: 14%;
  aspect-ratio: 1;
  left: 42%;
  top: 8%;
  background: var(--midnight);
  border-radius: 50%;
  animation: float-a 10s ease-in-out infinite reverse;
  z-index: 2;
}

.sculpt-grid {
  inset: 20% 12% 28% 28%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--deep-indigo) 35%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--deep-indigo) 35%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-tags {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.hero-tags li:nth-child(1) { position: absolute; top: 6%; left: 0; }
.hero-tags li:nth-child(2) { position: absolute; top: 28%; right: 0; }
.hero-tags li:nth-child(3) { position: absolute; bottom: 22%; left: 4%; }
.hero-tags li:nth-child(4) { position: absolute; bottom: 8%; right: 6%; }

.hero-scroll {
  position: absolute;
  right: max(4vw, calc((100vw - min(92vw, 1200px)) / 2));
  bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.hero-scroll a {
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.hero-scroll a:hover {
  color: var(--coral);
}

/* ============================================
   3. Manifesto
   ============================================ */
.manifesto {
  background: var(--midnight);
  color: var(--text-light);
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.manifesto-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.manifesto-title span {
  display: block;
}

.manifesto-title span:last-child {
  color: color-mix(in srgb, var(--soft-coral) 80%, white);
}

.manifesto-text {
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: color-mix(in srgb, var(--text-light) 72%, transparent);
  line-height: 1.7;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.gradient-line {
  width: min(100%, 28rem);
  height: 2px;
  background: var(--grad-line);
  background-size: 200% 100%;
  transform-origin: left;
  animation: line-draw 1.8s var(--ease) both, line-flow 6s ease-in-out 1.8s infinite;
}

/* ============================================
   4. Form Index
   ============================================ */
.form-index {
  background: var(--porcelain);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.index-list {
  border-top: 1px solid color-mix(in srgb, var(--deep-indigo) 22%, transparent);
}

.index-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(0.5rem, 2vw, 1.25rem);
  border-bottom: 1px solid color-mix(in srgb, var(--deep-indigo) 22%, transparent);
  position: relative;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), color 0.35s var(--ease);
}

.index-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--coral);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}

.index-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--deep-indigo);
  transition: transform 0.4s var(--ease), color 0.35s var(--ease);
}

.index-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  transition: transform 0.4s var(--ease);
}

.index-desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.index-arrow {
  font-size: 1.5rem;
  color: var(--electric);
  transition: transform 0.4s var(--ease);
}

.index-row:hover {
  background: var(--deep-indigo);
  color: var(--text-light);
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
}

.index-row:hover::before {
  transform: scaleY(1);
}

.index-row:hover .index-num {
  transform: scale(1.08);
  color: var(--champagne);
}

.index-row:hover .index-title {
  transform: translateX(0.35rem);
}

.index-row:hover .index-desc {
  color: color-mix(in srgb, var(--text-light) 70%, transparent);
}

.index-row:hover .index-arrow {
  transform: translateX(0.5rem);
  color: var(--coral);
}

/* ============================================
   5. Organic Gallery
   ============================================ */
.gallery {
  background: color-mix(in srgb, var(--porcelain) 88%, var(--champagne));
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.art {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.art-bloom { grid-column: span 7; }
.art-field { grid-column: span 5; }
.art-dusk { grid-column: span 4; }
.art-flow { grid-column: span 8; }
.art-trace { grid-column: span 6; }
.art-orbit { grid-column: span 6; }

.art-canvas {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--porcelain);
}

.art-bloom .art-canvas { aspect-ratio: 16 / 10; border-radius: 0; }
.art-field .art-canvas { aspect-ratio: 4 / 5; border-radius: 50% 50% 24px 24px; }
.art-dusk .art-canvas { aspect-ratio: 3 / 4; border-radius: 24px 0 50% 0; }
.art-flow .art-canvas { aspect-ratio: 21 / 9; border-radius: 0 0 50% 50% / 0 0 40% 40%; }
.art-trace .art-canvas { aspect-ratio: 1; border-radius: 0; }
.art-orbit .art-canvas { aspect-ratio: 5 / 4; border-radius: 50%; }

.art-canvas span {
  position: absolute;
  display: block;
}

/* Bloom */
.bloom-a {
  inset: 10% 20% 18% 8%;
  background: var(--grad-orchid);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  animation: morph 14s ease-in-out infinite;
}

.bloom-b {
  width: 38%;
  height: 38%;
  right: 10%;
  bottom: 12%;
  background: var(--soft-coral);
  border-radius: 50%;
  opacity: 0.85;
}

.bloom-c {
  width: 18%;
  aspect-ratio: 1;
  left: 18%;
  top: 16%;
  background: var(--champagne);
  border-radius: 50%;
}

/* Field */
.field-a {
  inset: 0;
  background: var(--grad-sage-horizon);
  opacity: 0.9;
}

.field-b {
  width: 70%;
  height: 55%;
  left: 15%;
  top: 20%;
  border: 1px solid var(--midnight);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}

.field-c {
  width: 22%;
  aspect-ratio: 1;
  right: 18%;
  bottom: 22%;
  background: var(--deep-indigo);
  border-radius: 0;
  transform: rotate(18deg);
}

/* Dusk */
.dusk-a {
  inset: 0;
  background: var(--grad-dusk);
}

.dusk-b {
  width: 80%;
  height: 45%;
  left: 10%;
  bottom: 0;
  background: var(--porcelain);
  border-radius: 50% 50% 0 0;
}

.dusk-c {
  width: 20%;
  aspect-ratio: 1;
  right: 18%;
  top: 18%;
  background: var(--champagne);
  border-radius: 50%;
  animation: float-b 11s ease-in-out infinite;
}

/* Flow */
.flow-a {
  inset: 0;
  background: linear-gradient(100deg, var(--deep-indigo), var(--electric) 40%, var(--soft-coral));
}

.flow-b {
  width: 55%;
  height: 140%;
  left: 20%;
  top: -20%;
  background: color-mix(in srgb, var(--champagne) 55%, transparent);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: float-c 13s ease-in-out infinite;
}

.flow-c {
  width: 12%;
  height: 60%;
  right: 18%;
  top: 20%;
  background: var(--midnight);
  border-radius: 999px;
}

/* Trace */
.trace-a {
  inset: 0;
  background: var(--midnight);
}

.trace-b {
  inset: 18%;
  border: 1px solid color-mix(in srgb, var(--champagne) 70%, transparent);
  border-radius: 40% 60% 55% 45%;
  animation: morph 16s ease-in-out infinite reverse;
}

.trace-c {
  width: 35%;
  height: 8%;
  left: 32%;
  top: 46%;
  background: var(--coral);
  border-radius: 999px;
  transform: rotate(-12deg);
}

/* Orbit */
.orbit-a {
  inset: 12%;
  background: var(--grad-coral-sky);
  border-radius: 50%;
}

.orbit-b {
  inset: 28%;
  border: 8px solid var(--porcelain);
  border-radius: 50%;
  animation: spin-slow 22s linear infinite;
}

.orbit-c {
  width: 12%;
  aspect-ratio: 1;
  left: 44%;
  top: 8%;
  background: var(--sage);
  border-radius: 50%;
}

.art-meta .art-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.art-meta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.art:hover .art-canvas span:first-child {
  transform: scale(1.03);
  transition: transform 0.8s var(--ease);
}

/* ============================================
   6. Perspectives
   ============================================ */
.perspectives {
  background: var(--porcelain);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.feature {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.feature + .feature,
.feature-split {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.feature-wide {
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid color-mix(in srgb, var(--deep-indigo) 18%, transparent);
}

.feature-visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--midnight);
}

.feature-wide .feature-visual {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  min-height: 0;
}

.feature-tall .feature-visual {
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 24px 24px;
  min-height: 0;
}

.feature-halves .feature-visual {
  aspect-ratio: 1;
  border-radius: 0 50% 0 50%;
  min-height: 0;
}

.feature-visual span {
  position: absolute;
  display: block;
}

.fv-wide-a {
  inset: 0;
  background: var(--grad-midnight-bloom);
}

.fv-wide-b {
  width: 40%;
  height: 70%;
  right: 8%;
  top: 15%;
  background: color-mix(in srgb, var(--champagne) 40%, transparent);
  border-radius: 50%;
  animation: float-a 15s ease-in-out infinite;
}

.fv-wide-c {
  width: 18%;
  height: 18%;
  left: 12%;
  bottom: 18%;
  background: var(--sage);
  border-radius: 0;
}

.fv-tall-a {
  inset: 0;
  background: var(--grad-sage-horizon);
}

.fv-tall-b {
  width: 70%;
  aspect-ratio: 1;
  left: 15%;
  top: 18%;
  border: 1px solid var(--midnight);
  border-radius: 50%;
}

.fv-tall-c {
  width: 25%;
  height: 40%;
  right: 18%;
  bottom: 12%;
  background: var(--deep-indigo);
  border-radius: 50% 0;
}

.fv-split-a {
  inset: 0 50% 0 0;
  background: var(--electric);
}

.fv-split-b {
  inset: 0 0 0 50%;
  background: var(--soft-coral);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%);
}

.feature-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.feature-copy p {
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 28rem;
}

.feature-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--deep-indigo);
}

.feature-link {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.feature-link span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.feature-link:hover {
  color: var(--coral);
}

.feature-link:hover span {
  transform: translateX(0.35rem);
}

.feature-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.feature-halves {
  grid-template-columns: 1fr;
  padding-top: clamp(2rem, 6vw, 5rem);
}

/* ============================================
   7. Gradient Chamber
   ============================================ */
.chamber {
  position: relative;
  background: var(--midnight);
  color: var(--text-light);
  padding: clamp(5rem, 12vw, 9rem) 0;
  overflow: hidden;
}

.chamber-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, color-mix(in srgb, white 8%, transparent) 2px, color-mix(in srgb, white 8%, transparent) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, color-mix(in srgb, white 5%, transparent) 3px, color-mix(in srgb, white 5%, transparent) 4px);
  mix-blend-mode: soft-light;
}

.chamber-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.chamber-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.chamber-title span {
  display: block;
}

.chamber-stage {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.chamber-form {
  position: absolute;
  inset: 12%;
  background: var(--grad-orchid);
  background-size: 180% 180%;
  border-radius: 58% 42% 48% 52% / 42% 55% 45% 58%;
  animation: spin-slow 36s linear infinite, gradient-shift 10s ease-in-out infinite, morph 18s ease-in-out infinite;
  filter: saturate(1.08);
}

.chamber-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--text-light) 55%, transparent);
}

.tag-form { top: 4%; left: 8%; }
.tag-light { top: 18%; right: 0; }
.tag-motion { bottom: 28%; left: 0; }
.tag-depth { bottom: 8%; right: 10%; }
.tag-field { top: 48%; right: -2%; }

/* ============================================
   8. Archive
   ============================================ */
.archive {
  background: var(--porcelain);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.archive .section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.archive-list {
  border-top: 1px solid color-mix(in srgb, var(--deep-indigo) 20%, transparent);
}

.archive-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--deep-indigo) 20%, transparent);
  transition: transform 0.35s var(--ease);
}

.archive-marker {
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.35s var(--ease);
}

.archive-text {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.archive-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  transition: color 0.35s var(--ease);
}

.archive-arrow {
  color: var(--electric);
  transition: transform 0.35s var(--ease);
}

.archive-row:hover {
  transform: translateX(0.5rem);
}

.archive-row:hover .archive-marker {
  width: 1.25rem;
}

.archive-row:hover .archive-num {
  color: var(--electric);
}

.archive-row:hover .archive-arrow {
  transform: translateX(0.4rem);
  color: var(--coral);
}

/* ============================================
   9. Closing
   ============================================ */
.closing {
  position: relative;
  background: var(--porcelain);
  padding: clamp(6rem, 14vw, 10rem) 0;
  overflow: hidden;
}

.closing-shape {
  position: absolute;
  width: min(70vw, 640px);
  aspect-ratio: 1;
  right: -8%;
  top: 10%;
  background: var(--grad-orchid);
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
  opacity: 0.22;
  animation: morph 20s ease-in-out infinite, float-a 16s ease-in-out infinite;
  pointer-events: none;
}

.closing-curve {
  position: absolute;
  left: -10%;
  bottom: 18%;
  width: 70%;
  height: 2px;
  background: var(--sage);
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: 0.7;
  pointer-events: none;
}

.closing-curve::before {
  content: "";
  position: absolute;
  inset: -40px 10% auto 5%;
  height: 80px;
  border: 1px solid color-mix(in srgb, var(--sage) 70%, transparent);
  border-radius: 50%;
  border-bottom: 0;
  opacity: 0.55;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.closing-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.closing-title span {
  display: block;
}

.closing-title span:last-child {
  color: var(--deep-indigo);
}

.closing-text {
  max-width: 28rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ============================================
   10. Footer
   ============================================ */
.site-footer {
  background: var(--midnight);
  color: var(--text-light);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 2rem;
}

.footer-gradient {
  width: var(--shell);
  margin: 0 auto 2.5rem;
  height: 2px;
  background: var(--grad-footer);
}

.footer-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.footer-site {
  font-family: var(--font-mono);
  font-size: 0.35em;
  letter-spacing: 0.18em;
  color: color-mix(in srgb, var(--text-light) 50%, transparent);
  vertical-align: super;
  margin-left: 0.15em;
}

.footer-tagline {
  margin-top: 1rem;
  font-family: var(--font-secondary);
  font-style: italic;
  color: color-mix(in srgb, var(--text-light) 65%, transparent);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-cols h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--text-light) 45%, transparent);
  margin-bottom: 1rem;
}

.footer-cols a {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.footer-cols a:hover {
  color: var(--soft-coral);
}

.footer-bottom {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: color-mix(in srgb, var(--text-light) 40%, transparent);
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--text-light) 12%, transparent);
}

/* ============================================
   Animations
   ============================================ */
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -14px) rotate(2deg); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10px, 10px) rotate(-3deg); }
}

@keyframes float-c {
  0%, 100% { transform: rotate(18deg) translate(0, 0); }
  50% { transform: rotate(22deg) translate(6px, -8px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes morph {
  0%, 100% { border-radius: 58% 42% 38% 62% / 48% 55% 45% 52%; }
  33% { border-radius: 42% 58% 55% 45% / 55% 42% 58% 45%; }
  66% { border-radius: 50% 50% 42% 58% / 45% 55% 50% 50%; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

@keyframes line-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes line-draw {
  from { transform: scaleX(0); opacity: 0.3; }
  to { transform: scaleX(1); opacity: 1; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-sculpture {
    order: -1;
    min-height: clamp(280px, 48vw, 420px);
  }

  .sculpture {
    width: min(100%, 360px);
  }

  .hero-footer {
    margin-top: 2.5rem;
  }

  .hero-scroll {
    position: static;
    width: var(--shell);
    margin: 2rem auto 0;
    text-align: right;
  }

  .art-bloom,
  .art-field,
  .art-dusk,
  .art-flow,
  .art-trace,
  .art-orbit {
    grid-column: span 6;
  }

  .feature-wide,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .feature-halves {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .nav-field,
  .nav-explore {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-menu {
    display: inline-flex;
  }

  #nav-toggle:checked ~ .nav-inner .nav-menu-bar:first-child {
    transform: translateY(3.5px) rotate(40deg);
  }

  #nav-toggle:checked ~ .nav-inner .nav-menu-bar:last-child {
    transform: translateY(-3.5px) rotate(-40deg);
  }

  #nav-toggle:checked ~ .mobile-nav {
    display: flex;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-line-italic {
    margin-left: 0;
  }

  .hero-tags li:nth-child(2),
  .hero-tags li:nth-child(4) {
    display: none;
  }

  .sculpt-grid {
    opacity: 0.25;
  }

  .art-bloom,
  .art-field,
  .art-dusk,
  .art-flow,
  .art-trace,
  .art-orbit {
    grid-column: span 12;
  }

  .index-row {
    grid-template-columns: auto 1fr;
    gap: 0.85rem 1rem;
  }

  .index-arrow {
    display: none;
  }

  .archive-row {
    grid-template-columns: auto 1fr auto;
  }

  .archive-num {
    display: none;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .chamber-tag {
    font-size: 0.58rem;
  }

  .tag-field {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    min-height: 3.25rem;
  }

  .closing-shape {
    width: 90vw;
    opacity: 0.16;
  }
}

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