/* ================================================================
   HOME PAGE — White/Light Redesign
   ================================================================ */

/* ── Override global body for home page ── */
.home-page {
  background: #fff;
  color: #111;
}

/* ── Light nav for home ── */
.nav--home {
  background: transparent;
}
.nav--home .nav__logo { color: #111; }
.nav--home .cross-icon rect { fill: #111; }
.nav--home .nav__links a { color: #555; }
.nav--home .nav__links a:hover,
.nav--home .nav__links a.active { color: #111; }
.nav--home .nav__hamburger span { background: #111; }
.nav--home-signin {
  color: #111 !important;
  border: 1px solid #ccc !important;
  background: transparent !important;
}
.nav--home-signin:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}
.nav--home.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: #e5e5e5;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 100px 24px 80px;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(196,30,58,0.12) 0%, transparent 60%),
    radial-gradient(circle 600px at 30% 70%, rgba(220,50,60,0.08) 0%, transparent 60%),
    radial-gradient(circle 500px at 75% 25%, rgba(180,20,40,0.06) 0%, transparent 60%);
  transition: background 0.3s;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.hero__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
}

.hero__headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 700;
  color: #111;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}

.hero__accent {
  color: var(--accent);
}

.hero__sub {
  font-size: 19px;
  color: #666;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(16px);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
}

.btn-hero {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  font-weight: 700;
}
.btn-hero:hover {
  background: #a3182f;
  border-color: #a3182f;
  opacity: 1;
}

.btn-hero-outline {
  background: transparent;
  color: #111;
  border: 2px solid #ccc;
  font-weight: 600;
}
.btn-hero-outline:hover {
  border-color: #111;
  color: #111;
  opacity: 1;
}

/* Hero animation triggers */
.hero.animate .anim-item {
  animation: heroReveal 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero.animate .hero__tag       { animation-delay: 0ms; }
.hero.animate .hero__headline  { animation-delay: 120ms; }
.hero.animate .hero__sub       { animation-delay: 300ms; }
.hero.animate .hero__ctas      { animation-delay: 450ms; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Quote strip ── */
.quote-strip {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 48px 24px;
}
.quote-strip__text {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 8px;
}
.quote-strip__ref {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Shared section headings ── */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 18px;
  color: #666;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Features grid ── */
.features {
  padding: 96px 24px;
  background: #fafafa;
}
.features__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features__header {
  text-align: center;
  margin-bottom: 56px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--accent);
  opacity: 1;
}
.feature-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.55;
}

/* ── VOTD ── */
.votd-section {
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  background: #fff;
}
.votd-card {
  max-width: 600px;
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
}
.votd-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.votd-card__text {
  font-family: Georgia, "Literata", serif;
  font-size: 18px;
  line-height: 1.8;
  color: #222;
  font-style: italic;
  margin-bottom: 12px;
}
.votd-card__ref {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}
.votd-card__actions {
  display: flex;
  gap: 12px;
}

/* ── Doctrine grid ── */
.doctrine {
  padding: 96px 24px;
  background: #fff;
}
.doctrine__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.doctrine__header {
  text-align: center;
  margin-bottom: 56px;
}
.doctrine__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.doctrine__card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.doctrine__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-color: var(--accent);
  opacity: 1;
}
.doctrine__card:hover .doctrine__arrow {
  transform: translateX(4px);
  color: var(--accent);
}
.doctrine__num {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.doctrine__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}
.doctrine__card p {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  flex: 1;
}
.doctrine__arrow {
  font-size: 18px;
  color: #ccc;
  margin-top: 12px;
  transition: transform 0.15s, color 0.15s;
  align-self: flex-end;
}
.doctrine__footer {
  text-align: center;
  font-style: italic;
  color: #999;
  font-size: 15px;
  margin-top: 40px;
}

/* ── CTA banner ── */
.cta-banner {
  padding: 96px 24px;
  background: #111;
  color: #fff;
  text-align: center;
}
.cta-banner__inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 32px;
  line-height: 1.6;
}
.cta-banner__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner .btn-hero { background: var(--accent); border-color: var(--accent); }
.cta-banner .btn-hero:hover { background: #a3182f; border-color: #a3182f; }
.cta-banner .btn-hero-outline { color: #fff; border-color: #555; }
.cta-banner .btn-hero-outline:hover { border-color: #fff; color: #fff; }

/* ── Responsive ── */
@media (max-width: 1023px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .doctrine__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .features__grid { grid-template-columns: 1fr; }
  .doctrine__grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 20px 60px; }
  .hero__headline { font-size: clamp(32px, 8vw, 52px); }
  .features, .doctrine, .cta-banner { padding: 64px 20px; }
  .nav--home .nav__links { display: none; }
  .nav--home .nav__hamburger { display: flex; }
}
@media (max-width: 479px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__sub { font-size: 16px; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
