@view-transition {
  navigation: auto;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
}

::view-transition-old(page-content) {
  animation: page-content-out 180ms ease both;
}

::view-transition-new(page-content) {
  animation: page-content-in 280ms cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes page-content-out {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes page-content-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   HEAL THE WORKPLACE — Design system
  One colour family (deep teal / sage / paper), two typefaces:
  Source Serif 4 (serif) + Source Sans 3 (body / UI).
   ========================================================= */

:root {
  /* ---- Colour family: paper neutrals + a single teal hue at five depths ---- */
  --paper: #F8F9FA;
  /* base background */
  --paper-deep: #F0F4F8;
  /* alternating section background */
  --ink: #1E293B;
  /* near-black, teal-charcoal — headings / body */
  --ink-soft: #475569;
  /* secondary text */
  --ink-faint: #94A3B8;
  /* tertiary text, placeholders */
  --teal-900: #1E3A8A;
  /* deepest — text-on-light accents, icon strokes */
  --teal-700: #2563EB;
  /* primary accent — buttons, links, active states */
  --teal-600: #1D4ED8;
  /* hover state for primary */
  --teal-500: #3B82F6;
  /* mid accent */
  --teal-300: #93C5FD;
  /* light accent — borders, dividers */
  --teal-150: #DBEAFE;
  /* pale tint — card fills */
  --teal-100: #EFF6FF;
  /* palest tint — section washes */

  --line: rgba(30, 58, 138, 0.14);
  --line-soft: rgba(30, 58, 138, 0.08);
  --shadow-soft: 0 20px 60px -30px rgba(30, 58, 138, 0.35);
  --shadow-tight: 0 8px 24px -14px rgba(30, 58, 138, 0.30);

  --serif: 'Montserrat', sans-serif;
  --sans: 'Montserrat', sans-serif;

  --container: 1400px;
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --renew-diagram-size: 560px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: clip;
}

html {
  scroll-padding-top: 80px;
}


body {
  margin: 0;
  padding-top: 80px; /* Offset for fixed header */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  view-transition-name: none;
  opacity: 1;
  transition: opacity .28s var(--ease);
}

body.page-ready {
  opacity: 0;
}

body.page-leaving {
  opacity: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

::selection {
  background: var(--teal-300);
  color: var(--teal-900);
}

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}



/* =========================================================
   TOOLS LAYOUT / SIDEBARS
   ========================================================= */
.assessment-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.tools-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  background: transparent;
  padding: 18px 12px;
}

.tools-nav .nav-brand {
  font-weight: 700;
  /* margin-bottom: 12px; */
  color: var(--ink);
}

.nav-list {
  display: block;
}

.nav-link {
  position: relative;
  display: block;
  color: var(--ink-soft);
  padding: 8px 6px 8px 18px;
  text-decoration: none;
  transition: color .15s var(--ease), transform .2s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-sub {
  padding-left: 8px;
}

.nav-sub .nav-link {
  padding-left: 24px;
  font-size: 0.95rem;
}

.nav-link.active {
  color: var(--teal-700);
  font-weight: 600;
}

.nav-link.active::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.05em;
  border-radius: 999px;
  background: var(--teal-700);
}

.tools-content {
  min-width: 0;
}



.assessment-panel .assess-card {
  scroll-margin-top: 160px;
}



/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

h1,
.h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2,
.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h3,
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
  color: var(--ink);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.body-copy {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 62ch;
}

.body-copy+.body-copy {
  margin-top: 1.1em;
}

.section-head {
  /* max-width: 640px; */
  margin-bottom: 48px;
}

.section-head .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 16px;
}

/* ---------- Layout rhythm ---------- */
section {
  padding: 75px 0;
}

section.tight {
  height: auto;
}

/* .wash{ background: var(--paper-deep); } */
.wash-tint {
  background: var(--teal-100);
}


hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal-700);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--teal-500);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  
}

.btn-secondary:hover {
  background: var(--teal-100);
  color: var(--teal-500);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--teal-700);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease), color .2s var(--ease);
}

.link-arrow:hover {
  border-color: currentColor;
  gap: 12px;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--paper);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
  view-transition-name: site-header;
}

main {
  view-transition-name: page-content;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wordmark em {
  font-style: italic;
  color: var(--teal-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}

.nav-dropdown-toggle:hover {
  color: var(--ink);
}

.nav-dropdown-toggle::after {
  content: '↓';
  font-size: 0.78em;
  line-height: 1;
  /* transform: translateY(-1px); */
  transition: transform .2s var(--ease), color .2s var(--ease);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 120;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.nav-dropdown:hover,
.nav-dropdown:focus-within {
  z-index: 121;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.nav-dropdown-menu a:hover {
  background: var(--teal-100);
  color: var(--ink);
}

.nav-links>a:not(.btn),
.nav-dropdown-toggle {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}

.nav-links>a:not(.btn):hover,
.nav-dropdown-toggle:hover {
  color: var(--ink);
}

.nav-links>a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--teal-700);
  transition: right .25s var(--ease);
}

.nav-links>a:not(.btn):hover::after {
  right: 0;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* .nav-dropdown-toggle::before{
  content: '▾';
  font-size: 0.7em;
  line-height: 1;
  transform: translateY(-1px);
} */

.nav-cta {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 21px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}



/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 30px 32px;
  overflow: visible;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-copy h1 {
  margin-bottom: 10px;
}

.hero-copy .lede {
  margin-bottom: 26px;
}

.hero-copy .body-copy {
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-byline {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.hero-byline .rule-dot {
  width: 30px;
  height: 1px;
  background: var(--line);
}

/* Book cover 3D viewer & mockup */
.book-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  overflow: visible;
}

.book-3d-wrap {
  position: relative;
  width: min(440px, 94vw);
  height: 580px;
  max-height: 82vh;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  overflow: visible;
  z-index: 1;
}

#book-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
  overflow: visible;
}

#book-3d-canvas:active {
  cursor: grabbing;
}

.book-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.book-fallback.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.book-fallback img {
  width: min(320px, 76vw);
  aspect-ratio: 5 / 7.4;
  border-radius: 3px 10px 10px 3px;
  box-shadow: var(--shadow-soft), inset -6px 0 14px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}

.book-shadow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(290px, 72vw);
  height: 34px;
  background: radial-gradient(closest-side, rgba(20, 43, 35, 0.32), transparent 75%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}



/* =========================================================
   ABOUT THE BOOK
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 72px;
}

.about-grid .body-copy {
  max-width: none;
}

.questions-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.questions-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.45;
}

.questions-list .qn {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--teal-700);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 990px) {
  .questions-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .questions-list {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   PRAISE
   ========================================================= */
.praise-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  margin-bottom: 48px;
}

.praise-section-head h2 {
  margin-bottom: 0;
}

.praise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.praise-card {
  background: var(--paper);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.praise-photo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.praise-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--teal-150);
}

.praise-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.praise-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.praise-attrib {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.praise-attrib strong {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
}

.praise-attrib span {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.4;
}



.stories-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  justify-self: center;
  text-align: center;
}

.stories-head h2 {
  max-width: 620px;

}

.logo-marquee {
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 2px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 120s;
}

.track-left {
  animation-name: marquee-left;
}

.track-right {
  animation-name: marquee-right;
  animation-duration: 130s;
}

.mobile-track-3 {
  display: none;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.logo-cell {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 220px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-deep);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  text-align: center;
  margin-right: 14px;
}

.logo-cell img {
  max-width: 100%;
  /* max-height: 58px; */
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity .25s var(--ease), filter .25s var(--ease), transform .25s var(--ease);
}

.logo-cell:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.03);
}



/* =========================================================
   AUTHOR
   ========================================================= */
.author-grid {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 68px;
  align-items: center;
}

.author-photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--teal-150);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-links {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  flex-wrap: wrap;
}



/* =========================================================
   PODCAST
   ========================================================= */
.podcast-panel {
  background: var(--teal-900);
  border-radius: var(--radius-l);
  padding: 64px;
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 56px;
  align-items: center;
  color: var(--paper);
}

.podcast-art {
  background: var(--paper);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.podcast-art img {
  border-radius: var(--radius-m);
  transition: 0.3s all ease;
}

.podcast-art img:hover {
  transform: scale(1.02);
}


.podcast-panel .eyebrow {
  color: var(--teal-300);
}

.podcast-panel h2 {
  color: var(--paper);
  margin-bottom: 18px;
}

.podcast-panel .body-copy {
  color: rgba(250, 247, 240, 0.78);
  margin-bottom: 30px;
}

.podcast-panel .btn-primary {
  background: var(--paper);
  color: var(--teal-900);
}

.podcast-panel .btn-primary:hover {
  background: var(--teal-300);
}



/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.contact-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-detail {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-detail span {
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 90px;
  flex-shrink: 0;
}

.contact-detail a {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}

.contact-detail a:hover {
  color: var(--teal-700);
}



/* =========================================================
   SHARE
   ========================================================= */
.share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.copy-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.copy-link-btn:hover {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

.copy-link-btn svg {
  width: 15px;
  height: 15px;
}

.copy-link-btn[data-copied="true"] .copy-label::after {
  content: 'Copied';
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--teal-900);
  color: rgba(250, 247, 240, 0.7);
  padding: 64px 0 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  /* padding-bottom: 44px; */
  /* border-bottom: 1px solid rgba(250,247,240,0.14); */
}

.footer-word {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--paper);
}

.footer-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color .2s var(--ease);
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.5);
}

/* =========================================================
   TOOLS PAGE — intro
   ========================================================= */
.tools-hero {
  padding: 68px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tools-hero .eyebrow {
  margin-bottom: 20px;
}

.tools-hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  margin: 40px auto;
  text-align: center;
}

.tools-hero .body-copy {
  font-size: 1.08rem;
}

.tool-btn {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 32px;
}

/* ---------- RENEW diagram ---------- */
.renew-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.renew-intro .body-copy {
  margin-bottom: 28px;
}

.renew-legend {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.renew-legend button {
  all: unset;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: padding .2s var(--ease);
}

.renew-legend button .rl-letter {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-500);
  width: 22px;
  flex-shrink: 0;
}

.renew-legend button .rl-label {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}

.renew-legend button.is-active .rl-label,
.renew-legend button:hover .rl-label {
  color: var(--ink);
}

.renew-legend button.is-active .rl-letter {
  color: var(--teal-900);
}

.renew-diagram {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, var(--renew-diagram-size));
  margin: 0 auto;
}

.renew-diagram svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.renew-node {
  cursor: pointer;
}

.renew-node circle.node-bg {
  transition: fill .3s var(--ease);
}

.renew-node text {
  font-family: var(--sans);
  font-weight: 600;
  pointer-events: none;
}

.renew-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  pointer-events: none;
}

.renew-center .rc-detail {
  margin-top: 0;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 22ch;
  line-height: 1.2;
}



/* =========================================================
   ASSESSMENT CARDS
   ========================================================= */
.assess-group+.assess-group {
  margin-top: 28px;
}

.assess-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .25s var(--ease);
}

.assess-card[open] {
  border-color: var(--teal-300);
}

.assess-card+.assess-card {
  margin-top: 16px;
}

.assess-summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.assess-summary::-webkit-details-marker {
  display: none;
}

.assess-summary-left .assess-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 8px;
  display: block;
}

.assess-summary-left h3 {
  margin-bottom: 6px;
}

.assess-summary-left p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

.assess-toggle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.assess-toggle svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
}

.assess-card[open] .assess-toggle {
  transform: rotate(45deg);
  background: var(--teal-700);
  border-color: var(--teal-700);
}

.assess-card[open] .assess-toggle svg {
  stroke: var(--paper);
}

.assess-body {
  padding: 0 32px 40px;
  border-top: 1px solid var(--line-soft);
}

.assess-scale-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 26px 0 8px;
}

.assess-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.assess-row-text .dim {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 6px;
}

.assess-row-text .stmt {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.4;
}

.scale {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.scale input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.scale label {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
}

.scale input:checked+label {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--paper);
}

.scale input:focus-visible+label {
  outline: 2px solid var(--teal-600);
  outline-offset: 2px;
}

.scale label:hover {
  border-color: var(--teal-500);
}



.assess-footer {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.assess-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.assess-score .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
}

.assess-score .of {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.assess-reset {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
}

.assess-reset:hover {
  color: var(--teal-700);
}

.assess-result {
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: var(--radius-s);
  background: var(--teal-100);
  border-left: 3px solid var(--teal-700);
  display: none;
}

.assess-result.is-visible {
  display: block;
}

.assess-result .rlabel {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.assess-result .rtext {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.assess-progress {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* =========================================================
   SKETCHNOTES
   ========================================================= */
.sketch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sketch-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #fff;
}

.sketch-frame img {
  width: 100%;
}

.sketch-cap {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}



/* misc */
.center-cta {
  text-align: center;
  margin-top: 56px;
}

/* =========================================================
   GROUPED MEDIA QUERIES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 640px) {
.container {
    padding: 0 22px;
  }

  .author-links {
    display: flex;
    flex-direction: column;
  }
.assess-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .scale label {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  /* Merged from 880px */
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    height: calc(100vh - 78px);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 28px;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
    padding-bottom: 0;
  }

  .nav-dropdown-toggle {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }

  .nav-dropdown-toggle::before {
    display: none;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 6px;
    background: transparent;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .nav-dropdown-menu a {
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.96rem;
    white-space: normal;
  }

  .nav-dropdown-menu a:last-child {
    border-bottom: 0;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-links>a:not(.btn),
  .nav-dropdown-toggle {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 18px;
  }

  .nav-toggle {
    display: flex;
  }

.assessment-layout {
    grid-template-columns: 1fr;
  }

  .tools-nav {
    position: sticky;
    top: 80px;
    align-self: start;
    height: fit-content;
    z-index: 25;
    padding: 10px 0 12px;
    background: var(--paper);
    backdrop-filter: blur(8px);
  }

  .nav-sub {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  .tools-nav .nav-brand {
    margin-bottom: 8px;
    text-align: center;
  }

  .nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-sub {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding-left: 0;
  }

  .nav-link {
    flex: 0 0 auto;
    padding: 10px 2px 12px;
    white-space: nowrap;
    transform: translateY(0);
  }

  .nav-sub .nav-link {
    padding-left: 2px;
  }

  .nav-link::before {
    display: none;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--teal-700);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s var(--ease);
  }

  .nav-link.active::after {
    transform: scaleX(1);
  }
  .assessment-panel .assess-card {
    scroll-margin-top: 210px;
  }
  .hero {
    padding: 20px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .book-stage {
    order: -1;
    min-height: 380px;
  }

  .book-3d-wrap {
    width: min(300px, 86vw);
    height: 410px;
    max-height: 55vh;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .author-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .author-photo {
    max-width: 320px;
  }
  .podcast-panel {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    text-align: left;
  }

  .podcast-art {
    max-width: 220px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-photo {
    order: -1;
    max-width: 320px;
    aspect-ratio: 1;
  }
  .renew-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  :root {
    --renew-diagram-size: 420px;
  }
  .podcast-panel{
    display: flex;
    flex-direction: column;

  }
}

@media (max-width: 768px) {
section {
    padding: 76px 0;
  }

  section.tight {
    padding: 60px 0;
  }
.praise-grid {
    grid-template-columns: 1fr;
  }
.logo-track {
    animation-duration: 150s;
  }

  .mobile-track-3 {
    display: flex;
  }

  .logo-cell {
    width: 150px;
    min-height: 92px;
    padding: 12px 16px;
    margin-right: 12px;
  }
.sketch-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .tool-btn {
  flex-direction: column;
}
}



.praisediv{
  padding: 50px 0;
}
/* =========================================================
   AUTHOR SOCIAL LINKS
   ========================================================= */
.author-social-wrapper {
  position: relative;
}

/* Mobile defaults (icons visible, bigger text/icons) */
.author-social-link {
  font-size: 1.1rem;
  gap: 12px !important;
}

.author-social-icon {
  display: block;
}

.author-social-svg {
  width: 24px;
  height: 24px;
}

.author-social-img {
  width: 22px;
  height: auto;
  border-radius: 2px;
}

.author-book-hover-preview {
  display: none;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .author-social-link {
    font-size: 0.96rem; /* Restore default link-arrow size */
    gap: 8px !important;
  }
  
  .author-social-icon {
    /* Kept visible on desktop per user request */
    display: block; 
  }
  
  /* Hover preview for the book on desktop */
  .author-book-hover-preview {
    display: block;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 200px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    padding-bottom: 12px; /* Bridge the gap so hover doesn't break */
  }

  .author-book-hover-preview img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 4px;
  }

  .author-social-wrapper:hover .author-book-hover-preview,
  .author-book-hover-preview:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* Center alignment for mobile grids */
@media (max-width: 900px) {
  .hero-copy,
  .about-grid,
  .author-grid,
  .podcast-panel,
  .contact-grid,
  .renew-intro,
  .praise-card {
    text-align: center;
  }

  .about-grid ul {
    text-align: left;
    display: inline-block;
  }

  .hero-actions,
  .author-links,
  .contact-detail {
    justify-content: center;
  }

  .section-head {
    text-align: center;
  }

  .author-photo, .contact-photo {
    margin: 0 auto;
    max-width: 320px;
  }
}

section h2{
  justify-self: center;
  text-align: center;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s var(--ease);
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: var(--teal-600);
}

.form-input::placeholder {
  color: var(--ink-faint);
}

/* Contact form – thank-you confirmation card */
.contact-thankyou {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 36px;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, #f0fdf8 0%, #e6f7f4 100%);
  border: 1px solid #b2e8da;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.contact-thankyou.visible {
  opacity: 1;
  transform: translateY(0);
}

.thankyou-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-600, #2da58e);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-thankyou h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.contact-thankyou p {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-mid, #4a5568);
  margin: 0;
  line-height: 1.6;
}