/* ============================================
   INNER CIRCLE — Design System & Global Styles
   v2.0 — Complete visual overhaul
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Brand Colors (from logo) */
  --color-orange: #F5921B;
  --color-orange-light: #FDB347;
  --color-coral: #E84D35;
  --color-green: #5BBF48;
  --color-teal: #2E86C1;
  --color-navy: #1B5E8C;
  --color-navy-deep: #143F5C;

  /* UI Colors */
  --color-bg: #FAFAF8;
  --color-bg-alt: #F2EDE5;
  --color-bg-warm: #F8F3ED;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-text-muted: #6B6B6B;
  --color-text-light: #9B9B9B;
  --color-border: #E8E2DA;
  --color-border-light: #F0EBE4;

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #FAF8F5 0%, #F3EDE6 50%, #EDE4D8 100%);
  --gradient-hero: linear-gradient(180deg, #FAFAF8 0%, #F5F0E8 40%, #EDE4D8 100%);
  --gradient-navy: linear-gradient(135deg, #1B5E8C 0%, #143F5C 100%);
  --gradient-cta: linear-gradient(135deg, #F5921B 0%, #E07D0A 100%);
  --gradient-subtle: linear-gradient(180deg, transparent 0%, rgba(242, 237, 229, 0.5) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale — refined for better hierarchy */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-md: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.125rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);
  --text-5xl: clamp(2.75rem, 2rem + 3.5vw, 4rem);

  /* Spacing — tighter, more intentional */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6.5rem;
  --space-section: clamp(4rem, 3rem + 5vw, 6.5rem);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 760px;
  --max-width-wide: 1400px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);
  --transition-slower: 1000ms var(--ease-out);

  /* Shadows — layered for depth */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-glow-orange: 0 4px 24px rgba(245, 146, 27, 0.25);
  --shadow-glow-teal: 0 4px 24px rgba(46, 134, 193, 0.2);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Stacking context so z-index:-1 page flood bg sits
     above body background but behind body content */
  position: relative;
  z-index: 0;
}

/* --- Skip Link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--color-navy);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-navy);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.025em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.015em; margin-bottom: var(--space-xl); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-md); }
h5 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: var(--text-sm); }

/* Label/overline style — used throughout for section labels */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-orange);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-section) 0;
  position: relative;
  transition: background-color 1s ease;
}

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

.section--alt {
  background-color: var(--color-bg-alt);
  transition: background-color 1s ease;
}

.section--warm {
  background: var(--gradient-warm);
  transition: background 1s ease;
}

.section--white {
  background-color: var(--color-surface);
}

/* Subtle decorative top border for sections */
.section--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-cta);
  border-radius: 2px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 226, 218, 0.6);
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: rgba(250, 250, 248, 0.95);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
}

.nav__logo img,
.nav__logo svg {
  height: 40px;
  width: 40px;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

.nav__link--cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--gradient-cta);
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-orange);
  color: white !important;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
}

.hero__mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 650px);
  height: min(85vw, 650px);
  opacity: 0.18;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
  padding: var(--space-2xl) var(--space-xl);
}

.hero__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  line-height: 1.08;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-orange);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
  color: var(--color-navy);
  border-color: var(--color-navy);
  background: rgba(27, 94, 140, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--color-teal);
  padding: 0.875rem 1rem;
}

.btn--ghost:hover {
  color: var(--color-navy);
}

.btn--ghost svg,
.btn--ghost .btn__arrow {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.btn--ghost:hover svg,
.btn--ghost:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn--white {
  background: white;
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: background-color 1s ease;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Journey Steps --- */
.journey {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.journey__step {
  text-align: left;
  padding: var(--space-2xl);
  position: relative;
}

.journey__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.journey__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.journey__step:nth-child(1) .journey__number { background: #B8785C; }
.journey__step:nth-child(2) .journey__number { background: #C4924A; }
.journey__step:nth-child(3) .journey__number { background: #7A9E6D; }
.journey__step:nth-child(4) .journey__number { background: #5E8E9E; }
.journey__step:nth-child(5) .journey__number { background: #4A6E82; }

.journey__title {
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: var(--font-body);
}

.journey__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Credential Bar --- */
.credentials-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color 1s ease, border-color 1s ease;
}

.credentials {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0;
}

.credential {
  text-align: center;
}

.credential__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin-bottom: var(--space-2xs);
  font-weight: 500;
}

.credential__value {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

/* --- Quote Block --- */
.quote-block {
  position: relative;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-2xl);
  text-align: center;
  transition: background 1s ease, border-color 1s ease;
}

.quote-block__text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.quote-block__attribution {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-orange);
  opacity: 0.15;
  line-height: 1;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto var(--space-3xl);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-lg);
}

.section-header__desc {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Mandala Divider --- */
.mandala-divider {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: var(--space-md) 0;
  opacity: 0.4;
}

.mandala-divider__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.mandala-divider__dot:nth-child(1) { background: var(--color-navy); }
.mandala-divider__dot:nth-child(2) { background: var(--color-teal); }
.mandala-divider__dot:nth-child(3) { background: var(--color-green); }
.mandala-divider__dot:nth-child(4) { background: var(--color-orange); }
.mandala-divider__dot:nth-child(5) { background: var(--color-coral); }
.mandala-divider__dot:nth-child(6) { background: var(--color-orange); }
.mandala-divider__dot:nth-child(7) { background: var(--color-green); }
.mandala-divider__dot:nth-child(8) { background: var(--color-teal); }
.mandala-divider__dot:nth-child(9) { background: var(--color-navy); }

/* --- FAQ Accordion --- */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-expand-all:hover {
  color: var(--color-teal) !important;
  border-color: var(--color-teal) !important;
}

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

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg) 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--color-teal);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--color-orange);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s var(--ease-out), padding 1s var(--ease-out);
}

.faq-item--open .faq-item__answer {
  max-height: 600px;
  padding-bottom: var(--space-lg);
}

.faq-item__answer p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: var(--text-sm);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.form {
  max-width: 100%;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.1);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

/* --- Contact info sidebar --- */
.contact-info {
  padding: var(--space-2xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.contact-info__item {
  margin-bottom: var(--space-xl);
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-size: var(--text-md);
  color: var(--color-text);
}

.contact-info__value a {
  color: var(--color-navy);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 340px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  color: white;
  text-decoration: none;
}

.footer__logo img,
.footer__logo svg {
  height: 32px;
  width: 32px;
  filter: brightness(0) invert(1);
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-2xl);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  max-width: var(--max-width-narrow);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin-top: var(--space-lg);
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__title {
  font-size: var(--text-lg);
  margin: var(--space-sm) 0 var(--space-md);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-light);
}

.page-hero__title {
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Prose (long-form content) --- */
.prose {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.prose h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.prose h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.prose p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.prose ul, .prose ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.prose li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Image styling --- */
.img-featured {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.img-featured img {
  width: 100%;
  display: block;
}

/* --- 3D Molecule Viewer (3Dmol.js) --- */
.molecule-viewer {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  transition: transform 0.3s var(--ease-out);
}

.molecule-viewer > div {
  max-width: 100%;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Staggered children animation */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: none; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: none; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: none; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: none; }
.reveal-stagger--visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: none; }

/* Slide in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale--visible {
  opacity: 1;
  transform: scale(1);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-navy);
  color: white;
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(46, 134, 193, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-lg);
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
  font-size: var(--text-md);
  position: relative;
}

/* --- Emergency Resources Box --- */
.emergency-box {
  background: #FEF3CD;
  border: 1px solid #F0D68A;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-2xl);
}

.emergency-box__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #856404;
  margin-bottom: var(--space-xs);
}

.emergency-box__text {
  font-size: var(--text-sm);
  color: #856404;
  line-height: 1.7;
}

/* --- Decorative Elements --- */
.deco-dots {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* --- Text Alignment Utilities --- */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Centered button wrapper for consistent alignment */
.section-button-center {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3xl);
}

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* --- Science & Content Page Components --- */
.content-section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.content-section--alternate {
  background-color: var(--color-bg-alt);
}

.content-section--cta {
  background: var(--gradient-navy);
  color: white;
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.content-section--cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(46, 134, 193, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.content-section--cta .section-title {
  color: white;
  position: relative;
}

.content-section--cta .section-description {
  color: rgba(255,255,255,0.65);
  position: relative;
}

.content-section--cta .btn--primary {
  position: relative;
  background: white;
  color: var(--color-navy);
}

.content-section--cta .btn--primary:hover {
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xl);
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.subsection-title {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.content-text {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.content-text p {
  line-height: 1.8;
}

.content-list {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.content-list li {
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Research cards */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.research-card {
  background: var(--color-surface);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.research-card__title {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-navy);
}

.research-card__description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.research-card__link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
}

.research-card__link:hover {
  color: var(--color-navy);
}

/* References section */
.references-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  counter-reset: ref;
  list-style: none;
  padding: 0;
}

.references-list li {
  counter-increment: ref;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.references-list li::before {
  content: counter(ref) ".";
  font-weight: 700;
  color: var(--color-navy);
  margin-right: var(--space-sm);
}

.references-list li:last-child {
  border-bottom: none;
}

.references-list a {
  word-break: break-all;
}

/* --- Services Page Journey Timeline --- */

/* Timeline container */
.journey-timeline {
  position: relative;
  padding-left: 80px;
}

/* Gradient line through the timeline */
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    #B8785C 0%,
    #C4924A 25%,
    #7A9E6D 50%,
    #5E8E9E 75%,
    #4A6E82 100%
  );
  opacity: 0.35;
  z-index: 1;
}

/* Journey step cards */
.journey-step {
  position: relative;
  margin-bottom: var(--space-xl);
  padding: var(--space-xl) 0;
  z-index: 2;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}

.journey-step:last-child {
  margin-bottom: 0;
}

/* Number circles — positioned in the left padding area */
.journey-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  position: absolute;
  left: -68px; /* centers circle at 40px in the 80px padding */
  top: var(--space-2xl); /* align with card top padding */
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-step.reveal--visible .journey-step__number {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.journey-step:nth-of-type(1) .journey-step__number { background: #B8785C; }
.journey-step:nth-of-type(2) .journey-step__number { background: #C4924A; }
.journey-step:nth-of-type(3) .journey-step__number { background: #7A9E6D; }
.journey-step:nth-of-type(4) .journey-step__number { background: #5E8E9E; }
.journey-step:nth-of-type(5) .journey-step__number { background: #4A6E82; }

.journey-step__content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.journey-step__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.journey-step__content .prose {
  max-width: none;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .journey-step.reveal--visible .journey-step__number {
    transform: none;
    box-shadow: none;
  }
}

/* Pricing card */
.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
}

.pricing-card__details {
  text-align: left;
}

.pricing-card__description {
  margin-bottom: var(--space-lg);
}

.pricing-card__note {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .pricing-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-card__details {
    text-align: center;
  }
}

/* --- About Page Credentials --- */
.credentials--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding: 0;
}

.credentials__item {
  background: var(--color-surface);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

.credentials__item ul {
  flex: 1;
}

.credentials__item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-navy);
}

.credentials__item ul {
  list-style: none;
  padding: 0;
}

.credentials__item li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.credentials__item li:last-child {
  border-bottom: none;
}

/* --- Prose Section (legal) --- */
.prose-section {
  padding: var(--space-section) 0;
}

/* --- Blog Section --- */
.blog-section {
  padding: var(--space-section) 0;
}

.blog-card-header {
  padding: var(--space-xl) var(--space-xl) 0;
}

.blog-card-title {
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  margin-bottom: var(--space-xs);
}

.blog-card-date {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-excerpt {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.blog-card-link {
  display: inline-block;
  padding: 0 var(--space-xl) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
}

/* For-you visual placeholder */
.for-you-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Science mandala container */
.science-mandala-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer compatibility - map old classes to new design */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__column {}

.footer__column--brand {
  max-width: 340px;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-xs);
}

.footer__credit {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
}

.footer__title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-lg);
}

.footer__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__location {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
  margin-top: var(--space-xs);
}

/* --- Booking / Scheduling Section --- */
.booking-section {
  padding-top: var(--space-3xl);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.booking-info__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-navy);
  margin: var(--space-sm) 0 var(--space-lg);
  line-height: 1.2;
}

.booking-info__desc {
  font-size: var(--text-md);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.booking-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.booking-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.booking-detail__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.booking-detail__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-navy);
}

/* Cal.com Widget Container */
.booking-widget {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
}

.cal-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: auto;
  min-height: 500px;
}


/* Section Divider */
.section-divider {
  padding: var(--space-xl) 0;
}

.section-divider .container {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.section-divider__text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  white-space: nowrap;
}

/* Message Form Layout */
.message-form-layout {
  max-width: 700px;
  margin: 0 auto;
}

.message-form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.message-form-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.message-form-header__desc {
  font-size: var(--text-md);
  color: var(--color-text-light);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__optional {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

/* Expect Steps (3-column on contact page) */
.expect-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.expect-step {
  text-align: center;
  padding: var(--space-xl);
}

.expect-step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.expect-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.expect-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Emergency Box */
.emergency-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

/* --- Service Area Map --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}

.service-map {
  width: 100%;
  height: 400px;
  background: var(--color-bg-alt);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .two-col--reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .booking-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .booking-widget {
    position: static;
  }

  .expect-steps {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .credentials {
    gap: var(--space-xl);
  }

  .research-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid,
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    z-index: 999;
  }

  .nav__links--open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .nav__link {
    font-size: var(--text-lg);
  }

  .nav__link::after {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__mandala {
    width: 100vw;
    height: 100vw;
    opacity: 0.1;
  }

  .journey {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .credentials {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .credentials--grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .booking-info__title {
    font-size: var(--text-2xl);
  }


  /* Timeline mobile */
  .journey-timeline {
    padding-left: 56px;
    padding-top: var(--space-md);
  }

  .journey-timeline::before {
    left: 22px;
  }

  .journey-step {
    padding: var(--space-xl);
  }

  /* Sticky offsets on mobile are set by JS (smaller increments) */

  .journey-step__number {
    width: 44px;
    height: 44px;
    font-size: var(--text-lg);
    left: -48px;
    top: var(--space-xl);
  }

  .footer__grid,
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   "INSIDE THE CIRCLE" — Warm background transition

   v5: No overlay. Once the hero circle has expanded, the body
   gets .inside-the-circle and sections smoothly transition to
   warm backgrounds matching the final hero flood color (#F5EDE0).

   This creates visual continuity: the circle fills the hero,
   then the rest of the page is already warm when you arrive.
   ============================================ */

body.inside-the-circle {
  background-color: #F5EDE0;
}

/* Credentials bar: warm tone to match */
body.inside-the-circle .credentials-bar {
  background: #F0E6D6;
  border-top-color: rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.06);
}

/* Regular sections: warm cream background */
body.inside-the-circle .section {
  background-color: #F5EDE0;
}

/* Alt sections: slightly deeper warm for visual rhythm */
body.inside-the-circle .section--alt {
  background-color: #EDE3D3;
}

/* Warm sections: slightly richer tone */
body.inside-the-circle .section--warm {
  background: linear-gradient(135deg, #F5EDE0 0%, #EDE3D3 50%, #E8DCC8 100%);
}

/* Cards: white with slight transparency so warm shows at edges */
body.inside-the-circle .card {
  background-color: rgba(255, 255, 255, 0.85);
}

/* Quote block: warm-tinted white */
body.inside-the-circle .quote-block {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(245, 146, 27, 0.15);
}

/* Mandala divider dots: warm tone */
body.inside-the-circle .mandala-divider__dot {
  background-color: #D4C4AE;
}

/* CTA and footer keep their own backgrounds */

/* ============================================
   IMAGE PLACEHOLDER SYSTEM
   Visible containers showing where stock photos
   and 3D renderings will be placed.
   Remove this section once real images are loaded.
   ============================================ */

.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px dashed var(--color-border);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-warm) 100%);
}

.img-placeholder__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background: var(--color-navy);
  color: white;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
}

.img-placeholder__label--render {
  background: var(--color-teal);
}

.img-placeholder__label--og {
  background: var(--color-orange);
}

.img-placeholder__info {
  padding: var(--space-xl);
}

.img-placeholder__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.img-placeholder__size {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

.img-placeholder__desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.img-placeholder__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

.img-placeholder--portrait {
  aspect-ratio: 5 / 6;
  min-height: 400px;
}

.img-placeholder--landscape {
  aspect-ratio: 3 / 2;
  width: 100%;
  min-height: 300px;
}

.img-placeholder--square {
  aspect-ratio: 1 / 1;
  min-height: 300px;
}

.img-placeholder--banner {
  aspect-ratio: 3 / 1;
  width: 100%;
  min-height: 200px;
}

.img-placeholder--og {
  aspect-ratio: 1200 / 630;
  width: 100%;
  max-width: 600px;
  min-height: 200px;
}

.img-placeholder--blog {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 180px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: none;
}

.img-placeholder--render {
  border-color: var(--color-teal);
  background: linear-gradient(135deg, #F0F7FA 0%, #E8F4F8 50%, #DCF0F5 100%);
}

@media (max-width: 768px) {
  .img-placeholder--portrait {
    min-height: 300px;
  }
  .img-placeholder--landscape {
    min-height: 200px;
  }
  .img-placeholder--square {
    min-height: 240px;
  }
}
