/* RCC AI Holdings v2 — page-level layout */

/* ============ Helpers ============ */
.serif-display {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.02;
  margin: 0;
}
.hl-coral { color: var(--coral); font-style: italic; font-family: 'Instrument Serif', Georgia, serif; }
section { padding-inline: clamp(28px, 6vw, 96px); }

/* ============ Logo ============ */
.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 38px; width: auto; display: block; }
.footer-logo { height: 88px; }

/* ============ NAV ============ */
.nav2 {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(28px, 6vw, 96px);
  background: rgba(239, 233, 221, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav2 .nav-links {
  display: flex;
  gap: 28px;
}
.nav2 .nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 200ms;
}
.nav2 .nav-links a:hover { opacity: 1; color: var(--coral); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }

/* ============ HERO STORY ============ */
.hero-story {
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 32px;
  padding-block: clamp(56px, 8vw, 120px);
  position: relative;
}
.hs-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--coral);
  font-weight: 500;
}
.hs-stage {
  display: flex;
  align-items: center;
  min-height: 50vh;
}
.hs-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: hs-fade 600ms cubic-bezier(.2,.7,.2,1);
}
@keyframes hs-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hs-line {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(54px, 9vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
  animation: hs-line 700ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes hs-line {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hs-emph {
  font-style: italic;
  color: var(--coral);
}
.hs-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.hs-dots {
  display: flex;
  gap: 12px;
}
.hs-dot {
  appearance: none;
  width: 30px;
  height: 4px;
  background: var(--rule-soft);
  border: none;
  cursor: pointer;
  transition: background 240ms, width 240ms;
  padding: 0;
  border-radius: 2px;
}
.hs-dot.is-active {
  background: var(--coral);
  width: 56px;
}
.hs-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.55;
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
}

/* ============ Section heads ============ */
.what, .why, .how, .about2, .book {
  padding-block: clamp(80px, 9vw, 140px);
}
.what-head, .why-head, .how-head { max-width: 920px; margin-bottom: clamp(48px, 6vw, 80px); }
.what-head h2, .why-head h2, .how-head h2 {
  font-size: clamp(48px, 6.4vw, 92px);
  margin-top: 16px;
}
.why-sub {
  margin-top: 20px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 64ch;
  color: var(--ink);
  opacity: 0.78;
}

/* ============ WHAT cards ============ */
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; } }
.what-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), border-color 320ms;
}
.what-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
}
.what-num {
  font-size: 56px;
  color: var(--coral);
  line-height: 0.9;
}
.what-tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-top: -4px;
}
.what-title {
  font-size: clamp(28px, 2.4vw, 36px);
  margin-top: 6px;
}
.what-body {
  margin: auto 0 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  opacity: 0.78;
}

/* ============ WHY ============ */
.loop {
  background: var(--paper);
  border-radius: 22px;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 56px) clamp(36px, 4vw, 56px);
  margin-bottom: 56px;
  border: 1px solid var(--rule-soft);
}
.loop-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.loop-head-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--coral);
  margin-bottom: 14px;
}
.loop-head-title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--ink);
}
.loop-head-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}
.loop-cap {
  text-align: center;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--ink);
  opacity: 0.9;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .why-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-stats { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--cream);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 170px;
}
.stat-card-v {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 500;
  color: var(--coral);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-card-l {
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.85;
}
.stat-card-c {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-top: auto;
  text-transform: uppercase;
}

.why-quote {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 0 0 0;
  text-align: center;
}
.why-quote-mark {
  font-size: 120px;
  line-height: 0.5;
  color: var(--coral);
  opacity: 0.3;
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
}
.why-quote blockquote {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.012em;
}
.why-cite {
  display: block;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.55;
  font-style: normal;
}

/* ============ HOW ============ */
.how { background: var(--paper); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}
.how-step-num {
  font-size: 38px;
  color: var(--coral);
  line-height: 1;
}
.how-step-title {
  font-size: clamp(34px, 3.4vw, 48px);
}
.how-step-body {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.8;
  margin: 0;
}
.how-step-meta {
  margin-top: auto;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  opacity: 0.55;
  text-transform: uppercase;
}

/* ============ ABOUT2 ============ */
.about2 {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.about2-eyebrow { margin-bottom: 28px; }
.about2-text {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.014em;
  max-width: 22ch;
}

/* ============ BOOK ============ */
.book { background: var(--ink); color: var(--cream); }
.book .eyebrow { color: var(--cream); opacity: 0.7; }
.book-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.book-left h2 {
  font-size: clamp(48px, 5.4vw, 78px);
  margin-top: 18px;
  color: var(--cream);
}
.book-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 50ch;
}
.book-meta {
  list-style: none;
  padding: 0;
  margin: 36px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.book-meta li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(239, 233, 221, 0.12);
}
.book-meta .mono {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  opacity: 0.55;
}

.book-form {
  background: rgba(239, 233, 221, 0.04);
  border: 1px solid rgba(239, 233, 221, 0.12);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.book-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.book-form .mono {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  opacity: 0.55;
}
.book-form input,
.book-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(239, 233, 221, 0.18);
  padding: 8px 0 12px;
  color: var(--cream);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  outline: none;
  resize: vertical;
  transition: border-color 200ms;
}
.book-form input::placeholder,
.book-form textarea::placeholder { color: rgba(239, 233, 221, 0.35); }
.book-form input:focus,
.book-form textarea:focus { border-bottom-color: var(--coral); }
.book-submit {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--coral);
  border-color: var(--coral);
  color: var(--cream);
}
.book-submit:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.book-sent {
  text-align: center;
  padding: 32px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.book-sent h3 { font-size: 44px; margin: 4px 0 0; color: var(--cream); }
.book-sent p { margin: 0; opacity: 0.7; }

/* ============ FOOTER 2 ============ */
.footer2 {
  background: var(--ink);
  color: var(--cream);
  padding: 60px clamp(28px, 6vw, 96px) 36px;
  border-top: 1px solid rgba(239, 233, 221, 0.1);
}
.footer2-logo-wrap {
  margin-bottom: 48px;
  display: flex;
  align-items: flex-start;
}
.footer2-cta {
  margin-bottom: 48px;
}
.footer2-cta .btn {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--cream);
}
.footer2-cta .btn:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.footer2-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.55;
  border-top: 1px solid rgba(239, 233, 221, 0.12);
  padding-top: 20px;
}

.book-error {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--coral, #E8553A);
  background: rgba(232, 85, 58, 0.08);
  border: 1px solid rgba(232, 85, 58, 0.3);
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: -4px;
}

.book-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
