/* ============================================
   Patrick D. Lynch, PhD — Website Styles
   Color Palette: Navy primary, Teal accent
   Typography: Inter (body), Playfair Display (headings)
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1B2A4A;
  --primary-light: #2C3E6B;
  --primary-dark: #111D35;
  --accent: #2A9D8F;
  --accent-light: #3DB8A9;
  --accent-dark: #228176;
  --text: #2D3748;
  --text-light: #718096;
  --text-lighter: #A0AEC0;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-warm: #FAFBFC;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 8px 30px rgba(27, 42, 74, 0.12);
  --shadow-xl: 0 20px 60px rgba(27, 42, 74, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

.text-light {
  color: var(--text-light);
}

.text-accent {
  color: var(--accent);
}

.text-white {
  color: #fff;
}

.text-center {
  text-align: center;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 680px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

section {
  padding: 5rem 0;
}

section.bg-alt {
  background: var(--bg-alt);
}

section.bg-dark {
  background: var(--primary);
  color: #fff;
}

section.bg-dark h2,
section.bg-dark h3,
section.bg-dark h4 {
  color: #fff;
}

section.bg-dark p {
  color: rgba(255, 255, 255, 0.85);
}

section.bg-dark .section-label {
  color: var(--accent-light);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav__brand:hover {
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: var(--accent);
  color: #fff !important;
  padding: 0.94rem 1.92rem !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.4;
}

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

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--bg-alt);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn--small {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero--home {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 50%, rgba(42, 157, 143, 0.03) 100%);
}

.hero--page {
  padding: 8rem 0 4rem;
  background: var(--bg-alt);
  text-align: center;
}

.hero--page h1 {
  margin-bottom: 1rem;
}

.hero--page .subtitle {
  margin: 0 auto;
}

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

.hero__content {
  max-width: 580px;
}

.hero__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.hero__credential-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--accent-dark);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__image {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

.hero__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.15;
  z-index: -1;
}

/* --- Credentials / Logo Bar --- */
.credentials-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.credentials-bar__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-lighter);
  margin-bottom: 1.75rem;
}

.credentials-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.credentials-bar__item {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.credentials-bar__item:hover {
  opacity: 1;
}

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

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

.card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(42, 157, 143, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__link:hover {
  gap: 0.65rem;
}

/* Photo card variant — image bleeds to top edge, content padded below */
.card--photo {
  padding: 0;
  overflow: hidden;
}

.card--photo .card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card--photo .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.card--photo:hover .card__image img {
  transform: scale(1.04);
}

.card--photo .card__body {
  padding: 2rem 2rem 1.75rem;
}

/* --- Book Teaser --- */
.book-teaser {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.book-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.book-cover img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.book-cover__placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.book-cover__placeholder h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.book-cover__placeholder p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.book-info h2 {
  margin-bottom: 0.5rem;
}

.book-info .book-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.book-info p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- Video Section --- */
.video-section {
  text-align: center;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
  background: var(--primary);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Click-to-load YouTube thumbnail */
.video-placeholder {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s;
  display: block;
}

.video-placeholder:hover img {
  opacity: 0.7;
}

.video-placeholder__play {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  transition: transform 0.2s;
}

.video-placeholder:hover .video-placeholder__play {
  transform: scale(1.12);
}

/* Hero text link below CTAs */
.hero__video-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.hero__video-link:hover {
  color: var(--accent);
}

/* --- Newsletter Signup --- */
.newsletter {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  margin-bottom: 0.75rem;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-light);
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial__text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Speaking Topics --- */
.topic {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
}

.topic:last-child {
  border-bottom: none;
}

.topic__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.topic__audience {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.topic__description {
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Forms --- */
.form {
  max-width: 700px;
  margin: 0 auto;
}

.form--full {
  max-width: 100%;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form__label span {
  color: var(--accent);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card__image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  overflow: hidden;
  position: relative;
}

.blog-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card__byline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-lighter);
  margin-bottom: 0.75rem;
}

.blog-card__share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.blog-card__share-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-lighter);
}

.blog-card__share a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition);
}

.blog-card__share a:hover {
  background: var(--accent);
  color: #fff;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.footer__description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.65rem;
  transition: color var(--transition);
}

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

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Frameworks Preview --- */
.framework-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.framework-card {
  background: rgba(42, 157, 143, 0.05);
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.framework-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.framework-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Resources Grid --- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.resource-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.resource-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.resource-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.resource-card__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --- About Page --- */
.about-narrative.reveal {
  /* Section wrapper - no grid here */
}

.container > .about-narrative {
  /* Grid layout only on the inner div */
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-narrative__content {
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-narrative__content p {
  margin-bottom: 1.5rem;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 120px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo__placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 2rem;
}

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

.credential-item {
  display: flex;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.credential-item__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.credential-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.credential-item__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Page spacer for fixed nav --- */
.page-spacer {
  height: var(--nav-height);
}

/* --- Utility --- */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__credentials {
    justify-content: center;
  }

  .hero__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .btn-group {
    justify-content: center;
  }

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

  .book-teaser {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }

  .container > .about-narrative {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    max-width: 350px;
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .framework-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Increase spacing between icon and title in cards on mobile */
  .card .icon-professional,
  .card__icon {
    margin-bottom: 2rem;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links a {
    padding: 0.85rem 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .hero--home {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .hero--page {
    padding: 7rem 0 3rem;
  }

  .hero__grid {
    gap: 2rem;
  }

  .hero__image-wrapper {
    aspect-ratio: 1;
    max-width: 300px;
    margin: 0 auto;
  }

  .book-teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-cover {
    max-width: 220px;
    margin: 0 auto;
  }

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

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

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

  .newsletter-form {
    flex-direction: column;
  }

  .credentials-bar__logos {
    gap: 1.5rem;
  }

  .credentials-bar__item {
    font-size: 0.75rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero--home {
    padding: 6rem 0 2.5rem;
  }
}
