/* ============================================================
   rvrry — dream on
   A sublime hosting space for Gaussian splats.
   ============================================================ */

:root {
  /* Palette — cosmic dawn / reverie */
  --void:        #07060f;
  --void-2:      #0b0a18;
  --ink:         #100e23;
  --haze:        #1a1730;
  --mist:        rgba(255, 255, 255, 0.06);
  --mist-2:      rgba(255, 255, 255, 0.1);

  --violet:      #9d8cff;
  --periwinkle:  #8fb2ff;
  --rose:        #ffadd6;
  --peach:       #ffd5a8;
  --aqua:        #a8f0e6;

  --text:        #ece9ff;
  --text-soft:   rgba(236, 233, 255, 0.66);
  --text-faint:  rgba(236, 233, 255, 0.4);

  --line:        rgba(157, 140, 255, 0.16);

  /* Type */
  --display: "Fraunces", "Times New Roman", serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1.1s var(--ease);

  --radius: 22px;
  --maxw: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--body);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

/* ---------- Atmosphere: drifting nebula + grain ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 700px at 78% -8%,  rgba(157,140,255,0.30), transparent 60%),
    radial-gradient(800px 800px at 8% 12%,   rgba(255,173,214,0.18), transparent 55%),
    radial-gradient(1000px 900px at 50% 110%, rgba(143,178,255,0.22), transparent 60%),
    linear-gradient(180deg, var(--void) 0%, var(--void-2) 45%, var(--void) 100%);
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(closest-side, rgba(168,240,230,0.10), transparent),
    radial-gradient(closest-side, rgba(255,213,168,0.10), transparent);
  background-size: 60% 60%, 45% 45%;
  background-position: 20% 30%, 80% 70%;
  background-repeat: no-repeat;
  filter: blur(40px);
  animation: drift 26s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.12); }
}

/* Fine film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating motes */
.motes { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mote {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0;
  box-shadow: 0 0 8px 1px rgba(236,233,255,0.6);
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(20px) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
section { position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 6, 15, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--violet), var(--rose), var(--periwinkle), var(--aqua), var(--violet));
  box-shadow: 0 0 14px 2px rgba(157,140,255,0.7);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--rose);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--text);
  background: linear-gradient(180deg, rgba(157,140,255,0.18), rgba(255,173,214,0.08));
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -12px rgba(157,140,255,0.6); border-color: rgba(255,173,214,0.5); }
.btn.ghost { background: transparent; }
.btn.solid {
  background: linear-gradient(115deg, var(--violet), var(--rose) 60%, var(--peach));
  color: #1a0f2e; font-weight: 600; border: none;
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.35s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-splat {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-splat canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-splat::after {
  /* vignette so type stays legible over the dreamy splat */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 50%, transparent 35%, rgba(7,6,15,0.55) 78%, var(--void) 100%),
    linear-gradient(90deg, rgba(7,6,15,0.7) 0%, transparent 45%);
}
.hero-loader {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  transition: opacity 0.9s var(--ease);
}
.hero-loader.hidden { opacity: 0; pointer-events: none; }
.orbit {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--rose);
  animation: spin 1.1s linear infinite;
}
.hero-loader p { position: absolute; margin-top: 110px; color: var(--text-faint); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
  max-width: 760px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--rose), transparent); }

h1.title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.title .glow {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(115deg, var(--rose), var(--peach) 40%, var(--violet) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(255,173,214,0.35));
}
.hero-sub {
  margin: 1.8rem 0 2.4rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
  color: var(--text-soft);
  max-width: 44ch;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--text-faint); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(var(--text-faint), transparent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Reveal animation utility ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

/* hero entrance */
.hero-content > * { opacity: 0; transform: translateY(28px); animation: rise 1.2s var(--ease) forwards; }
.hero-content .eyebrow { animation-delay: 0.15s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-content .hero-sub { animation-delay: 0.55s; }
.hero-content .hero-cta { animation-delay: 0.75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Section heading ---------- */
.section { padding: clamp(5rem, 12vw, 9rem) 0; }
.sec-head { max-width: 620px; margin-bottom: 3.5rem; }
.sec-tag { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose); margin-bottom: 1rem; display: block; }
h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
h2 em { font-style: italic; color: var(--periwinkle); }
.sec-head p { margin-top: 1.2rem; color: var(--text-soft); font-weight: 300; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative;
  padding: 2.2rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease);
  background: radial-gradient(380px 200px at var(--mx, 50%) var(--my, 0%), rgba(157,140,255,0.16), transparent 70%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,173,214,0.35); box-shadow: 0 30px 70px -40px rgba(157,140,255,0.7); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.4rem;
  background: linear-gradient(160deg, rgba(157,140,255,0.25), rgba(255,173,214,0.12));
  border: 1px solid var(--line);
}
.card .ic svg { width: 22px; height: 22px; stroke: var(--rose); fill: none; stroke-width: 1.6; }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-soft); font-size: 0.98rem; font-weight: 300; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.splat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  isolation: isolate;
}
.splat-card .poster {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
}
.splat-card .grad {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.85;
  transition: opacity 0.6s var(--ease);
}
.splat-card .meta {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(transparent, rgba(7,6,15,0.86));
}
.splat-card .meta h4 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.splat-card .meta span { font-size: 0.8rem; color: var(--text-faint); letter-spacing: 0.06em; }
.splat-card .play {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7,6,15,0.5); backdrop-filter: blur(6px);
  border: 1px solid var(--mist-2);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.splat-card .play svg { width: 16px; height: 16px; fill: var(--text); margin-left: 2px; }
.splat-card:hover .poster { transform: scale(1.07); }
.splat-card:hover .play { transform: scale(1.12); background: rgba(157,140,255,0.4); }

/* Viewer modal */
.viewer-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(4, 3, 10, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: clamp(1rem, 4vw, 3rem);
}
.viewer-modal.open { display: grid; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.viewer-shell {
  position: relative; width: min(100%, 1100px); aspect-ratio: 16 / 10;
  max-height: 86vh;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--void-2);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.8);
}
.viewer-shell canvas { width: 100% !important; height: 100% !important; display: block; }
.viewer-loader { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; gap: 1rem; }
.viewer-loader.hidden { display: none; }
.viewer-loader p { color: var(--text-faint); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.viewer-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.3rem;
  background: linear-gradient(rgba(7,6,15,0.7), transparent);
}
.viewer-bar h4 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.viewer-close {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.08); border: 1px solid var(--mist-2); color: var(--text);
  display: grid; place-items: center; font-size: 1.2rem; transition: 0.3s var(--ease);
}
.viewer-close:hover { background: rgba(255,173,214,0.3); transform: rotate(90deg); }
.viewer-hint { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 0.74rem; color: var(--text-faint); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Upload / CTA band ---------- */
.band {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(255,173,214,0.18), transparent 70%),
    linear-gradient(165deg, rgba(157,140,255,0.1), rgba(255,255,255,0.02));
  position: relative; overflow: hidden;
}
.band h2 { margin-bottom: 1.2rem; }
.band p { color: var(--text-soft); max-width: 50ch; margin: 0 auto 2rem; font-weight: 300; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step { padding: 2rem 1.6rem; border-left: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--display); font-style: italic; font-size: 2.4rem;
  color: transparent; -webkit-text-stroke: 1px rgba(157,140,255,0.5);
  display: block; margin-bottom: 1rem;
}
.step h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-soft); font-weight: 300; font-size: 0.97rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
  margin-top: 3rem;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.foot-brand p { color: var(--text-soft); font-weight: 300; max-width: 34ch; margin-top: 1rem; }
.foot-col h5 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.foot-col a { display: block; color: var(--text-soft); text-decoration: none; padding: 0.35rem 0; transition: color 0.3s var(--ease); }
.foot-col a:hover { color: var(--rose); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 1rem; }
.foot-bottom small { color: var(--text-faint); letter-spacing: 0.04em; }
.foot-bottom .dream { font-family: var(--display); font-style: italic; color: var(--text-soft); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 9rem 0 3rem; text-align: center; }
.page-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.02em; }
.page-hero h1 em { font-style: italic; background: linear-gradient(115deg, var(--rose), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { color: var(--text-soft); max-width: 52ch; margin: 1.4rem auto 0; font-weight: 300; }

/* prose for about */
.prose { max-width: 680px; margin-inline: auto; }
.prose p { color: var(--text-soft); font-weight: 300; margin-bottom: 1.5rem; font-size: 1.1rem; }
.prose p .lead { color: var(--text); font-family: var(--display); font-style: italic; }
.prose h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; margin: 2.5rem 0 1rem; }

/* inline code */
code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
  font-size: 0.86em;
  padding: 0.1em 0.45em;
  border-radius: 6px;
  background: rgba(157,140,255,0.14);
  border: 1px solid var(--line);
  color: var(--peach);
}

/* ---------- "Soon" pill ---------- */
.pill {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.3em 0.7em; border-radius: 100px;
  border: 1px solid rgba(255,213,168,0.4);
  color: var(--peach); background: rgba(255,213,168,0.1);
  margin-left: 0.7rem; vertical-align: middle; font-weight: 600;
  white-space: nowrap;
}
.card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }

/* ---------- Pipeline strip ---------- */
.pipes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.pipe {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.6rem 1.8rem; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(143,178,255,0.08), rgba(255,255,255,0.01));
}
.pipe .glyph {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(143,178,255,0.25), rgba(168,240,230,0.12));
  border: 1px solid var(--line);
}
.pipe .glyph svg { width: 24px; height: 24px; stroke: var(--periwinkle); fill: none; stroke-width: 1.6; }
.pipe h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.pipe p { color: var(--text-soft); font-size: 0.92rem; font-weight: 300; }

/* ---------- Coming soon roadmap ---------- */
.soon-band {
  border-radius: calc(var(--radius) + 8px);
  border: 1px dashed rgba(157,140,255,0.35);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  background: linear-gradient(165deg, rgba(157,140,255,0.07), rgba(255,255,255,0.01));
}
.soon-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.soon-head h3 { font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.soon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 2rem; }
.soon-list li {
  list-style: none; padding: 0.7rem 0; display: flex; align-items: center; gap: 0.8rem;
  color: var(--text-soft); border-bottom: 1px solid var(--line); font-weight: 300;
}
.soon-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(var(--rose), var(--violet)); box-shadow: 0 0 8px rgba(255,173,214,0.6); }

/* ---------- Contact ---------- */
.contact-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro p { color: var(--text-soft); font-weight: 300; margin-top: 1.2rem; }
.contact-form { display: grid; gap: 1.1rem; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.5rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.9rem 1.1rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,173,214,0.6); box-shadow: 0 0 0 4px rgba(255,173,214,0.12); }
.field textarea { min-height: 132px; line-height: 1.5; }
.contact-form button { justify-self: start; margin-top: 0.3rem; cursor: pointer; }
.form-status { font-size: 0.92rem; min-height: 1.3em; color: var(--text-faint); }
.form-status.ok { color: var(--aqua); }
.form-status.err { color: #ff9aa2; }

/* ---------- Footer credits ---------- */
.credits { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; padding-top: 2rem; margin-top: 0.5rem; border-top: 1px solid var(--line); }
.credits div { display: flex; flex-direction: column; gap: 0.2rem; }
.credits span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.credits a { color: var(--text-soft); text-decoration: none; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.credits a:hover { color: var(--rose); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pipes, .soon-list, .contact-shell { grid-template-columns: 1fr; }
  .feature-grid, .gallery-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; gap: 1.6rem;
    padding: 6rem 2rem 3rem;
    background: rgba(7,6,15,0.96); backdrop-filter: blur(20px);
    transform: translateY(-110%); transition: transform 0.5s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.3rem; font-family: var(--display); }
  .nav-toggle { display: block; z-index: 101; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .feature-grid, .gallery-grid, .steps { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; }
  .hero-splat::after { background: radial-gradient(120% 100% at 50% 40%, transparent 20%, rgba(7,6,15,0.7) 75%, var(--void) 100%); }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
