/* ============================================================
   Pages — hero, orbits, about, page-hero, grids, CTA
   ============================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--on-dark);
}

/* Placeholder background — replace .hero__media with <video>/<img> later */
.hero__media { position: absolute; inset: 0; z-index: 0; background:
    linear-gradient(155deg, var(--hero-a) 0%, var(--hero-b) 100%);
}
.hero__media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,9,6,0.55) 0%, rgba(10,9,6,0.15) 55%, rgba(10,9,6,0.0) 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(7rem, 12vh, 10rem) 6rem;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--wheat); font-style: italic; }
.hero__subtitle {
  margin-top: 1.6rem;
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--on-dark-mut);
}

/* ---- Orbits (3 audience circles) ---- */
.hero__audiences { justify-self: end; width: 100%; max-width: 360px; }
.hero__audiences-label {
  text-align: right;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-dark-mut); margin-bottom: 1.5rem; font-weight: 600;
}
.orbits { display: flex; flex-direction: column; gap: 1.1rem; }

.orbit {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 0.5rem;
  border-radius: 999px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.orbit:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.orbit:hover { background: rgba(246,242,233,0.05); transform: translateX(0); }

.orbit__disc {
  position: relative; flex: none;
  width: clamp(84px, 12vw, 110px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(246,242,233,0.14), rgba(246,242,233,0.03));
  border: 1px solid rgba(246,242,233,0.18);
  backdrop-filter: blur(2px);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.orbit__ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: inset 0.5s var(--ease), border-color 0.5s var(--ease);
}
.orbit__icon { width: clamp(30px, 4.5vw, 40px); height: auto; color: var(--on-dark); transition: transform 0.6s var(--ease); }

.orbit:hover .orbit__disc {
  transform: scale(1.06);
  border-color: var(--wheat);
  background: radial-gradient(circle at 35% 30%, rgba(193,154,83,0.32), rgba(193,154,83,0.06));
}
.orbit:hover .orbit__ring { inset: -12px; border-color: rgba(193,154,83,0.45); }
.orbit:hover .orbit__icon { transform: scale(1.12) rotate(-4deg); }

.orbit__text { display: flex; flex-direction: column; }
.orbit__label { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--on-dark); line-height: 1.1; }
.orbit__hint { font-size: 0.82rem; color: var(--on-dark-mut); }

/* ---- Scroll cue ---- */
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-dark-mut);
}
.hero__scroll svg { width: 20px; height: 20px; animation: bob 2s var(--ease-in-out) infinite; }

/* ---- ABOUT ---- */
.about__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__text .lede { margin-bottom: 1.1rem; }
.about__visual { display: grid; place-items: center; }
.seal {
  position: relative;
  width: min(340px, 82%); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 50% 38%, var(--cream) 0%, var(--cream-alt) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.seal::before {
  content: ''; position: absolute; inset: 16px;
  border-radius: 50%; border: 1px solid var(--wheat-soft);
}
.seal__eyebrow { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.66rem; color: var(--wheat-deep); font-weight: 600; }
.seal__value { font-family: var(--font-serif); font-size: clamp(2.8rem, 7vw, 3.8rem); color: var(--ink); line-height: 1; margin-top: 0.3rem; }
.seal__rule { width: 36px; height: 1px; background: var(--wheat); margin: 0.7rem auto; }
.seal__sub { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ---- CTA strip ---- */
.cta-strip { background: var(--ink); color: var(--on-dark); }
.cta-strip .section-title { color: var(--on-dark); }
.cta-strip .lede { color: var(--on-dark-mut); }
.cta-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap;
}
.cta-strip__inner > div { max-width: 46ch; }

/* ---- PAGE HERO (interior pages) — light, editorial ---- */
.page-hero {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(8rem, 15vh, 11rem) clamp(2.6rem, 5vw, 4rem);
}
.page-hero__inner { max-width: 820px; }
.page-hero__title { font-size: clamp(2.6rem, 6.5vw, 4.6rem); color: var(--ink); letter-spacing: -0.02em; }
.page-hero__subtitle { margin-top: 1.1rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 54ch; }

/* ---- Intro block ---- */
.intro-block {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start; margin-bottom: clamp(3rem, 7vw, 5rem);
}
.tag-block__title { font-size: 1.15rem; margin-bottom: 0.9rem; color: var(--ink); }
.tag-block__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---- Product grid ---- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.6rem;
}
.product-card {
  position: relative; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.product-card::after {
  content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--wheat); transition: width 0.55s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card:hover::after { width: 100%; }
.product-card__index {
  display: block; font-family: var(--font-serif);
  font-size: 1.9rem; color: var(--wheat); line-height: 1;
  margin-bottom: 1rem;
}
.product-card__title { font-size: 1.3rem; color: var(--ink); margin-bottom: 0.5rem; }
.product-card__desc { font-size: 0.92rem; color: var(--muted); }

/* ---- Contact split ---- */
.contact-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact-split__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.contact-split__form .section-title { margin-bottom: 1.4rem; }

/* ---- Benefit grid ---- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.benefit-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit-card__num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--wheat); margin-bottom: 0.8rem; }
.benefit-card h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.92rem; color: var(--muted); }

/* ---- Nutrition grid ---- */
.nutrition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2.4rem; margin-top: 2.4rem; }
.nutrition-item { padding: 1.4rem 0; border-top: 2px solid var(--wheat-soft); }
.nutrition-item h4 { font-size: 1.2rem; color: var(--ink); margin-bottom: 0.4rem; }
.nutrition-item p { font-size: 0.92rem; color: var(--muted); }

/* ---- CTA panel ---- */
.cta-panel {
  text-align: center; max-width: 640px; margin-inline: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.6rem);
}
.cta-panel .lede { margin: 1rem 0 1.8rem; }
.cta-panel__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Error ---- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page__code { font-family: var(--font-serif); font-size: clamp(4rem, 14vw, 8rem); color: var(--wheat); line-height: 1; }
.error-page__message { color: var(--muted); margin: 0.5rem 0 1.8rem; font-size: 1.1rem; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 8rem 5rem; }
  .hero__audiences { justify-self: start; max-width: 100%; margin-top: 1rem; }
  .hero__audiences-label { text-align: left; }
  .orbits { flex-direction: row; flex-wrap: wrap; }
  .orbit, .orbit:nth-child(even) { flex-direction: column; text-align: center; gap: 0.6rem; }
  .about__grid, .intro-block, .contact-split { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
}
@media (max-width: 620px) {
  .product-grid, .benefit-grid, .nutrition-grid { grid-template-columns: 1fr; }
  .orbits { flex-direction: column; }
  .orbit, .orbit:nth-child(even) { flex-direction: row; text-align: left; }
}

/* ============================================================
   OMNEXIS additions — built on the bodpie token system
   ============================================================ */

/* Price on product cards (services + pricing categories) */
.product-card__price {
  display: block; margin-top: 0.9rem;
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--wheat-deep); line-height: 1;
}
.product-card__price small { font-size: 0.72rem; color: var(--faint); letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 0.2rem; font-family: var(--font-sans); }

/* Formula callout */
.formula {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.formula__eq {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2.6vw, 1.7rem); color: var(--ink);
  padding: 1rem 1.2rem; background: var(--cream-alt); border-left: 2px solid var(--wheat);
  border-radius: var(--radius-sm); margin: 0.9rem 0; overflow-x: auto;
}
.formula__note { font-size: 0.9rem; color: var(--muted); }

/* Pricing table */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.92rem; }
.price-table thead th {
  text-align: left; padding: 1rem 1.2rem; font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--faint); border-bottom: 1px solid var(--line); background: var(--cream-alt);
}
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table tbody td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); vertical-align: middle; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background 0.25s var(--ease); }
.price-table tbody tr:hover { background: var(--wheat-soft); }
.price-table__service { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }
.price-table__cat { display: inline-block; font-size: 0.72rem; color: var(--muted); padding: 0.2rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; }
.price-table__effort { color: var(--muted); white-space: nowrap; }
.price-table__price { font-family: var(--font-serif); color: var(--wheat-deep); white-space: nowrap; font-size: 1.05rem; }

/* PDF callout */
.pdf-callout {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(1.4rem, 4vw, 3rem);
  flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
}
.pdf-callout__text { max-width: 48ch; }
.pdf-callout__text h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); margin-bottom: 0.5rem; }
.pdf-callout__text p { color: var(--muted); }

/* Clients / Partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; max-width: 900px; margin: 2.6rem auto 0; }
.partner-card {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
  padding: 1.9rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.partner-card__logo { height: 80px; width: 100%; display: grid; place-items: center; }
.partner-card__logo img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.5s var(--ease), opacity 0.5s var(--ease); }
.partner-card:hover .partner-card__logo img { filter: grayscale(0); opacity: 1; }
.partner-card__name { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }

/* Tech tag row reuses .pill; keep spacing tidy */
.tag-block__tags .pill { margin-bottom: 0.2rem; }

@media (max-width: 620px) { .pdf-callout { flex-direction: column; align-items: flex-start; } }
