:root {
  --bg: #070814;
  --panel: rgba(17, 19, 39, .78);
  --panel-2: rgba(21, 23, 48, .86);
  --text: #f7f7fb;
  --muted: #b9bfce;
  --soft: #7c8498;
  --line: rgba(255,255,255,.12);
  --blue: #22d3ee;
  --violet: #c026d3;
  --glow: rgba(34,211,238,.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 8%, rgba(192,38,211,.22), transparent 34%),
    radial-gradient(circle at 12% 20%, rgba(34,211,238,.12), transparent 35%),
    linear-gradient(135deg, #07111f 0%, #120a24 45%, #070814 100%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(7,8,20,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  font-weight: 950;
  font-size: clamp(18px, 3.8vw, 24px);
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255,255,255,.12);
  outline: none;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 8vw, 88px);
}

.hero-cup {
  display: block;
  width: clamp(116px, 24vw, 190px);
  max-width: 190px;
  height: auto;
  margin: 0 0 42px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.34));
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 12vw, 132px);
  line-height: .84;
  letter-spacing: -.075em;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 3.7vw, 24px);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .44em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #04111d;
  background: linear-gradient(135deg, #37d5f5, #db28dc);
  font-weight: 950;
}

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

.scroll-cue {
  display: inline-flex;
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.section,
.page-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 72px);
  line-height: .95;
  letter-spacing: -.055em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.chip {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.chip:hover,
.chip:focus-visible,
.chip.active {
  border-color: rgba(34,211,238,.35);
  background: rgba(34,211,238,.12);
  color: #bff8ff;
  outline: none;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  cursor: pointer;
}

.story-card:hover {
  border-color: rgba(34,211,238,.35);
  transform: translateY(-1px);
}

.story-card .tag {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(34,211,238,.24);
  border-radius: 999px;
  background: rgba(34,211,238,.09);
  color: #bff8ff;
  font-size: 13px;
  font-weight: 950;
  text-transform: lowercase;
}

.story-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.story-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.read-count {
  color: #bff8ff;
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #101225;
  box-shadow: 0 28px 100px rgba(0,0,0,.45);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}

.modal h2 {
  margin: 12px 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: .95;
  letter-spacing: -.05em;
}

.modal p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.form-card,
.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: var(--text);
}

textarea {
  min-height: 220px;
  resize: vertical;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-cup {
    width: 132px;
    max-width: 132px;
    margin-bottom: 38px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand {
    font-size: 16px;
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero-cup {
    width: 110px;
    max-width: 110px;
  }
}

/* ===== HARD FINAL VISUAL LOCK ===== */

/* cup wrapper */
.hero-cup {
  display: block !important;
  width: 132px !important;
  max-width: 132px !important;
  height: auto !important;
  margin: 0 0 42px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* actual cup image */
.hero-cup img,
.hero .hero-cup img,
section.hero .hero-cup img {
  display: block !important;
  width: 132px !important;
  max-width: 132px !important;
  height: auto !important;
  max-height: 132px !important;
  object-fit: contain !important;
}

/* never allow random logo/image blowout */
.hero img,
main img,
section img {
  max-width: 180px !important;
  height: auto !important;
}

/* mobile cup */
@media (max-width: 860px) {
  .hero-cup,
  .hero-cup img,
  .hero .hero-cup img,
  section.hero .hero-cup img {
    width: 112px !important;
    max-width: 112px !important;
    max-height: 112px !important;
  }
}

/* header stays simple */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
  min-height: 62px !important;
  padding: 12px 16px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  background: rgba(7,8,20,.78) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.brand {
  color: #f7f7fb !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.nav-links {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.nav-links a {
  min-height: 36px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #f7f7fb !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* story cards stay dark and readable */
.story-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.story-card {
  min-height: 230px !important;
  padding: 22px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    rgba(17,19,39,.86) !important;
  color: #f7f7fb !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.22) !important;
}

.story-card h3,
.story-card h2,
.story-card strong {
  color: #f7f7fb !important;
}

.story-card p,
.story-card .story-meta,
.story-card time {
  color: #b9bfce !important;
}

.story-card .tag {
  color: #bff8ff !important;
  background: rgba(34,211,238,.09) !important;
  border-color: rgba(34,211,238,.24) !important;
}

.read-count {
  color: #bff8ff !important;
  font-weight: 950 !important;
}

@media (max-width: 760px) {
  .story-grid {
    grid-template-columns: 1fr !important;
  }

  .site-header {
    padding: 11px 14px !important;
  }

  .brand {
    font-size: 17px !important;
  }

  .nav-links {
    gap: 6px !important;
  }

  .nav-links a {
    padding: 8px 10px !important;
    font-size: 13px !important;
  }
}

/* ===== FINAL CUP SIZE BUMP ===== */
.hero-cup {
  width: 150px !important;
  max-width: 150px !important;
  margin-bottom: 42px !important;
}

.hero-cup img,
.hero .hero-cup img,
section.hero .hero-cup img {
  width: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
}

@media (max-width: 860px) {
  .hero-cup,
  .hero-cup img,
  .hero .hero-cup img,
  section.hero .hero-cup img {
    width: 130px !important;
    max-width: 130px !important;
    max-height: 130px !important;
  }
}

/* ===== FINAL CUP 200PX LOCK ===== */
.hero-cup {
  width: 200px !important;
  max-width: 200px !important;
  margin-bottom: 34px !important;
}

.hero-cup img,
.hero .hero-cup img,
section.hero .hero-cup img {
  width: 200px !important;
  max-width: 200px !important;
  max-height: 200px !important;
  height: auto !important;
  display: block !important;
}

@media (max-width: 860px) {
  .hero-cup,
  .hero-cup img,
  .hero .hero-cup img,
  section.hero .hero-cup img {
    width: 170px !important;
    max-width: 170px !important;
    max-height: 170px !important;
  }
}
