/* ============================================
   Curno.space — Tidal Minimalism
   Pure HTML5 + CSS3
   ============================================ */

:root {
  --bg: #F5F3EE;
  --mist: #E5E9E5;
  --deep: #102A2E;
  --ocean: #247C78;
  --terra: #D47B57;
  --ochre: #D9B84C;
  --sage: #8CB8A4;
  --charcoal: #1A2023;
  --text: #172124;
  --text-muted: #6D7778;
  --text-light: #F7F5EF;

  --grad-ocean-mist: linear-gradient(135deg, #E5E9E5, #8CB8A4, #247C78);
  --grad-coastal: linear-gradient(135deg, #247C78, #D9B84C, #D47B57);
  --grad-deep-tide: linear-gradient(145deg, #102A2E, #247C78, #8CB8A4);
  --grad-stone: linear-gradient(135deg, #F5F3EE, #E5E9E5, #D9B84C);

  --font-display: "DM Serif Display", Georgia, serif;
  --font-heading: "Albert Sans", "Helvetica Neue", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.875rem, 1.5vw, 1.25rem);
  --space-md: clamp(1.5rem, 3vw, 2.5rem);
  --space-lg: clamp(2.5rem, 6vw, 5rem);
  --space-xl: clamp(4rem, 10vw, 8rem);

  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
  --max: 1280px;
  --radius-soft: 42% 58% 55% 45% / 48% 42% 58% 52%;
  --shadow-soft: 0 24px 60px rgba(16, 42, 46, 0.12);
  --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);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.section-label--light {
  color: rgba(247, 245, 239, 0.55);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary:hover {
  background: var(--ocean);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(23, 33, 36, 0.22);
}

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

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

.btn--light:hover {
  background: var(--ochre);
  color: var(--charcoal);
}

/* ============================================
   1. HERO — Tide Entrance
   ============================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2rem) var(--pad-x) clamp(1.5rem, 3vw, 2.25rem);
  background:
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(140, 184, 164, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 20% 80%, rgba(212, 123, 87, 0.12), transparent 50%),
    linear-gradient(165deg, #F5F3EE 0%, #E5E9E5 48%, #F5F3EE 100%);
  overflow: hidden;
}

.hero__grain,
.manifesto__texture {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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");
  z-index: 1;
}

.hero__nav,
.hero__stage,
.hero__footer {
  position: relative;
  z-index: 2;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero__brand {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--deep);
}

.hero__field {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.75rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--deep);
  max-width: 10ch;
  margin-bottom: var(--space-sm);
  animation: reveal-up 1.1s var(--ease) both;
}

.hero__lead {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-bottom: var(--space-md);
  animation: reveal-up 1.1s 0.12s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: reveal-up 1.1s 0.22s var(--ease) both;
}

.hero__sculpture {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 480 / 520;
  justify-self: end;
  margin-inline: auto 0;
}

.sculpt {
  position: absolute;
  will-change: transform, border-radius;
}

.sculpt--oval {
  width: 68%;
  height: 58%;
  top: 12%;
  left: 10%;
  border-radius: 50% 48% 52% 50%;
  background: var(--grad-ocean-mist);
  background-size: 200% 200%;
  opacity: 0.92;
  box-shadow: var(--shadow-soft);
  animation: float-a 12s ease-in-out infinite, gradient-shift 14s ease infinite;
}

.sculpt--curve {
  width: 42%;
  height: 48%;
  top: 34%;
  right: 6%;
  border-radius: 70% 30% 55% 45% / 40% 65% 35% 60%;
  background: linear-gradient(160deg, #D47B57, #D9B84C 70%, transparent);
  opacity: 0.85;
  animation: float-b 15s ease-in-out infinite, morph 18s ease-in-out infinite;
}

.sculpt--ochre {
  width: 22%;
  aspect-ratio: 1;
  top: 18%;
  right: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F0D98A, #D9B84C 60%, #C49A2E);
  box-shadow: 0 12px 30px rgba(217, 184, 76, 0.35);
  animation: float-c 10s ease-in-out infinite;
}

.sculpt--sage {
  width: 36%;
  height: 28%;
  bottom: 18%;
  left: 18%;
  border-radius: 48% 52% 40% 60%;
  background: linear-gradient(135deg, rgba(140, 184, 164, 0.85), rgba(229, 233, 229, 0.4));
  backdrop-filter: blur(2px);
  animation: float-a 14s 1s ease-in-out infinite reverse;
}

.sculpt--rect {
  width: 18%;
  height: 42%;
  top: 28%;
  left: 4%;
  background: linear-gradient(180deg, #102A2E, #247C78);
  border-radius: 2px;
  box-shadow: 8px 16px 40px rgba(16, 42, 46, 0.25);
  animation: float-b 16s ease-in-out infinite;
}

.sculpt__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(16, 42, 46, 0.35);
  animation: line-draw 2.4s var(--ease) both;
}

.sculpt__lines path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dash 3.2s 0.4s var(--ease) forwards;
}

.sculpt__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}

.sculpt__label--1 { top: 8%; left: 8%; }
.sculpt__label--2 { top: 42%; right: -2%; }
.sculpt__label--3 { bottom: 28%; left: -4%; }
.sculpt__label--4 { bottom: 8%; right: 12%; }

.hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.hero__aside {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 28ch;
}

.hero__scroll {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  transition: transform 0.4s var(--ease);
}

.hero__scroll:hover {
  transform: translateY(3px);
}

/* ============================================
   2. MANIFESTO
   ============================================ */

.manifesto {
  position: relative;
  background: var(--bg);
  padding: var(--space-xl) var(--pad-x);
  overflow: hidden;
}

.manifesto__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding-block: var(--space-lg);
}

.manifesto__mark {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin: var(--space-md) 0 var(--space-lg);
}

.manifesto__line {
  display: block;
  width: 1px;
  height: clamp(4rem, 12vh, 7rem);
  background: var(--ocean);
}

.manifesto__dot {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--ochre);
}

.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin-bottom: var(--space-md);
  max-width: 16ch;
}

.manifesto__text {
  max-width: 42ch;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

/* ============================================
   3. PRINCIPLES
   ============================================ */

.principles {
  padding: var(--space-lg) var(--pad-x) var(--space-xl);
  background:
    linear-gradient(180deg, var(--bg), var(--mist) 40%, var(--bg));
}

.principles__head {
  max-width: var(--max);
  margin: 0 auto var(--space-lg);
}

.principles__list {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(16, 42, 46, 0.12);
}

.principle {
  border-bottom: 1px solid rgba(16, 42, 46, 0.12);
}

.principle__link {
  display: grid;
  grid-template-columns: clamp(3.5rem, 8vw, 6rem) 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.1rem) 0.25rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.principle__link:hover {
  background: rgba(247, 245, 239, 0.65);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.principle__link:hover .principle__arrow {
  transform: translateX(6px);
  color: var(--ocean);
}

.principle__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--ocean);
  line-height: 1;
}

.principle__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.principle__desc {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.principle__arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

/* ============================================
   4. TIDAL GALLERY
   ============================================ */

.gallery {
  padding: var(--space-xl) var(--pad-x);
  background: var(--bg);
}

.gallery__head {
  max-width: var(--max);
  margin: 0 auto var(--space-lg);
}

.gallery__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.85rem, 2vw, 1.5rem);
  align-items: end;
}

.tile {
  position: relative;
  overflow: hidden;
}

.tile__visual {
  width: 100%;
  height: 100%;
  min-height: 180px;
  transition: transform 1.2s var(--ease);
  background-size: 160% 160%;
  animation: gradient-shift 16s ease infinite;
}

.tile:hover .tile__visual {
  transform: scale(1.04);
}

.tile__caption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
}

.tile__caption span {
  color: var(--ocean);
}

.tile--wide {
  grid-column: 1 / span 7;
  grid-row: 1;
}

.tile--wide .tile__visual {
  aspect-ratio: 16 / 9;
  background: var(--grad-ocean-mist);
}

.tile--tall {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}

.tile--tall .tile__visual {
  min-height: 100%;
  aspect-ratio: 3 / 4;
  background: var(--grad-deep-tide);
}

.tile--square {
  grid-column: 1 / span 4;
  grid-row: 2;
}

.tile--square .tile__visual {
  aspect-ratio: 1;
  background: var(--grad-coastal);
}

.tile--circle {
  grid-column: 5 / span 3;
  grid-row: 2;
  justify-self: center;
  width: min(100%, 240px);
}

.tile--circle .tile__visual {
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(247, 245, 239, 0.45), transparent 40%),
    var(--grad-deep-tide);
  box-shadow: inset 0 -20px 40px rgba(16, 42, 46, 0.25);
}

.tile--narrow {
  grid-column: 1 / span 3;
  grid-row: 3;
}

.tile--narrow .tile__visual {
  aspect-ratio: 2 / 5;
  min-height: 280px;
  background: var(--grad-stone);
}

.tile--full {
  grid-column: 4 / span 9;
  grid-row: 3;
}

.tile--full .tile__visual {
  aspect-ratio: 21 / 7;
  min-height: 180px;
  background:
    linear-gradient(90deg, #102A2E 0%, #247C78 35%, #8CB8A4 65%, #D9B84C 85%, #D47B57 100%);
  background-size: 200% 100%;
}

.tile__visual--still {
  position: relative;
}

.tile__visual--still::after,
.tile__visual--drift::after,
.tile__visual--trace::after,
.tile__visual--reflect::after,
.tile__visual--horizon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(247, 245, 239, 0.25), transparent 40%);
}

.tile__visual {
  position: relative;
}

/* ============================================
   5. FLOW SYSTEM
   ============================================ */

.flow {
  background: var(--deep);
  color: var(--text-light);
  padding: var(--space-xl) var(--pad-x);
  overflow: hidden;
}

.flow__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.flow__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 12ch;
  margin-bottom: var(--space-lg);
}

.flow__track {
  position: relative;
  padding-top: var(--space-md);
}

.flow__stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.flow__stage {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.9);
}

.flow__stage span {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(217, 184, 76, 0.35);
}

.flow__path {
  position: relative;
  margin-top: 1.5rem;
  color: rgba(140, 184, 164, 0.55);
  height: 120px;
}

.flow__svg {
  width: 100%;
  height: 120px;
  display: block;
}

.flow__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 0 10px rgba(217, 184, 76, 0.45);
  animation: flow-travel 8s linear infinite;
}

.flow__vline {
  display: none;
}

/* ============================================
   6. MATERIAL STUDIES
   ============================================ */

.materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: var(--space-xl) var(--pad-x);
  background:
    linear-gradient(120deg, var(--mist), var(--bg) 50%, #EDE9DF);
}

.materials__quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--deep);
  max-width: 12ch;
}

.material-sculpt {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.ms {
  position: absolute;
}

.ms--base {
  inset: 18% 12% 12% 18%;
  background: var(--grad-deep-tide);
  background-size: 180% 180%;
  border-radius: 42% 58% 50% 50% / 48% 40% 60% 52%;
  animation: morph 16s ease-in-out infinite, gradient-shift 12s ease infinite, spin-slow 40s linear infinite;
  box-shadow: var(--shadow-soft);
}

.ms--slab {
  width: 28%;
  height: 55%;
  top: 20%;
  left: 8%;
  background: linear-gradient(180deg, var(--deep), var(--ocean));
  border-radius: 3px;
  animation: float-b 14s ease-in-out infinite;
}

.ms--orb {
  width: 30%;
  aspect-ratio: 1;
  top: 14%;
  right: 16%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E8C96A, var(--ochre) 55%, var(--terra));
  animation: float-c 11s ease-in-out infinite;
}

.ms--blade {
  width: 48%;
  height: 22%;
  bottom: 18%;
  right: 10%;
  background: linear-gradient(90deg, var(--sage), rgba(245, 243, 238, 0.7));
  border-radius: 60% 40% 55% 45%;
  animation: morph 12s ease-in-out infinite reverse, float-a 13s ease-in-out infinite;
}

.ms--rim {
  inset: 8%;
  border: 1px solid rgba(16, 42, 46, 0.15);
  border-radius: 45% 55% 48% 52% / 52% 45% 55% 48%;
  animation: morph 20s ease-in-out infinite;
}

.ms__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ms__label--stone { bottom: 6%; left: 8%; }
.ms__label--water { top: 8%; left: 42%; }
.ms__label--light { top: 36%; right: 0; }

/* ============================================
   7. FIELD JOURNAL
   ============================================ */

.journal {
  padding: var(--space-xl) var(--pad-x);
  background: var(--bg);
}

.journal__head {
  max-width: var(--max);
  margin: 0 auto var(--space-lg);
}

.entry {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(16, 42, 46, 0.1);
}

.entry:last-child {
  border-bottom: 1px solid rgba(16, 42, 46, 0.1);
}

.entry__media {
  min-height: clamp(220px, 32vw, 360px);
  background-size: 160% 160%;
  animation: gradient-shift 18s ease infinite;
  transition: transform 1.1s var(--ease);
}

.entry:hover .entry__media {
  transform: scale(1.02);
}

.entry__media--a {
  background: var(--grad-ocean-mist);
  border-radius: 0 40% 0 20%;
}

.entry__media--b {
  background: var(--grad-deep-tide);
  border-radius: 30% 0 25% 0;
}

.entry__media--c {
  background: linear-gradient(145deg, #D47B57, #E5E9E5 55%, #8CB8A4);
  border-radius: 0 0 45% 0;
}

.entry__cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.85rem;
}

.entry__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--deep);
}

.entry__desc {
  color: var(--text-muted);
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.entry__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 280px;
}

.entry__meta time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.entry__arrow {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 42, 46, 0.18);
  font-size: 1.2rem;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.entry__arrow:hover {
  background: var(--deep);
  color: var(--text-light);
  border-color: var(--deep);
  transform: translateX(4px);
}

/* ============================================
   8. EDITIONS
   ============================================ */

.editions {
  padding: var(--space-xl) var(--pad-x);
  background:
    linear-gradient(180deg, var(--bg), var(--mist));
}

.editions__head {
  max-width: var(--max);
  margin: 0 auto var(--space-lg);
}

.editions__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.edition {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(16, 42, 46, 0.18);
  background: transparent;
}

.edition__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--deep);
}

.edition__for {
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.edition__list {
  display: grid;
  gap: 0.75rem;
}

.edition__list li {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
  color: var(--text);
}

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

.edition--featured {
  background: var(--deep);
  border: 1px solid var(--ochre);
  color: var(--text-light);
  position: relative;
  transform: translateY(-0.75rem);
  box-shadow: 0 30px 60px rgba(16, 42, 46, 0.2);
}

.edition--featured .edition__name {
  color: var(--text-light);
}

.edition--featured .edition__for {
  color: rgba(247, 245, 239, 0.65);
}

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

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

.edition__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--terra);
}

/* ============================================
   9. HORIZON CTA
   ============================================ */

.horizon {
  position: relative;
  min-height: min(85svh, 720px);
  display: grid;
  place-items: center;
  padding: var(--space-xl) var(--pad-x);
  background: var(--deep);
  overflow: hidden;
  text-align: center;
}

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

.horizon__band {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), var(--ochre), var(--terra), transparent);
  opacity: 0.7;
}

.horizon__glow {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: min(70vw, 560px);
  height: 140px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(217, 184, 76, 0.28), rgba(36, 124, 120, 0.12) 45%, transparent 70%);
  filter: blur(8px);
  animation: glow-pulse 6s ease-in-out infinite;
}

.horizon__form {
  position: absolute;
  border-radius: var(--radius-soft);
  opacity: 0.55;
}

.horizon__form--1 {
  width: 38%;
  height: 34%;
  left: -5%;
  bottom: 18%;
  background: linear-gradient(135deg, #247C78, #8CB8A4);
  animation: float-a 18s ease-in-out infinite;
}

.horizon__form--2 {
  width: 26%;
  height: 22%;
  right: 8%;
  bottom: 32%;
  background: linear-gradient(160deg, #D47B57, #D9B84C);
  animation: float-b 15s ease-in-out infinite;
}

.horizon__form--3 {
  width: 14%;
  aspect-ratio: 1;
  left: 58%;
  bottom: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F0D98A, #D9B84C);
  animation: float-c 12s ease-in-out infinite;
}

.horizon__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.horizon__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.horizon__text {
  color: rgba(247, 245, 239, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 38ch;
  margin: 0 auto var(--space-md);
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
  background: var(--charcoal);
  color: var(--text-light);
  padding: var(--space-lg) var(--pad-x) var(--space-md);
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer__tag {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(247, 245, 239, 0.55);
  max-width: 24ch;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-content: start;
  padding-top: 0.5rem;
}

.footer__col h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: grid;
  gap: 0.65rem;
}

.footer__col a {
  font-size: 0.95rem;
  color: rgba(247, 245, 239, 0.72);
  transition: color 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--text-light);
}

.footer__rule {
  max-width: var(--max);
  margin: 0 auto;
  height: 1px;
  background: var(--ochre);
  opacity: 0.55;
}

.footer__bottom {
  max-width: var(--max);
  margin: 1.25rem auto 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(247, 245, 239, 0.45);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-a {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(6px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(12px) rotate(2deg); }
}

@keyframes float-c {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

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

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

@keyframes dash {
  to { stroke-dashoffset: 0; }
}

@keyframes line-draw {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

@keyframes travel-y {
  0% { top: 0%; }
  100% { top: calc(100% - 10px); }
}

@keyframes flow-travel {
  0%   { left: 2%;  top: 58%; }
  20%  { left: 22%; top: 28%; }
  40%  { left: 40%; top: 52%; }
  55%  { left: 55%; top: 22%; }
  70%  { left: 70%; top: 62%; }
  85%  { left: 85%; top: 78%; }
  100% { left: 98%; top: 33%; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .hero__stage {
    grid-template-columns: 1fr 0.9fr;
  }

  .tile--wide { grid-column: 1 / span 7; }
  .tile--tall { grid-column: 8 / span 5; }
  .edition--featured { transform: none; }
}

@media (max-width: 900px) {
  .hero__stage {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .hero__sculpture {
    order: -1;
    width: min(100%, 380px);
    justify-self: center;
    margin: 0 auto;
  }

  .hero__title {
    max-width: 14ch;
  }

  .sculpt__label--2,
  .sculpt__label--3 {
    display: none;
  }

  .materials {
    grid-template-columns: 1fr;
  }

  .materials__quote {
    max-width: 16ch;
  }

  .entry,
  .entry--right {
    grid-template-columns: 1fr;
  }

  .entry--right .entry__content {
    order: 2;
  }

  .entry--right .entry__media {
    order: 1;
  }

  .editions__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .tile--wide { grid-column: 1 / span 6; grid-row: auto; }
  .tile--tall { grid-column: 1 / span 3; grid-row: auto; }
  .tile--tall .tile__visual { aspect-ratio: 3 / 4; min-height: 240px; }
  .tile--square { grid-column: 4 / span 3; grid-row: auto; }
  .tile--circle { grid-column: 1 / span 3; grid-row: auto; width: 100%; }
  .tile--narrow { grid-column: 4 / span 3; grid-row: auto; }
  .tile--narrow .tile__visual { aspect-ratio: 3 / 4; min-height: 220px; }
  .tile--full { grid-column: 1 / span 6; grid-row: auto; }
}

@media (max-width: 700px) {
  .flow__track {
    padding-left: 1.5rem;
  }

  .flow__stages {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow__stage {
    position: relative;
    padding: 1.1rem 0 1.1rem 1.5rem;
    border-left: 1px solid rgba(140, 184, 164, 0.35);
  }

  .flow__stage span {
    border-bottom: none;
  }

  .flow__stage::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 1.35rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
  }

  .flow__path {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    margin-top: 0;
  }

  .flow__svg,
  .flow__dot {
    display: none;
  }

  .flow__vline {
    display: block;
    position: absolute;
    inset: 0;
    width: 2px;
  }

  .flow__vdot {
    position: absolute;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ochre);
    box-shadow: 0 0 10px rgba(217, 184, 76, 0.5);
    animation: travel-y 8s linear infinite;
  }

  .principle__link {
    grid-template-columns: 3rem 1fr auto;
    gap: 0.85rem;
  }

  .hero__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

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

  .tile--wide,
  .tile--tall,
  .tile--square,
  .tile--circle,
  .tile--narrow,
  .tile--full {
    grid-column: 1;
  }

  .tile--circle {
    width: min(70%, 220px);
    justify-self: start;
  }

  .tile--narrow .tile__visual {
    aspect-ratio: 4 / 5;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    width: 100%;
  }

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

  .horizon__form--1 {
    width: 55%;
    height: 28%;
  }

  .horizon__form--2 {
    width: 34%;
  }
}

@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;
  }

}
