/* ── INDEX PAGE — hero, stats, articles, fish, tools, deep ── */

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at 30% 55%, #0d2d52 0%, #050d1a 65%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
#bubble-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 2;
}
.hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 75%; height: 120%;
  background: radial-gradient(ellipse at 65% 35%,
    rgba(0,212,255,.09) 0%,
    rgba(0,130,200,.05) 30%,
    rgba(0,60,140,.02) 55%,
    transparent 72%
  );
  pointer-events: none;
  animation: glowDrift 10s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-2%,4%) scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(56px, 8.5vw, 112px);
  font-weight: 900;
  color: #fff;
  line-height: .97;
  letter-spacing: -.02em;
  margin-bottom: 30px;
}
.hero-title em { color: var(--accent); font-style: italic; display: block; }
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 46px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 38px;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .35s, box-shadow .35s;
  box-shadow: 0 0 22px rgba(0,212,255,.12);
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
  z-index: -1;
}
.hero-cta:hover { color: var(--deep); box-shadow: 0 0 44px rgba(0,212,255,.35); }
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta .arr { transition: transform .3s; }
.hero-cta:hover .arr { transform: translateX(5px); }

.scroll-ind {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: .25; transform: scaleY(.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}
.scroll-txt {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

/* STATS */
#stats {
  background: var(--deep);
  border-top: 1px solid rgba(0,212,255,.14);
  padding: 26px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 52px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%; transform: translateY(-50%);
  height: 30px; width: 1px;
  background: rgba(0,212,255,.18);
}
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-l {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: 3px;
}

/* ARTICLES */
#articles { background: var(--off); padding: 92px 64px; }
.art-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 22px;
}
.art-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), box-shadow .45s;
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
  text-decoration: none;
  color: inherit;
  display: block;
}
.art-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 26px 50px rgba(0,45,90,.1), 0 0 0 1px rgba(0,212,255,.06);
}
.art-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: repeating-linear-gradient(45deg,#d6e2ec,#d6e2ec 10px,#e3edf5 10px,#e3edf5 22px);
}
.art-card:first-child .art-img { aspect-ratio: 16/11; }
.art-img-lbl {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 10px;
  color: rgba(50,80,120,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.art-img-inner {
  width: 100%; height: 100%;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.art-card:hover .art-img-inner { transform: scale(1.05); }
.art-body { padding: 28px 28px 26px; }
.art-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,255,.08);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.art-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 11px;
}
.art-card:first-child .art-title { font-size: 26px; }
.art-exc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 18px;
}
.art-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(74,92,114,.55);
}
.dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(0,212,255,.5);
  flex-shrink: 0;
}

/* FISH PROFILES */
#fische { background: var(--white); padding: 92px 64px; }
.fish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fish-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--deep);
}
.fish-img {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,#0c2846,#071520);
  background-image: repeating-linear-gradient(-55deg,rgba(0,212,255,.03),rgba(0,212,255,.03) 4px,transparent 4px,transparent 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.fish-card:hover .fish-img { transform: scale(1.07); }
.fish-ph {
  font-family: monospace;
  font-size: 10px;
  color: rgba(0,212,255,.2);
  letter-spacing: .12em;
  text-transform: uppercase;
  position: absolute;
  bottom: 10px; right: 10px;
}
.fish-svg-icon { opacity: .18; }
.fish-ov {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 22px 18px;
  background: linear-gradient(to top, rgba(5,13,26,.97) 0%, rgba(5,13,26,.6) 65%, transparent 100%);
  transition: padding .4s;
}
.fish-card:hover .fish-ov { padding-bottom: 24px; }
.fish-de {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.fish-lat {
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,.38);
  margin-bottom: 10px;
}
.fish-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.fish-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,212,255,.28);
  padding: 3px 8px;
}

/* TOOLS SECTION */
#tools { background: var(--off); padding: 92px 64px; }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tool-card {
  background: var(--white);
  border: 1px solid #e8eef4;
  padding: 38px 32px;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94), box-shadow .4s, border-color .35s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tool-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(0,45,90,.09);
  border-color: rgba(0,212,255,.3);
}
.tool-icon { font-size: 32px; margin-bottom: 18px; display: block; }
.tool-n {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.tool-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.tool-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap .3s;
}
.tool-card:hover .tool-cta { gap: 14px; }

/* GLASS / DEEP SECTION */
#deep {
  background: linear-gradient(180deg, #050d1a, #071e3d);
  padding: 100px 64px;
  position: relative;
  overflow: hidden;
}
#deep::before {
  content: '';
  position: absolute;
  top: 15%; left: 50%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,.055) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
.deep-head { text-align: center; margin-bottom: 64px; }
.deep-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.deep-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.42);
  margin-top: 16px;
}
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.glass-card {
  background: rgba(255,255,255,.052);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.09);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  transition: background .35s, border-color .35s, transform .45s cubic-bezier(.25,.46,.45,.94);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.glass-card:hover {
  background: rgba(255,255,255,.085);
  border-color: rgba(0,212,255,.22);
  transform: translateY(-7px);
}
.glass-card:hover::before { opacity: 1; }
.glass-n {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 900;
  color: rgba(0,212,255,.13);
  line-height: 1;
  margin-bottom: 18px;
}
.glass-t {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.glass-p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* HERO */
  .hero-content { padding: 0 24px; padding-top: 100px; }
  .hero-title { font-size: clamp(44px, 13vw, 72px); }
  .hero-sub { font-size: 16px; max-width: 100%; }
  .hero-cta { padding: 15px 28px; font-size: 11px; }

  /* STATS */
  #stats { padding: 20px 16px; flex-wrap: wrap; justify-content: center; gap: 0; }
  .stat { padding: 12px 24px; }
  .stat + .stat::before { display: none; }

  /* ARTICLES */
  #articles { padding: 60px 20px; }
  .art-grid { grid-template-columns: 1fr; gap: 16px; }
  .art-card:first-child .art-title { font-size: 22px; }

  /* FISH */
  #fische { padding: 60px 20px; }
  .fish-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fish-de { font-size: 16px; }

  /* TOOLS */
  #tools { padding: 60px 20px; }
  .tools-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-card { padding: 28px 24px; }

  /* DEEP / GLASS */
  #deep { padding: 60px 20px; }
  .glass-grid { grid-template-columns: 1fr; gap: 14px; }
  .deep-head { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .fish-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(36px, 12vw, 56px); }
}
