/* ============================================
   ANGEL THOMAS DESIGN SYSTEM
   Coaching brand meets In2Equity, one shared language
   ============================================ */

:root {
  /* Color tokens */
  --color-ink: #1A1816;
  --color-ink-soft: #3A352F;
  --color-cream: #F7F2EA;
  --color-cream-deep: #EFE6D8;
  --color-paper: #FCFAF6;
  --color-gold: #C9A961;
  --color-gold-deep: #A6843F;
  --color-green: #3D4A3D;
  --color-green-soft: #5C6B5C;
  --color-burgundy: #6B3F3F;
  --color-white: #FFFFFF;
  --color-line: rgba(26, 24, 22, 0.12);
  --color-offwhite: #FAF8F5;
  --color-blush: #FDF0F5;
  --color-navy: #1A1A2E;

  /* In2Equity brand palette (scoped to .i2e-theme / #in2equity only) */
  --i2e-red: #E3255A;
  --i2e-red-deep: #B81E49;
  --i2e-red-bright: #F0457A;
  --i2e-grey: #A7A9AB;
  --i2e-grey-deep: #6E7173;
  --i2e-rose: #DF8BA2;
  --i2e-mauve: #CFB5BC;
  --i2e-bg-main: #0F0F10;
  --i2e-bg-card: #1C1C1F;
  --i2e-text: #F2F0F0;
  --i2e-text-muted: #A7A9AB;
  --i2e-line: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  --step-5: clamp(3rem, 2.3rem + 3.2vw, 4.8rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-soft: 0 12px 32px -8px rgba(26, 24, 22, 0.12);
  --shadow-deep: 0 20px 50px -12px rgba(26, 24, 22, 0.22);
  --shadow-hero-img: 0 28px 56px -18px rgba(26, 26, 46, 0.35), 0 12px 28px -10px rgba(26, 26, 46, 0.22), 0 4px 10px rgba(26, 26, 46, 0.1);

  --max-width: 1180px;
}

/* ============================================
   RESET
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.5s ease both;
}

body.is-leaving {
  opacity: 0;
  transition: opacity 0.22s ease-in-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-sm); max-width: 64ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

:focus-visible {
  outline: 2px solid var(--color-gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   LAYOUT
   ============================================ */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--tight { padding: var(--space-xl) 0; }

.section--cream-deep { background: var(--color-cream-deep); }
.section--ink {
  background: var(--color-ink);
  color: var(--color-cream);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--color-paper); }
.section--ink .eyebrow { color: var(--color-gold); }
.section--ink p { color: rgba(247, 242, 234, 0.82); }

.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.divider {
  width: 64px;
  height: 2px;
  background: var(--color-gold);
  margin: var(--space-sm) 0 var(--space-md);
  border: none;
}
.center .divider { margin-left: auto; margin-right: auto; }

/* Curved underline beneath a heading, drawn in once on scroll reveal */
.heading-curve {
  display: block;
  width: 220px;
  height: 22px;
  margin: 0.1em auto var(--space-sm);
}

.heading-curve path {
  fill: none;
  stroke: var(--color-gold-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal.is-visible .heading-curve path {
  stroke-dashoffset: 0;
}

.i2e-theme .heading-curve path {
  stroke: var(--i2e-red);
}

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(28, 28, 28, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.logo span { color: var(--color-gold-deep); }

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-ink-soft);
  transition: color 0.3s ease-in-out;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-gold-deep);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--color-gold-deep); }
.nav-links a.is-active { color: var(--color-gold-deep); }
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-links a.btn::after { content: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  color: var(--color-ink);
}

.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--color-ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5.5rem var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.32s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: var(--color-cream); font-size: 1.1rem; }
  .nav-links a:hover { color: var(--color-gold); }
  .nav-links .btn { margin-top: var(--space-sm); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  --btn-pulse-color: rgba(201, 169, 97, 0.55);
  animation: btnPulse 2.4s ease-in-out infinite;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
  animation-play-state: paused;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--btn-pulse-color); }
  50% { box-shadow: 0 0 0 9px rgba(0, 0, 0, 0); }
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
  --btn-pulse-color: rgba(201, 169, 97, 0.55);
}
.btn--gold:hover { background: var(--color-gold-deep); box-shadow: var(--shadow-deep); }

.btn--outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
  --btn-pulse-color: rgba(26, 24, 22, 0.32);
}
.btn--outline:hover { background: var(--color-ink); color: var(--color-cream); }

.btn--ink {
  background: var(--color-ink);
  color: var(--color-cream);
  --btn-pulse-color: rgba(26, 24, 22, 0.45);
}
.btn--ink:hover { background: var(--color-ink-soft); }

.btn--green {
  background: var(--color-green);
  color: var(--color-paper);
  --btn-pulse-color: rgba(61, 74, 61, 0.5);
}
.btn--green:hover { background: #2C362C; }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(247, 242, 234, 0.4);
  color: var(--color-cream);
  --btn-pulse-color: rgba(247, 242, 234, 0.4);
}
.btn--ghost-light:hover { background: rgba(247, 242, 234, 0.12); }

.btn--sm { padding: 0.6em 1.2em; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-blush) 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.hero h1 { margin-bottom: var(--space-md); }

/* Decorative rotating ring wrapped around a hero heading + paragraph.
   Ring is always visible; only the rotation is gated behind the user's
   motion preference. Default color is gold; .hero-ring-wrap--i2e swaps
   to the In2Equity red for the in2equity.html hero. */
.hero-ring-wrap {
  position: relative;
}

.hero-ring-wrap::before {
  content: '';
  position: absolute;
  inset: -2.75rem -4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 169, 97, 0.4);
  pointer-events: none;
  z-index: -1;
}

.hero-ring-wrap--i2e::before {
  border-color: rgba(227, 37, 90, 0.4);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-ring-wrap::before {
    animation: heroRingSpin 12s linear infinite;
  }
}

@keyframes heroRingSpin {
  to { transform: rotate(360deg); }
}

.hero-cta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero-art {
  position: relative;
}

.hero-art img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hero-img);
}

.hero-art-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 50% 38%, var(--color-gold) 0%, transparent 68%);
  opacity: 0.32;
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite;
}

.hero-art-float {
  position: relative;
  z-index: 1;
  animation: heroFloat 7s ease-in-out infinite;
  animation-delay: 1.1s;
}

.hero-portrait {
  opacity: 0;
  transform: scale(0.96);
  animation: heroImageIn 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
  animation-delay: 0.32s;
}

.hero-stagger {
  opacity: 0;
  transform: translateY(20px);
  animation: heroLineIn 0.85s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}

/* Eyebrow leads in first: shorter, faster fade that introduces the headline */
.hero-stagger:nth-child(1) { animation-duration: 0.55s; animation-delay: 0.05s; }
.hero-stagger:nth-child(2) { animation-delay: 0.22s; }
.hero-stagger:nth-child(3) { animation-delay: 0.4s; }
.hero-stagger:nth-child(4) { animation-delay: 0.56s; }

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

@keyframes heroImageIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.28; }
  50% { transform: scale(1.14) translate(2%, -3%); opacity: 0.46; }
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  height: 100%;
}

.card h3 { margin-bottom: var(--space-xs); }

.card--ink {
  background: var(--color-ink);
  color: var(--color-cream);
  border-color: rgba(247,242,234,0.12);
}
.card--ink h3, .card--ink h4 { color: var(--color-paper); }
.card--ink p { color: rgba(247,242,234,0.78); }

/* In2Equity service cards lean more grid/procedural */
.service-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--i2e-red);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
}

.service-card h4 { margin-bottom: 0.4em; }

.service-card--media {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-card-icon {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.service-card--media h4 { margin-bottom: 0.2em; }
.service-card--media p { margin-bottom: 0; }

.service-card-emoji {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.service-card ul {
  margin: var(--space-xs) 0 var(--space-sm);
  padding-left: 1.1em;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

.service-card ul li { margin-bottom: 0.3em; }

.service-card .form-note { margin-top: 0; margin-bottom: var(--space-sm); }

.service-card .btn--sm { margin-top: var(--space-xs); }

/* Numbered process steps */
.process-step {
  text-align: center;
}

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--i2e-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.process-step h4 { margin-bottom: 0.3em; }

/* ============================================
   TESTIMONIAL
   ============================================ */

.testimonial {
  background: var(--color-paper);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-line);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.2em;
}

.testimonial-title {
  font-size: var(--step-1);
  margin-bottom: var(--space-xs);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-gold);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.testimonial-role {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  opacity: 0.7;
}

/* ============================================
   FORMS
   ============================================ */

.form-field {
  margin-bottom: var(--space-sm);
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4em;
  color: var(--color-ink-soft);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  color: var(--color-ink);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--color-gold-deep);
  outline-offset: 1px;
  border-color: var(--color-gold-deep);
}

.form-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  margin-top: var(--space-sm);
}

/* ============================================
   BOOKING PLACEHOLDER
   ============================================ */

.booking-placeholder {
  border: 2px dashed var(--color-gold-deep);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--color-cream-deep);
  color: var(--color-ink-soft);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-gold-deep);
  transition: transform 0.25s ease;
}
.faq-icon::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p { padding-bottom: var(--space-md); }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-ink);
  color: rgba(247, 242, 234, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.site-footer h4 {
  color: var(--color-paper);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.site-footer a {
  text-decoration: none;
  color: rgba(247, 242, 234, 0.75);
  transition: color 0.3s ease-in-out;
}
.site-footer a:hover { color: var(--color-gold); }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 242, 234, 0.15);
  padding-top: var(--space-md);
  font-size: 0.78rem;
  color: rgba(247, 242, 234, 0.55);
  line-height: 1.7;
}

.footer-bottom p { max-width: none; }

/* ============================================
   IN2EQUITY DISTINCT TREATMENT
   ============================================ */

.i2e-banner {
  background: var(--i2e-bg-card);
  color: var(--i2e-text);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.6em var(--space-sm);
}
.i2e-banner a { color: var(--i2e-rose); font-weight: 600; text-decoration: underline; }

/* In2Equity brand overrides, scoped to the in2equity.html page and the
   #in2equity section of contact.html — Angel Thomas pages keep their
   own pink/gold palette untouched. */
.i2e-theme .eyebrow,
#in2equity .eyebrow {
  color: var(--i2e-red);
}

.i2e-theme .nav-links a:hover,
.i2e-theme .nav-links a.is-active {
  color: var(--i2e-red);
}

.i2e-theme .nav-links a:hover::after,
.i2e-theme .nav-links a.is-active::after {
  background: var(--i2e-red);
}

.i2e-theme .btn--green,
#in2equity .btn--green {
  background: var(--i2e-red);
}

/* On the dark in2equity.html page, hover goes brighter (more visible on near-black).
   In the light #in2equity section of contact.html, hover stays darker as before. */
#in2equity .btn--green:hover {
  background: var(--i2e-red-deep);
}

.i2e-theme .btn--green:hover {
  background: var(--i2e-red-bright);
}

/* Red-tinted pulse glow on this page instead of the default green tone */
.i2e-theme .btn--green {
  --btn-pulse-color: rgba(227, 37, 90, 0.55);
}

#in2equity .tag {
  color: var(--i2e-red);
  background: var(--i2e-mauve);
  border-color: var(--i2e-rose);
}

/* ============================================
   IN2EQUITY DARK THEME (in2equity.html only)
   ============================================ */

.i2e-theme {
  background: var(--i2e-bg-main);
  color: var(--i2e-text);
}

.i2e-theme p {
  color: var(--i2e-text-muted);
}

.i2e-theme :focus-visible {
  outline-color: var(--i2e-red);
}

.i2e-theme .site-header {
  background: rgba(28, 28, 31, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}

.i2e-theme .nav-toggle {
  color: var(--i2e-text);
}

.i2e-theme .nav-links a {
  color: var(--i2e-text-muted);
}

@media (max-width: 860px) {
  .i2e-theme .nav-links {
    background: var(--i2e-bg-card);
  }
  .i2e-theme .nav-links a {
    color: var(--i2e-text);
  }
}

.i2e-theme .hero {
  background: linear-gradient(135deg, var(--i2e-bg-main) 0%, var(--i2e-bg-card) 100%);
}

.i2e-theme .hero-art img {
  box-shadow:
    0 0 0 1px rgba(227, 37, 90, 0.4),
    0 30px 60px -18px rgba(227, 37, 90, 0.4),
    0 10px 26px -10px rgba(227, 37, 90, 0.25);
}

.i2e-theme .hero-art-glow {
  background: radial-gradient(circle at 50% 38%, var(--i2e-red) 0%, transparent 68%);
}

/* In2Equity hero logo: looping "pour in" reveal, GPU-accelerated only */
@media (prefers-reduced-motion: no-preference) {
  .logo-pour-img {
    animation: logoPour 3.1s ease-in-out infinite;
  }
}

@keyframes logoPour {
  0% { clip-path: inset(100% 0 0 0); opacity: 1; }
  48.39% { clip-path: inset(0% 0 0 0); opacity: 1; }
  80.65% { clip-path: inset(0% 0 0 0); opacity: 1; }
  90.32% { clip-path: inset(0% 0 0 0); opacity: 0; }
  90.33% { clip-path: inset(100% 0 0 0); opacity: 0; }
  100% { clip-path: inset(100% 0 0 0); opacity: 1; }
}

.i2e-theme .section--cream-deep {
  background: var(--i2e-bg-card);
}

.i2e-theme .card,
.i2e-theme .service-card {
  background: var(--i2e-bg-card);
  border-color: var(--i2e-line);
}

.i2e-theme .disclosure-box {
  background: var(--i2e-bg-card);
  border-color: var(--i2e-line);
  color: var(--i2e-text-muted);
}

/* Callback form card stays light/white by design, even on the dark page */
.i2e-theme .form-card {
  color: var(--color-ink);
}

.i2e-theme .site-footer a:hover {
  color: var(--i2e-rose);
}

.i2e-theme .testimonial {
  background: var(--i2e-bg-card);
  border-color: var(--i2e-line);
}

.i2e-theme .testimonial::before {
  color: var(--i2e-red);
}

.i2e-theme .testimonial-name {
  color: var(--i2e-text);
}

.i2e-theme .testimonial-role {
  color: var(--i2e-text-muted);
  opacity: 0.85;
}

.i2e-theme .testimonial-avatar {
  box-shadow: 0 0 0 2px rgba(227, 37, 90, 0.45);
}

.i2e-theme .btn--outline {
  border-color: var(--i2e-red);
  color: var(--i2e-red);
  --btn-pulse-color: rgba(227, 37, 90, 0.35);
}

.i2e-theme .btn--outline:hover {
  background: var(--i2e-red);
  color: #fff;
}

.i2e-theme .service-card ul {
  color: var(--i2e-text-muted);
}

.i2e-theme .service-card .form-note {
  color: var(--i2e-text-muted);
  opacity: 0.8;
}

.disclosure-box {
  background: var(--color-cream-deep);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  line-height: 1.7;
}

/* ============================================
   FREEMIUM CARDS
   ============================================ */

.freemium-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 760px) {
  .freemium-card { grid-template-columns: 1fr; }
}

.retreat-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.retreat-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.retreat-gallery img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-soft);
}

.section--ink .retreat-gallery img {
  border-color: rgba(247, 242, 234, 0.15);
}

.retreat-gallery--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xs);
}

@media (max-width: 480px) {
  .retreat-gallery--compact { grid-template-columns: repeat(2, 1fr); }
}

.freemium-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--color-cream-deep), var(--color-gold) 140%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   UTILITIES
   ============================================ */

.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 100px;
  background: var(--color-cream-deep);
  color: var(--color-green);
  border: 1px solid var(--color-line);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 0.6em 1em;
  z-index: 200;
}
.skip-link:focus { left: var(--space-sm); top: var(--space-sm); }

/* ============================================
   LIGHTBOX (gallery image preview, built via JS)
   ============================================ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ============================================
   SCROLL REVEAL (site-wide, applied via JS)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial cards reveal individually with a stagger, on top of
   whatever section-level reveal already wraps them. */
.testimonial.reveal:nth-child(1) { transition-delay: 0s; }
.testimonial.reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonial.reveal:nth-child(3) { transition-delay: 0.2s; }
