/* ijayrey.com — static, no JS, no third-party requests.
   Shares its structure with pancon.cafe (eyebrow label, highlighted headline word,
   sunburst, diamond-weave strip) in a darker, quieter treatment. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07050f;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-hover: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #a39fb8;
  --pink: #ff3eb5;
  --teal: #00e5d4;
  --violet: #a96bff;
  --ink: #1a0614;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 15% -10%, rgba(255, 62, 181, 0.16), transparent 70%),
    radial-gradient(800px 520px at 90% 0%, rgba(0, 229, 212, 0.11), transparent 70%),
    var(--bg);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 5, 15, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0);
}
.nav .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 9px; }
.wordmark::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--teal));
  box-shadow: 0 0 14px rgba(255, 62, 181, 0.7);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 980px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--panel); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links .pill { background: var(--text); color: var(--bg); font-weight: 600; margin-left: 6px; }
.nav-links .pill:hover { background: #fff; color: var(--bg); }
.nav-links .pill { display: inline-flex; align-items: center; }

/* Live indicator: markup is always there, only shown while streaming */
.live-dot { display: none; flex: none; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: #ff3b30; border: 2px solid #fff; }
.btn .live-dot { margin-right: 0; }
.is-live .live-dot { display: inline-block; animation: livepulse 1.6s ease-out infinite; }
.is-live .nav-links .pill { box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.55), 0 6px 22px -6px rgba(255, 59, 48, 0.75); }
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(42px, 9.2vw, 92px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(95deg, var(--pink) 0%, var(--violet) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.lede { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  transition: transform 0.35s var(--ease), background 0.2s, box-shadow 0.35s var(--ease);
}
.btn:hover { background: var(--panel-hover); transform: translateY(-2px); }
.btn.primary {
  background: var(--pink);
  border-color: transparent;
  color: var(--ink);
  box-shadow: 0 10px 34px -10px rgba(255, 62, 181, 0.75);
}
.btn.primary:hover { background: #ff5cc3; box-shadow: 0 14px 40px -10px rgba(255, 62, 181, 0.9); }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: clamp(72px, 14vw, 150px) 0 clamp(64px, 11vw, 120px); isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 62, 181, 0.5) 0deg 6deg, transparent 6deg 12deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0%, transparent 14%, #000 34%, transparent 64%);
  mask-image: radial-gradient(circle, transparent 0%, transparent 14%, #000 34%, transparent 64%);
  opacity: 0.12;
}
.hero .lede { margin: 26px auto 0; }
.hero .actions { justify-content: center; margin-top: 38px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head .lede { margin-top: 16px; }

/* Schedule */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}
.slot .day { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--pink); text-transform: uppercase; }
.slot .time { margin-top: 10px; font-size: clamp(22px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.slot .zone { margin-top: 6px; font-size: 14px; color: var(--muted); }
.slot .cal { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.slot .cal a { font-size: 13px; font-weight: 500; line-height: 1; padding: 10px 15px; border-radius: 980px; border: 1px solid var(--line); background: var(--panel); color: var(--text); transition: background 0.2s, border-color 0.2s; }
.slot .cal a:hover { background: var(--panel-hover); border-color: rgba(255, 255, 255, 0.22); }
.cal-all { margin-top: 40px; gap: 14px; }
.cal-all .btn { padding: 14px 26px; font-size: 16px; }
.fineprint { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Platform tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.tiles-label { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.tiles + .tiles-label { margin-top: 44px; }
.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), background 0.25s, border-color 0.25s;
}
.tile:hover { background: var(--panel-hover); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.tile .icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 62, 181, 0.2), rgba(0, 229, 212, 0.16));
  border: 1px solid var(--line);
}
.tile .icon svg { width: 26px; height: 26px; }
.tile .name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.tile .sub { font-size: 15px; color: var(--muted); margin-top: 2px; }
.tile .arrow { margin-left: auto; width: 20px; height: 20px; color: var(--muted); transition: transform 0.35s var(--ease), color 0.2s; flex: none; }
.tile:hover .arrow { transform: translateX(4px); color: var(--text); }

/* Feature band (gear teaser) */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  border: 1px solid var(--line);
  padding: clamp(36px, 7vw, 76px);
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(0, 229, 212, 0.18), transparent 70%),
    radial-gradient(600px 360px at 0% 100%, rgba(255, 62, 181, 0.2), transparent 70%),
    rgba(255, 255, 255, 0.03);
}
.band .lede { margin-top: 18px; }
.band .actions { margin-top: 30px; }

/* ---------- Notice (affiliate) ---------- */
.notice {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  padding: 14px 18px;
}
.notice strong { color: var(--text); font-weight: 600; }
.notice a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }

/* ---------- Gear ---------- */
.page-hero { padding: clamp(56px, 10vw, 110px) 0 clamp(28px, 4vw, 44px); }
.page-hero .lede { margin-top: 22px; }
.page-hero .notice { margin-top: 26px; max-width: 40em; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 980px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.jump a:hover { color: var(--text); background: var(--panel-hover); }

.category { padding-top: clamp(36px, 6vw, 64px); scroll-margin-top: 72px; }
.category h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 24px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.card .visual {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(260px 180px at 30% 20%, rgba(255, 62, 181, 0.22), transparent 70%),
    radial-gradient(260px 180px at 80% 90%, rgba(0, 229, 212, 0.18), transparent 70%),
    #0e0a1f;
  border-bottom: 1px solid var(--line);
}
.card .visual svg { width: 38%; height: auto; }
.card .visual img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .brand { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.card p { font-size: 15px; color: var(--muted); }
.card .take { color: var(--text); opacity: 0.88; margin-top: 8px; }
.card .buy { margin-top: auto; padding-top: 18px; }
.card .buy a { font-size: 15px; font-weight: 600; color: var(--pink); }
.card .buy a:hover { text-decoration: underline; text-underline-offset: 3px; }

.more { margin-top: 56px; color: var(--muted); font-size: 16px; }

/* ---------- Prose (disclosure) ---------- */
.prose { max-width: 40em; padding-bottom: 40px; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); margin: 44px 0 12px; letter-spacing: -0.025em; }
.prose p { font-size: 18px; line-height: 1.65; color: #d4d1e0; margin-top: 14px; text-wrap: pretty; }
.prose.about { padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 32px; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(255, 62, 181, 0.35); }
.prose.about p:first-child { margin-top: 0; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 62, 181, 0.7); }

/* ---------- Footer ---------- */
.weave {
  height: 24px;
  opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%2312092a'/%3E%3Cpolygon points='12,2 22,12 12,22 2,12' fill='%23ff3eb5' opacity='.55'/%3E%3Cpolygon points='12,6 18,12 12,18 6,12' fill='%2307050f'/%3E%3Cpolygon points='12,9 15,12 12,15 9,12' fill='%2300e5d4' opacity='.8'/%3E%3C/svg%3E") repeat-x;
}
.footer { margin-top: 80px; border-top: 1px solid var(--line); }
.footer .wrap { padding: 36px 0 calc(40px + env(safe-area-inset-bottom, 0)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a:hover { color: var(--text); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lede, .hero .actions, .page-hero > * { animation: rise 0.9s var(--ease) both; }
.hero h1 { animation-delay: 0.08s; }
.hero .lede { animation-delay: 0.18s; }
.hero .actions { animation-delay: 0.28s; }

@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .schedule { grid-template-columns: 1fr; }
  .slot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .slot .time { margin-top: 0; font-size: 22px; }
  .slot .zone { display: none; }
  .slot .cal { flex-basis: 100%; margin-top: 6px; padding-top: 16px; }
  .cal-all { margin-top: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { order: -1; width: min(240px, 70%); border-radius: 28px; }
  .tiles { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions { width: 100%; }
  .nav-links a:not(.pill) { display: none; }
  .nav-links a[href="/picks/"] { display: inline-block; }
  .band { border-radius: 26px; }
  .footer .wrap { flex-direction: column; }
}
