:root {
  --bg: #f6fbf9;
  --surface: #ffffff;
  --surface-strong: #eef7f4;
  --ink: #17211f;
  --muted: #66736f;
  --line: rgba(27, 58, 51, 0.14);
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --mint: #cfeee5;
  --gold: #b98b48;
  --gold-soft: #f5e8d2;
  --graphite: #1f2a2a;
  --shadow: 0 24px 70px rgba(17, 44, 38, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

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

button {
  border: 0;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 54px);
  color: #ffffff;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 16px 50px rgba(20, 50, 45, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(15, 118, 110, 0.25);
  background: var(--surface-strong);
  color: var(--teal-dark);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
  white-space: nowrap;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.74rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.93rem;
  font-weight: 700;
  opacity: 0.86;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: var(--surface-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 44px) 0 86px;
  isolation: isolate;
  color: #ffffff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: #16302f;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 68% 50%;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 28, 26, 0.95) 0%, rgba(8, 43, 40, 0.82) 33%, rgba(9, 48, 47, 0.3) 64%, rgba(7, 35, 33, 0.38) 100%),
    linear-gradient(180deg, rgba(4, 18, 16, 0.28), rgba(4, 18, 16, 0.5));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 180px;
  content: "";
  background: linear-gradient(180deg, rgba(246, 251, 249, 0), var(--bg));
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 104px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--teal);
}

.eyebrow svg,
.section-kicker svg {
  width: 16px;
  height: 16px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.45rem, 5.6vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 19px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

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

.button-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.36);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.metrics-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 18px;
  background: transparent;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1140px;
}

.hero-facts span {
  min-height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  box-shadow: 0 18px 44px rgba(17, 44, 38, 0.13);
  backdrop-filter: blur(16px);
}

.hero-facts strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.two-column,
.doctor-layout,
.books-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.doctor-panel h2,
.contact-copy h2 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.doctor-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid,
.portfolio-grid,
.book-cards {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.portfolio-card,
.book-card,
.doctor-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.feature-card,
.portfolio-card {
  min-height: 214px;
  padding: 24px;
}

.feature-card svg,
.portfolio-card > svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.feature-card h3,
.portfolio-card h3,
.audience-item h3,
.book-card h3 {
  margin: 16px 0 8px;
  color: var(--graphite);
  font-size: 1.12rem;
  line-height: 1.22;
}

.feature-card p,
.portfolio-card p,
.audience-item p,
.book-card p {
  margin: 0;
  color: var(--muted);
}

.audience-section {
  background: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-item {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--teal-dark);
  font-weight: 900;
}

.doctor-section {
  background: linear-gradient(180deg, var(--bg), #ffffff);
}

.doctor-panel {
  padding: clamp(28px, 4vw, 42px);
}

.doctor-photo {
  width: 118px;
  height: 118px;
  padding: 5px;
  border-radius: 50%;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  border: 4px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
}

.credentials {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.credentials span,
.contact-methods a,
.contact-methods span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--graphite);
  font-weight: 700;
}

.credentials svg,
.contact-methods svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--teal);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-row a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  background: var(--surface);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  background: var(--teal);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

.social-row svg {
  width: 20px;
  height: 20px;
}

.social-section {
  background: #ffffff;
}

.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

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

.social-card {
  display: grid;
  min-height: 146px;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, var(--surface-strong));
  box-shadow: 0 16px 44px rgba(17, 44, 38, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 20px 54px rgba(17, 44, 38, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.social-card svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.social-card span {
  color: var(--graphite);
  font-size: 1.1rem;
  font-weight: 900;
}

.social-card small {
  color: var(--muted);
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 11px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--teal), var(--gold));
}

.timeline-item {
  position: relative;
  padding-left: 44px;
}

.timeline-item::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 24px;
  height: 24px;
  border: 5px solid var(--bg);
  border-radius: 50%;
  content: "";
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.2);
}

.timeline-item span {
  display: inline-flex;
  border-radius: 999px;
  margin-bottom: 8px;
  padding: 5px 11px;
  background: var(--gold-soft);
  color: #6d4e21;
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.portfolio-section {
  background: var(--graphite);
  color: #ffffff;
}

.portfolio-section .section-heading h2,
.portfolio-section .section-heading p {
  color: #ffffff;
}

.portfolio-section .section-heading p {
  opacity: 0.76;
}

.portfolio-section .section-kicker {
  color: var(--mint);
}

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

.portfolio-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.portfolio-card h3,
.portfolio-card p {
  color: #ffffff;
}

.portfolio-card p {
  opacity: 0.72;
}

.portfolio-card > svg {
  color: var(--mint);
}

.books-section {
  background: #ffffff;
}

.books-layout {
  align-items: start;
}

.book-cards {
  gap: 18px;
}

.book-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 24px;
}

.book-cover-thumb {
  width: 92px;
  height: 138px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(17, 44, 38, 0.16);
}

.book-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 900;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--teal-dark);
  outline: none;
}

.books-main-cta {
  margin-top: 18px;
}

.books-hero {
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 68px) 0 76px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 31, 30, 0.96), rgba(11, 79, 74, 0.74)),
    url("../hero-biomolecular-1600.webp") center right / cover no-repeat;
}

.books-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.books-hero-copy h1 {
  max-width: 780px;
}

.books-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.author-showcase {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.author-showcase img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
}

.author-showcase div {
  padding-top: 18px;
}

.author-showcase span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-showcase strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.author-showcase p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.book-library-section {
  background: linear-gradient(180deg, #ffffff, var(--bg));
}

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

.book-stats-section {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

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

.book-stat {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(17, 44, 38, 0.12);
}

.book-stat strong,
.book-stat span {
  display: block;
}

.book-stat strong {
  color: var(--teal-dark);
  font-size: 1.25rem;
  line-height: 1.2;
}

.book-stat span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.library-book {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(17, 44, 38, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.library-book::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(15, 118, 110, 0.06) 35%, transparent 68%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 220ms ease, transform 420ms ease;
}

.library-book:hover,
.library-book:focus-within {
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 24px 58px rgba(17, 44, 38, 0.16);
  transform: translateY(-3px);
}

.library-book:hover::before,
.library-book:focus-within::before {
  opacity: 1;
  transform: translateX(0);
}

.library-book img {
  width: 132px;
  height: 198px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(17, 44, 38, 0.18);
  transform: perspective(900px) rotateY(-5deg);
  transition: transform 220ms ease;
}

.library-book:hover img,
.library-book:focus-within img {
  transform: perspective(900px) rotateY(0deg) translateY(-2px);
}

.library-book-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.library-book h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 1.24rem;
  line-height: 1.22;
}

.library-book p {
  margin: 0;
  color: var(--muted);
}

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

.book-facts div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #fbfefd;
}

.book-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-facts dd {
  margin: 2px 0 0;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 900;
}

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

.book-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface-strong);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.library-book .button {
  width: fit-content;
  margin-top: 4px;
}

.contact-section {
  background: linear-gradient(135deg, #eff9f6 0%, #ffffff 58%, #f8f0e3 100%);
}

.contact-layout {
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.contact-methods a {
  transition: color 180ms ease;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  color: var(--teal);
  outline: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 42, 42, 0.18);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 42px 0;
  background: #101817;
  color: #ffffff;
}

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

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

.copyright {
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 1020px) {
  .two-column,
  .doctor-layout,
  .books-layout,
  .contact-layout,
  .social-layout,
  .books-hero-layout {
    grid-template-columns: 1fr;
  }

  .audience-list,
  .portfolio-grid,
  .book-library,
  .book-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-showcase {
    max-width: 420px;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    padding: 0 16px;
  }

  .brand strong {
    max-width: 180px;
    white-space: normal;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    border-radius: var(--radius);
    padding: 13px 14px;
  }

  .hero {
    min-height: 78svh;
    padding-top: calc(var(--header-height) + 70px);
  }

  .hero-content {
    width: min(100% - 28px, 760px);
    margin: 0 auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 28, 26, 0.94) 0%, rgba(6, 28, 26, 0.77) 52%, rgba(7, 36, 34, 0.92) 100%),
      linear-gradient(90deg, rgba(6, 28, 26, 0.82), rgba(6, 28, 26, 0.42));
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics-strip {
    margin-top: -28px;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .audience-list,
  .portfolio-grid,
  .social-cards,
  .book-library,
  .book-stats {
    grid-template-columns: 1fr;
  }

  .book-stats-section {
    margin-top: -26px;
  }

  .feature-card,
  .portfolio-card,
  .audience-item {
    min-height: auto;
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .book-cover-thumb {
    width: 112px;
    height: 168px;
  }

  .books-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 78px);
    background:
      linear-gradient(180deg, rgba(7, 31, 30, 0.96), rgba(11, 79, 74, 0.84)),
      url("../hero-biomolecular-960.webp") center / cover no-repeat;
  }

  .author-showcase {
    max-width: none;
  }

  .library-book {
    grid-template-columns: 104px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .library-book img {
    width: 104px;
    height: 156px;
  }

  .library-book .button {
    width: 100%;
  }

  .book-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero-lead,
  .section-copy p,
  .section-heading p,
  .doctor-panel p,
  .contact-copy p {
    font-size: 0.98rem;
  }

  .section {
    padding: 62px 0;
  }

  .library-book {
    grid-template-columns: 1fr;
  }

  .library-book img {
    width: 128px;
    height: 192px;
  }
}

