/* ==========================================================================
   Reyan Theme — Home (front page) sections.
   Chrome (.rf-nav / .rf-footer) lives in reyan.css; this file styles the body
   sections only (hero, meet, quote, eos, articles, podcasts, work, contact).
   Loaded on the front page only.
   ========================================================================== */
:root {
  --ink: #1c1c1e;
  --ink-2: #2a2a2e;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --muted: #6b6b73;
  --line: #e8e8e6;
  --orange: #f47b20;
  --orange-2: #ff9a3d;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .35);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

body.home { overflow-x: hidden; }
.home h1, .home h2, .home h3, .home h4 { font-family: "Sora", sans-serif; line-height: 1.1; letter-spacing: -.02em; }
.home .container { width: min(1180px, 92%); margin-inline: auto; }
.home .center { text-align: center; }

/* ---------- the hero is dark, so the nav rides transparent over it ---------- */
body.home .rf-nav { position: fixed; }
body.home .rf-nav:not(.rf-scrolled) {
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.home .rf-nav:not(.rf-scrolled) .rf-brand__logo { filter: brightness(0) invert(1); }
body.home .rf-nav:not(.rf-scrolled) .rf-nav__links a { color: rgba(255, 255, 255, .92); }
body.home .rf-nav:not(.rf-scrolled) .rf-nav__toggle span { background: #fff; }
/* the front page owns the full viewport — kill the chrome wrapper min-height */
body.home .rf-site-main { min-height: 0; }

/* ---------- Buttons ---------- */
.home .btn {
  display: inline-block; font-weight: 700; font-size: .95rem;
  padding: 14px 30px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  position: relative; font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.home .btn--sm { padding: 10px 22px; font-size: .85rem; }
.home .btn--primary {
  background: linear-gradient(120deg, var(--orange), var(--orange-2)); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(244, 123, 32, .7);
}
.home .btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -10px rgba(244, 123, 32, .85); color: #fff; }
.home .btn--ghost { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.home .btn--ghost:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  background: radial-gradient(120% 120% at 80% 0%, #2f2f33 0%, #1c1c1e 55%, #141416 100%);
  color: #fff; overflow: hidden; padding-top: 90px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; }
.orb--1 {
  width: 520px; height: 520px; right: -80px; top: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(244, 123, 32, .55), transparent 60%);
  animation: float 9s ease-in-out infinite;
}
.orb--2 {
  width: 320px; height: 320px; right: 240px; top: 60px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 154, 61, .35), transparent 60%);
  animation: float 11s ease-in-out infinite reverse;
}
.streak {
  position: absolute; right: 15%; top: 8%; width: 8px; height: 360px;
  background: linear-gradient(var(--orange), transparent);
  transform: rotate(38deg); border-radius: 8px; opacity: .8;
  animation: streakPulse 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(28px) } }
@keyframes streakPulse { 0%,100% { opacity: .4; transform: rotate(38deg) scaleY(.9) } 50% { opacity: .9; transform: rotate(38deg) scaleY(1.05) } }

.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: end; position: relative; z-index: 2; }
.hero__copy { align-self: center; padding-bottom: 40px; }
.hero__media { position: relative; display: grid; place-items: end center; min-height: 460px; align-self: stretch; }
.hero-circle {
  position: absolute; z-index: 0; width: 86%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(244,123,32,.95) 0%, rgba(244,123,32,.85) 38%, rgba(211,80,20,.2) 60%, transparent 72%);
  filter: blur(2px); animation: glowPulse 7s ease-in-out infinite;
}
.hero-person {
  position: relative; z-index: 2; width: 100%; max-width: 600px; height: auto; display: block;
  margin-bottom: 0; filter: drop-shadow(0 28px 45px rgba(0,0,0,.5));
}
.hero-ring {
  position: absolute; z-index: 1; width: 110px; height: 110px; border-radius: 50%;
  border: 3px solid rgba(244,123,32,.7); top: 6%; left: 4%;
  animation: floatY 9s ease-in-out infinite reverse;
}
.hero-streak2 {
  position: absolute; z-index: 1; right: 6%; top: 2%; width: 7px; height: 140px;
  background: linear-gradient(var(--orange-2), transparent); border-radius: 8px;
  transform: rotate(42deg); animation: streakPulse 5s ease-in-out infinite;
}
.hero-dot { position: absolute; z-index: 3; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px rgba(244,123,32,.8); }
.hero-dot--1 { width: 16px; height: 16px; top: 12%; right: 12%; animation: floatY 5s ease-in-out infinite; }
.hero-dot--2 { width: 10px; height: 10px; bottom: 18%; left: 8%; background: var(--orange-2); animation: floatY 6.5s ease-in-out infinite reverse; }
.hero-dot--3 { width: 8px; height: 8px; bottom: 8%; right: 18%; animation: floatY 8s ease-in-out infinite; }
.hero-chip {
  position: absolute; z-index: 4; font-family: "Sora", sans-serif; font-weight: 700; font-size: .8rem;
  padding: 8px 16px; border-radius: 999px; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 26px -10px rgba(0,0,0,.6);
}
.hero-chip--eos { top: 22%; left: -2%; color: var(--orange-2); animation: floatY 6s ease-in-out infinite; }
.hero-chip--traction { bottom: 24%; right: -4%; animation: floatY 7.5s ease-in-out infinite reverse; }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@keyframes glowPulse { 0%,100% { opacity: .85; transform: scale(1) } 50% { opacity: 1; transform: scale(1.05) } }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--orange-2); margin-bottom: 18px; }
.eyebrow--light { color: var(--orange); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--orange), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__cta { margin-top: 34px; }

/* ---------- Framed portrait ---------- */
.portrait--frame { border: 8px solid #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.portrait--frame img { width: 100%; height: auto; display: block; }

/* ---------- Meet ---------- */
.meet { padding: 110px 0; background: var(--paper); }
.meet__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.meet__media { margin-top: -90px; position: relative; z-index: 5; }
.meet h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.meet .btn { margin-bottom: 28px; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.hl { color: var(--orange); font-weight: 600; }

/* ---------- Quote ---------- */
.quote { position: relative; padding: 120px 0; color: #fff; overflow: hidden; }
.quote__bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20,20,22,.78), rgba(20,20,22,.78)), linear-gradient(135deg, #7a4a2a, #b35a1e);
  background-size: cover;
}
.quote blockquote { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; text-align: center; }
.quote p { font-family: "Sora"; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.4; }
.quote cite { display: block; margin-top: 22px; color: var(--orange-2); font-style: normal; font-weight: 700; letter-spacing: .04em; }

/* ---------- EOS ---------- */
.eos { padding: 110px 0; background: var(--soft); }
.eos__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.eos h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; max-width: 16ch; }
.eos .btn { margin-top: 10px; }
.eos__media { position: relative; line-height: 0; }
.eos__media img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.badge-eos {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 14px;
  display: grid; text-align: center; line-height: 1.05; border: 2px solid var(--orange);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.badge-eos strong { font-family: "Sora"; font-size: 1.6rem; color: var(--orange); letter-spacing: .02em; }
.badge-eos small { font-size: .52rem; letter-spacing: .18em; font-weight: 700; }

/* ---------- Section title ---------- */
.section-title { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 50px; }
.section-title::after { content: ""; display: block; width: 60px; height: 4px; background: var(--orange); border-radius: 4px; margin: 16px auto 0; }

/* ---------- Cards ---------- */
.articles { padding: 110px 0; }
.podcasts { padding: 110px 0; background: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.card__media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: linear-gradient(135deg, #2a2a30, #15151a); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.pod-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .pod-photo { transform: scale(1.06); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__body h3 { font-size: 1.12rem; line-height: 1.3; }
.card__body p { color: rgba(255,255,255,.65); font-size: .92rem; flex: 1; }
.card__body .btn { align-self: flex-start; }
.home .center { margin-top: 50px; }

/* ---------- Work together ---------- */
.work { background: var(--ink); color: #fff; padding: 90px 0; }
.work h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.work p { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.work .socials { display: flex; gap: 16px; justify-content: center; }
.work .social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: transform .3s var(--ease), background .3s;
  border: 1px solid rgba(255,255,255,.12);
}
.work .social img { width: 18px; height: 18px; filter: brightness(0) invert(1); transition: transform .3s var(--ease); }
.work .social:hover { background: var(--orange); transform: translateY(-4px) scale(1.05); }

/* ---------- Contact ---------- */
.contact { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.contact__media { position: absolute; inset: 0; overflow: hidden; }
.contact__media::before {
  content: ""; position: absolute; inset: 0;
  background: url('../img/contact-bg.webp') left top / cover no-repeat;
  transform-origin: left top; animation: kenburns 22s ease-in-out infinite alternate;
}
.contact__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,15,17,.45) 0%, transparent 7%, transparent 90%, #0f0f11 100%),
    linear-gradient(100deg, rgba(15,15,17,.18) 0%, rgba(15,15,17,.42) 40%, rgba(15,15,17,.88) 64%, rgba(15,15,17,.98) 100%);
}
@keyframes kenburns { from { transform: scale(1) } to { transform: scale(1.06) } }
.contact__inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.contact__card { max-width: 440px; text-align: right; }
.contact__card h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 26px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .15s; }
.reveal--delay2 { transition-delay: .3s; }

/* LCP: the hero is above the fold, so it must paint immediately and never wait
   for the JS IntersectionObserver. Keep opacity:1 (opacity<1 delays LCP) and
   give it a transform-only entrance, which does not affect LCP timing. */
.hero .reveal { opacity: 1; }
.hero .hero__copy { animation: heroRise .8s var(--ease) both; }
.hero .hero__media { animation: heroRise .8s var(--ease) .15s both; }
@keyframes heroRise { from { transform: translateY(38px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero .hero__copy, .hero .hero__media { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .streak, .contact__media::before,
  .hero-person, .hero-circle, .hero-ring, .hero-streak2, .hero-dot, .hero-chip { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__cta { margin-top: 26px; }
  .hero__media { max-width: 360px; margin-inline: auto; min-height: 380px; }
  .meet, .eos, .articles, .podcasts { padding: 70px 0; }
  .meet__grid, .eos__grid { grid-template-columns: 1fr; gap: 36px; }
  .meet__media { margin-top: 0; max-width: 300px; margin-inline: auto; }
  .meet__copy, .eos__copy { text-align: center; }
  .eos h2 { max-width: none; margin-inline: auto; }
  .meet__copy .prose, .eos__copy .prose { text-align: left; }
  .meet .btn, .eos .btn { margin-inline: auto; }
  .quote { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .contact { min-height: 460px; }
  .contact__inner { justify-content: center; }
  .contact__card { text-align: center; max-width: 520px; }
  .work { padding: 70px 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero__media { max-width: 300px; min-height: 320px; }
  .hero-chip { display: none; }
  .hero-circle { width: 92%; }
  .section-title { margin-bottom: 36px; }
}
