/* Voices — company site. Apex Vocal is product one. */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Syne:wght@500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --bg: #e4e6ea;
  --bg-deep: #101218;
  --ink: #12141a;
  --ink-soft: #3a3f48;
  --muted: #636975;
  --line: rgba(18, 20, 26, 0.12);
  --accent: #1a5a4c;
  --accent-hover: #134338;
  --surface: #eef0f3;
  --hero-veil: linear-gradient(
    105deg,
    rgba(18, 20, 26, 0.72) 0%,
    rgba(18, 20, 26, 0.35) 48%,
    rgba(18, 20, 26, 0.15) 100%
  );
  --font-display: "Syne", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

/* —— Nav —— */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2 * var(--space), var(--max));
  margin: 1.25rem auto 0;
  color: #f3f1ec;
}

.site-nav a {
  color: #f3f1ec;
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a {
  opacity: 0.85;
}

/* —— Hero (one composition) —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #f4f2ed;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-veil);
}

.hero-inner {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  padding-top: 6rem;
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  opacity: 0;
  animation: rise 1s var(--ease) 0.15s forwards;
}

.hero-line {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: rise 1s var(--ease) 0.32s forwards;
}

.hero-support {
  margin: 0 0 1.75rem;
  color: rgba(244, 242, 237, 0.78);
  font-size: 1.02rem;
  max-width: 28rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.45s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.58s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-primary {
  background: #f4f2ed;
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #f4f2ed;
  border-color: rgba(244, 242, 237, 0.45);
}

.btn-ghost:hover {
  border-color: #f4f2ed;
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #f7f5f1;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 0.6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-brand,
  .hero-line,
  .hero-support,
  .cta-row,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-copy {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.section-head {
  margin-bottom: 2.5rem;
}

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

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Products —— */
.products {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 1.25rem 2rem;
  align-items: baseline;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}

.product-row:hover {
  color: var(--accent);
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.product-tag {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.product-blurb {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.product-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.product-row.is-soon {
  opacity: 0.55;
  pointer-events: none;
}

.product-row.is-soon .product-meta {
  color: var(--muted);
}

@media (max-width: 760px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

/* —— Apex feature strip —— */
.apex-deep {
  background: var(--bg-deep);
  color: #eceae4;
}

.apex-deep .section-label {
  color: rgba(236, 234, 228, 0.5);
}

.apex-deep .section-copy {
  color: rgba(236, 234, 228, 0.72);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(236, 234, 228, 0.14);
}

.pillar h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pillar p {
  margin: 0;
  color: rgba(236, 234, 228, 0.68);
  font-size: 0.95rem;
}

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

/* —— Download —— */
.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
}

.download-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 28rem;
}

.req-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.req-list li + li {
  margin-top: 0.4rem;
}

.req-list strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 800px) {
  .download-panel {
    grid-template-columns: 1fr;
  }
}

/* —— Honesty / about —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

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

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink);
}
