/**
 * Ora Ventures Component Styles
 *
 * Light-mode consulting firm. BEM naming `ora-*`.
 * Mobile-first, Aspekta typography.
 */

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--st-accent);
  outline-offset: 2px;
}

/* =============================================================================
   CONTAINER
   ============================================================================= */

.ora-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--st-space-md);
}

/* =============================================================================
   CUSTOM PROPERTY REGISTRATION (smooth color interpolation)
   ============================================================================= */

@property --nav-fg {
  syntax: '<color>';
  initial-value: #1A1A1A;
  inherits: true;
}

@property --nav-fg-muted {
  syntax: '<color>';
  initial-value: #5C5C5C;
  inherits: true;
}

/* =============================================================================
   NAV SENTINELS — invisible scroll-position markers
   ============================================================================= */

.ora-nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ora-nav-sentinel--revelation-light {
  top: 70%;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */

.ora-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--st-space-sm) var(--st-space-md);
  --nav-fg: #1A1A1A;
  --nav-fg-muted: #5C5C5C;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  transition:
    background 0.4s ease,
    --nav-fg 0.4s ease,
    --nav-fg-muted 0.4s ease,
    border-bottom-color 0.4s ease;
}

.ora-nav--dark {
  --nav-fg: #FFFFFF;
  --nav-fg-muted: rgba(255, 255, 255, 0.7);
  background: rgba(27, 45, 79, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ora-nav--warm {
  background: rgba(243, 237, 228, 0.88);
}

.ora-nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ora-nav__logo {
  font-family: var(--st-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nav-fg);
}

.ora-nav__links {
  display: flex;
  align-items: center;
  gap: var(--st-space-md);
}

.ora-nav__links a {
  font-size: var(--st-text-small);
  color: var(--nav-fg-muted);
}

.ora-nav__links a:hover {
  color: var(--nav-fg);
}

.ora-nav__menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.ora-nav__menu-line {
  width: 24px;
  height: 2px;
  background: var(--nav-fg);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .ora-nav__links {
    display: none;
  }

  .ora-nav__menu {
    display: flex;
  }
}

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

.ora-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--st-space-xl) var(--st-space-md);
  gap: var(--st-space-lg);
  overflow: hidden;
}

.ora-hero__content {
  max-width: 700px;
}

.ora-hero__title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--st-text);
  margin-bottom: var(--st-space-sm);
}

.ora-hero__line {
  display: block;
}

.ora-hero__flap {
  display: block;
  color: var(--ora-coral);
  overflow: hidden;
  min-height: 1.2em;
}

.ora-hero__sub {
  font-size: var(--st-text-body-lg);
  color: var(--st-text-muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: var(--st-space-md);
}

.ora-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ora-hero__svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.ora-node {
  fill: var(--ora-navy);
}

.ora-node--center {
  fill: var(--ora-coral);
}

.ora-nodes-secondary .ora-node {
  fill: var(--ora-navy);
  opacity: 0.5;
}

.ora-conn {
  stroke: var(--ora-navy);
  stroke-width: 1;
  opacity: 0.15;
}

.ora-flow {
  stroke: var(--ora-coral);
  stroke-width: 1.5;
  stroke-dasharray: 6 14;
  opacity: 0.4;
}

.ora-orbit {
  stroke: var(--ora-navy);
  stroke-width: 0.5;
  opacity: 0.08;
  stroke-dasharray: 4 8;
}

.ora-pulse {
  stroke: var(--ora-coral);
  stroke-width: 1;
  opacity: 0;
}

.ora-glow {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .ora-hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--st-space-xl) + 2rem);
  }

  .ora-hero__visual {
    display: none;
  }
}

/* =============================================================================
   CTA BUTTON
   ============================================================================= */

.ora-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--st-font-sans);
  font-size: var(--st-text-small);
  font-weight: 700;
  color: var(--st-text-light);
  background: var(--ora-coral);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--st-radius-full);
  cursor: pointer;
}

.ora-cta:hover {
  background: var(--st-accent-dark);
}

.ora-cta--outline {
  background: transparent;
  color: var(--st-text);
  border: 1px solid var(--st-border-strong);
}

.ora-cta--outline:hover {
  background: var(--st-text);
  color: var(--st-bg);
  border-color: var(--st-text);
}

/* =============================================================================
   SECTION GENERIC
   ============================================================================= */

.ora-section-title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-h1);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ora-section-eyebrow {
  display: block;
  font-size: var(--st-text-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--st-text-subtle);
  margin-bottom: var(--st-space-xs);
}

/* =============================================================================
   SCROLL-LOCKED SECTIONS (2 & 3)
   ============================================================================= */

.ora-scroll-section {
  position: relative;
  min-height: 250vh;
}

.ora-scroll-section__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Section 2: Navy background */
.ora-scroll-section__bg--navy {
  position: absolute;
  inset: 0;
  background: var(--ora-navy);
}

.ora-scroll-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--st-space-lg);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--st-space-md);
  width: 100%;
}

.ora-scroll-section__title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-h1);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--st-space-lg);
  opacity: 0;
  grid-column: 1 / -1;
}

/* Section 2 colors (navy bg) */
.ora-scroll-section--work .ora-scroll-section__sticky {
  color: var(--st-text-light);
}

/* Topic sidebar */
.ora-scroll-section__topics {
  display: flex;
  flex-direction: column;
  gap: var(--st-space-md);
}

.ora-topic {
  font-family: var(--st-font-display);
  font-size: var(--st-text-h2);
  font-weight: 700;
  opacity: 0.4;
  cursor: default;
}

.ora-topic--active {
  opacity: 1;
}

/* Panel content area */
.ora-scroll-section__panels {
  position: relative;
  min-height: 200px;
}

.ora-scroll-section__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
}

.ora-scroll-section__panel-eyebrow {
  display: block;
  font-size: var(--st-text-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: var(--st-space-xs);
}

.ora-scroll-section__panel-title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-h2);
  font-weight: 700;
  margin-bottom: var(--st-space-sm);
}

.ora-scroll-section__panel-body {
  font-size: var(--st-text-body-lg);
  line-height: 1.7;
  opacity: 0.85;
  max-width: 540px;
}

/* Section 3: Light background with SVG */
.ora-scroll-section--growth .ora-scroll-section__sticky {
  color: var(--st-text);
}

.ora-scroll-section__bg--light {
  position: absolute;
  inset: 0;
  background: var(--st-bg-surface);
}

.ora-scroll-section--growth .ora-scroll-section__panel {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--st-radius-lg);
  padding: var(--st-space-md);
}

/* Background SVG for Section 3 */
.ora-scroll-section__bg-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.ora-scroll-section__bg-svg svg {
  width: 80%;
  max-width: 800px;
  height: auto;
}

@media (max-width: 768px) {
  .ora-scroll-section__inner {
    grid-template-columns: 1fr;
  }

  .ora-scroll-section__topics {
    flex-direction: row;
    gap: var(--st-space-sm);
  }

  .ora-topic {
    font-size: var(--st-text-h3);
  }
}

/* =============================================================================
   REVELATION & TIMELINE (Section 4)
   ============================================================================= */

.ora-revelation {
  position: relative;
  min-height: 400vh;
}

.ora-revelation__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ora-revelation__bg {
  position: absolute;
  inset: 0;
  background: var(--ora-navy);
  z-index: 0;
}

.ora-revelation__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 var(--st-space-md);
}

.ora-revelation__headline {
  font-family: var(--st-font-display);
  font-size: var(--st-text-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--st-text-light);
  margin-bottom: var(--st-space-lg);
}

/* Timeline — centered vertical layout */
.ora-timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.ora-timeline__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.ora-timeline__track {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.ora-timeline__line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--ora-coral);
  transform-origin: top;
}

.ora-timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
  padding-bottom: var(--st-space-lg);
}

.ora-timeline__header,
.ora-timeline__body {
  position: relative;
  z-index: 1;
  background: var(--ora-navy);
  margin-left: -1rem;
  margin-right: -1rem;
  padding: 0 1rem;
}

.ora-timeline__step:last-child {
  padding-bottom: 0;
}

.ora-timeline__marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ora-coral);
  border: 3px solid var(--ora-navy);
  margin: 0 auto var(--st-space-xs);
  position: relative;
  z-index: 1;
}

.ora-timeline__header {
  margin-bottom: 0.25rem;
}

.ora-timeline__number {
  display: block;
  font-family: var(--st-font-display);
  font-size: var(--st-text-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ora-coral);
  margin-bottom: var(--st-space-xs);
}

.ora-timeline__title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-h3);
  font-weight: 700;
  color: var(--st-text-light);
  margin-bottom: 0;
}

.ora-timeline__body {
  overflow: hidden;
}

.ora-timeline__desc {
  font-size: var(--st-text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 460px;
  margin: 0.5rem auto 0;
}

/* =============================================================================
   CLIENT PROOF (Section 5) — Scroll-locked metric selector
   ============================================================================= */

/* Section container — scroll-locked like sections 2/3 */
.ora-clients {
  position: relative;
  min-height: 400vh;
}

.ora-clients__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--st-bg-surface);
}

/* Title + body grid */
.ora-clients__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--st-space-md);
  width: 100%;
}

.ora-clients__header {
  margin-bottom: var(--st-space-md);
}

.ora-clients .ora-section-title,
.ora-clients .ora-section-eyebrow {
  opacity: 0;
}

/* Two-column body: metrics left, panels right */
.ora-clients__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--st-space-lg);
  align-items: center;
}

/* LEFT: Metric scoreboard */
.ora-clients__metrics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ora-clients__metric {
  width: clamp(96px, 11vw, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.625rem, 1.5vw, 1rem) 0.5rem;
  border-radius: var(--st-radius-lg);
  gap: 0.125rem;
}

.ora-clients__metric-value {
  font-family: var(--st-font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--card-accent);
  opacity: 0.4;
}

.ora-clients__metric-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--st-text-subtle);
  opacity: 0.6;
  white-space: nowrap;
}

/* RIGHT: Panel stack (same pattern as sections 2/3) */
.ora-clients__panels {
  position: relative;
  min-height: 280px;
}

.ora-clients__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
}

.ora-clients__unit {
  display: block;
  font-size: var(--st-text-caption);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-text-subtle);
  margin-bottom: var(--st-space-xs);
}

.ora-clients__panel-title {
  font-size: var(--st-text-body-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--st-text);
  margin-bottom: 0.75rem;
}

.ora-clients__panel-body {
  font-size: var(--st-text-body);
  line-height: 1.7;
  color: var(--st-text-muted);
  max-width: 540px;
  margin-bottom: 1rem;
}

.ora-clients__tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.ora-clients__tag {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.625rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-full);
  color: var(--st-text-subtle);
}

/* Mobile: stack, metrics go horizontal */
@media (max-width: 768px) {
  .ora-clients__body {
    grid-template-columns: 1fr;
  }
  .ora-clients__metrics {
    flex-direction: row;
    justify-content: center;
  }
  .ora-clients__metric {
    width: clamp(56px, 15vw, 72px);
  }
}

/* =============================================================================
   CTA SECTION & CONTACT FORM (Section 6)
   ============================================================================= */

.ora-cta-section {
  padding: var(--st-space-xl) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ora-cta-section__headline {
  font-family: var(--st-font-display);
  font-size: var(--st-text-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: var(--st-space-lg);
  color: var(--st-text);
}

.ora-contact-form {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--st-space-md);
}

.ora-contact-form__field {
  margin-bottom: var(--st-space-sm);
}

.ora-contact-form__label {
  display: block;
  font-size: var(--st-text-small);
  font-weight: 700;
  color: var(--st-text);
  margin-bottom: 0.375rem;
}

.ora-contact-form__input,
.ora-contact-form__textarea {
  width: 100%;
  font-family: var(--st-font-sans);
  font-size: var(--st-text-body);
  padding: 0.75rem 1rem;
  background: var(--st-bg-elevated);
  border: 1px solid var(--st-border-strong);
  border-radius: var(--st-radius-md);
  color: var(--st-text);
  outline: none;
}

.ora-contact-form__input:focus,
.ora-contact-form__textarea:focus {
  border-color: var(--ora-coral);
  box-shadow: 0 0 0 3px var(--st-accent-glow);
}

.ora-contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.ora-contact-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--st-space-sm);
}

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

.ora-footer {
  padding: var(--st-space-xl) var(--st-space-md) var(--st-space-md);
  border-top: 1px solid var(--st-border);
}

.ora-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--st-space-lg);
  padding-bottom: var(--st-space-lg);
}

@media (min-width: 768px) {
  .ora-footer__inner {
    grid-template-columns: 2fr 3fr;
  }
}

.ora-footer__brand {
  font-family: var(--st-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ora-footer__tagline {
  font-size: var(--st-text-small);
  color: var(--st-text-muted);
  margin-top: var(--st-space-xs);
  font-weight: 400;
}

.ora-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--st-space-sm);
}

@media (min-width: 992px) {
  .ora-footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ora-footer__links a {
  font-size: var(--st-text-small);
  color: var(--st-text-muted);
}

.ora-footer__links a:hover {
  color: var(--st-text);
}

.ora-footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--st-space-md);
  border-top: 1px solid var(--st-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--st-space-md);
  flex-wrap: wrap;
}

.ora-footer__legal {
  display: flex;
  gap: var(--st-space-md);
}

.ora-footer__legal a {
  font-size: var(--st-text-caption);
  color: var(--st-text-subtle);
}

.ora-footer__copyright {
  font-size: var(--st-text-caption);
  color: var(--st-text-subtle);
}

/* =============================================================================
   WIDE-SCREEN REFINEMENTS
   ============================================================================= */

@media (min-width: 1440px) {
  .ora-container {
    max-width: 1440px;
  }

  .ora-hero__content {
    max-width: 800px;
  }
}
