:root {
  --bg: #f5f0e8;
  --bg-alt: #fffaf4;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #16233f;
  --muted: #5e6983;
  --line: rgba(22, 35, 63, 0.1);
  --primary: #1d4f91;
  --secondary: #0e7a72;
  --accent: #c8912b;
  --accent-soft: rgba(200, 145, 43, 0.12);
  --shadow: 0 24px 60px rgba(22, 35, 63, 0.12);
  --shadow-soft: 0 16px 36px rgba(22, 35, 63, 0.08);
  --radius: 26px;
  --radius-lg: 36px;
  --radius-sm: 18px;
  --site-max-width: 1440px;
  --site-gutter: clamp(16px, 3vw, 48px);
  --site-content-width: min(calc(100% - (2 * var(--site-gutter))), var(--site-max-width));
  --site-section-copy-width: 1040px;
  --site-reading-width: 960px;
  --container: var(--site-content-width);
  --font-body: "Manrope", sans-serif;
  --font-display: "Fraunces", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-gentle: cubic-bezier(0.25, 0.9, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 620ms;
}

body.page-wami {
  --primary: #1676c4;
  --secondary: #00a88b;
  --accent: #f4a100;
}

body.page-nova {
  --primary: #3357a6;
  --secondary: #6f7ef7;
  --accent: #ff9b42;
}

body.page-lq {
  --primary: #184d79;
  --secondary: #0e7a72;
  --accent: #8f57d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(29, 79, 145, 0.12), transparent 28%),
    radial-gradient(circle at 100% 14%, rgba(200, 145, 43, 0.14), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, #f6f0e8 55%, #fffdf9 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(29, 79, 145, 0.3);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  transition: top var(--dur-fast) ease;
}

.skip-link:focus {
  top: 12px;
}

.bg-orb {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.24;
  pointer-events: none;
}

.bg-orb.a {
  top: -120px;
  right: -120px;
  background: rgba(14, 122, 114, 0.5);
}

.bg-orb.b {
  left: -160px;
  bottom: -160px;
  background: rgba(200, 145, 43, 0.36);
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.container,
.site-container {
  width: var(--site-content-width);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 76px 0;
}

.section.tight {
  padding-top: 52px;
  padding-bottom: 52px;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  max-width: var(--site-section-copy-width);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}

.section-header h2,
.page-hero h1,
.hero-title,
.cta-band h2,
.quote-panel blockquote,
.story-card h3,
.stat-card strong,
.blog-post-header h2 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 40, "WONK" 0;
  line-height: 1.08;
}

.section-header h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.section-header p,
.page-hero p,
.lede,
.muted {
  color: var(--muted);
}

.hero-section {
  padding: 34px 0 24px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(circle at top right, rgba(200, 145, 43, 0.16), transparent 20%),
    radial-gradient(circle at left center, rgba(14, 122, 114, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.9));
  box-shadow: var(--shadow);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.page-hero::before {
  inset: auto auto -90px -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(14, 122, 114, 0.18), transparent 68%);
}

.page-hero::after {
  inset: 18px 18px auto auto;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(200, 145, 43, 0.28);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 30px;
  padding: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.hero-brand-mark {
  justify-self: start;
  margin: 4px 0 2px;
}

.hero-brand-mark .waymaker-logo-panel {
  width: min(100%, 250px);
}

.hero-brand-mark-caption {
  margin: -6px 0 2px;
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-copy .lede {
  font-size: clamp(1.02rem, 2vw, 1.16rem);
}

.hero-supporting {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero-body {
  display: grid;
  gap: 14px;
  max-width: 68ch;
}

.hero-body p {
  margin: 0;
  color: var(--muted);
}

.hero-supporting-meta {
  margin: -4px 0 0;
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  transition:
    transform var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 18px 34px rgba(29, 79, 145, 0.22);
}

.btn-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(29, 79, 145, 0.18);
}

.btn-soft {
  color: var(--secondary);
  background: rgba(14, 122, 114, 0.1);
}

.btn-linkish {
  padding-inline: 0;
  border: 0;
  min-height: auto;
  border-radius: 0;
  color: var(--primary);
}

.hero-panel,
.glass-card,
.card,
.stat-card,
.quote-panel,
.cta-band,
.info-panel,
.faq-item,
.timeline-card,
.path-card,
.resource-card,
.gallery-card,
.blog-card,
.audience-card,
.metric-card,
.process-card {
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  align-content: start;
}

.hero-media {
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(29, 79, 145, 0.12), rgba(14, 122, 114, 0.12)),
    #eef3fb;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media.is-logo-media {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
}

.hero-media.is-logo-media img {
  width: auto;
  height: clamp(120px, 16vw, 150px);
  max-width: 50%;
  object-fit: contain;
}

.hero-media.is-contained {
  min-height: 0;
  padding: 0;
}

.hero-media.is-contained img {
  height: auto;
  object-fit: contain;
}

.waymaker-logo-panel {
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 22px);
  border-radius: calc(var(--radius-card) - 8px);
  border: 1px solid rgba(14, 122, 114, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 34px rgba(18, 63, 66, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.waymaker-logo-panel img {
  display: block;
  width: min(100%, var(--waymaker-logo-max-width, 280px));
  height: auto;
  aspect-ratio: 1268 / 1241;
  object-fit: contain;
  object-position: center;
}

.waymaker-logo-panel.is-inline img {
  max-width: clamp(200px, 18vw, 250px);
}

@media (hover: hover) and (pointer: fine) {
  .waymaker-logo-panel:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 18px 34px rgba(20, 38, 67, 0.11);
  }
}

.hero-panel-title {
  font-size: 1.35rem;
}

.hero-list,
.hero-benefit-list,
.bullet-list,
.mini-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-list,
.hero-benefit-list {
  padding-left: 0;
  list-style: none;
}

.hero-list li,
.hero-benefit-list li,
.bullet-list li,
.mini-list li {
  position: relative;
  padding-left: 18px;
}

.hero-list li::before,
.bullet-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.hero-benefit-list {
  margin: 0;
}

.hero-benefit-list li {
  padding-left: 30px;
  color: var(--ink-soft);
}

.hero-benefit-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
}

.hero-stats,
.stats-grid,
.grid,
.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 16px;
}

.hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card,
.metric-card,
.process-card,
.path-card,
.audience-card,
.resource-card,
.gallery-card,
.blog-card,
.card,
.timeline-card {
  padding: 22px;
}

.stat-card small,
.metric-card small,
.label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-card strong,
.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.icon-badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 35, 63, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waymaker-bridge .quote-panel {
  display: grid;
  gap: 0;
  align-items: start;
}

.waymaker-bridge .quote-panel > .waymaker-logo-panel {
  margin-inline: auto;
}

.waymaker-founder-header {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 22px;
}

.waymaker-bridge .quote-panel blockquote {
  margin: 0;
  text-align: center;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1.2;
  text-wrap: balance;
}

.waymaker-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
}

.waymaker-divider::before,
.waymaker-divider::after {
  content: "";
  width: 38px;
  height: 2px;
  border-radius: 999px;
}

.waymaker-divider::before {
  background: rgba(14, 122, 114, 0.72);
}

.waymaker-divider::after {
  background: rgba(191, 149, 63, 0.82);
}

.waymaker-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(14, 122, 114, 0.82);
  box-shadow: 0 0 0 4px rgba(14, 122, 114, 0.08);
}

.waymaker-bridge .quote-panel > p {
  margin: 24px 0 0;
  max-width: 62ch;
  line-height: 1.7;
}

.waymaker-bridge .quote-panel .chips {
  margin-top: 26px;
  gap: 10px 12px;
}

.waymaker-bridge .quote-panel .button-row {
  margin-top: 24px;
  gap: 12px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.program-card,
.framework-card,
.faq-preview-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.feature-card h3,
.program-card h3,
.framework-card h3,
.quote-panel blockquote,
.story-card h3,
.faq-preview-card h3,
.resource-card h3,
.gallery-card h3,
.blog-card h3,
.timeline-card h3,
.path-card h3,
.process-card h3,
.audience-card h3,
.card h3 {
  font-size: 1.18rem;
}

.feature-card p,
.program-card p,
.framework-card p,
.resource-card p,
.gallery-card p,
.blog-card p,
.timeline-card p,
.path-card p,
.process-card p,
.audience-card p,
.card p,
.quote-panel p {
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(22, 35, 63, 0.08);
  background: rgba(255, 251, 244, 0.82);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(255, 251, 244, 0.95);
}

.header-inner {
  display: grid;
  gap: 12px;
  padding: 14px 0 16px;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  margin-right: auto;
}

.site-brand__logo {
  display: block;
  width: auto;
  height: clamp(38px, 3vw, 46px);
  max-width: min(100%, 180px);
  object-fit: contain;
  object-position: left center;
}

.site-brand__text {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.primary-nav a,
.route-strip a,
.drawer-links a,
.footer-links a {
  color: var(--muted);
  transition: color var(--dur-fast) ease;
}

.primary-nav a:hover,
.route-strip a:hover,
.drawer-links a:hover,
.footer-links a:hover,
.primary-nav a.active,
.route-strip a.active,
.drawer-links a.active,
.footer-links a:focus-visible {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.route-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.route-strip::-webkit-scrollbar {
  display: none;
}

.route-strip a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  font-weight: 700;
}

.route-strip a.active {
  background: linear-gradient(135deg, rgba(29, 79, 145, 0.14), rgba(14, 122, 114, 0.12));
}

.drawer {
  display: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(94, 105, 131, 0.65);
}

.quote-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(200, 145, 43, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 255, 0.94));
}

.quote-panel blockquote {
  font-size: 1.65rem;
}

.quote-panel cite {
  color: var(--secondary);
  font-style: normal;
  font-weight: 800;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(circle at top right, rgba(200, 145, 43, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(19, 61, 117, 0.96), rgba(14, 122, 114, 0.92));
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -28px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cta-band p,
.cta-band .muted {
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.cta-band .btn-soft {
  color: #0f2f58;
  background: #fff3da;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 800;
}

.faq-question span:last-child {
  font-size: 1.2rem;
  color: var(--secondary);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease), padding-bottom var(--dur-base) var(--ease);
  padding: 0 22px;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.form-shell {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.form-card,
.contact-card {
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(22, 35, 63, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(200, 145, 43, 0.24);
  background: rgba(255, 250, 240, 0.84);
  color: #6b5731;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card-content {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(9, 16, 29, 0.78);
}

.gallery-lightbox.open {
  display: grid;
}

.gallery-lightbox-inner {
  position: relative;
  max-width: min(1100px, 92vw);
  width: 100%;
}

.gallery-lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.3rem;
  font-weight: 800;
}

.blog-card img,
.story-image,
.resource-image {
  border-radius: calc(var(--radius) - 8px);
  object-fit: cover;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
}

.blog-controls,
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.blog-controls {
  margin-bottom: 28px;
}

.blog-controls input {
  min-width: min(100%, 320px);
  flex: 1 1 280px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.filter-chip {
  border: 1px solid rgba(29, 79, 145, 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  margin-bottom: 30px;
}

.blog-main,
.blog-default-content,
.blog-results-section {
  display: grid;
  gap: 24px;
  align-content: start;
}

.featured-blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.blog-card-featured img {
  aspect-ratio: 16 / 8;
}

.blog-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-section,
.blog-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.mini-section h3,
.blog-sidebar h3,
.blog-results-header h3 {
  font-family: var(--font-display);
  line-height: 1.1;
}

.mini-section {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mini-post-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mini-post {
  display: grid;
  gap: 3px;
  border-radius: 16px;
  padding: 12px;
  background: rgba(245, 240, 232, 0.72);
}

.mini-post span {
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-results-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 24px 0 18px;
}

.article-content {
  display: grid;
  gap: 16px;
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin-top: 10px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 8px;
}

.article-content a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-note {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.store-grid {
  display: grid;
  gap: 16px;
}

.store-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: rgba(245, 240, 232, 0.72);
}

.store-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--primary);
  font-weight: 700;
}

.story-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.story-card {
  padding: 28px;
}

.story-quote {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.4;
}

.story-card > br {
  display: none;
}

.story-card h2.muted {
  margin-top: 18px;
  font-size: 1.28rem;
  line-height: 1.4;
}

.stack {
  display: grid;
  gap: 16px;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison .card {
  padding: 22px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-card {
  position: relative;
  padding-left: 28px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.footer {
  padding: 30px 0 42px;
}

.footer-shell {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.92));
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column h3 {
  font-size: 0.98rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-note,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 35, 63, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.js-motion .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-animated .hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 660ms var(--ease) forwards;
}

.hero-animated .hero-copy > *:nth-child(1) { animation-delay: 80ms; }
.hero-animated .hero-copy > *:nth-child(2) { animation-delay: 150ms; }
.hero-animated .hero-copy > *:nth-child(3) { animation-delay: 230ms; }
.hero-animated .hero-copy > *:nth-child(4) { animation-delay: 310ms; }
.hero-animated .hero-copy > *:nth-child(5) { animation-delay: 390ms; }
.hero-animated .hero-copy > *:nth-child(6) { animation-delay: 470ms; }

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.scroll-cue::before {
  content: "";
  width: 20px;
  height: 34px;
  border: 2px solid rgba(22, 35, 63, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 38%, rgba(29, 79, 145, 0.2) 38%, rgba(29, 79, 145, 0.2) 58%, transparent 58%);
}

.article-layout {
  display: grid;
  gap: 24px;
}

.article-layout .section {
  padding: 46px 0;
}

.blog-post-header {
  display: grid;
  gap: 16px;
  max-width: var(--site-section-copy-width);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(22, 35, 63, 0), rgba(22, 35, 63, 0.14), rgba(22, 35, 63, 0));
}

:root {
  --color-navy: #142643;
  --color-teal: #1d7a74;
  --color-emerald: #16846c;
  --color-cream: #fbf6ee;
  --color-soft-blue: #e6f0fb;
  --color-gold: #ba8a31;
  --color-text: #16233f;
  --color-muted: #5e6983;
  --color-border: rgba(22, 35, 63, 0.1);
  --shadow-card: 0 20px 42px rgba(20, 38, 67, 0.1);
  --radius-card: 22px;
  --radius-section: 32px;
  --site-max-width: 1440px;
  --site-gutter: clamp(16px, 3vw, 48px);
  --site-content-width: min(calc(100% - (2 * var(--site-gutter))), var(--site-max-width));
  --site-section-copy-width: 1040px;
  --site-reading-width: 960px;
  --container: var(--site-content-width);
}

body {
  background:
    radial-gradient(circle at top left, rgba(29, 79, 145, 0.1), transparent 24%),
    radial-gradient(circle at 100% 8%, rgba(186, 138, 49, 0.12), transparent 20%),
    linear-gradient(180deg, #fffdf9 0%, #f8f3eb 52%, #fffdf9 100%);
}

.section {
  padding: clamp(4.5rem, 6vw, 5.5rem) 0;
}

.section.tight {
  padding-top: clamp(3.25rem, 4vw, 4rem);
  padding-bottom: clamp(3.25rem, 4vw, 4rem);
}

.section-header {
  gap: 12px;
  margin-bottom: 22px;
  max-width: var(--site-section-copy-width);
}

.section-header h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-header p,
.lede,
.muted,
.page-hero p,
.feature-card p,
.program-card p,
.framework-card p,
.card p,
.story-card p,
.timeline-card p,
.path-card p,
.resource-card p,
.blog-card p,
.gallery-card p,
.audience-card p,
.metric-card p {
  font-size: 1rem;
  line-height: 1.72;
}

.hero-section {
  padding: 18px 0 10px;
}

.page-hero {
  border-radius: clamp(24px, 4vw, 34px);
}

.page-hero-grid {
  gap: 22px;
  padding: clamp(24px, 3.5vw, 40px);
}

.hero-copy {
  gap: 14px;
}

.hero-title {
  letter-spacing: -0.03em;
}

.hero-actions,
.button-row {
  gap: 10px;
}

.hero-stats {
  gap: 12px;
  margin-top: 10px;
}

.hero-panel,
.card,
.feature-card,
.program-card,
.framework-card,
.faq-preview-card,
.timeline-card,
.path-card,
.resource-card,
.gallery-card,
.blog-card,
.audience-card,
.metric-card,
.process-card,
.story-card,
.form-card,
.contact-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.card,
.feature-card,
.program-card,
.framework-card,
.faq-preview-card,
.timeline-card,
.path-card,
.resource-card,
.gallery-card,
.blog-card,
.audience-card,
.metric-card,
.process-card,
.story-card {
  position: relative;
  overflow: hidden;
}

.card::before,
.feature-card::before,
.program-card::before,
.framework-card::before,
.faq-preview-card::before,
.timeline-card::before,
.path-card::before,
.resource-card::before,
.blog-card::before,
.audience-card::before,
.metric-card::before,
.process-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(29, 79, 145, 0.92), rgba(14, 122, 114, 0.74), rgba(186, 138, 49, 0.6));
  opacity: 0.82;
}

.card:hover,
.feature-card:hover,
.program-card:hover,
.framework-card:hover,
.faq-preview-card:hover,
.timeline-card:hover,
.path-card:hover,
.resource-card:hover,
.blog-card:hover,
.audience-card:hover,
.metric-card:hover,
.process-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(20, 38, 67, 0.14);
}

.site-header {
  background: rgba(255, 251, 244, 0.72);
}

.header-inner {
  padding: 10px 0 12px;
}

.header-row {
  gap: 12px;
}

.primary-nav {
  gap: 8px 12px;
}

.primary-nav > a,
.nav-group-summary {
  position: relative;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav > a.active,
.nav-group.active > .nav-group-summary {
  color: var(--primary);
  background: rgba(29, 79, 145, 0.08);
}

.primary-nav > a.active::after,
.nav-group.active > .nav-group-summary::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.nav-group {
  position: relative;
}

.nav-group summary {
  list-style: none;
  cursor: pointer;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-group-summary a {
  color: inherit;
}

.nav-group-summary span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 54px rgba(20, 38, 67, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.nav-group[open] .nav-submenu,
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu a {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248, 243, 235, 0.84);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
}

.route-strip {
  display: none !important;
}

.drawer {
  inset: 76px 16px auto 16px;
}

.drawer-links {
  grid-template-columns: 1fr;
}

.drawer-links a {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 18px 0 28px;
}

.footer-shell {
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
}

.footer-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(22, 35, 63, 0.06);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(19, 61, 117, 0.96), rgba(14, 122, 114, 0.9));
  color: #fff;
}

.footer-cta-band h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
}

.footer-cta-band p {
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-column {
  gap: 10px;
}

.footer-column h3 {
  font-size: 0.94rem;
}

.footer-links {
  gap: 7px;
}

.footer-links a,
.footer-column p,
.footer-meta {
  font-size: 0.9rem;
}

.footer-meta {
  padding-top: 12px;
}

.gallery-grid {
  gap: 14px;
}

.form-shell {
  gap: 18px;
}

.field input,
.field select,
.field textarea {
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background var(--dur-fast) ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(29, 79, 145, 0.34);
  box-shadow: 0 0 0 4px rgba(29, 79, 145, 0.08);
  background: #fff;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 520ms var(--ease);
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transform: translateX(120%);
}

.page-wami .page-hero {
  background:
    radial-gradient(circle at top right, rgba(244, 161, 0, 0.2), transparent 22%),
    radial-gradient(circle at 14% 22%, rgba(0, 168, 139, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 247, 255, 0.94));
}

.page-wami .page-hero::after {
  display: none;
}

.wami-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wami-star {
  position: absolute;
  width: 16px;
  height: 16px;
  clip-path: polygon(50% 0%, 61% 36%, 100% 36%, 68% 57%, 79% 100%, 50% 72%, 21% 100%, 32% 57%, 0% 36%, 39% 36%);
  background: linear-gradient(135deg, #ffd85c, #f4a100);
  opacity: 0.92;
}

.wami-star.alt {
  background: linear-gradient(135deg, #4ec4ff, #00a88b);
}

.wami-star:nth-child(1) { top: 10%; left: 8%; }
.wami-star:nth-child(2) { top: 18%; right: 12%; transform: scale(0.72); }
.wami-star:nth-child(3) { bottom: 18%; left: 12%; transform: scale(0.86); }
.wami-star:nth-child(4) { bottom: 14%; right: 18%; transform: scale(0.64); }
.wami-star:nth-child(5) { top: 42%; left: 5%; transform: scale(0.58); }
.wami-star:nth-child(6) { top: 52%; right: 7%; transform: scale(0.76); }
.wami-star:nth-child(7) { top: 8%; left: 48%; transform: scale(0.52); }
.wami-star:nth-child(8) { bottom: 32%; right: 36%; transform: scale(0.62); }
.wami-star:nth-child(9) { top: 66%; left: 28%; transform: scale(0.5); }
.wami-star:nth-child(10) { top: 28%; right: 32%; transform: scale(0.56); }

.page-wami .hero-panel .hero-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: radial-gradient(circle at top, rgba(255, 216, 92, 0.42), transparent 28%), rgba(255, 255, 255, 0.88);
}

.page-wami .hero-panel .hero-media img {
  object-fit: contain;
}

.floating-mascot {
  animation: softFloat 5.8s ease-in-out infinite;
}

.chip-cloud .chip {
  animation: chipRise 640ms var(--ease) both;
}

.chip-cloud .chip:nth-child(2) { animation-delay: 60ms; }
.chip-cloud .chip:nth-child(3) { animation-delay: 120ms; }
.chip-cloud .chip:nth-child(4) { animation-delay: 180ms; }
.chip-cloud .chip:nth-child(5) { animation-delay: 240ms; }
.chip-cloud .chip:nth-child(6) { animation-delay: 300ms; }
.chip-cloud .chip:nth-child(7) { animation-delay: 360ms; }
.chip-cloud .chip:nth-child(8) { animation-delay: 420ms; }

.timeline-steps,
.nova-stages {
  display: grid;
  gap: 14px;
}

.timeline-step,
.nova-stage {
  position: relative;
  padding: 20px 20px 20px 74px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.timeline-step::before,
.nova-stage::before {
  content: attr(data-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
}

.page-nova .nova-stage {
  overflow: hidden;
}

.page-nova .nova-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(111, 126, 247, 0.95), rgba(14, 122, 114, 0.85));
}

.page-lq .dimension-card:nth-child(1) { --dimension-accent: #2a6fd1; }
.page-lq .dimension-card:nth-child(2) { --dimension-accent: #c45c43; }
.page-lq .dimension-card:nth-child(3) { --dimension-accent: #16846c; }
.page-lq .dimension-card:nth-child(4) { --dimension-accent: #7f56d9; }
.page-lq .dimension-card:nth-child(5) { --dimension-accent: #c8912b; }

.dimension-card {
  border-top: 4px solid var(--dimension-accent, var(--primary));
}

.dimension-card .meta-pill {
  color: var(--dimension-accent, var(--primary));
  background: color-mix(in srgb, var(--dimension-accent, var(--primary)) 10%, white);
}

.site-header {
  min-height: 78px;
  background: rgba(255, 251, 244, 0.88);
  border-bottom: 1px solid rgba(20, 38, 67, 0.1);
  box-shadow: 0 10px 28px rgba(20, 38, 67, 0.045);
}

.site-header.scrolled {
  background: rgba(255, 251, 244, 0.96);
  box-shadow: 0 14px 34px rgba(20, 38, 67, 0.08);
}

.site-header .container,
.footer .container {
  width: var(--site-content-width);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 0;
}

.header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  flex: 0 0 auto;
  margin-right: 0;
}

.site-brand__logo {
  height: clamp(28px, 2.3vw, 34px);
  max-width: 60px;
}

.site-brand__text {
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
}

.primary-nav {
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
  min-width: 0;
}

.primary-nav > a,
.nav-group-summary {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 8px;
  border-radius: 0;
  background: transparent;
  color: rgba(22, 35, 63, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav > a::after,
.nav-group-summary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.nav-group-summary:hover,
.nav-group:focus-within .nav-group-summary,
.primary-nav > a.active,
.nav-group.active > .nav-group-summary {
  color: var(--color-navy);
  background: transparent;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after,
.nav-group-summary:hover::after,
.nav-group:focus-within .nav-group-summary::after,
.primary-nav > a.active::after,
.nav-group.active > .nav-group-summary::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-group {
  position: relative;
}

.nav-group-summary {
  cursor: pointer;
}

.nav-chevron {
  width: 15px;
  height: 15px;
  color: var(--secondary);
  transition: transform var(--dur-fast) ease;
}

.nav-group[open] .nav-chevron,
.nav-group:hover .nav-chevron,
.nav-group:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-group-summary span:last-child {
  display: contents;
  width: auto;
  height: auto;
  background: transparent;
}

.nav-submenu {
  top: calc(100% + 14px);
  left: 50%;
  min-width: 270px;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(20, 38, 67, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 24px 50px rgba(20, 38, 67, 0.15);
  transform: translate(-50%, 8px);
  backdrop-filter: blur(18px);
}

.nav-group[open] .nav-submenu,
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  transform: translate(-50%, 0);
}

.nav-submenu-link {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-submenu-link small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav-submenu-link:hover,
.nav-submenu-link:focus-visible,
.nav-submenu-link[aria-current="page"] {
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
}

.header-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.header-actions .btn {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 0.82rem;
  box-shadow: none;
}

.header-actions .btn-primary {
  box-shadow: 0 12px 24px rgba(29, 79, 145, 0.18);
}

.header-actions .btn-secondary {
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(20, 38, 67, 0.14);
}

.menu-button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.drawer {
  inset: 86px 24px auto 24px;
}

.drawer-links {
  display: grid;
  gap: 8px;
}

.drawer-group {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(20, 38, 67, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.drawer-subnav {
  display: grid;
  gap: 6px;
  padding-left: 10px;
}

.drawer-subnav a {
  font-size: 0.92rem;
}

.footer {
  padding: 24px 0 34px;
}

.footer-shell {
  gap: 20px;
  padding: 30px;
  border: 1px solid rgba(20, 38, 67, 0.1);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(239, 247, 252, 0.92));
  box-shadow: 0 22px 54px rgba(20, 38, 67, 0.1);
}

.footer-cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 20px 22px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #123b6d, #0f766e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.footer-cta-band .stack {
  gap: 7px;
}

.footer-cta-band h2 {
  color: #fff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.14;
}

.footer-cta-band p {
  max-width: 960px;
  color: rgba(238, 247, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-cta-band .button-row {
  flex-wrap: nowrap;
}

.footer-cta-primary,
.footer-cta-secondary {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.86rem;
}

.footer-cta-primary {
  color: #123b6d;
  background: #fff7e8;
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-cta-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.footer-grid {
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(130px, 1fr));
  gap: 20px;
  align-items: start;
}

.footer-column {
  gap: 10px;
  align-content: start;
}

.footer-column h3 {
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}

.footer-column p {
  max-width: 280px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  gap: 7px;
}

.footer-links a {
  width: fit-content;
  color: rgba(94, 105, 131, 0.98);
  font-size: 0.88rem;
  line-height: 1.45;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--secondary);
  transform: translateX(2px);
}

.social-links a {
  width: 36px;
  height: 36px;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 900;
  border-color: rgba(20, 38, 67, 0.12);
  background: rgba(255, 255, 255, 0.74);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: translateY(-2px);
}

.footer-meta {
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  color: rgba(94, 105, 131, 0.95);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--secondary);
}

/* Global polish pass: stable header, tighter rhythm, reusable decorations, and cleaner reading layouts. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  overflow: visible;
  min-height: 76px;
}

.site-header .container {
  width: var(--site-content-width);
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
}

.header-row {
  display: grid;
  grid-template-columns: minmax(230px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.site-brand {
  min-width: 0;
  max-width: 260px;
}

.primary-nav {
  min-width: 0;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 22px);
}

.primary-nav > a,
.nav-group-summary {
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.header-actions {
  min-width: 0;
  gap: 8px;
}

.header-actions .btn {
  min-height: 40px;
  max-height: 42px;
  padding: 9px 13px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.header-actions .btn-secondary {
  max-width: 174px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-submenu {
  z-index: 180;
  overflow: visible;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.98);
}

.nav-submenu-link {
  padding: 11px 12px;
}

.hero-section {
  padding: clamp(24px, 3vw, 38px) 0 16px;
}

.section {
  padding: clamp(3.5rem, 5vw, 4.5rem) 0;
}

.section.tight {
  padding-top: clamp(2.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 4vw, 3.5rem);
}

.page-hero {
  overflow: hidden;
}

.page-hero-grid {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
}

.page-hero::before {
  width: 210px;
  height: 210px;
  border: 1px solid rgba(200, 145, 43, 0.24);
  background: radial-gradient(circle, rgba(200, 145, 43, 0.1), transparent 62%);
}

.page-hero::after {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(14, 122, 114, 0.24);
  background: radial-gradient(circle, rgba(14, 122, 114, 0.09), transparent 66%);
}

.section::before,
.cta-band::before,
.story-card::after,
.quote-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.section::before {
  right: max(18px, calc((100vw - 1240px) / 2));
  top: 26px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(200, 145, 43, 0.16);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 60%);
  opacity: 0.7;
  z-index: -1;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  right: 28px;
  top: 24px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.story-card,
.quote-panel,
.feature-card,
.program-card,
.framework-card,
.card,
.blog-card {
  position: relative;
}

.story-card::after,
.quote-panel::after {
  right: 18px;
  top: 16px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 122, 114, 0.12);
  opacity: 0.65;
}

.bullet-list {
  list-style: none;
  padding-left: 0;
}

.article-content ul,
.article-content ol {
  padding-left: 1.25rem;
}

.article-content .bullet-list {
  padding-left: 0;
}

.page-wami .hero-section {
  padding-top: 24px;
}

.page-wami .page-hero {
  min-height: 0;
}

.page-wami .page-hero-grid {
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
}

.page-wami .hero-panel {
  align-self: center;
  min-height: 0;
}

.page-wami .hero-panel .hero-media {
  min-height: 0;
}

.page-wami .hero-panel .hero-media img,
.page-wami .floating-mascot {
  max-height: 320px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}

.page-wami .framework-card,
.page-wami .card {
  border-top: 4px solid rgba(244, 161, 0, 0.72);
}

.blog-hub {
  position: relative;
}

.blog-controls {
  align-items: stretch;
}

.blog-controls input {
  min-height: 48px;
}

.filter-chip,
.tag-filter,
.clear-filters {
  transition: transform var(--dur-fast) ease, background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.filter-chip.active,
.tag-filter.active {
  box-shadow: 0 12px 26px rgba(29, 79, 145, 0.18);
}

.clear-filters {
  border: 1px solid rgba(20, 38, 67, 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
}

.blog-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.mini-post {
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
}

.mini-post img {
  width: 76px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
}

.mini-post-body {
  display: grid;
  gap: 4px;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag-filter,
.blog-tag-link {
  border: 1px solid rgba(14, 122, 114, 0.15);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(14, 122, 114, 0.08);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.blog-card[hidden] {
  display: none;
}

.blog-count-line {
  margin-top: 8px;
}

.article-layout {
  grid-template-columns: minmax(0, var(--site-reading-width)) minmax(260px, 340px);
  justify-content: space-between;
  align-items: start;
}

.article-content {
  max-width: var(--site-reading-width);
  font-size: clamp(1.02rem, 1vw, 1.1rem);
  line-height: 1.75;
}

.article-content p {
  color: var(--muted);
}

.article-side-card {
  position: sticky;
  top: 104px;
}

.related-posts {
  margin-top: 28px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-row a,
.share-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

.decor-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.decor-ring,
.decor-dot,
.floating-icon {
  position: absolute;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.decor-ring {
  border: 1px solid rgba(14, 122, 114, 0.22);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.36), transparent 62%);
  animation: ringFloat 7s ease-in-out infinite;
}

.decor-ring.ring-a {
  width: 118px;
  height: 118px;
  right: 7%;
  top: 14%;
}

.decor-ring.ring-b {
  width: 72px;
  height: 72px;
  left: 7%;
  bottom: 13%;
  border-color: rgba(200, 145, 43, 0.25);
  animation-delay: -1.8s;
}

.decor-ring.ring-c {
  width: 44px;
  height: 44px;
  right: 33%;
  bottom: 10%;
  border-color: rgba(29, 79, 145, 0.2);
  animation-delay: -3s;
}

.decor-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, rgba(200, 145, 43, 0.88), rgba(14, 122, 114, 0.74));
  box-shadow: 0 0 0 8px rgba(14, 122, 114, 0.06);
  animation: softFloat 5.5s ease-in-out infinite;
}

.decor-dot.dot-a {
  left: 18%;
  top: 17%;
}

.decor-dot.dot-b {
  right: 18%;
  bottom: 18%;
  animation-delay: -2s;
}

.floating-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 35, 63, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary);
  box-shadow: 0 16px 34px rgba(20, 38, 67, 0.12);
  animation: softFloat 6.5s ease-in-out infinite;
}

.floating-icon svg,
.icon-mark svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-icon.icon-a {
  right: 18%;
  top: 20%;
}

.floating-icon.icon-b {
  left: 18%;
  bottom: 18%;
  animation-delay: -2.4s;
}

.page-hero > *:not(.decor-field),
.cta-band > *,
.section-ornate > .container {
  position: relative;
  z-index: 1;
}

.page-home {
  background:
    radial-gradient(circle at 18% 6%, rgba(31, 121, 116, 0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(200, 145, 43, 0.16), transparent 22%),
    radial-gradient(circle at 44% 36%, rgba(29, 79, 145, 0.1), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #f3f8fb 38%, #fbf3e8 70%, #fffdf9 100%);
}

.page-home .site-shell {
  overflow: clip;
}

.page-home .section {
  isolation: isolate;
}

.page-home .home-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 145, 43, 0.22), transparent 25%),
    radial-gradient(circle at 12% 80%, rgba(14, 122, 114, 0.22), transparent 27%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 244, 249, 0.94) 48%, rgba(255, 246, 228, 0.9));
}

.page-home .home-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
}

.founder-badge {
  display: inline-grid;
  gap: 3px;
  width: fit-content;
  padding: 11px 14px;
  border: 1px solid rgba(200, 145, 43, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 249, 236, 0.92), rgba(235, 249, 247, 0.88));
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(20, 38, 67, 0.08);
}

.founder-badge small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-card) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.hero-media,
.story-image,
.blog-card-media {
  background:
    radial-gradient(circle at top left, rgba(14, 122, 114, 0.18), transparent 44%),
    linear-gradient(135deg, #e9f4fb, #fff4da);
}

.icon-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 122, 114, 0.16);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(233, 247, 245, 0.82));
  color: var(--secondary);
  box-shadow: 0 14px 30px rgba(20, 38, 67, 0.08);
}

.home-identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: center;
}

.identity-copy {
  display: grid;
  gap: 18px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.role-chip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 32px rgba(20, 38, 67, 0.08);
}

.role-chip strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.role-grid .role-chip {
  animation: chipRise 680ms var(--ease) both;
}

.role-grid .role-chip:nth-child(2) { animation-delay: 80ms; }
.role-grid .role-chip:nth-child(3) { animation-delay: 160ms; }
.role-grid .role-chip:nth-child(4) { animation-delay: 240ms; }
.role-grid .role-chip:nth-child(5) { animation-delay: 320ms; }
.role-grid .role-chip:nth-child(6) { animation-delay: 400ms; }

.feature-card,
.program-card,
.path-card,
.metric-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.program-card {
  min-height: 100%;
}

.program-card .button-row,
.blog-card .button-row {
  margin-top: auto;
}

.program-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.program-badge,
.category-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.outcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.outcome-chips span {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(14, 122, 114, 0.08);
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 800;
}

.program-card-inspire::before,
.program-card-exam-stress::before {
  background: linear-gradient(90deg, #1d4f91, #23a6a1, #d8a130);
}

.program-card-empower-to-empowerment::before {
  background: linear-gradient(90deg, #184d79, #bd5c8a, #c8912b);
}

.program-card-c3::before {
  background: linear-gradient(90deg, #1d4f91, #0e7a72, #7f56d9);
}

.program-card-parenting-with-passion::before {
  background: linear-gradient(90deg, #0e7a72, #5aa67d, #c8912b);
}

.program-card-personal-effectiveness-mentorship::before,
.program-card-corporate-excellence::before {
  background: linear-gradient(90deg, #142643, #1d4f91, #0e7a72);
}

.waymaker-bridge {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.8vw, 34px);
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 20%, rgba(200, 145, 43, 0.16), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(14, 122, 114, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 247, 249, 0.9));
  box-shadow: var(--shadow-card);
}

.waymaker-bridge::after {
  content: "";
  position: absolute;
  inset: 24px 12% auto 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 122, 114, 0.34), rgba(200, 145, 43, 0.28), transparent);
}

.book-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 50%, rgba(200, 145, 43, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(20, 38, 67, 0.96), rgba(14, 122, 114, 0.92));
  color: #fff;
  box-shadow: 0 30px 70px rgba(20, 38, 67, 0.18);
}

.book-showcase .muted,
.book-showcase p {
  color: rgba(255, 255, 255, 0.84);
}

.book-showcase .section-header h2,
.book-showcase .section-header p,
.book-showcase .eyebrow {
  color: #fff;
}

.book-showcase .section-header {
  margin-bottom: 16px;
}

.book-cover-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.book-cover-wrap::before {
  content: "";
  position: absolute;
  width: min(78%, 320px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  animation: ringFloat 8s ease-in-out infinite;
}

.book-cover-wrap img {
  position: relative;
  z-index: 1;
  width: min(260px, 72vw);
  max-height: 360px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.28);
}

.books-carousel-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 42%, rgba(200, 145, 43, 0.2), transparent 22%),
    radial-gradient(circle at 8% 82%, rgba(66, 185, 173, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(15, 31, 57, 0.98), rgba(14, 122, 114, 0.94));
  color: #fff;
  box-shadow: 0 30px 70px rgba(20, 38, 67, 0.2);
}

.books-carousel-shell::before,
.books-carousel-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.books-carousel-shell::before {
  right: -64px;
  top: -76px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.books-carousel-shell::after {
  left: -74px;
  bottom: -92px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), transparent 68%);
}

.books-carousel-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 20px;
}

.books-carousel-head .eyebrow,
.books-carousel-head h2,
.books-carousel-head p {
  color: #fff;
}

.books-carousel-head h2,
.book-detail-title,
.books-index-title {
  font-family: var(--font-display);
  line-height: 1.08;
}

.books-carousel-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.books-carousel-head p {
  color: rgba(255, 255, 255, 0.84);
}

.books-carousel {
  position: relative;
  z-index: 1;
}

.book-slides {
  position: relative;
  min-height: 470px;
}

.book-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.book-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.book-slide-copy {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.book-slide-kicker,
.book-series-badge,
.book-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-slide h3 {
  max-width: 850px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.15rem);
  line-height: 1.04;
}

.book-slide-summary {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
}

.book-slide-author {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.book-slide-author a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-slide .outcome-chips span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.book-slide .btn-soft {
  color: #102541;
  background: #fff3da;
  min-width: 154px;
}

.book-slide-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.book-slide-cover::before {
  content: "";
  position: absolute;
  width: min(88%, 350px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 18px);
  animation: ringFloat 8s ease-in-out infinite;
}

.book-slide-cover img,
.book-detail-cover img,
.book-card-cover img,
.related-book img {
  object-fit: contain;
}

.book-slide-cover img {
  position: relative;
  z-index: 1;
  width: min(285px, 78vw);
  max-height: 390px;
  border-radius: 16px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
  animation: softFloat 7s ease-in-out infinite;
}

.books-carousel-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.book-arrow {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.book-arrow:hover,
.book-arrow:focus-visible,
.book-selector:hover,
.book-selector:focus-visible,
.book-selector.active {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
}

.book-selector-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.book-selector {
  min-height: 60px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.book-selector span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-selector strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.book-carousel-count {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-align: right;
}

.book-detail-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(200, 145, 43, 0.2), transparent 25%),
    radial-gradient(circle at 12% 78%, rgba(14, 122, 114, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 248, 0.94));
}

.books-breadcrumb-row {
  padding: 12px 0 0;
}

.books-breadcrumb-row .breadcrumbs {
  margin: 0;
}

.books-breadcrumb-row .breadcrumbs ol {
  padding: 0;
}

.books-showcase-section {
  padding-top: 18px;
}

.books-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 30px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 199, 103, 0.18), transparent 24%),
    radial-gradient(circle at 100% 10%, rgba(16, 150, 136, 0.22), transparent 28%),
    radial-gradient(circle at 18% 100%, rgba(29, 79, 145, 0.22), transparent 26%),
    linear-gradient(135deg, #103f4f 0%, #0c5b60 48%, #16706c 100%);
  box-shadow: 0 28px 64px rgba(11, 54, 65, 0.22);
  color: #f6f4ee;
}

.books-showcase::before,
.books-showcase::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.books-showcase::before {
  top: 0;
  left: 10%;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 224, 0.6), transparent);
}

.books-showcase::after {
  right: -8%;
  bottom: -12%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 199, 103, 0.16), transparent 62%);
}

.books-showcase-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 0.22fr) minmax(0, 1fr) minmax(180px, 0.22fr);
  gap: 26px;
  align-items: center;
}

.books-showcase-eyebrow {
  color: #f0d89a;
}

.books-showcase-title {
  display: grid;
  gap: 10px;
  margin: 0;
}

.books-showcase-title span {
  font-size: 0.92rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.72);
}

.books-showcase-title strong {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  color: #fff8ec;
}

.books-showcase-summary {
  margin: 0;
  font-size: 1.12rem;
  color: #f3dfab;
}

.books-showcase-copy {
  max-width: 58ch;
  color: rgba(246, 244, 238, 0.82);
}

.books-author-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.books-author-credential {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 0;
}

.books-author-credential:not(:first-child) {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.books-author-credential-icon .icon-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff5db;
}

.books-author-credential-copy {
  display: grid;
  gap: 4px;
}

.books-author-credential-copy strong,
.books-author-credential-copy span {
  display: block;
}

.books-author-credential-copy strong {
  color: rgba(255, 248, 236, 0.94);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.books-author-credential-copy span {
  color: rgba(246, 244, 238, 0.72);
  font-size: 0.92rem;
}

.books-author-portrait {
  margin: 0;
}

.books-author-portrait-shell {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  padding: 14px;
  border-radius: 36px;
  border: 1px solid rgba(240, 199, 103, 0.36);
  background: radial-gradient(circle at 30% 30%, rgba(240, 199, 103, 0.18), rgba(15, 72, 86, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 40px rgba(4, 32, 40, 0.28);
}

.books-author-portrait-shell::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff5db 0%, #f0c767 52%, rgba(240, 199, 103, 0.08) 100%);
  box-shadow: 0 0 22px rgba(240, 199, 103, 0.62);
}

.books-author-portrait-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(240, 199, 103, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(18, 82, 92, 0.96), rgba(11, 54, 65, 1));
  text-align: center;
}

.books-author-portrait-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.books-author-portrait-placeholder-icon .icon-mark {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff5db;
}

.books-author-portrait-placeholder span {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.74);
}

.books-author-portrait-placeholder strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff8ec;
}

.books-author-portrait-placeholder strong + span {
  color: rgba(246, 244, 238, 0.68);
  font-size: 0.92rem;
}

.books-author-copy {
  display: grid;
  gap: 18px;
}

.books-record-badge {
  display: grid;
  place-items: center;
}

.books-record-badge-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 250px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 41, 48, 0.08));
  text-align: center;
}

.books-record-badge-copy {
  display: grid;
  gap: 4px;
}

.books-record-badge-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.66);
}

.books-record-badge-copy strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.05;
  color: #f3dfab;
}

.books-record-badge-copy span:last-child {
  color: rgba(246, 244, 238, 0.86);
}

.books-record-laurel {
  position: relative;
  width: 20px;
  height: 74px;
}

.books-record-laurel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(240, 199, 103, 0.72);
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.books-record-laurel::after {
  content: "";
  position: absolute;
  inset: 8px 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(240, 199, 103, 0.94) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 28%, rgba(240, 199, 103, 0.88) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 46%, rgba(240, 199, 103, 0.84) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 64%, rgba(240, 199, 103, 0.8) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 82%, rgba(240, 199, 103, 0.76) 0 3px, transparent 3.5px);
}

.books-record-laurel-right::before {
  border-right: 0;
  border-left: 2px solid rgba(240, 199, 103, 0.72);
}

.books-hero-books {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.books-hero-book {
  display: flex;
  min-width: 0;
}

.books-hero-book-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(7, 56, 67, 0.84), rgba(8, 41, 50, 0.88));
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.books-hero-book-link:hover,
.books-hero-book-link:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(240, 199, 103, 0.34);
  box-shadow: 0 18px 38px rgba(6, 32, 40, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.books-hero-book-link:focus-visible {
  outline: 3px solid rgba(240, 199, 103, 0.76);
  outline-offset: 3px;
}

.books-hero-book-badge,
.books-hero-book-kicker,
.books-hero-book-action {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.books-hero-book-badge {
  color: rgba(246, 244, 238, 0.56);
}

.books-hero-book-kicker {
  color: #f0d89a;
}

.books-hero-book-media {
  display: grid;
  place-items: center;
  min-height: clamp(240px, 30vw, 410px);
  padding: 12px 6px 6px;
}

.books-hero-book-media img {
  width: 100%;
  max-width: 240px;
  max-height: clamp(260px, 31vw, 430px);
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.34));
}

.books-hero-book-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.08;
  color: #fff8ec;
}

.books-hero-book-subtitle {
  color: rgba(246, 244, 238, 0.76);
  font-size: 0.94rem;
  line-height: 1.35;
}

.books-hero-book-action {
  margin-top: auto;
  color: rgba(246, 244, 238, 0.84);
}

.books-certificates {
  display: grid;
  gap: 28px;
}

.books-certificates-header h2 {
  margin: 8px 0 0;
  color: var(--text);
}

.books-certificates-header p:last-child {
  max-width: 68ch;
}

.books-certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.books-certificate-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.books-certificate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(22, 35, 63, 0.12);
}

.books-certificate-frame {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 20px;
  border: 1px solid rgba(29, 79, 145, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.9), rgba(251, 248, 241, 0.96));
}

.books-certificate-frame img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.books-certificate-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 240px;
  color: var(--muted);
  text-align: center;
}

.books-certificate-placeholder .icon-mark {
  width: 56px;
  height: 56px;
  border-radius: 20px;
}

.books-certificate-caption {
  display: grid;
  gap: 8px;
}

.books-certificate-label,
.recognition-preview-kicker {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.books-certificate-caption h3,
.recognition-preview-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.1;
}

.books-certificate-caption p {
  color: var(--muted);
}

.books-certificate-action {
  justify-self: start;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(29, 79, 145, 0.14);
  border-radius: 999px;
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.books-showcase .btn-soft {
  color: #fff8ec;
  background: rgba(255, 243, 218, 0.14);
  border-color: rgba(240, 199, 103, 0.26);
}

.books-showcase .btn-soft:hover,
.books-showcase .btn-soft:focus-visible {
  background: rgba(255, 243, 218, 0.2);
}

.books-certificate-action:disabled {
  background: rgba(22, 35, 63, 0.06);
  color: var(--muted);
}

.recognition-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(200, 145, 43, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 249, 248, 0.92));
  box-shadow: var(--shadow-soft);
}

.recognition-panel-compact {
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
}

.recognition-panel-copy,
.recognition-panel-visual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.recognition-facts {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
  color: var(--muted);
}

.recognition-preview-card,
.recognition-preview-placeholder {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.recognition-preview-card {
  color: inherit;
  text-align: left;
  width: 100%;
}

.recognition-carousel {
  display: grid;
  gap: 14px;
}

.recognition-carousel-slides {
  position: relative;
}

.recognition-carousel-slide {
  display: none;
}

.recognition-carousel-slide.active {
  display: block;
}

.recognition-carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.recognition-carousel-selectors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  grid-column: 2;
}

.recognition-carousel-selector {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 79, 145, 0.18);
  transition: transform var(--dur-fast) ease, background var(--dur-fast) ease;
}

.recognition-carousel-selector.active,
.recognition-carousel-selector:hover,
.recognition-carousel-selector:focus-visible {
  background: var(--secondary);
  transform: scale(1.15);
}

.recognition-carousel-controls .book-carousel-count {
  justify-self: end;
}

.recognition-preview-frame {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(245, 240, 232, 0.72);
}

.recognition-preview-frame img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.recognition-preview-placeholder {
  place-items: center;
  min-height: 100%;
  text-align: center;
}

.recognition-preview-placeholder .icon-mark {
  width: 58px;
  height: 58px;
  border-radius: 20px;
}

.recognition-preview-placeholder strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.recognition-preview-placeholder span {
  color: var(--muted);
}

.books-purpose-strip {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: 22px 28px;
  border: 1px solid rgba(216, 163, 59, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 244, 219, 0.96), rgba(246, 231, 190, 0.96) 44%, rgba(255, 248, 232, 0.98) 100%);
  color: #123844;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.books-purpose-strip p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 2vw, 1.36rem);
  line-height: 1.35;
}

.books-collection-section {
  padding-top: 58px;
}

.books-reader-section {
  padding-top: 12px;
}

.books-reader-shell {
  display: grid;
  gap: 22px;
}

.books-reader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.books-reader-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 244, 0.96));
  box-shadow: var(--shadow-soft);
}

.books-reader-card h3 {
  margin: 0;
  font-size: 1.42rem;
}

.books-reader-card p {
  margin: 0;
}

.books-reader-card-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.books-reader-steps {
  display: grid;
  gap: 12px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  height: 100%;
}

.book-card-cover {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 20px;
  background:
    radial-gradient(circle at center, rgba(14, 122, 114, 0.12), transparent 58%),
    linear-gradient(135deg, #f6fbfb, #fff6e8);
}

.book-card-cover img {
  width: min(180px, 82%);
  max-height: 230px;
}

.book-card-kicker {
  border-color: rgba(29, 79, 145, 0.12);
  background: rgba(29, 79, 145, 0.08);
  color: var(--primary);
}

.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.16;
}

.book-card .button-row {
  margin-top: auto;
}

.trilogy-path,
.book-purchase-panel,
.book-side-panel {
  display: grid;
  gap: 14px;
}

.trilogy-step {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.book-detail-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
}

.book-detail-cover {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 46%, rgba(14, 122, 114, 0.18), transparent 58%),
    linear-gradient(135deg, #eef8fb, #fff4dc);
}

.book-detail-cover img {
  width: min(275px, 78%);
  max-height: 380px;
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(20, 38, 67, 0.2);
}

.book-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.book-prose {
  display: grid;
  gap: 16px;
  max-width: 78ch;
}

.book-prose h2,
.book-section h2,
.book-purchase-panel h2,
.book-side-panel h2 {
  font-family: var(--font-display);
  line-height: 1.12;
}

.book-section {
  display: grid;
  gap: 14px;
}

.book-section + .book-section {
  margin-top: 24px;
}

.book-purchase-panel {
  padding: 22px;
  border: 1px solid rgba(200, 145, 43, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(200, 145, 43, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 236, 0.9));
  box-shadow: var(--shadow-soft);
}

.book-purchase-panel .btn-primary,
.book-purchase-panel .btn-secondary {
  width: 100%;
}

.related-books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-book {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.related-book img {
  width: 82px;
  max-height: 116px;
}

.related-book strong {
  display: block;
  line-height: 1.22;
}

.book-nav {
  margin-top: 26px;
}

.book-detail-hero .page-hero-grid {
  align-items: center;
  padding-block: clamp(24px, 3.4vw, 42px);
}

.book-detail-hero .hero-copy {
  gap: 14px;
}

.book-detail-hero .hero-title {
  max-width: 980px;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
}

.book-detail-hero .hero-panel {
  padding: 18px;
  gap: 12px;
}

.book-detail-hero .hero-panel-title a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-detail-main {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 46px);
}

.book-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(310px, 4fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.book-editorial-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.book-content-card,
.book-support-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.book-content-card {
  grid-column: span 4;
}

.book-content-card-wide {
  grid-column: 1 / -1;
}

.book-content-card h2,
.book-support-card h2 {
  font-family: var(--font-display);
  line-height: 1.12;
}

.book-content-card p,
.book-content-card li,
.book-support-card p,
.book-support-card li {
  color: #42506a;
  font-size: 1rem;
  line-height: 1.72;
}

.book-content-card p {
  max-width: 72ch;
}

.book-content-card .bullet-list,
.book-support-card .bullet-list {
  display: grid;
  gap: 8px;
}

.book-support-column {
  display: grid;
  gap: 14px;
}

.book-support-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.16;
  color: var(--text);
}

.author-card-inner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.author-card-inner img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
}

.author-card-inner .btn {
  margin-top: 10px;
}

.book-related-section {
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.related-books-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.related-book {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
}

.related-book-cover {
  display: grid;
  place-items: center;
  min-height: 176px;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(14, 122, 114, 0.12), transparent 58%),
    linear-gradient(135deg, #f6fbfb, #fff6e8);
}

.related-book-cover img {
  width: 100px;
  max-height: 154px;
  object-fit: contain;
}

.related-book-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.related-book h3 {
  font-family: var(--font-display);
  line-height: 1.16;
  font-size: 1.1rem;
}

.related-book p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.related-book:hover,
.related-book:focus-within,
.book-nav-card:hover,
.book-nav-card:focus-visible {
  border-color: rgba(29, 79, 145, 0.22);
  transform: translateY(-2px);
}

.book-nav-section {
  padding-top: 10px;
  padding-bottom: clamp(38px, 5vw, 64px);
}

.book-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.book-nav-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.book-nav-card img {
  width: 58px;
  max-height: 86px;
  object-fit: contain;
}

.book-nav-card small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-nav-card strong {
  display: block;
  line-height: 1.2;
}

.blog-library-hero {
  background:
    radial-gradient(circle at 14% 72%, rgba(14, 122, 114, 0.18), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(200, 145, 43, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 251, 0.93));
}

.blog-search-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.blog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(22, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.blog-search-wrap:focus-within {
  border-color: rgba(29, 79, 145, 0.28);
  box-shadow: 0 0 0 4px rgba(29, 79, 145, 0.12);
}

.blog-search-icon {
  width: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-left: 6px;
}

.blog-search-icon svg {
  width: 20px;
  height: 20px;
}

.blog-search-wrap input {
  min-width: 0;
  width: 100%;
  flex: 1;
  border: 0;
  box-shadow: none;
  background: transparent;
  align-self: stretch;
  padding: 0 8px 0 2px;
  font-size: 0.96rem;
  line-height: 1;
}

.blog-search-wrap input:focus {
  outline: none;
}

.blog-search-clear {
  margin-right: 8px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(20, 38, 67, 0.08);
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  font-weight: 900;
}

.blog-filter-row {
  display: grid;
  gap: 10px;
}

.blog-filter-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-chips,
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip-cloud {
  margin-top: 12px;
}

.blog-tag-extra[hidden],
.blog-search-clear[hidden],
.blog-tag-toggle[hidden] {
  display: none;
}

.blog-tag-extra {
  display: contents;
}

.blog-tag-toggle {
  border: 1px solid rgba(20, 38, 67, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.blog-layout {
  gap: 28px;
}

.blog-hub.is-filtering .blog-layout {
  grid-template-columns: minmax(0, 1fr);
}

.blog-hub.is-filtering .blog-default-content,
.blog-hub.is-filtering .blog-sidebar {
  display: none;
}

.blog-hub.is-filtering .blog-results-header {
  margin-top: 0;
}

.blog-sidebar {
  display: grid;
  gap: 18px;
}

@media (min-width: 981px) {
  .blog-sidebar,
  .article-side-card {
    position: sticky;
    top: 100px;
  }
}

.blog-side-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.blog-about-quote {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
}

.blog-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 12px;
  height: 100%;
}

.blog-card img,
.blog-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 0;
  border-radius: 18px;
  object-fit: cover;
}

.blog-card-featured {
  grid-template-rows: auto auto auto 1fr auto auto;
}

.blog-card-featured img,
.blog-card-featured .blog-card-media {
  aspect-ratio: 16 / 8.5;
}

.fallback-thumb {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: rgba(20, 38, 67, 0.72);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: center;
}

.fallback-thumb span {
  max-width: 14ch;
}

.blog-card h3 {
  line-height: 1.24;
}

.blog-card-title-link {
  color: inherit;
  text-decoration: none;
}

.blog-card-title-link:hover,
.blog-card-title-link:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.mini-post {
  min-width: 0;
  border: 1px solid rgba(22, 35, 63, 0.06);
  transition: transform var(--dur-fast) ease, background var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.mini-post:hover,
.mini-post:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(20, 38, 67, 0.1);
}

.mini-post strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-post small {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-post .fallback-thumb {
  width: 76px;
  min-height: 68px;
  aspect-ratio: 1 / 1;
  font-size: 0.72rem;
}

.mini-post .blog-card-media,
.mini-post img {
  width: 76px;
  height: 68px;
  min-height: 68px;
  aspect-ratio: auto;
  border-radius: 14px;
  object-fit: cover;
}

.blog-empty-card {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 26px;
  border: 1px solid rgba(200, 145, 43, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 249, 236, 0.92), rgba(238, 248, 247, 0.86));
  box-shadow: var(--shadow-soft);
}

[data-blog-grid][hidden],
.blog-empty-card[hidden] {
  display: none;
}

.article-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.page-blog-detail .hero-media {
  min-height: 300px;
}

.article-hero-image {
  height: 100%;
  min-height: 300px;
}

.page-blog-detail .article-content {
  padding: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 122, 114, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 247, 0.9));
}

.article-content p,
.article-content li {
  font-size: 1.06rem;
  line-height: 1.75;
}

.article-content p + p,
.article-content ul + p,
.article-content ol + p,
.article-content p + ul,
.article-content p + ol {
  margin-top: 4px;
}

.article-content h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  margin-top: 20px;
}

.article-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: 16px;
}

.article-content li p {
  margin: 0;
}

.article-bottom {
  display: grid;
  gap: 24px;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-nav a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(22, 35, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.post-nav span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes ringFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes chipRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1120px) {
  .books-breadcrumb-row {
    padding-top: 10px;
  }

  .books-showcase-top {
    grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr);
    align-items: start;
  }

  .books-record-badge {
    grid-column: 1 / -1;
  }

  .books-record-badge-shell {
    max-width: 320px;
  }

  .books-hero-books,
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-certificates-grid,
  .books-reader-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid,
  .split-panel,
  .story-layout,
  .form-shell,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-layout,
  .featured-blog-grid,
  .blog-lanes {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .article-side-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid .footer-column:first-child {
    grid-column: 1 / -1;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .primary-nav,
  .header-actions .desktop-only,
  .route-strip.desktop-only {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .drawer {
    display: none;
    position: fixed;
    inset: 84px 24px auto 24px;
    z-index: 140;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(22, 35, 63, 0.1);
    border-radius: 28px;
    background: rgba(255, 251, 244, 0.98);
    box-shadow: var(--shadow);
  }

  .drawer.open {
    display: grid;
    gap: 18px;
  }

  .drawer-links,
  .drawer-routes {
    display: grid;
    gap: 10px;
  }

  .drawer-links a,
  .drawer-routes a {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(22, 35, 63, 0.08);
    background: rgba(255, 255, 255, 0.78);
    font-weight: 700;
  }

  .drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 780px) {
  .section {
    padding: 44px 0;
  }

  .books-breadcrumb-row {
    padding-top: 8px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .gallery-grid,
  .blog-layout,
  .featured-blog-grid,
  .blog-lanes,
  .shop-grid,
  .comparison,
  .list-columns,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero .page-hero-grid,
  .home-identity-grid,
  .article-hero .page-hero-grid,
  .post-nav {
    grid-template-columns: 1fr;
  }

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

  .book-showcase,
  .books-showcase,
  .waymaker-bridge,
  .blog-search-card {
    border-radius: 24px;
  }

  .blog-search-card {
    gap: 14px;
    padding: 16px;
  }

  .books-showcase {
    gap: 22px;
    padding: 24px 22px;
  }

  .books-showcase-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .books-author-copy {
    justify-items: center;
  }

  .books-showcase-copy {
    max-width: 100%;
  }

  .books-author-portrait-shell {
    width: min(200px, 58vw);
  }

  .books-record-badge-shell {
    max-width: 100%;
  }

  .books-author-credentials,
  .recognition-panel,
  .recognition-panel-compact {
    grid-template-columns: 1fr;
  }

  .books-author-credential {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px 0;
  }

  .books-author-credential:not(:first-child) {
    padding-left: 0;
    border-left: 0;
  }

  .books-hero-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-purpose-strip {
    padding: 20px 22px;
  }

  .books-collection-section {
    padding-top: 48px;
  }

  .books-carousel-shell {
    padding: 22px;
    border-radius: 24px;
  }

  .book-slides {
    min-height: 760px;
  }

  .book-slide {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 18px;
  }

  .book-slide-copy {
    order: 1;
  }

  .book-slide-cover {
    order: 2;
    min-height: 300px;
  }

  .book-slide-cover img {
    width: min(225px, 74vw);
    max-height: 310px;
  }

  .books-carousel-controls {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .book-selector-list {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-carousel-count {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
  }

  .books-grid,
  .related-books-grid,
  .book-detail-layout {
    grid-template-columns: 1fr;
  }

  .book-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-content-card,
  .book-content-card-wide {
    grid-column: auto;
  }

  .book-content-card-wide {
    grid-column: 1 / -1;
  }

  .book-support-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-detail-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .book-cover-wrap {
    min-height: 260px;
  }

  .floating-icon,
  .decor-ring.ring-c {
    display: none;
  }

  .page-hero-grid {
    padding: 26px;
  }

  .waymaker-logo-panel.is-inline img {
    max-width: clamp(180px, 24vw, 225px);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .blog-results-header {
    display: grid;
    align-items: start;
  }

  .story-quote {
    font-size: 1.12rem;
  }

  .footer-shell,
  .quote-panel,
  .story-card,
  .cta-band,
  .card,
  .feature-card,
  .program-card,
  .framework-card,
  .resource-card,
  .blog-card,
  .gallery-card,
  .timeline-card,
  .process-card,
  .path-card,
  .audience-card,
  .metric-card,
  .form-card,
  .contact-card {
    padding: 20px;
  }

  .waymaker-bridge .quote-panel > p,
  .waymaker-bridge .quote-panel .chips,
  .waymaker-bridge .quote-panel .button-row {
    margin-top: 22px;
  }

  .waymaker-logo-panel.is-inline {
    width: min(100%, 210px);
  }

  .waymaker-logo-panel.is-inline img {
    max-width: 210px;
  }

  .waymaker-founder-header {
    margin-top: 20px;
    gap: 10px;
  }

  .waymaker-bridge .quote-panel .button-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header .container,
  .footer .container {
    width: var(--site-content-width);
  }

  .header-inner {
    position: relative;
    min-height: 72px;
  }

  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-brand {
    flex-basis: auto;
    max-width: min(62vw, 220px);
    min-width: 0;
    padding-right: 0;
  }

  .site-brand__logo {
    height: clamp(26px, 7vw, 32px);
    max-width: 54px;
  }

  .site-brand__text {
    font-size: clamp(0.98rem, 4vw, 1.1rem);
  }

  .header-actions {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .menu-button {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    flex: 0 0 44px;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(20, 38, 67, 0.16);
    box-shadow: 0 10px 22px rgba(20, 38, 67, 0.08);
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: 1.48rem;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    min-width: 0;
  }

  .drawer {
    inset: 78px 16px auto 16px;
    max-height: calc(100vh - 96px);
  }

  .article-side-card {
    position: static;
  }

  .page-wami .wami-stars .wami-star:nth-child(n+7) {
    display: none;
  }

  .footer-cta-band {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .footer-cta-band .button-row {
    flex-wrap: wrap;
  }

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

  .footer-grid .footer-column:first-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .button-row,
  .hero-actions,
  .footer-note,
  .footer-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .site-brand {
    max-width: min(68vw, 210px);
  }

  .site-brand__logo {
    height: clamp(24px, 7vw, 30px);
    max-width: 50px;
  }

  .site-brand__text {
    font-size: clamp(0.94rem, 4.5vw, 1.04rem);
  }

  .page-hero::after {
    display: none;
  }

  .books-carousel-shell {
    padding: 18px;
  }

  .books-showcase {
    padding: 18px;
  }

  .books-showcase-title strong {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .books-author-credentials {
    border-bottom: 0;
  }

  .books-author-credential {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .books-certificates-grid {
    grid-template-columns: 1fr;
  }

  .recognition-preview-card,
  .books-certificate-action {
    width: 100%;
  }

  .books-hero-books {
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 74vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .books-hero-book {
    scroll-snap-align: start;
  }

  .books-hero-book-link {
    min-height: 100%;
  }

  .books-hero-book-media {
    min-height: 250px;
  }

  .books-purpose-strip {
    padding: 18px 18px 20px;
  }

  .books-collection-section {
    padding-top: 42px;
  }

  .book-slides {
    min-height: 830px;
  }

  .book-slide h3 {
    font-size: clamp(1.7rem, 10vw, 2.35rem);
  }

  .book-selector-list {
    grid-template-columns: 1fr;
  }

  .book-selector strong {
    white-space: normal;
  }

  .related-book {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .related-book img {
    width: 68px;
    max-height: 100px;
  }

  .book-editorial-grid,
  .book-support-column,
  .related-books-grid,
  .book-nav {
    grid-template-columns: 1fr;
  }

  .book-content-card,
  .book-content-card-wide {
    grid-column: 1 / -1;
  }

  .related-book {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 14px;
  }

  .related-book-cover {
    min-height: 142px;
  }

  .related-book-cover img {
    width: 78px;
    max-height: 124px;
  }

  .author-card-inner,
  .book-nav-card {
    grid-template-columns: 1fr;
  }

  .books-record-badge-shell {
    grid-template-columns: 1fr;
  }

  .books-record-laurel {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}
