/* =========================================================================
   BOLD HORIZONS CONSULTING — Coming Soon Landing Page
   Brand system: Bloom Point v2 · Cormorant Garamond + DM Sans · 60/30/10
   ========================================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Palette */
  --ink: #1A1A2E;
  --dusk: #2D2D4E;
  --horizon: #4A7C8E;
  --gold: #C9963A;
  --gold-light: #E8C07A;
  --sage: #6B8F71;
  --blush: #D4A5A5;
  --cream: #F5F0E8;
  --white: #FDFCFA;
  --slate: #8B8FA8;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;

  /* Spatial — generous and consistent */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max: 1140px;
  --content-max: 720px;

  /* Type scale */
  --fs-display-xl: clamp(3rem, 8vw, 6.5rem);
  --fs-display-lg: clamp(2.25rem, 5vw, 3.75rem);
  --fs-display-md: clamp(1.75rem, 3vw, 2.5rem);
  --fs-body-lg: clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
  --fs-eyebrow: 0.6875rem;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- 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-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- ATMOSPHERE — decorative layers ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.atmosphere-glow--gold {
  width: 720px;
  height: 720px;
  top: -200px;
  right: -180px;
  background: radial-gradient(circle, rgba(201, 150, 58, 0.35) 0%, transparent 70%);
}

.atmosphere-glow--teal {
  width: 600px;
  height: 600px;
  bottom: -150px;
  left: -120px;
  background: radial-gradient(circle, rgba(74, 124, 142, 0.28) 0%, transparent 70%);
}

/* Subtle film grain — gives the cream background tactility */
.atmosphere-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.18 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- TOP BAR ---------- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body { padding-top: 48px; }

.top-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.875rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-bar__eyebrow {
  color: var(--slate);
  font-weight: 400;
}

.top-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 500;
}

.top-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 150, 58, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(201, 150, 58, 0.18); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(201, 150, 58, 0.06); }
}

/* ---------- PAGE / SECTIONS ---------- */
.page {
  position: relative;
  z-index: 1;
}

section {
  padding: var(--space-3xl) 2rem;
}

@media (max-width: 720px) {
  section { padding: var(--space-2xl) 1.25rem; }
}

/* ---------- HERO ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding-top: var(--space-2xl);
}

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

.hero__logo {
  width: clamp(280px, 50vw, 480px);
  margin: 0 auto var(--space-xl);
  opacity: 0;
  transform: translateY(8px);
  animation: rise 1.1s var(--ease-out) 0.1s forwards;
}

.hero__logo-svg { width: 100%; height: auto; }

/* Subtle SVG element animations on load */
.hero__logo-arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawArc 1.6s var(--ease-out) 0.5s forwards;
}

.hero__logo-bloom > * {
  opacity: 0;
  animation: petalIn 0.4s var(--ease-out) forwards;
}

.hero__logo-bloom > *:nth-child(1) { animation-delay: 1.70s; }
.hero__logo-bloom > *:nth-child(2) { animation-delay: 1.80s; }
.hero__logo-bloom > *:nth-child(3) { animation-delay: 1.90s; }
.hero__logo-bloom > *:nth-child(4) { animation-delay: 2.00s; }
.hero__logo-bloom > *:nth-child(5) { animation-delay: 2.10s; }
.hero__logo-bloom > *:nth-child(6) { animation-delay: 2.20s; }
.hero__logo-bloom > *:nth-child(7) { animation-delay: 2.30s; }
.hero__logo-bloom > *:nth-child(8) { animation-delay: 2.40s; }
.hero__logo-bloom > *:nth-child(9) { animation-delay: 2.55s; }

@keyframes drawArc {
  to { stroke-dashoffset: 0; }
}

@keyframes petalIn {
  to { opacity: 1; }
}

.hero__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.875rem;
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.7s forwards;
}

.hero__rule {
  width: 60px;
  height: 1.5px;
  background: var(--gold);
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.85s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-display-xl);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 1s forwards;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero__subhead {
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--dusk);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.25s forwards;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.45s forwards;
}

.hero__attribution {
  font-size: var(--fs-body-sm);
  color: var(--slate);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.65s forwards;
}

.hero__attribution-name { color: var(--ink); font-weight: 500; }
.hero__attribution-sep { margin: 0 0.5rem; color: var(--gold); }
.hero__attribution-role { font-style: italic; }

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.625rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(201, 150, 58, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 26, 46, 0.2);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn__arrow {
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- SECTION HEADERS (shared) ---------- */
.section-eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-eyebrow--inverse { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-display-lg);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.section-title--inverse { color: var(--cream); }
.section-title--inverse em { color: var(--gold-light); }

/* ---------- PILLARS ---------- */
.pillars {
  background: var(--cream);
  position: relative;
}

.pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 46, 0.03) 100%);
  pointer-events: none;
}

.pillars__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-xl);
}

@media (max-width: 880px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

.pillar {
  padding: 2.25rem 2rem;
  background: var(--white);
  border: 1px solid rgba(26, 26, 46, 0.07);
  border-radius: 4px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26, 26, 46, 0.12);
  border-color: rgba(201, 150, 58, 0.25);
}

.pillar:hover::before { width: 100%; }

.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.75;
}

.pillar__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.875rem;
  letter-spacing: -0.005em;
}

.pillar__copy {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--dusk);
}

/* ---------- BOOKING ---------- */
.booking {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.booking::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 124, 142, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.booking::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 150, 58, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.booking__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.booking__copy {
  font-size: var(--fs-body-lg);
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: var(--space-xl);
}

.booking__embed {
  background: var(--cream);
  border-radius: 8px;
  padding: 0;
  min-height: 580px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.booking__iframe {
  width: 100%;
  height: 580px;
  border: 0;
  display: block;
  background: var(--cream);
}

.booking__fallback-link {
  text-align: center;
  font-size: var(--fs-body-sm);
  color: rgba(245, 240, 232, 0.7);
  margin-top: 1rem;
}

.booking__fallback-link a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.25rem;
}

.booking__fallback-link a:hover {
  color: var(--cream);
}

.booking__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.booking__loading-mark {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(201, 150, 58, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

.booking__loading-text {
  font-size: var(--fs-body-sm);
  color: var(--slate);
  letter-spacing: 0.05em;
}

.booking__loading-fallback {
  font-size: var(--fs-body-sm);
  color: var(--dusk);
  margin-top: 1rem;
}

.booking__loading-fallback a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking__loading-fallback a:hover { color: var(--ink); }

.booking__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 360px;
  padding: 3rem 2rem;
  gap: 1rem;
}

.booking__cta-eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.booking__cta-copy {
  font-size: var(--fs-body);
  color: var(--dusk);
  max-width: 32ch;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.booking__cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: var(--ink);
  color: var(--cream);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.booking__cta-button:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.booking__cta-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0.5rem 0 0;
}

/* ---------- NOTIFY (email capture) ---------- */
.notify {
  background: var(--cream);
  position: relative;
}

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

.notify__copy {
  font-size: var(--fs-body-lg);
  line-height: 1.7;
  color: var(--dusk);
  margin-bottom: var(--space-xl);
}

.notify__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
  align-items: stretch;
}

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

.notify__label {
  position: relative;
  display: block;
}

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

.notify__input {
  width: 100%;
  height: 100%;
  padding: 0.95rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(26, 26, 46, 0.15);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.notify__input::placeholder { color: var(--slate); }

.notify__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 150, 58, 0.12);
}

.notify__submit {
  white-space: nowrap;
}

.notify__status {
  grid-column: 1 / -1;
  font-size: var(--fs-body-sm);
  color: var(--horizon);
  margin-top: 0.5rem;
  min-height: 1.25rem;
  font-style: italic;
}

.notify__status.is-success { color: var(--sage); }
.notify__status.is-error { color: #B85450; }

/* ---------- QUOTE ---------- */
.quote {
  background: var(--cream);
  padding: var(--space-2xl) 2rem var(--space-3xl);
}

.quote__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(26, 26, 46, 0.08);
  padding-top: var(--space-2xl);
}

.quote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.quote__text em {
  font-style: italic;
  color: var(--gold);
}

.quote__attribution {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: rgba(245, 240, 232, 0.7);
  padding: var(--space-xl) 2rem var(--space-lg);
  position: relative;
  z-index: 1;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
}

.footer__brand {
  font-family: var(--font-display);
}

.footer__brand-name {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  margin-right: 0.5rem;
}

.footer__brand-line {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  font-size: var(--fs-body-sm);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-top: 0.625rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .footer__social { flex-wrap: wrap; }
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(245, 240, 232, 0.55);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-out);
}

.footer__social-link:hover { color: var(--gold-light); }

.footer__social-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.footer__social-link:hover svg { opacity: 1; }

.footer__link {
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s var(--ease-out);
}

.footer__link:hover { color: var(--gold-light); }

.footer__sep { color: rgba(245, 240, 232, 0.3); }

.footer__copyright {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  text-align: right;
}

@media (max-width: 720px) {
  .footer__copyright { text-align: center; }
}

/* ---------- REDUCED MOTION ---------- */
@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;
  }

  .hero__logo, .hero__eyebrow, .hero__rule, .hero__headline,
  .hero__subhead, .hero__cta, .hero__attribution {
    opacity: 1;
    transform: none;
  }

  .hero__logo-arc { stroke-dashoffset: 0; }
  .hero__logo-bloom { opacity: 1; transform: scale(1); }
}
