/* ==========================================================================
   Breni.site — Liquid Architecture
   Pure HTML5 + CSS3
   ========================================================================== */

:root {
  --deep-teal: #123B3A;
  --deep-teal-mid: #1E5A56;
  --almost-black: #101918;
  --warm-cream: #F1EBDD;
  --mineral: #D5D1C5;
  --burnt-orange: #D96B3B;
  --pale-aqua: #A9D1C9;
  --soft-white: #FAF8F1;
  --muted-ash: #777D78;

  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --border: 1px solid rgba(18, 59, 58, 0.16);
  --border-light: 1px solid rgba(250, 248, 241, 0.16);
  --border-active: 1px solid #D96B3B;

  --radius-btn: 10px;
  --radius-panel: 12px;

  --btn-h: 52px;
  --nav-h: 72px;
  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);

  --grad-signature: linear-gradient(135deg, #123B3A 0%, #1E5A56 45%, #A9D1C9 100%);
  --light-warm: radial-gradient(circle at 65% 35%, rgba(217, 107, 59, 0.22), transparent 42%);
}

/* Reset ------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--deep-teal);
  background: var(--warm-cream);
  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 {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-2);
  z-index: 1000;
  padding: var(--space-2) var(--space-3);
  background: var(--deep-teal);
  color: var(--warm-cream);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Typography -------------------------------------------------------------- */

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-ash);
}

.label--light {
  color: rgba(250, 248, 241, 0.62);
}

.section-head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--deep-teal);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  height: var(--btn-h);
  padding: 0 var(--space-4);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-btn);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.btn--primary {
  background: var(--deep-teal);
  color: var(--warm-cream);
  border: 1px solid var(--deep-teal);
}

.btn--primary:hover {
  background: var(--burnt-orange);
  border-color: var(--burnt-orange);
  color: var(--warm-cream);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--deep-teal);
  border: 1px solid var(--deep-teal);
}

.btn--secondary:hover {
  background: var(--deep-teal);
  color: var(--warm-cream);
}

/* 1. Navigation ----------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--warm-cream);
  border-bottom: var(--border);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  justify-self: start;
}

.nav__brand-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--deep-teal);
}

.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted-ash);
}

.nav__center {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted-ash);
  justify-self: center;
}

.nav__center-mobile {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted-ash);
  justify-self: center;
}

.nav__explore {
  justify-self: end;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--deep-teal);
  transition: color 0.3s ease;
}

.nav__explore:hover {
  color: var(--burnt-orange);
}

.nav__menu {
  display: none;
  justify-self: end;
  position: relative;
}

.nav__menu-toggle {
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--deep-teal);
  cursor: pointer;
}

.nav__menu-toggle::-webkit-details-marker {
  display: none;
}

.nav__menu-panel {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 200px;
  padding: var(--space-3);
  background: var(--soft-white);
  border: var(--border);
  border-radius: var(--radius-panel);
  display: grid;
  gap: var(--space-2);
  box-shadow: 0 16px 40px rgba(16, 25, 24, 0.08);
}

.nav__menu-panel a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--deep-teal);
  transition: color 0.25s ease;
}

.nav__menu-panel a:hover {
  color: var(--burnt-orange);
}

/* 2. Liquid Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: var(--space-6) var(--pad-x) var(--space-7);
  background:
    var(--light-warm),
    var(--warm-cream);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - var(--space-8));
}

.hero__content {
  grid-column: 1 / span 6;
  display: grid;
  gap: var(--space-4);
  align-content: center;
  text-align: left;
}

.hero__title {
  display: grid;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--deep-teal);
  text-align: left;
}

.hero__title-accent {
  color: var(--burnt-orange);
}

.hero__copy {
  max-width: 28rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted-ash);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.hero__stage {
  grid-column: 7 / span 6;
  position: relative;
  min-height: clamp(360px, 52vh, 560px);
  display: grid;
  place-items: center;
}

.hero__tech {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--muted-ash);
  white-space: nowrap;
}

.hero__tech--1 { top: 8%; left: 6%; }
.hero__tech--2 { top: 18%; right: 4%; }
.hero__tech--3 { bottom: 28%; left: 0; }
.hero__tech--4 { bottom: 18%; right: 8%; }

.hero__meta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--deep-teal);
}

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--muted-ash);
  transition: color 0.3s ease;
}

.hero__scroll:hover {
  color: var(--burnt-orange);
}

/* Liquid Architectural Column --------------------------------------------- */

.sculpture {
  position: relative;
  width: clamp(180px, 28vw, 280px);
  height: clamp(320px, 48vh, 480px);
  animation: sculpture-rotate 28s linear infinite;
  filter: drop-shadow(0 28px 48px rgba(16, 25, 24, 0.28));
}

.sculpture__shell,
.sculpture__core,
.sculpture__highlight,
.sculpture__reflection,
.sculpture__ribbon {
  position: absolute;
  inset: 0;
}

.sculpture__shell {
  background: var(--grad-signature);
  border-radius: 48% 42% 38% 52% / 28% 36% 48% 42%;
  clip-path: polygon(28% 0%, 72% 0%, 88% 18%, 92% 52%, 78% 100%, 22% 100%, 8% 52%, 12% 18%);
  box-shadow:
    inset 0 0 40px rgba(16, 25, 24, 0.35),
    0 20px 50px rgba(18, 59, 58, 0.25);
  animation: liquid-morph 16s ease-in-out infinite;
}

.sculpture__shell::before {
  content: "";
  position: absolute;
  inset: 8% 18% 8% 18%;
  background: linear-gradient(180deg, rgba(169, 209, 201, 0.35), transparent 55%);
  border-radius: 45% 40% 50% 42% / 30% 40% 45% 35%;
  filter: blur(1px);
}

.sculpture__core {
  inset: 14% 24% 12% 24%;
  background:
    linear-gradient(160deg, rgba(169, 209, 201, 0.72), rgba(30, 90, 86, 0.55) 55%, rgba(18, 59, 58, 0.85));
  border-radius: 42% 48% 40% 50% / 32% 38% 48% 40%;
  clip-path: polygon(30% 0%, 70% 0%, 86% 22%, 88% 55%, 72% 100%, 28% 100%, 12% 55%, 14% 22%);
  mix-blend-mode: soft-light;
  opacity: 0.92;
  animation: liquid-morph 18s ease-in-out infinite reverse;
}

.sculpture__highlight {
  inset: 18% 36% 40% 28%;
  background: linear-gradient(120deg, rgba(217, 107, 59, 0.55), transparent 65%);
  border-radius: 50% 40% 45% 55%;
  filter: blur(0.5px);
  animation: highlight-drift 12s ease-in-out infinite;
}

.sculpture__reflection {
  inset: 10% 42% 55% 34%;
  background: linear-gradient(180deg, rgba(250, 248, 241, 0.55), transparent);
  border-radius: 60% 40% 50% 50%;
  filter: blur(1px);
  opacity: 0.75;
  animation: reflection-shift 10s ease-in-out infinite;
}

.sculpture__ribbon {
  inset: 22% -8% 30% -8%;
  background: linear-gradient(90deg, transparent, rgba(169, 209, 201, 0.45), rgba(241, 235, 221, 0.35), transparent);
  border-radius: 50%;
  transform: rotate(-18deg) skewX(-8deg);
  filter: blur(2px);
  animation: ribbon-flow 14s ease-in-out infinite;
}

/* 3. Statement ------------------------------------------------------------ */

.statement {
  background: var(--deep-teal);
  color: var(--warm-cream);
  padding: var(--space-8) var(--pad-x);
}

.statement__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

.statement .label {
  grid-column: 1 / -1;
}

.statement__title {
  grid-column: 1 / span 7;
  display: grid;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--warm-cream);
}

.statement__rule {
  grid-column: 1 / span 3;
  width: 100%;
  max-width: 160px;
  height: 2px;
  background: var(--burnt-orange);
  margin-top: var(--space-2);
}

.statement__copy {
  grid-column: 1 / span 6;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: rgba(241, 235, 221, 0.82);
}

/* 4. Principles ----------------------------------------------------------- */

.principles {
  padding: var(--space-8) var(--pad-x);
  background: var(--soft-white);
}

.principles .section-head,
.principles__list {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.principles__list {
  border-top: var(--border);
}

.principles__row {
  border-bottom: var(--border);
}

.principles__link {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  position: relative;
  transition: transform 0.35s ease, padding-left 0.35s ease;
}

.principles__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--burnt-orange);
  transform: translateY(-50%);
  transition: height 0.35s ease;
}

.principles__link:hover {
  transform: translateX(8px);
  padding-left: var(--space-2);
}

.principles__link:hover::before {
  height: 60%;
}

.principles__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--mineral);
  transition: color 0.35s ease;
}

.principles__link:hover .principles__num {
  color: var(--burnt-orange);
}

.principles__body {
  display: grid;
  gap: var(--space-1);
}

.principles__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
}

.principles__desc {
  color: var(--muted-ash);
  font-size: 1rem;
}

.principles__arrow {
  font-size: 1.5rem;
  color: var(--deep-teal);
  transition: transform 0.35s ease, color 0.35s ease;
}

.principles__link:hover .principles__arrow {
  transform: translateX(8px);
  color: var(--burnt-orange);
}

/* 5. Form Studies --------------------------------------------------------- */

.studies {
  padding: var(--space-8) var(--pad-x);
  background: var(--warm-cream);
}

.studies .section-head,
.studies__grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.studies__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5) var(--space-4);
}

.study {
  display: grid;
  gap: var(--space-3);
}

.study:nth-child(1) { grid-column: 1 / span 4; }
.study:nth-child(2) { grid-column: 5 / span 4; }
.study:nth-child(3) { grid-column: 9 / span 4; }

.study__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--border);
  background: var(--soft-white);
}

.study__frame--01 {
  background:
    linear-gradient(rgba(18, 59, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 59, 58, 0.06) 1px, transparent 1px),
    var(--soft-white);
  background-size: 40px 40px, 40px 40px, auto;
}

.study__gridlines {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(18, 59, 58, 0.2);
}

.study__form--liquid {
  position: absolute;
  left: 28%;
  top: 18%;
  width: 44%;
  height: 64%;
  background: var(--grad-signature);
  border-radius: 46% 38% 50% 42% / 30% 44% 36% 50%;
  box-shadow: 0 18px 36px rgba(18, 59, 58, 0.22);
  animation: liquid-morph 14s ease-in-out infinite;
}

.study__form--liquid::after {
  content: "";
  position: absolute;
  inset: 18% 28% 40% 22%;
  background: linear-gradient(140deg, rgba(217, 107, 59, 0.45), transparent 60%);
  border-radius: 50%;
}

.study__frame--02 {
  background: var(--mineral);
}

.study__hard {
  position: absolute;
  left: 18%;
  top: 22%;
  width: 48%;
  height: 56%;
  background: var(--deep-teal);
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
}

.study__soft {
  position: absolute;
  right: 10%;
  top: 30%;
  width: 52%;
  height: 42%;
  background: linear-gradient(135deg, rgba(169, 209, 201, 0.9), rgba(241, 235, 221, 0.85));
  border-radius: 50% 40% 48% 52%;
  mix-blend-mode: multiply;
  animation: soft-intersect 12s ease-in-out infinite;
}

.study__frame--03 {
  background: var(--almost-black);
}

.study__mass {
  position: absolute;
  left: 22%;
  top: 20%;
  width: 56%;
  height: 60%;
  background: linear-gradient(160deg, #1a4543, #101918 70%);
  border-radius: 42% 48% 38% 52% / 34% 40% 48% 36%;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
  animation: liquid-morph 18s ease-in-out infinite;
}

.study__glow {
  position: absolute;
  right: 18%;
  top: 28%;
  width: 28%;
  height: 36%;
  background: radial-gradient(circle, rgba(217, 107, 59, 0.7), transparent 70%);
  filter: blur(8px);
  animation: glow-pulse 8s ease-in-out infinite;
}

.study__meta {
  display: grid;
  gap: var(--space-1);
}

.study__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.study__copy {
  color: var(--muted-ash);
  font-size: 0.975rem;
}

/* 6. Liquid Gallery ------------------------------------------------------- */

.gallery {
  padding: var(--space-8) var(--pad-x);
  background: var(--soft-white);
}

.gallery .section-head,
.gallery__grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

.gallery__item {
  grid-column: span 4;
  display: grid;
  gap: var(--space-2);
}

.gallery__visual {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: var(--border);
  background: var(--warm-cream);
}

.gallery__visual::before,
.gallery__visual::after {
  content: "";
  position: absolute;
}

.gallery__visual--01 {
  background:
    linear-gradient(180deg, transparent 40%, rgba(18, 59, 58, 0.08)),
    var(--warm-cream);
}

.gallery__visual--01::before {
  inset: 30% -10% 20% -10%;
  background: linear-gradient(90deg, transparent, var(--pale-aqua), var(--deep-teal-mid), transparent);
  border-radius: 50%;
  filter: blur(2px);
  animation: surface-wave 10s ease-in-out infinite;
}

.gallery__visual--02 {
  background: var(--deep-teal);
}

.gallery__visual--02::before {
  inset: 18% 22% 28% 22%;
  border: 1px solid rgba(250, 248, 241, 0.28);
}

.gallery__visual--02::after {
  left: 28%;
  top: 24%;
  width: 44%;
  height: 52%;
  background: linear-gradient(160deg, var(--pale-aqua), rgba(241, 235, 221, 0.4));
  border-radius: 48% 40% 52% 44%;
  animation: liquid-morph 12s ease-in-out infinite;
}

.gallery__visual--03 {
  background: var(--almost-black);
}

.gallery__visual--03::before {
  inset: 16%;
  background: rgba(30, 90, 86, 0.55);
  border-radius: 40% 50% 45% 55%;
  filter: blur(1px);
}

.gallery__visual--03::after {
  inset: 28%;
  background: rgba(169, 209, 201, 0.35);
  border-radius: 50%;
  animation: layer-breathe 9s ease-in-out infinite;
}

.gallery__visual--04 {
  background:
    radial-gradient(circle at 50% 58%, rgba(169, 209, 201, 0.25), transparent 45%),
    var(--warm-cream);
}

.gallery__visual--04::before {
  left: 30%;
  top: 22%;
  width: 40%;
  height: 48%;
  background: var(--grad-signature);
  border-radius: 50% 45% 48% 52%;
  box-shadow: 0 24px 40px rgba(18, 59, 58, 0.18);
  animation: float-mass 11s ease-in-out infinite;
}

.gallery__visual--05 {
  background: linear-gradient(145deg, var(--deep-teal), var(--almost-black));
}

.gallery__visual--05::before {
  right: 18%;
  top: 20%;
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(217, 107, 59, 0.55), transparent 68%);
  filter: blur(6px);
  animation: glow-pulse 7s ease-in-out infinite;
}

.gallery__visual--05::after {
  left: 20%;
  bottom: 22%;
  width: 48%;
  height: 18%;
  background: linear-gradient(90deg, transparent, rgba(241, 235, 221, 0.25), transparent);
  border-radius: 50%;
  transform: skewX(-20deg);
}

.gallery__visual--06 {
  background: var(--mineral);
}

.gallery__visual--06::before {
  left: 12%;
  top: 35%;
  width: 76%;
  height: 2px;
  background: rgba(18, 59, 58, 0.35);
}

.gallery__visual--06::after {
  left: 18%;
  top: 28%;
  width: 28%;
  height: 28%;
  background: rgba(18, 59, 58, 0.55);
  border-radius: 48% 42% 50% 45%;
  animation: trace-drift 13s ease-in-out infinite;
  box-shadow: 40px 18px 0 -8px rgba(30, 90, 86, 0.25), 72px 30px 0 -14px rgba(169, 209, 201, 0.35);
}

.gallery__item figcaption {
  display: grid;
  gap: 4px;
}

.gallery__code {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--muted-ash);
}

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

/* 7. Architecture / Motion ------------------------------------------------ */

.motion {
  background: var(--almost-black);
  color: var(--warm-cream);
  padding: var(--space-8) var(--pad-x);
  overflow: hidden;
}

.motion__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-5);
}

.motion__title {
  display: grid;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--warm-cream);
}

.motion__stage {
  position: relative;
  aspect-ratio: 16 / 8;
  border: var(--border-light);
  overflow: hidden;
  background:
    linear-gradient(rgba(250, 248, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 248, 241, 0.04) 1px, transparent 1px),
    #0d1514;
  background-size: calc(100% / 12) 100%, calc(100% / 12) 100%, auto;
}

.motion__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.motion__grid span {
  border: 1px solid rgba(250, 248, 241, 0.08);
}

.motion__fluid {
  position: absolute;
  top: 18%;
  left: -20%;
  width: 28%;
  height: 64%;
  background: var(--grad-signature);
  border-radius: 48% 40% 52% 44% / 36% 48% 32% 50%;
  filter: blur(0.2px);
  box-shadow: 0 0 40px rgba(169, 209, 201, 0.15);
  animation: pass-through 18s ease-in-out infinite;
}

.motion__accent {
  position: absolute;
  top: 42%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 107, 59, 0.7), transparent);
}

.motion__note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(241, 235, 221, 0.55);
}

/* 8. Archive -------------------------------------------------------------- */

.archive {
  padding: var(--space-8) var(--pad-x);
  background: var(--warm-cream);
}

.archive .section-head,
.archive__list {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.archive__list {
  border-top: var(--border);
}

.archive__list > li {
  border-bottom: var(--border);
}

.archive__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  position: relative;
  transition: transform 0.3s ease, padding-left 0.3s ease;
}

.archive__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--burnt-orange);
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

.archive__row:hover {
  transform: translateX(8px);
  padding-left: var(--space-2);
}

.archive__row:hover::before {
  height: 50%;
}

.archive__meta {
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  letter-spacing: 0.06em;
  color: var(--muted-ash);
  transition: color 0.3s ease;
}

.archive__row:hover .archive__meta {
  color: var(--deep-teal);
}

.archive__arrow {
  color: var(--muted-ash);
  transition: transform 0.3s ease, color 0.3s ease;
}

.archive__row:hover .archive__arrow {
  transform: translateX(8px);
  color: var(--burnt-orange);
}

/* 9. Final Statement ------------------------------------------------------ */

.final {
  position: relative;
  padding: var(--space-8) var(--pad-x);
  background: var(--warm-cream);
  overflow: hidden;
  min-height: 70vh;
  display: grid;
  align-items: center;
}

.final__form {
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(52vw, 560px);
  height: min(70vh, 640px);
  background: var(--grad-signature);
  border-radius: 46% 40% 52% 44% / 34% 48% 36% 50%;
  opacity: 0.18;
  filter: blur(2px);
  animation: liquid-morph 20s ease-in-out infinite, sculpture-rotate 40s linear infinite;
  pointer-events: none;
}

.final__form::before {
  content: "";
  position: absolute;
  inset: 18% 24%;
  background: radial-gradient(circle at 65% 35%, rgba(217, 107, 59, 0.35), transparent 50%);
  border-radius: 50%;
}

.final__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

.final__title {
  display: grid;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--deep-teal);
}

.final__copy {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted-ash);
  line-height: 1.7;
}

/* 10. Footer -------------------------------------------------------------- */

.footer {
  background: var(--deep-teal);
  color: var(--warm-cream);
  padding: 0 var(--pad-x) var(--space-5);
}

.footer__divider {
  height: 2px;
  background: var(--burnt-orange);
  max-width: var(--max);
  margin: 0 auto var(--space-6);
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: var(--space-6);
  padding-top: var(--space-6);
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.footer__dot {
  font-family: var(--font-mono);
  font-size: 0.28em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(241, 235, 221, 0.55);
}

.footer__tagline {
  margin-top: var(--space-3);
  font-size: 1.05rem;
  color: rgba(241, 235, 221, 0.72);
  font-style: italic;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: rgba(241, 235, 221, 0.5);
  margin-bottom: var(--space-3);
}

.footer__col ul {
  display: grid;
  gap: var(--space-2);
}

.footer__col a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--warm-cream);
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: var(--pale-aqua);
}

.footer__bottom {
  max-width: var(--max);
  margin: var(--space-6) auto 0;
  padding-top: var(--space-4);
  border-top: var(--border-light);
}

.footer__bottom p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(241, 235, 221, 0.5);
}

/* Keyframes --------------------------------------------------------------- */

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

@keyframes liquid-morph {
  0%, 100% {
    border-radius: 48% 42% 38% 52% / 28% 36% 48% 42%;
  }
  33% {
    border-radius: 40% 50% 45% 40% / 36% 30% 50% 40%;
  }
  66% {
    border-radius: 52% 36% 48% 44% / 32% 46% 34% 50%;
  }
}

@keyframes highlight-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(8%, 10%) scale(1.08); opacity: 1; }
}

@keyframes reflection-shift {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(12%); opacity: 0.9; }
}

@keyframes ribbon-flow {
  0%, 100% { transform: rotate(-18deg) skewX(-8deg) translateX(-4%); }
  50% { transform: rotate(-12deg) skewX(-4deg) translateX(6%); }
}

@keyframes soft-intersect {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6%, 4%) rotate(4deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.12); }
}

@keyframes surface-wave {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-8%) scaleY(1.15); }
}

@keyframes layer-breathe {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

@keyframes float-mass {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10%); }
}

@keyframes trace-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18%, 8%); }
}

@keyframes pass-through {
  0% {
    left: -24%;
    border-radius: 48% 40% 52% 44% / 36% 48% 32% 50%;
  }
  50% {
    left: 48%;
    border-radius: 40% 52% 42% 50% / 44% 34% 50% 36%;
  }
  100% {
    left: 108%;
    border-radius: 48% 40% 52% 44% / 36% 48% 32% 50%;
  }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    min-height: auto;
  }

  .hero__content,
  .hero__stage {
    grid-column: 1 / -1;
  }

  .hero__stage {
    min-height: 420px;
  }

  .sculpture {
    width: clamp(160px, 36vw, 220px);
    height: clamp(280px, 42vh, 380px);
  }

  .statement__title,
  .statement__rule,
  .statement__copy {
    grid-column: 1 / -1;
  }

  .study:nth-child(1),
  .study:nth-child(2),
  .study:nth-child(3) {
    grid-column: span 4;
  }

  .gallery__item {
    grid-column: span 6;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav__center,
  .nav__explore {
    display: none;
  }

  .nav__center-mobile,
  .nav__menu {
    display: block;
  }

  .nav__inner {
    grid-template-columns: 1fr auto auto;
    gap: var(--space-3);
  }

  .hero {
    padding-top: var(--space-5);
    padding-bottom: var(--space-6);
  }

  .hero__title {
    font-size: clamp(3.25rem, 16vw, 5.5rem);
  }

  .hero__scroll {
    position: static;
    display: inline-block;
    margin-top: var(--space-4);
  }

  .hero__tech--1 { left: 0; }
  .hero__tech--2 { right: 0; }
  .hero__tech--3 { left: 0; }
  .hero__tech--4 { right: 0; }

  .principles__link {
    grid-template-columns: 64px 1fr auto;
    gap: var(--space-2);
  }

  .principles__num {
    font-size: 2rem;
  }

  .studies__grid,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .study:nth-child(1),
  .study:nth-child(2),
  .study:nth-child(3),
  .gallery__item {
    grid-column: 1 / -1;
  }

  .motion__stage {
    aspect-ratio: 4 / 5;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .final__title {
    font-size: clamp(3.25rem, 16vw, 5.5rem);
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__stage {
    min-height: 340px;
  }

  .sculpture {
    width: 150px;
    height: 270px;
  }

  .hero__tech {
    font-size: 0.625rem;
  }

  .statement,
  .principles,
  .studies,
  .gallery,
  .motion,
  .archive,
  .final {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }
}

/* Reduced motion ---------------------------------------------------------- */

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

  .btn,
  .principles__link,
  .archive__row,
  .principles__arrow,
  .archive__arrow {
    transition: none !important;
  }
}
