/* ============================================================
   ADDMYNOTE — styles.css
   Dark, editorial, refined minimal aesthetic
   ============================================================ */

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

:root {
  --ink:    #0a0d18;
  --ink2:   #11162a;
  --paper:  #f6f1e7;
  --mint:   #6ee7b7;
  --cyan:   #67e8f9;
  --lilac:  #c4b5fd;
  --amber:  #f4c074;
  --mute:   #6f6c63;
  --dim:    #a8a397;
  --line:   rgba(255,255,255,0.08);
  --ease:   cubic-bezier(0.22,1,0.36,1);
  --r:      14px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

/* ── SELECTION ── */
::selection { background: rgba(110,231,183,0.25); color: var(--paper); }

/* ── LINKS ── */
a { color: inherit; text-decoration: none; }

/* ── WRAP ── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-inner {
  text-align: center;
  max-width: 480px;
  padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}

/* Bot SVG */
.splash-bot {
  width: 120px; height: 120px; margin-bottom: 8px;
}
.splash-bot svg { width: 100%; height: 100%; overflow: visible; }

.bot-circ {
  fill: none;
  stroke: rgba(110,231,183,0.25);
  stroke-width: 1;
  animation: botOrbit 22s linear infinite;
  transform-origin: 70px 80px;
}
.bot-circ:nth-child(2) { animation-direction: reverse; animation-duration: 30s; }
.bot-antenna { stroke: var(--paper); stroke-width: 2; }
.bot-antenna-tip { fill: var(--amber); }
.bot-body { fill: var(--ink2); stroke: var(--paper); stroke-width: 1.5; }
.bot-eye {
  fill: var(--mint);
  animation: botBlink 4s ease-in-out infinite;
  transform-origin: 50px 64px;
}
.bot-eye-r { transform-origin: 90px 64px; animation-delay: 0.05s; }
.bot-mouth { fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; }

@keyframes botOrbit { to { transform: rotate(360deg); } }
@keyframes botBlink {
  0%,85%,100% { transform: scaleY(1); }
  90%,95% { transform: scaleY(0.1); }
}

/* Status */
.splash-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--mint);
  text-transform: uppercase;
}

.splash-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--paper);
}
.splash-title em { font-style: italic; color: var(--amber); }

.splash-sub {
  font-size: 0.9rem;
  color: var(--dim);
  max-width: 36ch;
}

/* Progress bar */
.splash-progress {
  width: 240px; height: 2px;
  background: rgba(255,255,255,0.07);
  border-radius: 1px;
  overflow: hidden;
}
.splash-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--mint), var(--amber));
  border-radius: 1px;
  transition: width 0.1s linear;
}
.splash-percent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.1em;
}

/* Buttons */
.splash-enter {
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.2s;
}
.splash-enter.visible { opacity: 1; transform: none; }
.splash-enter:hover { background: var(--amber); }

.splash-skip {
  background: none; border: none; cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: var(--mute);
  letter-spacing: 0.06em;
  text-decoration: underline;
  transition: color 0.2s;
  margin-top: 4px;
}
.splash-skip:hover { color: var(--dim); }

/* ============================================================
   AMBIENT LAYERS
   ============================================================ */
.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(110,231,183,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(103,232,249,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 60% 90%, rgba(196,181,253,0.06) 0%, transparent 60%);
  animation: auroraShift 20s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { opacity: 0.6; transform: scale(1) rotate(0deg); }
  100% { opacity: 1;   transform: scale(1.05) rotate(1deg); }
}

.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 800;
  background: transparent;
}
.scroll-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--mint), var(--amber));
  transition: width 0.1s linear;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 700;
  padding: 20px 0;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,13,24,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
  padding: 14px 0;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand em { font-style: italic; color: var(--amber); }

.brand-mark {
  display: inline-block;
  width: 26px; height: 26px; border-radius: 7px;
  background: conic-gradient(from 200deg, var(--mint), var(--cyan), var(--lilac), var(--amber), var(--mint));
  animation: brandSpin 18s linear infinite;
  position: relative; flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 4px; background: var(--ink);
}
.brand-mark::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
  z-index: 1;
}
@keyframes brandSpin { to { transform: rotate(360deg); } }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; bottom: -3px; left: 0; right: 100%;
  height: 1px; background: var(--mint);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  padding: 9px 20px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: var(--paper) !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.06) !important; border-color: var(--mint) !important; }
.nav-cta::after { display: none !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--dim);
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
}
.nav-toggle:hover span { background: var(--paper); }

/* Mobile nav open */
.nav.open .nav-links {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; inset: 0; top: 60px;
  background: var(--ink);
  padding: 32px 24px;
  z-index: 690;
  align-items: flex-start;
  border-top: 1px solid var(--line);
}
.nav.open .nav-links a {
  font-size: 1.2rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  color: var(--paper);
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main { position: relative; z-index: 2; }

/* ── SECTION ── */
.section { padding: 120px 0; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.italic { font-style: italic; color: var(--amber); }
em { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
}

.lede {
  font-size: 1.05rem;
  color: var(--dim);
  line-height: 1.7;
  max-width: 44ch;
}

.pull {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--paper);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  font-family: 'Manrope', sans-serif;
}
.btn-primary {
  background: var(--paper); color: var(--ink);
}
.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244,192,116,0.25);
}
.btn-ghost {
  background: transparent; color: var(--paper);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Magnetic wrapper */
.magnetic { display: inline-block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 180px 0 100px;
  position: relative;
}
@media (max-width: 768px) { .hero { padding: 130px 0 80px; } }

.hero-eyebrow { margin-bottom: 28px; }

.hero h1 { margin-bottom: 32px; }

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--dim);
  line-height: 1.72;
  max-width: 52ch;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 60px;
}

/* ── HERO CANVAS (interactive hotspots) ── */
.hero-canvas {
  position: relative;
  height: 260px;
  margin: 60px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(17,22,42,0.6), rgba(10,13,24,0.4));
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero-canvas-hint {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

/* Connection lines drawn by JS canvas */
.hero-canvas-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}

.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(17,22,42,0.9);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1px;
  z-index: 2;
}
.hotspot:hover, .hotspot.active {
  border-color: var(--mint);
  color: var(--paper);
  background: rgba(110,231,183,0.1);
  box-shadow: 0 0 24px rgba(110,231,183,0.2);
  transform: translate(-50%, -50%) scale(1.15);
}
.hotspot .hotspot-label {
  font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase;
  display: block; color: var(--mute); margin-top: 1px;
}
.hotspot:hover .hotspot-label, .hotspot.active .hotspot-label { color: var(--mint); }

.hotspot-card {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  min-width: 260px; padding: 16px 20px;
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transform: translateX(-50%) translateY(8px);
  z-index: 10;
}
.hotspot-card.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hotspot-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem; font-weight: 500;
  color: var(--paper); margin-bottom: 6px;
}
.hotspot-card p { font-size: 0.85rem; color: var(--dim); line-height: 1.5; }

/* ── HERO META (stats) ── */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

.hero-meta-item {
  padding: 28px 24px;
  background: rgba(17,22,42,0.4);
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--line);
}
.hero-meta-item:last-child { border-right: none; }
@media (max-width: 640px) {
  .hero-meta-item:nth-child(2) { border-right: none; }
  .hero-meta-item { border-bottom: 1px solid var(--line); }
  .hero-meta-item:nth-child(3),
  .hero-meta-item:nth-child(4) { border-bottom: none; }
}

.hero-meta-item .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
}
.hero-meta-item .label {
  font-size: 0.78rem;
  color: var(--mute);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards { display: grid; gap: 2px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s;
}
.card:hover { border-color: rgba(255,255,255,0.18); }

.card-inner { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; height: 100%; }

/* Card illustrations */
.card-illo {
  height: 96px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.card-illo svg { width: 100%; max-width: 200px; height: 100%; overflow: visible; }

/* CRM animation */
.stage { fill: none; stroke: rgba(244,192,116,0.25); stroke-width: 1.5; }
.dot {
  fill: var(--amber);
  animation: dotFlow 2.5s var(--ease) infinite;
  offset-path: path('M20 48 L180 48');
}
.dot.d2 { animation-delay: 0.8s; fill: var(--mint); }
.dot.d3 { animation-delay: 1.6s; fill: var(--cyan); }
@keyframes dotFlow {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Automate animation */
.pulse {
  fill: none;
  stroke: rgba(110,231,183,0.3);
  stroke-width: 1.5;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: pulseDash 2.5s ease-in-out infinite alternate;
}
@keyframes pulseDash { to { stroke-dashoffset: 0; } }
.node { fill: var(--ink2); stroke: rgba(110,231,183,0.5); stroke-width: 1.5; }
.core { fill: rgba(110,231,183,0.15); stroke: var(--mint); stroke-width: 1.5; animation: corePulse 2s ease-in-out infinite; }
@keyframes corePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Portal animation */
.cell { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.08); stroke-width: 0.8; transition: fill 0.3s; }
.cell.lit { fill: rgba(196,181,253,0.12); stroke: rgba(196,181,253,0.3); animation: cellFlicker 3s ease-in-out infinite; }
@keyframes cellFlicker { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}

.card h3 { margin-bottom: 4px; }

.card p { font-size: 0.92rem; color: var(--dim); line-height: 1.65; flex: 1; }

.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--paper);
  margin-top: 8px;
  transition: gap 0.2s;
}
.card-link .arrow { font-size: 0.9rem; transition: transform 0.2s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (max-width: 768px) { .reviews { grid-template-columns: 1fr; } }

.review {
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color 0.3s;
}
.review:hover { border-color: rgba(255,255,255,0.18); }

.stars { color: var(--amber); font-size: 0.9rem; letter-spacing: 3px; }

.review blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem; font-weight: 400;
  line-height: 1.55;
  color: var(--paper);
  font-style: italic;
}

.review-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }

.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(110,231,183,0.12);
  border: 1px solid rgba(110,231,183,0.3);
  display: grid; place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 1rem; font-weight: 500;
  color: var(--mint);
  flex-shrink: 0;
}

.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-meta strong { font-size: 0.9rem; color: var(--paper); font-weight: 600; }
.review-meta span { font-size: 0.8rem; color: var(--mute); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(110,231,183,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip h2 { margin-bottom: 18px; }
.cta-strip p { color: var(--dim); max-width: 48ch; margin: 0 auto 36px; font-size: 1.05rem; line-height: 1.7; }

/* ============================================================
   MASCOT
   ============================================================ */
.mascot {
  position: fixed; bottom: 28px; right: 28px; z-index: 600;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink2);
  border: 1.5px solid rgba(255,255,255,0.14);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.mascot:hover {
  border-color: var(--mint);
  transform: scale(1.08) translateY(-2px);
}
.mascot svg { width: 34px; height: 34px; }
.m-body { fill: var(--ink2); stroke: var(--paper); stroke-width: 1.5; }
.m-tip { fill: var(--amber); }
.m-eye { fill: var(--mint); }
.m-eye-r { animation: mascotBlink 4s ease-in-out infinite; transform-origin: 42px 32px; }
@keyframes mascotBlink { 0%,88%,100% { transform: scaleY(1); } 91%,95% { transform: scaleY(0.1); } }

.mascot-bubble {
  position: absolute;
  right: 66px; bottom: 50%; transform: translateY(50%);
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(50%) translateX(6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.mascot-bubble::after {
  content: "";
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: rgba(255,255,255,0.14);
}
.mascot:hover .mascot-bubble { opacity: 1; transform: translateY(50%) translateX(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); }

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-tag {
  margin-top: 14px;
  font-size: 0.88rem; color: var(--mute); line-height: 1.6;
  max-width: 28ch;
}

.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem; color: var(--dim);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--paper); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--mute);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   DATA-SCRAMBLE placeholder
   ============================================================ */
[data-scramble] { display: inline-block; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 160px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
  padding: 0 0 100px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

.contact-info { display: flex; flex-direction: column; gap: 40px; }

.contact-detail {
  display: flex; flex-direction: column; gap: 6px;
}
.contact-detail-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute);
}
.contact-detail-value {
  font-size: 1.05rem; color: var(--paper);
}
.contact-detail-value a { transition: color 0.2s; }
.contact-detail-value a:hover { color: var(--mint); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  color: var(--paper);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--mute); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(110,231,183,0.5);
  background: rgba(110,231,183,0.04);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.form-select option { background: var(--ink2); color: var(--paper); }

.form-submit {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: all 0.3s var(--ease);
  align-self: flex-start;
  position: relative; overflow: hidden;
}
.form-submit:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(244,192,116,0.25);
}
.form-submit.loading { pointer-events: none; opacity: 0.7; }

.form-success {
  display: none;
  padding: 24px 28px;
  border-radius: var(--r);
  background: rgba(110,231,183,0.08);
  border: 1px solid rgba(110,231,183,0.3);
  text-align: center;
}
.form-success.show { display: block; }
.form-success p { color: var(--mint); font-weight: 500; }
