/* ==========================================================================
   Coviq.online — Sunlit Pop
   Premium creative lifestyle landing page
   Pure CSS3 · Mobile-first · Art-exhibition layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg-pearl: #FFFDF7;
  --bg-peach: #FFF1E6;
  --coral: #FF6B6B;
  --amber: #FFB703;
  --turquoise: #06B6A4;
  --violet: #7C5CFC;
  --rose: #FF8FAB;
  --lime: #8BD450;
  --text: #17202A;
  --text-muted: #68737D;
  --card: #FFFFFF;
  --border: rgba(23, 32, 42, 0.08);

  --font-display: "Syne", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Manrope", sans-serif;
  --font-ui: "DM Sans", sans-serif;

  --radius-sm: 1rem;
  --radius-md: 1.75rem;
  --radius-lg: 2.5rem;
  --radius-xl: 3.5rem;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 40px rgba(23, 32, 42, 0.08);
  --shadow-nav: 0 8px 32px rgba(23, 32, 42, 0.1);
  --shadow-lift: 0 20px 50px rgba(23, 32, 42, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-pearl);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(255, 107, 107, 0.25);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Shared Utilities
   -------------------------------------------------------------------------- */
.tiny-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.section-intro p:not(.tiny-label) {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 32rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.btn:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  background: #ff5252;
  box-shadow: 0 14px 36px rgba(255, 107, 107, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: rgba(23, 32, 42, 0.15);
  color: var(--text);
  width: 100%;
}

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

.btn-light {
  background: var(--bg-pearl);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.btn-light:hover {
  background: #fff;
  box-shadow: var(--shadow-lift);
}

/* --------------------------------------------------------------------------
   Floating Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1.1rem 1.25rem;
  pointer-events: none;
}

.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(1080px, 100%);
  padding: 0.65rem 0.75rem 0.65rem 1.35rem;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  transition: color 0.3s var(--ease);
}

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

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--turquoise));
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 241, 230, 0.7);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 1.1rem;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   1. Color Splash Entrance (Hero)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 183, 3, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 70%, rgba(6, 182, 164, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 55% 90%, rgba(255, 143, 171, 0.2), transparent 45%),
    var(--bg-pearl);
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Organic blobs */
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  filter: blur(0.5px);
  animation: blob-float 14s ease-in-out infinite;
}

.blob-coral {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  top: 8%;
  right: 4%;
  background: linear-gradient(145deg, #ff8a8a, var(--coral) 55%, #ffb4a2);
  opacity: 0.85;
  box-shadow: 0 30px 80px rgba(255, 107, 107, 0.25);
}

.blob-amber {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  top: 28%;
  right: 28%;
  background: linear-gradient(160deg, #ffd166, var(--amber));
  opacity: 0.9;
  animation-delay: -3s;
  border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
}

.blob-turquoise {
  width: min(34vw, 300px);
  height: min(34vw, 300px);
  bottom: 12%;
  left: -4%;
  background: linear-gradient(200deg, #5eead4, var(--turquoise));
  opacity: 0.75;
  animation-delay: -6s;
}

.blob-violet {
  width: min(18vw, 160px);
  height: min(18vw, 160px);
  top: 18%;
  left: 18%;
  background: linear-gradient(120deg, #a78bfa, var(--violet));
  opacity: 0.7;
  animation-delay: -2s;
}

.blob-rose {
  width: min(22vw, 190px);
  height: min(22vw, 190px);
  bottom: 22%;
  right: 12%;
  background: linear-gradient(180deg, #ffc2d1, var(--rose));
  opacity: 0.8;
  animation-delay: -8s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(12px, -18px) rotate(4deg) scale(1.04); }
  66% { transform: translate(-10px, 10px) rotate(-3deg) scale(0.97); }
}

/* Floating circles */
.float-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(23, 32, 42, 0.08);
  animation: drift 12s ease-in-out infinite;
}

.float-circle.c1 {
  width: 70px;
  height: 70px;
  top: 22%;
  left: 42%;
  background: rgba(139, 212, 80, 0.35);
  animation-delay: -1s;
}

.float-circle.c2 {
  width: 36px;
  height: 36px;
  top: 55%;
  right: 38%;
  background: rgba(255, 183, 3, 0.4);
  animation-delay: -4s;
}

.float-circle.c3 {
  width: 52px;
  height: 52px;
  bottom: 30%;
  left: 28%;
  background: rgba(124, 92, 252, 0.25);
  animation-delay: -7s;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* Curved ribbons */
.ribbon {
  position: absolute;
  height: 18px;
  border-radius: var(--radius-pill);
  opacity: 0.7;
  transform-origin: left center;
}

.ribbon-1 {
  width: min(40vw, 320px);
  top: 42%;
  right: 8%;
  background: linear-gradient(90deg, var(--coral), var(--rose), transparent);
  transform: rotate(-18deg);
  animation: ribbon-sway 10s ease-in-out infinite;
}

.ribbon-2 {
  width: min(30vw, 240px);
  bottom: 28%;
  left: 8%;
  background: linear-gradient(90deg, var(--turquoise), var(--lime), transparent);
  transform: rotate(12deg);
  animation: ribbon-sway 12s ease-in-out infinite reverse;
}

@keyframes ribbon-sway {
  0%, 100% { transform: rotate(-18deg) scaleX(1); }
  50% { transform: rotate(-12deg) scaleX(1.05); }
}

.ribbon-2 {
  animation-name: ribbon-sway-2;
}

@keyframes ribbon-sway-2 {
  0%, 100% { transform: rotate(12deg) scaleX(1); }
  50% { transform: rotate(18deg) scaleX(1.08); }
}

/* Abstract flower geometry */
.flower {
  position: absolute;
  width: 90px;
  height: 90px;
}

.flower i {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--amber);
}

.flower i:nth-child(1) { transform: translate(0, -32px); background: var(--coral); }
.flower i:nth-child(2) { transform: translate(28px, -16px); background: var(--amber); }
.flower i:nth-child(3) { transform: translate(28px, 16px); background: var(--rose); }
.flower i:nth-child(4) { transform: translate(0, 32px); background: var(--turquoise); }
.flower i:nth-child(5) { transform: translate(-28px, 16px); background: var(--violet); }
.flower i:nth-child(6) { transform: translate(-28px, -16px); background: var(--lime); }

.flower-1 {
  top: 14%;
  left: 8%;
  animation: spin-slow 28s linear infinite;
  opacity: 0.85;
}

.flower-2 {
  bottom: 18%;
  right: 22%;
  width: 70px;
  height: 70px;
  animation: spin-slow 36s linear infinite reverse;
  opacity: 0.7;
}

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

/* Layered paper forms */
.paper {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
}

.paper-1 {
  width: min(18vw, 160px);
  height: min(22vw, 200px);
  top: 20%;
  right: 36%;
  transform: rotate(8deg);
  background: linear-gradient(180deg, #fff, var(--bg-peach));
  opacity: 0.9;
}

.paper-2 {
  width: min(14vw, 120px);
  height: min(14vw, 120px);
  bottom: 35%;
  left: 38%;
  border-radius: 50%;
  transform: rotate(-6deg);
  background: #fff;
}

.paper-3 {
  width: min(20vw, 180px);
  height: min(12vw, 100px);
  bottom: 14%;
  right: 30%;
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  transform: rotate(-4deg);
  background: linear-gradient(135deg, rgba(6, 182, 164, 0.15), rgba(255, 183, 3, 0.2));
}

/* Hero content — off-center */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  margin-left: 0;
  margin-right: auto;
  padding-bottom: 1rem;
}

.hero-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.brand-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 0.85rem;
  background: linear-gradient(120deg, var(--text) 40%, var(--coral) 70%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brand-reveal 1.2s var(--ease) both;
}

.hero-line {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.5vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: text-up 0.9s var(--ease) both;
}

.hero-line:nth-of-type(2) {
  animation-delay: 0.15s;
}

.hero-line.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  animation-delay: 0.28s;
}

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

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

.hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 2rem;
  animation: text-up 0.9s var(--ease) 0.4s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: text-up 0.9s var(--ease) 0.55s both;
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    padding: calc(var(--header-h) + 1rem) 4vw 4rem 6vw;
  }

  .hero-content {
    margin-left: 2vw;
    margin-top: 4vh;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    margin-left: 4vw;
  }
}

/* --------------------------------------------------------------------------
   2. Creative Manifesto — editorial, oversized
   -------------------------------------------------------------------------- */
.manifesto {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 8vw, 8rem);
  background: var(--bg-peach);
  overflow: hidden;
}

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

.manifesto-deco .dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: drift 9s ease-in-out infinite;
}

.manifesto-deco .coral {
  background: var(--coral);
  top: 18%;
  right: 15%;
}

.manifesto-deco .amber {
  background: var(--amber);
  top: 55%;
  left: 8%;
  width: 10px;
  height: 10px;
  animation-delay: -3s;
}

.manifesto-deco .teal {
  background: var(--turquoise);
  bottom: 20%;
  right: 28%;
  width: 18px;
  height: 18px;
  animation-delay: -5s;
}

.manifesto .tiny-label {
  margin-left: clamp(0rem, 8vw, 6rem);
}

.manifesto-statement {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 3rem;
  margin-left: clamp(0rem, 8vw, 6rem);
}

.manifesto-statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  display: inline;
}

.manifesto-body {
  max-width: 28rem;
  margin-left: auto;
  margin-right: clamp(0rem, 6vw, 4rem);
  padding-top: 1rem;
  border-top: 2px solid rgba(23, 32, 42, 0.08);
}

.manifesto-body p {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   3. Curated Worlds — large rounded panels, staggered
   -------------------------------------------------------------------------- */
.worlds {
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  background: var(--bg-pearl);
}

.worlds-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 36rem;
}

.worlds-intro p:not(.tiny-label) {
  margin-left: auto;
  margin-right: auto;
}

.world-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.world {
  display: flex;
}

.world:nth-child(even) {
  justify-content: flex-end;
}

.world-panel {
  position: relative;
  width: min(100%, 720px);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  color: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.world-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -40px;
  right: -30px;
  transition: transform 0.6s var(--ease);
}

.world-panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lift);
}

.world-panel:hover::before {
  transform: translate(-20px, 30px) scale(1.2);
}

.world-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.world-panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.world-panel p {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  max-width: 28rem;
  opacity: 0.92;
  line-height: 1.6;
}

.world-create .world-panel {
  background: linear-gradient(135deg, #ff8585, var(--coral) 60%, #e85a5a);
}

.world-discover .world-panel {
  background: linear-gradient(135deg, #ffc933, var(--amber) 55%, #e0a000);
  color: var(--text);
}

.world-discover .world-panel p,
.world-discover .world-num {
  opacity: 0.75;
  color: var(--text);
}

.world-connect .world-panel {
  background: linear-gradient(135deg, #2dd4bf, var(--turquoise) 55%, #0d9488);
}

.world-explore .world-panel {
  background: linear-gradient(135deg, #9b85ff, var(--violet) 55%, #6d4ef5);
  width: min(100%, 620px);
}

.world-inspire .world-panel {
  background: linear-gradient(135deg, #ff9fba, var(--rose) 50%, #ff7aa2);
  width: min(100%, 680px);
}

/* --------------------------------------------------------------------------
   4. Aesthetic Feature Canvas — masonry
   -------------------------------------------------------------------------- */
.feature-canvas {
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 183, 3, 0.12), transparent 40%),
    var(--bg-peach);
}

.feature-canvas .section-intro {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.75rem;
  border-radius: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 40% 60% 55% 45%;
  background: rgba(255, 255, 255, 0.35);
  top: 12%;
  right: 10%;
  transition: transform 0.55s var(--ease);
}

.tile-visual {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(23, 32, 42, 0.06), transparent 40%);
  transition: transform 0.6s var(--ease);
}

.tile-icon {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  z-index: 1;
}

.tile h3,
.tile p {
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease);
}

.tile h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.tile p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 18rem;
}

.tile:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.tile:hover::after {
  transform: translate(-16px, 20px) rotate(20deg);
}

.tile:hover .tile-visual {
  transform: scale(1.12);
}

.tile:hover h3,
.tile:hover p {
  transform: translateY(-8px);
}

.tile-coral { background: #ffe3e3; color: #c73e3e; }
.tile-amber { background: #fff0c2; color: #b8860b; }
.tile-teal { background: #d4f5f0; color: #0f766e; }
.tile-violet { background: #ebe4ff; color: #5b3fd4; }
.tile-rose { background: #ffe8ef; color: #d4537a; }
.tile-lime { background: #e8f8d4; color: #4d8a1a; }
.tile-cream { background: #fff; color: var(--text); }
.tile-sunset {
  background: linear-gradient(120deg, #ffe3e3, #fff0c2 50%, #d4f5f0);
  color: var(--text);
}

@media (min-width: 640px) {
  .masonry {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }

  .tile-lg { grid-column: span 3; grid-row: span 2; min-height: 320px; }
  .tile-md { grid-column: span 3; min-height: 200px; }
  .tile-sm { grid-column: span 2; min-height: 180px; }
  .tile-wide { grid-column: span 4; min-height: 200px; }
}

@media (min-width: 900px) {
  .tile-lg { grid-column: span 3; }
  .tile-md { grid-column: span 2; }
  .tile-sm { grid-column: span 2; }
  .tile-wide { grid-column: span 4; }
}

/* --------------------------------------------------------------------------
   5. Interactive Color Journey
   -------------------------------------------------------------------------- */
.journey {
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  background: var(--bg-pearl);
  overflow: hidden;
}

.journey .section-intro {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.journey-track {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.journey-line {
  display: none;
  width: 100%;
  height: 160px;
  overflow: visible;
}

.journey-path {
  stroke: url(#none);
  stroke: var(--coral);
  stroke-width: 3;
  stroke-dasharray: 8 12;
  stroke-linecap: round;
  animation: dash-move 18s linear infinite;
  opacity: 0.55;
}

@keyframes dash-move {
  to { stroke-dashoffset: -400; }
}

.journey-nodes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px dashed rgba(255, 107, 107, 0.35);
  margin-left: 1.25rem;
}

.node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.node::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 107, 107, 0.15);
  animation: pulse-orb 2.8s ease-in-out infinite;
}

.node-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  animation: orb-breathe 3.5s ease-in-out infinite;
}

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

.node-imagine .node-orb,
.node-imagine::before { background: var(--coral); }
.node-create .node-orb,
.node-create::before { background: var(--amber); animation-delay: 0.3s; }
.node-create::before { box-shadow: 0 0 0 8px rgba(255, 183, 3, 0.2); }
.node-explore .node-orb,
.node-explore::before { background: var(--turquoise); animation-delay: 0.6s; }
.node-explore::before { box-shadow: 0 0 0 8px rgba(6, 182, 164, 0.2); }
.node-connect .node-orb,
.node-connect::before { background: var(--violet); animation-delay: 0.9s; }
.node-connect::before { box-shadow: 0 0 0 8px rgba(124, 92, 252, 0.2); }
.node-share .node-orb,
.node-share::before { background: var(--rose); animation-delay: 1.2s; }
.node-share::before { box-shadow: 0 0 0 8px rgba(255, 143, 171, 0.25); }
.node-grow .node-orb,
.node-grow::before { background: var(--lime); animation-delay: 1.5s; }
.node-grow::before { box-shadow: 0 0 0 8px rgba(139, 212, 80, 0.25); }

@keyframes pulse-orb {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.12); }
  50% { box-shadow: 0 0 0 14px rgba(255, 107, 107, 0.08); }
}

@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (min-width: 900px) {
  .journey-track {
    padding: 3rem 0 2rem;
  }

  .journey-line {
    display: block;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
  }

  .journey-path {
    stroke: var(--coral);
  }

  .journey-nodes {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    gap: 0.5rem;
    padding-top: 2rem;
  }

  .node {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    flex: 1;
  }

  .node::before {
    display: none;
  }

  .node-orb {
    width: 72px;
    height: 72px;
  }

  .node-label {
    font-size: 1.15rem;
  }
}

/* --------------------------------------------------------------------------
   6. Impact Numbers
   -------------------------------------------------------------------------- */
.impact {
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  background: var(--bg-peach);
}

.impact-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.stat {
  padding: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.stat-desc {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-coral { background: #ffe8e8; }
.stat-amber { background: #fff4d1; }
.stat-teal { background: #d9f6f1; }
.stat-violet { background: #ece6ff; }

@media (min-width: 640px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   7. Community Gallery — editorial magazine
   -------------------------------------------------------------------------- */
.gallery {
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  background: var(--bg-pearl);
}

.gallery-intro {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.story:hover .story-media {
  transform: scale(1.02);
}

.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 32, 42, 0.08));
  pointer-events: none;
}

.media-a {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(160deg, #ffb4a2, var(--coral) 50%, #ff8fab);
}

.media-b {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(200deg, #ffe08a, var(--amber), #f4a261);
}

.media-c {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.35), transparent 50%),
    linear-gradient(110deg, #5eead4, var(--turquoise) 45%, #0d9488);
}

.media-d {
  aspect-ratio: 21 / 9;
  background:
    linear-gradient(90deg, var(--violet), var(--rose) 40%, var(--amber) 70%, var(--turquoise));
}

.media-e {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(180deg, #c4b5fd, var(--violet) 60%, #5b3fd4);
}

.media-f {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 35% 65%, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(145deg, #bef264, var(--lime) 50%, #65a30d);
}

.story-cat {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.story-meta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.story-meta p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .gallery-editorial {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .story-portrait {
    grid-column: span 4;
  }

  .story-square {
    grid-column: span 4;
  }

  .story-landscape {
    grid-column: span 8;
  }

  .story-wide {
    grid-column: span 12;
  }

  .story-tall {
    grid-column: span 4;
  }

  .story-offset {
    grid-column: span 4;
    margin-top: 3rem;
  }
}

/* --------------------------------------------------------------------------
   8. Coviq Club — membership
   -------------------------------------------------------------------------- */
.club {
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 143, 171, 0.15), transparent 40%),
    var(--bg-peach);
}

.club .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.club .section-intro p:not(.tiny-label) {
  margin-left: auto;
  margin-right: auto;
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.plan h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.plan-tag {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-price {
  font-family: var(--font-ui);
  color: var(--text-muted);
  margin: 0.5rem 0 0.75rem;
}

.plan-price span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--text);
  letter-spacing: -0.04em;
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.plan li {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--turquoise);
}

.plan-glow {
  border: 2px solid var(--coral);
  background: linear-gradient(165deg, #fff7e8 0%, #ffe8e0 45%, #fff5f5 100%);
  box-shadow: var(--shadow-lift);
  transform: scale(1.02);
}

.plan-glow:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-glow li::before {
  background: var(--coral);
}

.popular-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
}

.plan-bloom li::before { background: var(--amber); }
.plan-radiant li::before { background: var(--violet); }

@media (min-width: 860px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .plan-glow {
    transform: scale(1.06);
    z-index: 1;
  }

  .plan-glow:hover {
    transform: scale(1.08) translateY(-4px);
  }
}

/* --------------------------------------------------------------------------
   9. Final Color Scene
   -------------------------------------------------------------------------- */
.finale {
  position: relative;
  min-height: min(80vh, 720px);
  display: grid;
  place-items: center;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem;
  overflow: hidden;
  background: var(--bg-pearl);
  text-align: center;
}

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

.fs {
  position: absolute;
  border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
  animation: blob-float 16s ease-in-out infinite;
}

.fs-coral {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -10%;
  left: -8%;
  background: var(--coral);
  opacity: 0.85;
}

.fs-teal {
  width: min(45vw, 400px);
  height: min(45vw, 400px);
  bottom: -15%;
  right: -5%;
  background: var(--turquoise);
  opacity: 0.8;
  animation-delay: -4s;
}

.fs-amber {
  width: min(35vw, 300px);
  height: min(35vw, 300px);
  top: 20%;
  right: 10%;
  background: var(--amber);
  opacity: 0.75;
  animation-delay: -7s;
}

.fs-violet {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  bottom: 25%;
  left: 15%;
  background: var(--violet);
  opacity: 0.65;
  animation-delay: -2s;
}

.fs-rose {
  width: min(22vw, 200px);
  height: min(22vw, 200px);
  top: 55%;
  left: 45%;
  background: var(--rose);
  opacity: 0.7;
  animation-delay: -9s;
}

.fs-cream {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  top: 35%;
  left: 30%;
  background: var(--bg-pearl);
  opacity: 0.9;
  border-radius: 50%;
  animation-delay: -5s;
}

.finale-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  padding: 2.5rem 1.5rem;
}

.finale-content h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(255, 253, 247, 0.8);
}

.finale-content p {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   10. Art-Inspired Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--text);
  color: #f5f0e8;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem 2rem;
  overflow: hidden;
}

.footer-top {
  display: grid;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(100deg, #fff 20%, var(--coral), var(--amber), var(--turquoise));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: rgba(245, 240, 232, 0.75);
  max-width: 18rem;
}

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

.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--amber);
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s var(--ease);
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-news label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: rgba(245, 240, 232, 0.8);
}

.news-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.news-row input {
  flex: 1 1 200px;
  min-height: 3.1rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.news-row input::placeholder {
  color: rgba(245, 240, 232, 0.45);
}

.news-row input:focus {
  border-color: var(--coral);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.copyright {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--coral);
}

.social-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.8;
}

.social-icon.ig {
  border-radius: 4px;
  background: linear-gradient(45deg, var(--amber), var(--coral), var(--violet));
}

.social-icon.pin {
  border-radius: 50%;
  background: var(--coral);
}

.social-icon.be {
  border-radius: 2px;
  background: var(--turquoise);
}

.footer-dots {
  display: flex;
  gap: 0.4rem;
}

.footer-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.footer-dots span:nth-child(1) { background: var(--coral); }
.footer-dots span:nth-child(2) { background: var(--amber); }
.footer-dots span:nth-child(3) { background: var(--turquoise); }
.footer-dots span:nth-child(4) { background: var(--violet); }
.footer-dots span:nth-child(5) { background: var(--rose); }

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.2fr 1.4fr 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Small-screen polish
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .nav-capsule {
    padding: 0.55rem 0.55rem 0.55rem 1rem;
    gap: 0.75rem;
  }

  .nav-cta {
    font-size: 0.78rem;
    padding: 0.6rem 0.95rem;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .paper-1,
  .paper-2,
  .paper-3 {
    opacity: 0.55;
  }

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