/* Rayu.ai investor deck (#/deck) — full-screen dark editorial slides.
   Reuses the site's font + accent variables from styles.css. */

.deck-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(148, 244, 203, 0.10), transparent 55%),
    radial-gradient(90% 80% at 12% 100%, rgba(120, 130, 255, 0.08), transparent 60%),
    #080b0a;
  color: #f3f6f4;
  font-family: var(--sans, "Space Grotesk", system-ui, sans-serif);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* top chrome */
.deck-home {
  position: absolute; top: 20px; left: 26px; z-index: 5;
  font-family: var(--serif, "Instrument Serif", serif);
  font-size: 24px; letter-spacing: -0.01em; color: #f3f6f4;
  text-decoration: none; opacity: 0.9;
}
.deck-home span { color: var(--accent, #94f4cb); }
.deck-home:hover { opacity: 1; }

.deck-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255, 255, 255, 0.08); z-index: 5;
}
.deck-progress-fill {
  height: 100%; background: var(--accent, #94f4cb);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* slide stage */
.deck-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.deck-slidewrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 72px clamp(26px, 7vw, 104px) 84px;
  opacity: 0; transform: translateX(38px); pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.deck-slidewrap.was { transform: translateX(-38px); }
.deck-slidewrap.on { opacity: 1; transform: none; pointer-events: auto; }

.deck-slide { width: 100%; max-width: 1080px; margin: 0 auto; }

/* shared type */
.deck-kicker {
  font-family: var(--mono, monospace); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent, #94f4cb); margin-bottom: 18px;
}
.deck-title {
  font-family: var(--serif, serif); font-weight: 400;
  font-size: clamp(40px, 6.6vw, 88px); line-height: 1.0; letter-spacing: -0.02em;
  margin-bottom: 34px;
}
.deck-title.small { font-size: clamp(36px, 5vw, 64px); margin-bottom: 30px; }
.deck-accent { color: var(--accent, #94f4cb); }
.deck-lede {
  font-size: clamp(17px, 1.9vw, 22px); line-height: 1.5;
  color: rgba(243, 246, 244, 0.74); max-width: 66ch; margin-bottom: 30px;
}

/* cards */
.deck-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px; padding: 26px 26px 28px;
}
.deck-card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.deck-card h3 em { font-style: normal; font-weight: 400; font-size: 13px; color: rgba(243, 246, 244, 0.5); }
.deck-card p { font-size: 15px; line-height: 1.58; color: rgba(243, 246, 244, 0.72); }
.deck-card p b, .deck-card h3 b { color: #f3f6f4; }
.deck-card.slim { padding: 20px 22px; }
.deck-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #94f4cb); flex: none; transform: translateY(-2px); }

.deck-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.deck-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.deck-grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }

.deck-underline {
  font-size: clamp(16px, 1.8vw, 21px); line-height: 1.5; color: rgba(243, 246, 244, 0.9);
  border-left: 2px solid var(--accent, #94f4cb); padding-left: 18px; max-width: 90ch;
}
.deck-underline b { color: var(--accent, #94f4cb); }
.deck-cite { margin-top: 22px; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: 0.06em; color: rgba(243, 246, 244, 0.38); }

/* chips */
.deck-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.deck-chip {
  border: 1px solid rgba(148, 244, 203, 0.4); background: rgba(148, 244, 203, 0.08);
  color: rgba(243, 246, 244, 0.85); border-radius: 999px; padding: 10px 18px; font-size: 14px;
}
.deck-chip b { color: var(--accent, #94f4cb); }

/* cover / close */
.deck-cover, .deck-close { position: relative; text-align: center; }
.deck-cover-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.deck-eyebrow { font-family: var(--mono, monospace); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 246, 244, 0.55); margin-bottom: 26px; }
.deck-eyebrow.dark { color: rgba(6, 18, 13, 0.7); }
.deck-script {
  font-family: var(--serif, serif); font-style: italic; font-weight: 400;
  font-size: clamp(44px, 8vw, 104px); line-height: 1.02; letter-spacing: -0.01em;
  color: var(--accent, #94f4cb); margin-bottom: 10px;
}
.deck-script.small { font-size: clamp(38px, 6vw, 76px); color: var(--accent, #94f4cb); margin-bottom: 18px; }
.deck-wordmark { font-size: clamp(52px, 9vw, 120px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #f3f6f4; }
.deck-wordmark span { color: rgba(243, 246, 244, 0.55); font-weight: 400; }
.deck-wordmark.big { font-size: clamp(64px, 12vw, 150px); }
.deck-wordmark.dark { color: #06120d; }
.deck-wordmark.dark span { color: rgba(6, 18, 13, 0.55); }
.deck-cover-logo { width: min(48vw, 380px); height: auto; margin-top: 4px; }
.deck-cover-foot { margin-top: 30px; font-family: var(--mono, monospace); font-size: 12px; letter-spacing: 0.14em; color: rgba(243, 246, 244, 0.5); text-transform: uppercase; }
.deck-contact { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; font-size: 15px; }
.deck-contact a { color: var(--accent, #94f4cb); text-decoration: none; }
.deck-contact a:hover { text-decoration: underline; }
.deck-contact span { color: rgba(243, 246, 244, 0.35); }

/* decorative orb */
.deck-orb {
  position: absolute; top: 50%; left: 50%; width: min(60vh, 520px); aspect-ratio: 1;
  transform: translate(-50%, -58%); border-radius: 50%; z-index: 1; filter: blur(6px); opacity: 0.5;
  background: radial-gradient(circle at 38% 34%, #7cf0d0 0%, #6d8bff 46%, #b06bff 74%, transparent 78%);
}
.deck-orb.small { width: min(46vh, 360px); opacity: 0.4; }

/* intro (full-bleed, band animation behind the real logo) */
.deck-intro { position: absolute; inset: 0; max-width: none; background: #05100c; display: grid; place-items: center; text-align: center; overflow: hidden; }
.deck-intro-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.deck-intro-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(58% 58% at 50% 46%, rgba(5, 16, 12, 0.30), rgba(5, 16, 12, 0.86) 80%); }
.deck-intro-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.deck-intro-logo { width: min(44vw, 340px); height: auto; margin: 14px 0 4px; }
.deck-intro-tag { margin-top: 18px; font-family: var(--mono, monospace); font-size: clamp(13px, 1.5vw, 17px); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243, 246, 244, 0.74); font-weight: 500; }

/* personas */
.deck-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.deck-persona { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; padding: 24px 22px; }
.deck-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #06120d; background: var(--accent, #94f4cb); margin-bottom: 14px; }
.deck-persona-name { font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.deck-persona-desc { font-size: 14px; line-height: 1.5; color: rgba(243, 246, 244, 0.68); }
.deck-two-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 15px; line-height: 1.55; color: rgba(243, 246, 244, 0.74); }
.deck-tag { display: inline-block; font-weight: 600; color: var(--accent, #94f4cb); margin-right: 6px; }

/* pull quote */
.deck-pull {
  font-family: var(--serif, serif); font-size: clamp(22px, 3vw, 38px); line-height: 1.22;
  letter-spacing: -0.015em; color: #f3f6f4; text-align: center; max-width: 24ch; margin: 8px auto 0;
}

/* vision */
.deck-vision { text-align: center; }
.deck-quote {
  font-family: var(--serif, serif); font-size: clamp(26px, 4.2vw, 56px); line-height: 1.22;
  letter-spacing: -0.02em; color: #f3f6f4; max-width: 20ch; margin: 0 auto;
}
.deck-quote em { font-style: italic; color: var(--accent, #94f4cb); }

/* go to market */
.deck-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.deck-funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deck-stage-col { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; padding: 22px 22px 24px; }
.deck-stage-h { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.deck-stage-h span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent, #94f4cb); color: #06120d; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.deck-stage-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.deck-stage-col li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.45; color: rgba(243, 246, 244, 0.72); }
.deck-stage-col li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent, #94f4cb); }
.deck-stage-col li b { color: #f3f6f4; }

/* timeline */
.deck-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 30px; }
.deck-tl-item { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; padding: 18px 16px 20px; }
.deck-tl-item.here { border-color: var(--accent, #94f4cb); background: rgba(148, 244, 203, 0.1); }
.deck-tl-n { font-family: var(--mono, monospace); font-size: 13px; color: rgba(243, 246, 244, 0.45); margin-bottom: 12px; }
.deck-tl-s { font-family: var(--mono, monospace); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, #94f4cb); margin-bottom: 8px; }
.deck-tl-t { font-size: 14px; line-height: 1.4; color: rgba(243, 246, 244, 0.82); }
.deck-metrics { display: flex; gap: 44px; flex-wrap: wrap; }
.deck-metric-n { font-family: var(--serif, serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--accent, #94f4cb); }
.deck-metric-l { margin-top: 8px; font-size: 14px; color: rgba(243, 246, 244, 0.66); max-width: 22ch; }

/* market */
.deck-market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deck-mstat { border-top: 2px solid rgba(148, 244, 203, 0.5); padding-top: 20px; }
.deck-mstat-n { font-family: var(--serif, serif); font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; color: #f3f6f4; margin-bottom: 14px; }
.deck-mstat p { font-size: 15px; line-height: 1.55; color: rgba(243, 246, 244, 0.7); }

/* founders */
.deck-founders { display: flex; flex-direction: column; gap: 20px; }
.deck-founder { display: flex; gap: 22px; align-items: flex-start; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; padding: 24px 26px; }
.deck-mono { flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 24px; color: #06120d; background: linear-gradient(140deg, var(--accent, #94f4cb), #6d8bff); }
.deck-founder-photo { flex: none; width: 68px; height: 68px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent, #94f4cb); }
.deck-founder-name { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.deck-founder-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.deck-founder-tags span { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; background: rgba(148, 244, 203, 0.12); color: var(--accent, #94f4cb); }
.deck-founder-body p { font-size: 14.5px; line-height: 1.55; color: rgba(243, 246, 244, 0.72); }

/* hardware & supply */
.deck-supply { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 22px; align-items: stretch; }
.deck-supplier-photo {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #0e1512 center / cover no-repeat; background-image: url("assets/supplier.jpg");
  display: flex; align-items: flex-end;
}
.deck-supplier-cap { position: relative; z-index: 2; margin: 14px; padding: 6px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.5); font-family: var(--mono, monospace); font-size: 11px; letter-spacing: 0.04em; color: rgba(243, 246, 244, 0.85); }
.deck-supply-points { display: flex; flex-direction: column; gap: 14px; justify-content: center; }

/* the ask */
.deck-funds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 26px; }
.deck-funds.two { grid-template-columns: 1fr 1fr; max-width: 780px; }
.deck-fund { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; padding: 22px 22px 24px; }
.deck-fund-n { font-family: var(--serif, serif); font-size: 40px; line-height: 1; color: var(--accent, #94f4cb); margin-bottom: 12px; }
.deck-fund h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.deck-fund p { font-size: 14px; line-height: 1.5; color: rgba(243, 246, 244, 0.7); }
.deck-ask-line { font-size: clamp(16px, 1.9vw, 21px); }
.deck-ask-line span { color: rgba(243, 246, 244, 0.6); margin-right: 8px; }
.deck-ask-line b { color: var(--accent, #94f4cb); }

/* arrows */
.deck-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f3f6f4; font-size: 24px; line-height: 1; display: grid; place-items: center;
  transition: background 0.2s, opacity 0.2s;
}
.deck-arrow.left { left: 18px; }
.deck-arrow.right { right: 18px; }
.deck-arrow:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
.deck-arrow:disabled { opacity: 0.25; cursor: default; }

/* footer: dots + count */
.deck-foot {
  position: absolute; bottom: 0; left: 0; right: 0; height: 64px; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 0 26px;
  background: linear-gradient(to top, #080b0a 46%, rgba(8, 11, 10, 0));
}
.deck-dots { display: flex; gap: 9px; }
.deck-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.24); transition: background 0.2s, transform 0.2s;
}
.deck-dots button:hover { background: rgba(255, 255, 255, 0.5); }
.deck-dots button.on { background: var(--accent, #94f4cb); transform: scale(1.25); }
.deck-count {
  position: absolute; right: 26px; font-family: var(--mono, monospace);
  font-size: 12px; letter-spacing: 0.1em; color: rgba(243, 246, 244, 0.5);
}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .deck-cols2, .deck-cols3, .deck-grid4, .deck-personas, .deck-funnel,
  .deck-audiences, .deck-market, .deck-funds, .deck-funds.two, .deck-two-notes,
  .deck-supply { grid-template-columns: 1fr; }
  .deck-supplier-photo { min-height: 220px; }
  .deck-timeline { grid-template-columns: 1fr 1fr; }
  .deck-slidewrap { align-items: flex-start; padding: 66px 20px 78px; }
  .deck-arrow { display: none; }
  .deck-metrics { gap: 26px; }
}
@media (max-width: 560px) {
  .deck-timeline { grid-template-columns: 1fr; }
  .deck-founder { flex-direction: column; gap: 14px; }
  .deck-count { display: none; }
  .deck-home { font-size: 20px; top: 16px; left: 18px; }
  .deck-slidewrap { padding: 60px 18px 74px; }
}
@media (prefers-reduced-motion: reduce) {
  .deck-slidewrap, .deck-progress-fill { transition: opacity 0.2s ease; transform: none; }
}
