/* CNPR Reviews — modern static redesign */
:root {
  --ink: #0a1c22;
  --ink-soft: #24363c;
  --mist: #e8f0ee;
  --paper: #f5f8f6;
  --white: #ffffff;
  --teal: #0f6e64;
  --teal-deep: #0a4f48;
  --teal-bright: #1a9a8c;
  --sand: #d4e0dc;
  --line: rgba(10, 28, 34, 0.12);
  --shadow: 0 18px 40px rgba(10, 28, 34, 0.08);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --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);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 154, 140, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(10, 79, 72, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 48%, var(--paper) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 650;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 248, 246, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 248, 246, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.4rem;
  padding: 0.45rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 34, 0.82) 0%, rgba(6, 28, 34, 0.55) 48%, rgba(6, 28, 34, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 28, 34, 0.25) 0%, rgba(6, 28, 34, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.25rem;
  max-width: 40rem;
}

.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 550;
  margin: 0 0 0.85rem;
  max-width: 22ch;
  color: #f2f7f5;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  color: rgba(245, 248, 246, 0.88);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.35rem;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--teal-bright);
  color: var(--white);
}

.btn-primary:hover {
  background: #22b3a3;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #163038;
  color: var(--white);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  margin: 0 0 0.9rem;
  max-width: 18ch;
}

.section-lead {
  max-width: 42rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.intro {
  padding-top: 4.25rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.stat-stack {
  display: grid;
  gap: 1.1rem;
}

.stat {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--teal-deep);
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Split research */
.research {
  background: linear-gradient(180deg, rgba(15, 110, 100, 0.08), rgba(15, 110, 100, 0.02));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: 0.2rem;
  overflow: hidden;
  min-height: 360px;
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.split-copy h2 {
  margin-top: 0;
}

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

.profile-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}

.profile-list a:hover {
  padding-left: 0.4rem;
  color: var(--teal-deep);
}

.profile-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.profile-list span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Job boards band */
.band {
  background: var(--teal-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(26, 154, 140, 0.45), transparent 60%);
  pointer-events: none;
}

.band .wrap {
  position: relative;
  z-index: 1;
}

.band .section-kicker {
  color: #9ad9d0;
}

.band .section-lead {
  color: rgba(245, 248, 246, 0.86);
}

.band-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.5rem 0 0.75rem;
}

/* Testimonials — open typography, not cards */
.quotes {
  display: grid;
  gap: 2.5rem;
}

.quote {
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
  max-width: 48rem;
}

.quote:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quote blockquote {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.quote-rating {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.quote-rating .stars {
  letter-spacing: 0.08em;
  line-height: 1;
  font-size: 1.05rem;
}

.quote-rating .score {
  font-family: var(--font-display);
  color: var(--teal-deep);
}

.quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--ink);
}

/* Assessment */
.assessment {
  background: #c3d4cf;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.assessment-grid article {
  padding-top: 1rem;
  border-top: 3px solid var(--teal);
}

.assessment-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.assessment-grid p {
  color: var(--ink-soft);
  margin: 0;
}

/* Related reading */
.reading {
  background: var(--ink);
  color: var(--white);
}

.reading .section-kicker {
  color: #7ecfc4;
}

.reading .section-lead {
  color: rgba(245, 248, 246, 0.78);
}

.reading-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.reading-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}

.reading-list li:last-child a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.reading-list a:hover {
  color: #9ad9d0;
  padding-left: 0.35rem;
}

.reading-list .idx {
  font-family: var(--font-display);
  font-size: 0.9rem;
  opacity: 0.55;
}

.reading-list .arrow {
  opacity: 0.55;
}

.reading-list.on-paper a {
  color: var(--ink);
  border-top-color: var(--line);
}

.reading-list.on-paper li:last-child a {
  border-bottom-color: var(--line);
}

.reading-list.on-paper a:hover {
  color: var(--teal-deep);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0.4rem 0 0.9rem;
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0;
}

.article {
  padding: 3rem 0 5rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.7rem;
}

.article-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.article-body blockquote {
  margin: 1.25rem 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--teal);
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 550;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

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

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

/* Responsive */
@media (max-width: 900px) {
  .intro-grid,
  .split,
  .assessment-grid {
    grid-template-columns: 1fr;
  }

  .split-media,
  .split-media img {
    min-height: 260px;
  }

}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(245, 248, 246, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0;
  }

  .hero {
    min-height: 62vh;
  }

  .hero-content {
    padding-top: 3.5rem;
  }

  .reading-list a {
    grid-template-columns: auto 1fr;
  }

  .reading-list .arrow {
    display: none;
  }
}
