/* ===== $STRETCHGPT — degen meme theme ===== */
:root {
  --bg: #0a0e0a;
  --bg-2: #0f1510;
  --panel: #131a13;
  --border: #1e2a1e;
  --green: #10a37f;       /* ChatGPT green */
  --green-bright: #1ed98f;
  --red: #ff4d4d;
  --text: #e6f0e6;
  --text-dim: #8aa08a;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

/* ===== Line icons ===== */
.ic {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  vertical-align: -0.18em;
  color: var(--green-bright);
}
.ic--sm { width: 0.95em; height: 0.95em; }
.ic--h2 { width: 1em; height: 1em; vertical-align: -0.12em; }
.ic--card { width: 1.6rem; height: 1.6rem; color: var(--red); }
.ic--brand { width: 1em; height: 1em; }
.ic--big { width: 1em; height: 1em; vertical-align: -0.1em; }
.btn .ic { color: inherit; }

body {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(16,163,127,0.18), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ===== Ticker ===== */
.ticker {
  background: var(--red);
  color: #0a0e0a;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 50;
}
.ticker__track {
  display: inline-flex;
  animation: scroll-left 28s linear infinite;
}
.ticker__track span { display: inline-block; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Nav ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.nav__brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-bright);
}
.nav__bots { filter: saturate(1.4); }
.nav__links { display: flex; align-items: center; gap: 1.25rem; font-weight: 500; }
.nav__links a { text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: var(--green-bright); }
.nav__cta {
  background: var(--green);
  color: #03110c !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}
.nav__cta:hover { background: var(--green-bright); }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: clamp(2.5rem, 7vw, 5rem) 1rem 3rem;
}
.hero__inner { max-width: 820px; margin: 0 auto; }
.hero__art {
  position: relative;
  width: clamp(180px, 40vw, 260px);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--green);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(16,163,127,0.4);
}
.hero__art-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), var(--green-bright), var(--red), var(--green));
  filter: blur(22px);
  opacity: 0.55;
  z-index: 1;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__title {
  font-size: clamp(2.6rem, 11vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.hero__tag {
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* The literal stretch effect */
.stretch {
  color: var(--green-bright);
  display: inline-block;
  animation: stretch-x 3.2s ease-in-out infinite;
  transform-origin: left center;
  text-shadow: 0 0 24px rgba(30,217,143,0.45);
}
@keyframes stretch-x {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(1.18); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--mono);
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  font-size: 1rem;
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--green); color: #03110c; }
.btn--primary:hover { background: var(--green-bright); transform: translateY(-2px); }
.btn--ghost { border-color: var(--green); color: var(--green-bright); background: transparent; }
.btn--ghost:hover { background: rgba(16,163,127,0.12); transform: translateY(-2px); }

/* ===== Sections ===== */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}
.section--center { text-align: center; }
.h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* ===== Chat mock ===== */
.chat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.chat__dot { width: 11px; height: 11px; border-radius: 50%; background: #2a3a2a; }
.chat__dot:first-child { background: #ff5f56; }
.chat__dot:nth-child(2) { background: #ffbd2e; }
.chat__dot:nth-child(3) { background: #27c93f; }
.chat__title { font-family: var(--mono); font-size: 0.78rem; color: var(--text-dim); margin-left: 6px; }
.chat__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.1rem; }
.msg__who { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.msg__bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 1.02rem;
  max-width: 90%;
}
.msg { max-width: 80%; }
/* ChatGPT (the AI replying) sits on the LEFT; Mike/Saylor (the user) on the RIGHT. */
.msg--ai { align-self: flex-start; text-align: left; }
.msg--user { align-self: flex-end; text-align: right; }
.msg--user .msg__who { text-align: right; }
.msg--user .msg__bubble { background: #1c2a22; border: 1px solid var(--border); margin-left: auto; text-align: left; }
.msg--ai .msg__bubble { background: rgba(16,163,127,0.13); border: 1px solid var(--green); }
.msg__bubble--quiet { color: var(--text-dim); font-style: italic; font-size: 0.9rem; }

/* ===== Bleed cards ===== */
.bleed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bleed__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.bleed__card span { font-size: 1.02rem; color: var(--text); }

/* ===== Thesis ===== */
.thesis { max-width: 680px; margin: 0 auto; font-size: clamp(1.05rem, 2.6vw, 1.4rem); }
.thesis p { margin-bottom: 1.2rem; color: var(--text-dim); }
.thesis__big { color: var(--text) !important; font-weight: 500; }
.dots { color: var(--green-bright); letter-spacing: 0.2em; }

/* ===== Vibes ===== */
.vibes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vibes__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.vibes__card:hover { transform: translateY(-5px); border-color: var(--green); }
.vibes__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  background: rgba(16,163,127,0.12);
  border: 1px solid var(--green);
}
.vibes__ic .ic { width: 26px; height: 26px; vertical-align: 0; }
.vibes__card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--green-bright); }
.vibes__card p { color: var(--text-dim); font-size: 0.95rem; }

/* ===== Approved ===== */
.approved__q { font-size: clamp(1.3rem, 4vw, 2rem); margin-bottom: 0.5rem; }
.approved__a { color: var(--text-dim); margin-bottom: 1rem; }
.approved__chatgpt {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--green-bright);
  text-shadow: 0 0 30px rgba(30,217,143,0.5);
}

/* ===== CA ===== */
.ca {
  background: var(--panel);
  border: 1px solid var(--green);
  border-radius: 14px;
  padding: 1.6rem;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.ca__label { font-family: var(--mono); color: var(--text-dim); font-size: 0.8rem; margin-bottom: 0.6rem; }
.ca__row { display: flex; gap: 0.75rem; align-items: stretch; flex-wrap: wrap; }
.ca__row code {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  word-break: break-all;
  display: flex;
  align-items: center;
}
.ca__note { color: var(--text-dim); font-size: 0.82rem; margin-top: 0.9rem; }
.socials { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer p:first-child { font-family: var(--mono); color: var(--green-bright); font-size: 1.2rem; margin-bottom: 1rem; }
.footer__fine { color: var(--text-dim); font-size: 0.78rem; max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* ===== Eyebrow label ===== */
.eyebrow {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.6rem;
}

/* ===== Photo grid gallery ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.card {
  /* it's a <button> — reset native styling */
  appearance: none;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 0;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.card:hover, .card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 22px 60px rgba(16,163,127,0.25);
  outline: none;
}
.card:active { transform: translateY(-2px) scale(0.995); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 8, 4, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid var(--green);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.lightbox__close:hover { border-color: var(--green); background: rgba(16,163,127,0.15); }
.lightbox__close:active { transform: scale(0.92); }

/* ticker no longer uses emojis; segment is just text */
.ticker__seg { display: inline-block; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Toast for copy */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: #03110c;
  font-family: var(--mono);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .bleed, .vibes { grid-template-columns: 1fr; }
  .nav__links { gap: 0.9rem; font-size: 0.9rem; }
  .grid { grid-template-columns: 1fr; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .stretch, .hero__art-glow { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .card, .lightbox, .lightbox__img { transition: none; }
  html { scroll-behavior: auto; }
}
