/* ZOE Intelligence — silver / gold */

:root {
  --bg: #0c0d0f;
  --bg-elevated: #14161a;
  --bg-soft: #1a1d23;
  --silver: #c5c9d0;
  --silver-bright: #e8eaee;
  --silver-mute: #8b919c;
  --gold: #c4a35a;
  --gold-bright: #dfc07a;
  --gold-deep: #8f7340;
  --line: rgba(197, 201, 208, 0.16);
  --line-gold: rgba(196, 163, 90, 0.45);
  --text: var(--silver-bright);
  --text-mute: var(--silver-mute);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-fullpage {
  overflow: hidden;
  height: 100%;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--silver-bright);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--silver-bright);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
  color: var(--silver);
}

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

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--silver);
  max-width: 36rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.container {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2 * var(--pad), 42rem);
}

/* —— Header —— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(12, 13, 15, 0.92), rgba(12, 13, 15, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled,
body:not(.is-fullpage) .site-header {
  border-bottom-color: var(--line);
  background: rgba(12, 13, 15, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2 * var(--pad), 90rem);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 2.1rem;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--silver-bright);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--silver-bright);
  border-bottom-color: var(--gold);
}

.site-nav__cta {
  margin-left: 0.5rem;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #12110e;
  border-color: var(--gold-bright);
}

.btn--primary:hover {
  color: #0a0907;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.btn--secondary {
  background: transparent;
  color: var(--silver-bright);
  border-color: var(--line-gold);
}

.btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* —— Fullpage shell —— */

.fullpage {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.fp-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 4rem;
  overflow: hidden;
}

.fp-section--hero {
  padding-top: var(--header-h);
  align-items: flex-end;
  padding-bottom: 5.5rem;
}

.fp-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
}

.fp-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 15, 0.88) 0%, rgba(12, 13, 15, 0.55) 48%, rgba(12, 13, 15, 0.35) 100%),
    linear-gradient(0deg, rgba(12, 13, 15, 0.92) 0%, transparent 42%);
}

.fp-section--panel {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(196, 163, 90, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(197, 201, 208, 0.05), transparent 50%),
    var(--bg);
}

.fp-section--alt {
  background:
    linear-gradient(160deg, #101218 0%, #0c0d0f 55%, #15131a 100%);
}

.fp-section__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.fp-section__content--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.fp-media {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}

.fp-media img {
  width: 100%;
  height: min(58vh, 28rem);
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 1.2s var(--ease), filter 0.6s;
}

.fp-section.is-inview .fp-media img {
  transform: scale(1.03);
  filter: grayscale(0.1) contrast(1.05);
}

.fp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line-gold);
  mix-blend-mode: soft-light;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}

.process li {
  padding: 1.1rem 1rem;
  border-top: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(197, 201, 208, 0.04), transparent);
}

.process strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--silver-bright);
  margin-bottom: 0.35rem;
}

.process span {
  font-size: 0.9rem;
  color: var(--text-mute);
}

.format-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.format-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.format-list strong {
  color: var(--gold-bright);
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

/* —— Fullpage chrome —— */

.fp-arrows {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fp-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(12, 13, 15, 0.55);
  color: var(--silver-bright);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, color 0.25s, background 0.25s, opacity 0.25s;
}

.fp-arrow:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.fp-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.fp-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.fp-dots {
  position: fixed;
  left: clamp(0.6rem, 1.8vw, 1.25rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fp-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--silver-mute);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.fp-dots button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

.fp-dots button:hover {
  border-color: var(--gold-bright);
}

/* —— Page (inner) —— */

.page {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 4rem;
  min-height: 100vh;
}

.page-hero {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.75rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(196, 163, 90, 0.1), transparent 55%),
    var(--bg);
}

.page-hero .container {
  display: grid;
  gap: 1rem;
}

.prose {
  max-width: 42rem;
}

.prose h2,
.prose h3 {
  margin-top: 2.25rem;
}

.prose ul {
  padding-left: 1.15rem;
  color: var(--silver);
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--gold);
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin: 2.5rem 0;
}

.card-quiet {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line-gold);
}

.card-quiet h3 {
  margin-bottom: 0.5rem;
}

.price-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-bright);
  margin: 0.5rem 0 1rem;
}

.modules {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: mod;
}

.modules li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.modules li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.audience-grid li {
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.audience-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--silver-bright);
  margin-bottom: 0.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-meta li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--silver);
}

.contact-meta span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-mute);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--silver-bright);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #090a0c;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  color: var(--text-mute);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--silver);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* —— Motion —— */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.is-inview .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fp-section--hero .reveal {
  animation: heroIn 1s var(--ease) both;
}

.fp-section--hero .reveal-delay-1 {
  animation-delay: 0.15s;
}

.fp-section--hero .reveal-delay-2 {
  animation-delay: 0.3s;
}

.fp-section--hero .reveal-delay-3 {
  animation-delay: 0.45s;
}

/* —— Subpage body (not fullpage) —— */

body:not(.is-fullpage) {
  overflow: auto;
}

/* —— Responsive —— */

@media (max-width: 960px) {
  body.is-fullpage {
    overflow: auto;
    height: auto;
  }

  .fullpage {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .fp-section {
    min-height: auto;
    padding: calc(var(--header-h) + 2rem) 0 3rem;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .fp-section--hero {
    min-height: 100svh;
    padding-bottom: 4rem;
  }

  .fp-arrows {
    display: none;
  }

  .fp-section__content--split,
  .split-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .fp-dots {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--pad) 1.5rem;
    background: rgba(12, 13, 15, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .site-nav__cta {
    margin: 1rem 0 0;
  }

  .site-nav__cta .btn {
    width: 100%;
  }
}

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

  .fp-arrows {
    right: 0.5rem;
  }

  .fp-arrow {
    width: 2.35rem;
    height: 2.35rem;
  }

  .fp-section--hero {
    align-items: flex-end;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .fp-section--hero .reveal,
  .fp-media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
