/* ==========================================================================
   JAVIQ.WEBSITE — neo-organic editorial / fluid digital architecture
   1. Tokens
   2. Reset & base
   3. Utilities (labels, buttons, arcs, orbs, reveals)
   4. Navigation
   5. Hero + digital sculpture
   6. Perspective
   7. Fluid panels
   8. Split composition
   9. Statement
   10. About
   11. Footer
   12. Responsive
   13. Reduced motion
   ========================================================================== */

/* ============================== 1. TOKENS ============================== */
:root {
  /* palette */
  --ink: #10141B;
  --teal: #123B40;
  --violet: #6C4AB6;
  --orchid: #B889D8;
  --peach: #F2A982;
  --cream: #FFF1DC;
  --text: #F8F5EF;
  --muted: #8D9698;

  /* gradient family */
  --g-teal-violet: linear-gradient(132deg, var(--teal) 0%, #24506b 42%, var(--violet) 100%);
  --g-violet-peach: linear-gradient(124deg, var(--violet) 0%, var(--orchid) 48%, var(--peach) 100%);
  --g-teal-orchid: linear-gradient(158deg, var(--teal) 0%, #2f5a72 45%, var(--orchid) 100%);
  --g-peach-cream: linear-gradient(118deg, var(--peach) 0%, #f6c9a6 55%, var(--cream) 100%);

  /* surfaces */
  --surface: rgba(255, 241, 220, 0.045);
  --surface-strong: rgba(255, 241, 220, 0.075);
  --hairline: rgba(255, 241, 220, 0.12);
  --hairline-soft: rgba(255, 241, 220, 0.07);

  /* type */
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

  /* rhythm */
  --gutter: clamp(1.25rem, 5vw, 6.5rem);
  --section-y: clamp(6rem, 15vh, 12rem);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* =========================== 2. RESET & BASE =========================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.075rem);
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient base wash — local, not one flat page gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 55vw at 84% -6%, rgba(108, 74, 182, 0.26), transparent 68%),
    radial-gradient(48vw 44vw at 4% 24%, rgba(18, 59, 64, 0.62), transparent 70%),
    radial-gradient(46vw 38vw at 66% 108%, rgba(242, 169, 130, 0.12), transparent 70%);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}

section, footer { position: relative; scroll-margin-top: 7rem; }

:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 0 14px 14px;
  transition: transform 0.35s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================ 3. UTILITIES ============================ */
.label {
  font-family: var(--font-body);
  font-size: clamp(0.66rem, 0.6rem + 0.2vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.label--dark { color: rgba(16, 20, 27, 0.68); }
.label__slash {
  color: var(--peach);
  margin: 0 0.15em;
}

.muted { color: var(--muted); }

.lede {
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
  line-height: 1.62;
  color: rgba(248, 245, 239, 0.76);
  max-width: 40ch;
}

.grad-text {
  background: var(--g-violet-peach);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: drift 22s ease-in-out infinite;
}

/* buttons ---------------------------------------------------------------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.btn {
  --pad: clamp(0.85rem, 1.4vw, 1.05rem) clamp(1.35rem, 2.4vw, 1.9rem);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: var(--pad);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:hover { transform: translateY(-3px); }

.btn--solid {
  color: var(--ink);
  background: var(--g-peach-cream);
  background-size: 200% 200%;
  animation: drift 18s ease-in-out infinite;
  box-shadow: 0 12px 34px -18px rgba(242, 169, 130, 0.85);
}
.btn--solid:hover { box-shadow: 0 20px 44px -18px rgba(242, 169, 130, 0.7); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--hairline);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(184, 137, 216, 0.6); }

.btn__arrow {
  width: 7px; height: 7px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.45s var(--ease);
}
.btn--ghost:hover .btn__arrow { transform: rotate(45deg) translate(2px, -2px); }

/* masked elliptical arcs — pure CSS gradient "ribbons" ------------------- */
.arc {
  --arc-t: 1px;
  --arc-x: 100%;
  --arc-y: 0%;
  position: absolute;
  pointer-events: none;
  background-image: var(--g-violet-peach);
  background-size: 240% 240%;
  -webkit-mask-image: radial-gradient(ellipse farthest-side at var(--arc-x) var(--arc-y),
    transparent calc(100% - var(--arc-t) - 0.6px),
    #000 calc(100% - var(--arc-t)),
    #000 calc(100% - 0.6px),
    transparent 100%);
  mask-image: radial-gradient(ellipse farthest-side at var(--arc-x) var(--arc-y),
    transparent calc(100% - var(--arc-t) - 0.6px),
    #000 calc(100% - var(--arc-t)),
    #000 calc(100% - 0.6px),
    transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: drift 26s ease-in-out infinite;
}

/* floating circles ------------------------------------------------------- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

/* keyframes ------------------------------------------------------------- */
@keyframes drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, -22px, 0); }
}

@keyframes morph {
  0%, 100% {
    border-radius: 58% 42% 38% 62% / 54% 46% 54% 46%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 40% 60% 62% 38% / 42% 58% 42% 58%;
    transform: rotate(6deg) scale(1.045);
  }
  66% {
    border-radius: 63% 37% 44% 56% / 62% 38% 62% 38%;
    transform: rotate(-5deg) scale(0.975);
  }
}

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

@keyframes tilt-spin {
  0%, 100% { transform: rotate(-18deg) skewY(0deg); }
  50% { transform: rotate(8deg) skewY(-5deg); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes wander {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(4%, -6%) rotate(90deg); }
  50% { transform: translate(-3%, 5%) rotate(180deg); }
  75% { transform: translate(-5%, -3%) rotate(270deg); }
}

/* scroll reveals (no JS — view() timeline, degrades to always visible) --- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal,
    .split__pane > :is(.label, h2, p),
    .split__list li {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 6% entry 74%;
    }
    .split__list li:nth-child(2) { animation-range: entry 2% entry 80%; }
    .split__list li:nth-child(3) { animation-range: entry 0% entry 86%; }
    .perspective__connector {
      animation: draw linear both, drift 26s ease-in-out infinite;
      animation-timeline: view(), auto;
      animation-range: entry 10% cover 34%, normal;
    }
  }

  /* hero always animates on load instead of on scroll */
  .hero .reveal {
    animation: rise-in 1.15s var(--ease) both;
    animation-timeline: auto;
  }
  .hero__label { animation-delay: 0.06s; }
  .hero__title { animation-delay: 0.16s; }
  .hero__aside { animation-delay: 0.34s; }
  .hero__meta { animation-delay: 0.5s; }
}

/* =========================== 4. NAVIGATION ============================ */
.siteheader {
  position: fixed;
  top: clamp(0.7rem, 1.6vw, 1.4rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(1240px, calc(100% - clamp(1rem, 4vw, 3rem)));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.55rem 0.6rem 0.55rem clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: rgba(16, 20, 27, 0.5);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__brand span { color: var(--muted); font-weight: 400; }
.nav__brand:hover span { color: var(--peach); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
  margin-inline: auto;
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.15rem;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(248, 245, 239, 0.7);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0.15rem;
  height: 1px;
  background: var(--g-violet-peach);
  transition: right 0.5s var(--ease);
}
.nav__list a:hover { color: var(--text); }
.nav__list a:hover::after { right: 0; }

.nav__go {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--g-peach-cream);
  background-size: 200% 200%;
  animation: drift 20s ease-in-out infinite;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__go:hover {
  transform: rotate(45deg) scale(1.06);
  box-shadow: 0 10px 26px -12px rgba(242, 169, 130, 0.8);
}
.glyph {
  width: 8px; height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
}

/* ======================== 5. HERO + SCULPTURE ========================= */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  padding: clamp(9rem, 20vh, 14rem) var(--gutter) clamp(3rem, 7vh, 5rem);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.hero__atmosphere { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow--teal {
  width: 46vw; height: 46vw;
  left: -14vw; top: 12%;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  animation: float 26s ease-in-out infinite;
}
.glow--violet {
  width: 38vw; height: 38vw;
  right: 8vw; top: -8%;
  background: radial-gradient(circle, rgba(108, 74, 182, 0.9), transparent 70%);
  animation: float 32s ease-in-out infinite reverse;
}
.glow--peach {
  width: 24vw; height: 24vw;
  left: 42%; bottom: -6%;
  opacity: 0.28;
  background: radial-gradient(circle, var(--peach), transparent 70%);
  animation: float 22s ease-in-out infinite;
}

.hero__label { margin-bottom: clamp(1.6rem, 4vw, 3rem); }

.hero__title {
  position: relative;
  z-index: 2;
  font-size: clamp(2.9rem, 9.6vw, 9.5rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
}
.hero__title .line { display: block; }
.line--indent { padding-left: clamp(0rem, 9vw, 9rem); }
.line--accent {
  padding-left: clamp(0rem, 4vw, 4rem);
  font-weight: 400;
  font-style: italic;
  background: var(--g-peach-cream);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: drift 24s ease-in-out infinite;
}

.hero__aside {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
  margin-left: clamp(0rem, 9vw, 9rem);
  max-width: 46ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem clamp(1.5rem, 5vw, 4rem);
  margin-top: auto;
  padding-top: clamp(3rem, 8vh, 6rem);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(141, 150, 152, 0.85);
}
.hero__meta span { position: relative; padding-left: 1.1rem; }
.hero__meta span::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orchid);
}
.hero__meta span:last-child::before { background: var(--peach); }

/* --- the sculpture ----------------------------------------------------- */
.sculpture {
  position: absolute;
  z-index: 1;
  top: clamp(5rem, 12vh, 10rem);
  right: -7vw;
  width: clamp(320px, 44vw, 660px);
  aspect-ratio: 1;
  pointer-events: none;
}

.sculpture__blob {
  position: absolute;
  inset: 8%;
  filter: blur(2px);
}
.sculpture__blob--a {
  background: var(--g-teal-violet);
  background-size: 200% 200%;
  border-radius: 58% 42% 38% 62% / 54% 46% 54% 46%;
  opacity: 0.92;
  animation: morph 30s ease-in-out infinite, drift 24s ease-in-out infinite;
}
.sculpture__blob--b {
  inset: 24% 16% 20% 26%;
  background: var(--g-violet-peach);
  background-size: 220% 220%;
  border-radius: 46% 54% 60% 40% / 48% 52% 48% 52%;
  opacity: 0.6;
  mix-blend-mode: screen;
  filter: blur(14px);
  animation: morph 24s ease-in-out infinite reverse, drift 18s ease-in-out infinite;
}

.sculpture__ellipse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 241, 220, 0.16);
}
.sculpture__ellipse--wide {
  inset: 30% -8%;
  height: 40%;
  border-color: rgba(184, 137, 216, 0.4);
  animation: tilt-spin 34s ease-in-out infinite;
}
.sculpture__ellipse--tilt {
  inset: 12% 4% 40% 12%;
  border-color: rgba(242, 169, 130, 0.32);
  transform: rotate(24deg) skewX(-8deg);
  animation: float 20s ease-in-out infinite;
}

.sculpture__ribbon {
  --arc-t: 12px;
  --arc-x: 100%;
  --arc-y: 100%;
  inset: -6% 2% 6% -10%;
  filter: blur(0.4px);
  opacity: 0.85;
}
.sculpture__ribbon--thin {
  --arc-t: 2px;
  --arc-x: 0%;
  --arc-y: 0%;
  inset: 4% -12% -8% 12%;
  background-image: var(--g-teal-orchid);
  opacity: 0.9;
}

.orbit {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 241, 220, 0.14);
}
.orbit--outer { animation: spin 60s linear infinite; }
.orbit--inner {
  inset: 16%;
  border-style: solid;
  border-color: rgba(255, 241, 220, 0.1);
  animation: spin-rev 42s linear infinite;
}
.orbit__dot {
  position: absolute;
  top: 50%; right: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orchid);
  box-shadow: 0 0 18px 4px rgba(184, 137, 216, 0.55);
}
.orbit__dot--peach {
  background: var(--peach);
  box-shadow: 0 0 16px 4px rgba(242, 169, 130, 0.5);
  top: 6%; right: 12%;
  width: 7px; height: 7px;
}

.sculpture__core {
  position: absolute;
  left: 42%; top: 46%;
  width: 16%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--cream), var(--peach) 46%, rgba(108, 74, 182, 0.9));
  filter: blur(0.5px);
  box-shadow: 0 0 60px 12px rgba(242, 169, 130, 0.28);
  animation: float 18s ease-in-out infinite;
}

.orb--1 {
  width: 14px; height: 14px;
  left: -4%; top: 22%;
  background: var(--peach);
  box-shadow: 0 0 24px 6px rgba(242, 169, 130, 0.4);
  animation-duration: 16s;
}
.orb--2 {
  width: 8px; height: 8px;
  right: 6%; bottom: 12%;
  background: var(--cream);
  opacity: 0.75;
  animation-duration: 21s;
  animation-direction: reverse;
}
.orb--3 {
  width: 22px; height: 22px;
  right: -2%; top: 8%;
  border: 1px solid rgba(184, 137, 216, 0.6);
  animation-duration: 25s;
}

/* ========================== 6. PERSPECTIVE ============================ */
.perspective {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  column-gap: clamp(2rem, 6vw, 7rem);
  padding: var(--section-y) var(--gutter);
}
.perspective > .label { grid-column: 1 / -1; margin-bottom: clamp(3rem, 9vh, 7rem); }

.perspective__title {
  grid-column: 1;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  font-weight: 300;
  line-height: 1;
}
.perspective__title em {
  background: var(--g-teal-orchid);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: drift 20s ease-in-out infinite;
}

.perspective__connector {
  --arc-t: 1.5px;
  --arc-x: 0%;
  --arc-y: 0%;
  grid-column: 1;
  position: relative;
  width: min(100%, 420px);
  height: clamp(90px, 16vh, 190px);
  margin-top: clamp(2rem, 5vh, 4rem);
  margin-left: clamp(1rem, 8vw, 7rem);
  background-image: var(--g-peach-cream);
  opacity: 0.75;
}

.perspective__note {
  grid-column: 2;
  align-self: end;
  display: grid;
  gap: 1.2rem;
  max-width: 42ch;
  padding-bottom: clamp(1rem, 6vh, 4rem);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
  color: rgba(248, 245, 239, 0.78);
}
.perspective__note .muted {
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

/* ========================= 7. FLUID PANELS ============================ */
.fluid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 6vh, 5rem) var(--gutter) var(--section-y);
}

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: clamp(2rem, 4.4vw, 3.6rem) clamp(1.6rem, 4vw, 3.4rem);
  border: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(255, 241, 220, 0.05), rgba(255, 241, 220, 0.014));
  transition: transform 0.7s var(--ease), border-color 0.7s var(--ease),
              background-color 0.7s var(--ease);
}
.panel > * { position: relative; z-index: 2; }
.panel:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 137, 216, 0.36);
}

/* distinct organic silhouettes */
.panel--one {
  border-radius: 240px 26px 240px 26px;
  width: min(100%, 1180px);
}
.panel--two {
  border-radius: 26px 220px 26px 220px;
  width: min(100%, 1080px);
  margin-left: auto;
}
.panel--three {
  border-radius: 200px 200px 40px 200px;
  width: min(calc(100% - clamp(0rem, 4vw, 5rem)), 1120px);
  margin-left: clamp(0rem, 4vw, 5rem);
}

.panel .label { grid-column: 1 / -1; margin-bottom: -0.6rem; }

.panel__num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 241, 220, 0.34);
  transition: -webkit-text-stroke-color 0.7s var(--ease);
}
.panel:hover .panel__num { -webkit-text-stroke-color: rgba(242, 169, 130, 0.85); }

.panel__body { display: grid; gap: 0.85rem; max-width: 46ch; }
.panel__body h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.06;
}
.panel__body p {
  color: rgba(248, 245, 239, 0.7);
  font-size: 0.99rem;
}

.panel__arrow {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease),
              transform 0.6s var(--ease);
}
.panel__arrow::before,
.panel__arrow::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
}
.panel__arrow::before {
  width: 15px; height: 1.2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.panel__arrow::after {
  width: 7px; height: 7px;
  border-top: 1.2px solid currentColor;
  border-right: 1.2px solid currentColor;
  transform: translate(-90%, -50%) rotate(45deg);
}
.panel:hover .panel__arrow {
  transform: translateX(6px) rotate(-45deg);
  border-color: var(--peach);
  color: var(--peach);
}

.panel__shape {
  position: absolute;
  z-index: 1;
  filter: blur(28px);
  opacity: 0.6;
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
  animation: morph 28s ease-in-out infinite, drift 22s ease-in-out infinite;
}
.panel:hover .panel__shape { transform: scale(1.16); opacity: 0.82; }

.panel--one .panel__shape {
  left: -6%; top: -40%;
  width: 34%; aspect-ratio: 1.4;
  background: var(--g-teal-violet);
  background-size: 200% 200%;
}
.panel--two .panel__shape {
  right: -8%; bottom: -50%;
  width: 40%; aspect-ratio: 1.2;
  background: var(--g-violet-peach);
  background-size: 200% 200%;
  opacity: 0.42;
}
.panel--three .panel__shape {
  right: 12%; top: -46%;
  width: 30%; aspect-ratio: 1;
  background: var(--g-teal-orchid);
  background-size: 200% 200%;
  opacity: 0.5;
}

/* ======================== 8. SPLIT COMPOSITION ======================== */
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: clip;
  border-radius: clamp(28px, 5vw, 60px);
  margin: 0 var(--gutter);
}

.split__pane {
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.8rem, 5vw, 5rem);
  overflow: clip;
}

.split__pane--light {
  background: var(--cream);
  color: var(--ink);
  padding-right: clamp(2.5rem, 8vw, 8rem);
}
.split__title {
  margin: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.4rem, 3vw, 2rem);
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  font-weight: 300;
  color: var(--ink);
}
.split__title em {
  background: linear-gradient(112deg, var(--violet), var(--peach));
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: drift 19s ease-in-out infinite;
}
.split__copy {
  max-width: 38ch;
  color: rgba(16, 20, 27, 0.68);
}
.split__detail {
  position: absolute;
  z-index: -1;
  left: -12%; bottom: -18%;
  width: 56%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--g-peach-cream);
  background-size: 200% 200%;
  filter: blur(46px);
  opacity: 0.85;
  animation: morph 32s ease-in-out infinite, drift 20s ease-in-out infinite;
}

.split__pane--dark {
  --pane-dark: linear-gradient(168deg, var(--teal), #0e2b30 70%, var(--ink));
  background: var(--pane-dark);
  color: var(--cream);
  /* the curve is allowed to bleed over the pale pane */
  overflow: visible;
}
/* curved transition instead of a straight divider */
.split__curve {
  position: absolute;
  left: 1px;
  top: 0;
  width: clamp(40px, 7vw, 96px);
  height: 100%;
  background: var(--pane-dark);
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
  transform: translateX(-100%);
  z-index: 3;
}
.split__detail--violet {
  left: auto; right: -20%; top: -14%; bottom: auto;
  width: 62%;
  background: var(--g-teal-violet);
  opacity: 0.7;
  filter: blur(52px);
}

.split__list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
.split__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(1rem, 2.4vw, 1.8rem);
  row-gap: 0.4rem;
  padding-bottom: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(255, 241, 220, 0.14);
}
.split__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.split__index {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 241, 220, 0.22);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--peach);
}
.split__list h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.split__list p {
  color: rgba(255, 241, 220, 0.68);
  font-size: 0.97rem;
  max-width: 40ch;
}

/* =========================== 9. STATEMENT ============================= */
.statement {
  padding: clamp(7rem, 20vh, 15rem) var(--gutter);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  isolation: isolate;
}
.statement__deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
}
.statement__arc {
  --arc-t: 1.2px;
  width: min(76vw, 900px);
  height: min(40vw, 420px);
  opacity: 0.6;
}
.statement__arc--a {
  --arc-x: 100%; --arc-y: 100%;
  left: -6vw; top: 14%;
  background-image: var(--g-teal-orchid);
}
.statement__arc--b {
  --arc-x: 0%; --arc-y: 0%;
  right: -10vw; bottom: 8%;
  background-image: var(--g-violet-peach);
}
.orb--s1 {
  width: 10px; height: 10px;
  left: 14%; top: 26%;
  background: var(--peach);
  box-shadow: 0 0 20px 5px rgba(242, 169, 130, 0.4);
  animation-duration: 17s;
}
.orb--s2 {
  width: 30px; height: 30px;
  right: 12%; top: 20%;
  border: 1px solid rgba(184, 137, 216, 0.55);
  animation-duration: 24s;
  animation-direction: reverse;
}
.orb--s3 {
  width: 6px; height: 6px;
  right: 26%; bottom: 22%;
  background: var(--orchid);
  animation-duration: 19s;
}

.statement__text {
  max-width: 22ch;
  font-size: clamp(2.5rem, 9vw, 8rem);
  font-weight: 200;
  line-height: 0.93;
  letter-spacing: -0.045em;
}
.statement__text em { font-style: italic; font-weight: 300; }
.statement__sub {
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.05rem);
}

/* ============================= 10. ABOUT ============================== */
.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: var(--section-y) var(--gutter);
  overflow: clip;
  isolation: isolate;
}

.about__accent {
  position: absolute;
  z-index: -1;
  left: 30%; top: 4%;
  width: min(70vw, 780px);
  aspect-ratio: 1;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  background: conic-gradient(from 200deg, rgba(18, 59, 64, 0) 0%, var(--teal) 22%, var(--violet) 48%, var(--orchid) 66%, var(--peach) 80%, rgba(242, 169, 130, 0) 100%);
  filter: blur(66px);
  opacity: 0.42;
  animation: wander 46s ease-in-out infinite;
}

.about__mark {
  grid-row: span 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(11rem, 26vw, 26rem);
  font-weight: 200;
  line-height: 0.68;
  letter-spacing: -0.06em;
  background: var(--g-teal-orchid);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: drift 28s ease-in-out infinite;
}

.about__body {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
  max-width: 56ch;
  padding-top: clamp(1rem, 4vw, 3rem);
}
.about__body h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.028em;
}
.about__body p:not(.label) { color: rgba(248, 245, 239, 0.74); }

.about__meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  margin-top: clamp(2rem, 5vw, 3.2rem);
}
.about__meta li {
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.72);
  background: var(--surface);
}

.about__year {
  grid-column: 1;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 200;
  letter-spacing: 0.24em;
  color: var(--muted);
}

/* ============================ 11. FOOTER ============================== */
.footer {
  position: relative;
  padding: clamp(4rem, 12vh, 9rem) var(--gutter) clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--hairline-soft);
  isolation: isolate;
}

/* large arc that deliberately spills outside the footer */
.footer__arc {
  --arc-t: clamp(60px, 9vw, 130px);
  --arc-x: 50%;
  --arc-y: 100%;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  top: clamp(-18rem, -18vw, -6rem);
  width: 140vw;
  height: 62vw;
  background-image: var(--g-teal-violet);
  opacity: 0.5;
  filter: blur(2px);
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 10.6vw, 10rem);
  font-weight: 200;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--text);
}
.footer__wordmark span {
  background: var(--g-violet-peach);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: drift 21s ease-in-out infinite;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 8vh, 6rem);
  padding-top: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid var(--hairline-soft);
}
.footer__col { display: grid; gap: 1.1rem; align-content: start; }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a {
  position: relative;
  display: inline-block;
  color: rgba(248, 245, 239, 0.78);
  font-size: 0.98rem;
  padding-left: 0;
  transition: color 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.footer__col a:hover { color: var(--peach); padding-left: 0.5rem; }

.footer__col--say { max-width: 34ch; }
.footer__col .footer__mail {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.3rem);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 241, 220, 0.28);
  padding-bottom: 0.15rem;
}
.footer__col .footer__mail:hover { padding-left: 0; border-color: var(--peach); }
.footer__col--say .muted { font-size: 0.92rem; }

.footer__note {
  margin-top: clamp(3rem, 8vh, 5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========================== 12. RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .hero {
    padding-top: clamp(8rem, 16vh, 11rem);
    min-height: 0;
  }
  .hero__title { font-size: clamp(2.9rem, 10.5vw, 6rem); }
  .sculpture {
    position: relative;
    top: auto; right: auto;
    width: min(78vw, 520px);
    margin: clamp(3rem, 7vw, 5rem) 0 0 auto;
    inset-inline-end: -8vw;
  }
  .hero__aside { margin-left: 0; }
  .hero__meta { padding-top: clamp(2.5rem, 6vh, 4rem); }

  .perspective { grid-template-columns: minmax(0, 1fr); }
  .perspective__title,
  .perspective__note,
  .perspective__connector { grid-column: 1; }
  .perspective__note {
    margin-left: auto;
    padding-bottom: 0;
    margin-top: clamp(1rem, 3vh, 2rem);
  }
  .perspective__connector { margin-left: clamp(0.5rem, 6vw, 4rem); }

  .split { grid-template-columns: 1fr; }
  .split__curve {
    left: -2%;
    top: -1px;
    width: 104%;
    height: clamp(34px, 7vw, 72px);
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
    transform: translateY(-98%);
  }
  .split__pane--dark { padding-top: clamp(4rem, 11vw, 7rem); }
  .split__detail--violet { top: 8%; right: -16%; width: 78%; }

  .about { grid-template-columns: minmax(0, 1fr); }
  .about__mark {
    grid-row: auto;
    font-size: clamp(9rem, 34vw, 18rem);
    margin-bottom: -0.1em;
  }
  .about__body,
  .about__meta,
  .about__year { grid-column: 1; }
  .about__year { margin-top: clamp(2rem, 6vw, 3rem); }
}

@media (max-width: 720px) {
  .panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
    text-align: left;
  }
  .panel--one { border-radius: 140px 22px 140px 22px; }
  .panel--two { border-radius: 22px 140px 22px 140px; }
  .panel--three { border-radius: 130px 130px 28px 130px; margin-left: 0; }
  .panel__num { font-size: clamp(3rem, 15vw, 5rem); }
  .panel__arrow { width: 42px; height: 42px; }
  .panel__shape { filter: blur(34px); }

  .split__list li { grid-template-columns: minmax(0, 1fr); }
  .split__index { grid-row: auto; margin-bottom: 0.4rem; }

  .footer__grid { gap: 2.2rem; }
  .footer__arc { --arc-t: 46px; width: 190vw; height: 90vw; top: -12rem; }
}

@media (max-width: 620px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 0.1rem;
    padding: 0.6rem 0.6rem 0.5rem 0.9rem;
    border-radius: 18px;
  }
  .nav__brand { font-size: 0.8rem; letter-spacing: 0.12em; }
  .nav__go { width: 36px; height: 36px; margin-left: auto; }
  .nav__list {
    order: 3;
    width: 100%;
    margin: 0.35rem 0 0;
    padding-top: 0.4rem;
    border-top: 1px solid var(--hairline-soft);
    justify-content: space-between;
    gap: 0.25rem;
  }
  .nav__list a { padding: 0.5rem 0.35rem; font-size: 0.78rem; }

  .hero { padding-top: 9.5rem; }
  .hero__title { font-size: clamp(2.25rem, 11.6vw, 4rem); }
  .line--indent { padding-left: 1.4rem; }
  .line--accent { padding-left: 0.7rem; }
  .sculpture { width: min(94vw, 420px); margin-inline: auto; inset-inline-end: 0; }
  .hero__meta { gap: 0.5rem 1.4rem; font-size: 0.62rem; letter-spacing: 0.24em; }

  .statement__text { font-size: clamp(2.3rem, 13.5vw, 3.6rem); max-width: 16ch; }
  .statement__arc { opacity: 0.45; }

  .about__meta li { padding: 0.45rem 0.9rem; letter-spacing: 0.2em; }
  .footer__note { letter-spacing: 0.14em; font-size: 0.74rem; }
}

@media (max-width: 400px) {
  .nav__list a { font-size: 0.72rem; letter-spacing: 0.04em; }
}

/* ======================== 13. REDUCED MOTION ========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .grad-text,
  .line--accent,
  .about__mark,
  .footer__wordmark span,
  .split__title em,
  .perspective__title em { background-position: 50% 50%; }
}
