/*
Theme Name: Sethi Brand Theme
Theme URI: https://sethideclercq.com/
Author: Sethi De Clercq
Author URI: https://sethideclercq.com/
Description: Clean, editorial, minimal custom 5-page theme for Sethi De Clercq—Primary Education Leader, EdTech Specialist, Author, and Software Developer.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sethi-brand-theme
Tags: clean, minimalist, editorial, education, portfolio, blog, responsive
*/

/* -------------------------------------------------------------------------
   1. Design System & CSS Custom Properties
   ------------------------------------------------------------------------- */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  /* Canvas & Warm Surfaces matching design mockup */
  --canvas-bg: #FAF8F5;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.07);
  --card-border-subtle: rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  
  /* Accent Colors */
  --accent-amber: #E5A824;
  --accent-amber-hover: #D49618;
  --accent-amber-light: #FEF3C7;
  --accent-yellow-bg: #FED766;
  
  /* Layout Sizing */
  --container-max: 1080px;
  --radius-card: 12px;
  --radius-sm: 8px;
  --radius-btn: 6px;
  
  /* Subtle Elevation */
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* -------------------------------------------------------------------------
   2. Reset & Baseline
   ------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0;
}

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

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

/* -------------------------------------------------------------------------
   3. Theme Container
   ------------------------------------------------------------------------- */
.theme-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-main-page {
  padding-top: 32px;
  padding-bottom: 72px;
}

/* -------------------------------------------------------------------------
   4. Header & Navigation (Matches Mockup)
   ------------------------------------------------------------------------- */
.site-header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border-subtle);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Wordmark */
.brand-signature {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-signature-text {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.brand-accent-dash {
  width: 28px;
  height: 3px;
  background-color: var(--accent-amber);
  margin-top: 4px;
  border-radius: 2px;
}

/* Desktop Navigation */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link-item {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  position: relative;
  text-decoration: none;
}

.nav-link-item:hover {
  color: var(--text-primary);
}

.nav-link-item.is-active {
  color: var(--text-primary);
  font-weight: 700;
}

.nav-accent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  display: inline-block;
  margin-left: 4px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  padding: 8px 12px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mobile-menu-btn:hover {
  background: var(--card-bg);
  border-color: var(--accent-amber);
}

.mobile-nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 8px 0;
  border-top: 1px solid var(--card-border);
  margin-top: 12px;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
}

.mobile-nav-link.is-active {
  color: var(--text-primary);
  font-weight: 800;
  background: rgba(229, 168, 36, 0.1);
}

.dark .mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dark .mobile-nav-link.is-active {
  background: rgba(229, 168, 36, 0.18);
  color: #F8FAFC;
}

/* -------------------------------------------------------------------------
   5. Reusable Buttons & Micro-Elements
   ------------------------------------------------------------------------- */
.btn-amber {
  background-color: var(--accent-amber);
  color: #111827;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
}

.btn-amber:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 0.9375rem;
  transition: transform 0.15s ease;
}

.btn-amber:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-text-link:hover {
  color: var(--accent-amber-hover);
}

.btn-text-link:hover .btn-arrow {
  transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   6. PAGE 1: HOME LAYOUT
   ------------------------------------------------------------------------- */

/* Hero Section */
.home-hero-section {
  padding: 36px 0 44px 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 48px;
}

.home-hero-dash {
  display: block;
  width: 44px;
  height: 4px;
  background-color: var(--accent-amber);
  margin-bottom: 22px;
  border-radius: 2px;
}

.home-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.875rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.home-hero-subhead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 440px;
  margin: 0 0 28px 0;
}

/* Portrait with Amber Accent Bar */
.home-hero-portrait-wrap {
  display: flex;
  justify-content: flex-end;
}

.home-portrait-container {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.home-hero-portrait-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.home-portrait-accent-bar {
  position: absolute;
  top: 18px;
  right: -14px;
  width: 24px;
  height: 140px;
  background-color: var(--accent-amber);
  border-radius: 4px;
  z-index: 1;
}

/* Four Main Area Cards Grid */
.home-pillars-section {
  margin-bottom: 48px;
}

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

.home-pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.home-pillar-icon-wrap {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.home-pillar-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.home-pillar-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.home-pillar-arrow {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: transform 0.15s ease;
}

.home-pillar-card:hover .home-pillar-arrow {
  transform: translateX(4px);
}

/* FEATURED Section */
.home-featured-section {
  padding-top: 12px;
}

.section-label-header {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Featured Carousel Header & Controls */
.featured-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.featured-header-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.featured-page-indicator {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--canvas-bg);
  border: 1px solid var(--card-border);
  padding: 3px 10px;
  border-radius: 9999px;
  line-height: 1;
}

.featured-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-tiny-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.featured-tiny-btn:hover:not(:disabled) {
  background: var(--canvas-bg);
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  transform: translateY(-1px);
}

.featured-tiny-btn:active:not(:disabled) {
  transform: translateY(0);
}

.featured-tiny-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.featured-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 14px 2px;
  margin: -4px -2px 0 -2px;
}

.featured-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.featured-carousel-track {
  display: flex;
  gap: 18px;
  width: 100%;
}

.featured-carousel-track .home-featured-card {
  flex: 0 0 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
  scroll-snap-align: start;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .featured-carousel-track .home-featured-card {
    flex: 0 0 calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 600px) {
  .featured-carousel-track .home-featured-card {
    flex: 0 0 85%;
    max-width: 85%;
  }
}

.featured-card-kicker-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-amber);
  margin-bottom: 4px;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-featured-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.featured-card-visual {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-amber-bg {
  background-color: #FED766;
}

.visual-dark-bg {
  background-color: #18181B;
}

.visual-video-thumb,
.visual-article-thumb {
  background-color: #E5E7EB;
}

.featured-card-graphic {
  max-height: 120px;
  object-fit: contain;
}

.graphic-cover-fit {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

/* Mic Glow Graphic */
.featured-card-mic-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mic-icon-circle {
  color: #FFFFFF;
}

.glow-arc {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #F59E0B;
  opacity: 0.85;
}

.glow-arc-left {
  clip-path: polygon(0 20%, 35% 20%, 35% 80%, 0 80%);
  left: -12px;
}

.glow-arc-right {
  clip-path: polygon(65% 20%, 100% 20%, 100% 80%, 65% 80%);
  right: -12px;
}

.featured-video-play-tag {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-article-read-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(17, 24, 39, 0.85);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.featured-card-info {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.featured-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.featured-card-link-arrow {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: transform 0.15s ease;
}

.home-featured-card:hover .featured-card-link-arrow {
  transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   7. PAGE 2: APPS & PROJECTS
   ------------------------------------------------------------------------- */
.editorial-page-header {
  margin-bottom: 32px;
}

.editorial-page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.editorial-page-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 580px;
}

/* =========================================================================
   APPS & PROJECTS: SINDRE SORHUS CLEAN STYLE
   Horizontal cards, crisp squircle icons, 2 max 3 line desc, platform badges
   ========================================================================= */
.apps-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.app-clean-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-clean-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(229, 168, 36, 0.4);
}

.app-clean-icon-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background-color: #f1f5f9;
}

.app-clean-icon {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  transition: transform 0.18s ease;
}

.app-clean-card:hover .app-clean-icon {
  transform: scale(1.05);
}

.app-clean-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-clean-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.app-clean-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.app-clean-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.48;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-clean-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.app-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.app-tag-platform {
  background: rgba(229, 168, 36, 0.1);
  color: #B45309;
}

.app-tag-podcast {
  background: rgba(99, 102, 241, 0.1);
  color: #4F46E5;
}

.app-tag-ios {
  background: rgba(14, 165, 233, 0.1);
  color: #0284C7;
}

.app-tag-workspace {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.app-tag-soon {
  background: rgba(229, 168, 36, 0.12);
  color: #B45309;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dark .app-tag-soon {
  background: rgba(229, 168, 36, 0.22);
  color: #FBBF24;
}

.app-card-coming-soon {
  cursor: default;
}

div.app-card-coming-soon:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border-color: var(--card-border);
}

.app-link-pill {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.app-link-pill:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.pill-website:hover {
  background: rgba(229, 168, 36, 0.15);
  border-color: rgba(229, 168, 36, 0.3);
  color: #B45309;
}

.pill-spotify:hover {
  background: rgba(29, 185, 84, 0.15);
  border-color: rgba(29, 185, 84, 0.3);
  color: #15803d;
}

.pill-apple:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #7E22CE;
}

.dark .app-tag-pill {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.dark .app-tag-platform {
  background: rgba(229, 168, 36, 0.18);
  color: #FBBF24;
}

.dark .app-tag-podcast {
  background: rgba(99, 102, 241, 0.18);
  color: #A5B4FC;
}

.dark .app-tag-ios {
  background: rgba(14, 165, 233, 0.18);
  color: #38BDF8;
}

.dark .app-tag-workspace {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
}

.dark .app-link-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.dark .pill-website:hover {
  background: rgba(229, 168, 36, 0.25);
  color: #FCD34D;
}

.dark .pill-spotify:hover {
  background: rgba(29, 185, 84, 0.25);
  color: #4ADE80;
}

.dark .pill-apple:hover {
  background: rgba(168, 85, 247, 0.25);
  color: #C084FC;
}

/* Bottom Consultation Banner */
.apps-consultation-banner {
  margin-top: 40px;
}

.consultation-banner-inner {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.consultation-kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 6px;
}

.consultation-title {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.consultation-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}

.consultation-banner-action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .consultation-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Bottom Info Banner */
.apps-bottom-banner {
  margin-top: 24px;
}

.banner-pill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.banner-pill-card:hover {
  background-color: #FDFCF9;
  transform: translateY(-1px);
}

.banner-pill-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-pill-icon {
  color: var(--text-muted);
}

.banner-pill-text strong {
  font-size: 0.8125rem;
  color: var(--text-primary);
  margin-right: 6px;
}

.banner-pill-text span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.banner-pill-arrow {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

/* Other Projects Drawer */
.other-projects-drawer {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-top: 24px;
  box-shadow: var(--shadow-hover);
}

.drawer-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.drawer-heading {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.drawer-app-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.drawer-app-item:hover {
  background: #FDFCF9;
}

.drawer-app-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.drawer-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-app-text h4 {
  font-size: 0.875rem;
  margin: 0 0 2px 0;
}

.drawer-app-text p {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin: 0 0 4px 0;
}

.drawer-platform-tag {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 4px;
}

.drawer-arrow {
  margin-left: auto;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   8. PAGE 3: WRITING
   ------------------------------------------------------------------------- */
.editorial-page-dash {
  display: block;
  width: 44px;
  height: 4px;
  background-color: var(--accent-amber);
  margin-bottom: 20px;
  border-radius: 2px;
}

.editorial-hairline-divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 32px 0;
}

/* Featured Book Section */
.writing-featured-book-section {
  padding: 10px 0;
}

.writing-featured-book-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  align-items: center;
}

/* Featured Top Article Section (Wider 16:9 Landscape Graphic) */
.writing-featured-article-section {
  padding: 12px 0 16px 0;
}

.writing-featured-article-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: center;
}

.writing-article-visual-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.writing-featured-article-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: block;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.writing-featured-article-thumb-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(229, 168, 36, 0.4);
}

.writing-featured-article-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.writing-book-visual-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.writing-book-3d-wrap {
  width: 100%;
  max-width: 200px;
  display: flex;
  justify-content: center;
}

.writing-book-3d-img {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.16));
  transition: transform 0.25s ease;
}

.writing-featured-book-grid:hover .writing-book-3d-img {
  transform: translateY(-4px) scale(1.02);
}

.writing-book-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-book-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.featured-book-title {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.featured-book-tagline {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 24px 0;
}

/* Learn more action with amber highlight bar */
.link-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.link-learn-more-text {
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.link-learn-more-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 7px;
  background-color: rgba(229, 168, 36, 0.4);
  z-index: -1;
  border-radius: 2px;
  transition: height 0.18s ease, background-color 0.18s ease;
}

.link-learn-more:hover .link-learn-more-text::after {
  height: 100%;
  background-color: rgba(229, 168, 36, 0.6);
}

.link-learn-more:hover .btn-arrow {
  transform: translateX(4px);
}

/* Expandable Drawer */
.book-details-drawer {
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  animation: fadeInDrawer 0.25s ease-out;
}

@keyframes fadeInDrawer {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.book-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.book-drawer-heading {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.book-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
}

.book-drawer-close:hover {
  color: var(--text-primary);
}

.book-drawer-callout {
  margin-top: 16px;
  padding: 16px;
  background: #FDFBF7;
  border-left: 3px solid var(--accent-amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.callout-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

/* Articles List Container */
.editorial-articles-section {
  padding-top: 6px;
}

.editorial-articles-list {
  display: flex;
  flex-direction: column;
}

.editorial-article-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.editorial-article-row:hover {
  opacity: 0.88;
}

.article-row-thumb {
  width: 128px;
  height: 78px;
  border-radius: 6px;
  overflow: hidden;
  background: #E5E7EB;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.article-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-row-thumb.is-magazine-cover {
  width: 68px;
  height: 92px;
  border-radius: 4px;
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-row-thumb.is-magazine-cover img {
  object-fit: cover;
  border-radius: 4px;
}

.article-row-content {
  flex: 1;
  min-width: 0;
}

.article-row-type {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.article-row-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.article-row-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.article-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 52px;
  flex-shrink: 0;
  padding-left: 16px;
}

.article-row-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.article-row-arrow {
  color: var(--text-primary);
  font-size: 1.125rem;
  transition: transform 0.15s ease;
}

.editorial-article-row:hover .article-row-arrow {
  transform: translateX(4px);
}

.editorial-view-all-wrap {
  text-align: left;
  padding-top: 24px;
  margin-bottom: 32px;
}

.editorial-pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 36px 0 20px 0;
  font-size: 0.875rem;
}

.editorial-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s ease;
}

.editorial-pagination-wrap .page-numbers.current {
  background: var(--accent-amber);
  color: #1A1A1A;
  border-color: var(--accent-amber);
  font-weight: 800;
}

.editorial-pagination-wrap .page-numbers:hover:not(.current) {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.03);
}

.writing-external-publications-section {
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
  margin-top: 48px;
}

/* -------------------------------------------------------------------------
   9. PAGE 4: VIDEOS & CLASSROOM INSIGHTS
   ------------------------------------------------------------------------- */
.videos-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.featured-video-player-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.featured-video-screen-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #000;
}

.featured-video-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.video-play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.featured-video-meta {
  padding: 22px 24px;
}

.video-meta-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.featured-video-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.featured-video-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 18px 0;
}

/* Channel Banner Card */
.channel-banner-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: background 0.15s ease, transform 0.15s ease;
  margin-bottom: 12px;
}

.channel-banner-card:hover {
  background: #FDFCF9;
  transform: translateY(-1px);
}

.dark .channel-banner-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.banner-podcast-card {
  margin-bottom: 0;
  cursor: default;
}

div.banner-podcast-card:hover {
  background: var(--card-bg);
  transform: none;
}

.channel-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-clean-podcast {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 9999px;
  text-decoration: none;
  background: var(--bg-surface, #F8F9FA);
  border: 1px solid var(--card-border, #E5E7EB);
  color: var(--text-primary, #111827);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-clean-podcast .btn-clean-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-clean-podcast .btn-clean-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.btn-clean-spotify:hover {
  background: rgba(29, 185, 84, 0.12);
  border-color: rgba(29, 185, 84, 0.4);
  color: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(29, 185, 84, 0.12);
}

.btn-clean-apple:hover {
  background: rgba(135, 41, 150, 0.12);
  border-color: rgba(135, 41, 150, 0.4);
  color: #7E22CE;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(135, 41, 150, 0.12);
}

.dark .btn-clean-podcast {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.dark .btn-clean-spotify:hover {
  background: rgba(29, 185, 84, 0.22);
  border-color: rgba(29, 185, 84, 0.5);
  color: #4ADE80;
  box-shadow: 0 2px 8px rgba(29, 185, 84, 0.2);
}

.dark .btn-clean-apple:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.5);
  color: #D8B4FE;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.2);
}

@media (max-width: 640px) {
  .banner-podcast-card {
    flex-wrap: wrap;
    gap: 12px;
  }
  .banner-podcast-card .channel-banner-actions {
    width: 100%;
    justify-content: flex-start;
    padding-left: 44px;
  }
}

.channel-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-yt-dark {
  background: #111827;
}

.icon-pod-dark {
  background: #4F46E5;
}

.channel-banner-text strong {
  font-size: 0.8125rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.channel-banner-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.channel-banner-arrow {
  color: var(--text-primary);
}

/* Latest Videos & Audio Column (Right) */
.videos-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.latest-videos-heading {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.media-filter-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-filter-btn {
  background: #F3F4F6;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.media-filter-btn:hover {
  background: #E5E7EB;
  color: var(--text-primary);
}

.media-filter-btn.is-active {
  background: #111827;
  color: #FFFFFF;
  border-color: #111827;
}

.btn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.dot-video { background: #EF4444; }
.dot-audio { background: #818CF8; }

.latest-videos-list {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.latest-video-row {
  display: grid;
  grid-template-columns: 76px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  transition: background 0.15s ease;
}

.latest-video-row:last-child {
  border-bottom: none;
}

.latest-video-row:hover {
  background: #FDFCF9;
}

.latest-video-thumb-frame {
  width: 72px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: #E5E7EB;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.latest-video-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-format-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  border-radius: 3px;
  padding: 2px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-yt-pill {
  background: rgba(220, 38, 38, 0.88);
}

.badge-pod-pill {
  background: rgba(79, 70, 229, 0.88);
}

.media-type-line {
  margin-bottom: 2px;
}

.media-type-tag {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
}

.tag-video { color: #DC2626; }
.tag-podcast { color: #6366F1; }

.latest-video-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-video-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.latest-video-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.meta-bullet {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.latest-video-extra {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.latest-video-arrow {
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: transform 0.15s ease;
}

.latest-video-row:hover .latest-video-arrow {
  transform: translateX(3px);
}

.videos-view-all-wrap {
  text-align: right;
}

/* -------------------------------------------------------------------------
   10. PAGE 5: ABOUT & SPEAKING
   ------------------------------------------------------------------------- */
.about-hero-section {
  padding: 20px 0 44px 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 48px;
}

.about-hero-subhead {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 14px 0;
}

.about-hero-bio {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 0 24px 0;
}

.about-hero-bio p {
  margin: 0 0 12px 0;
}

.about-hero-bio p:last-child {
  margin-bottom: 0;
}

.about-hero-bio strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.about-portrait-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.about-portrait-accent-bar {
  position: absolute;
  top: 24px;
  right: -12px;
  width: 24px;
  height: 150px;
  background-color: var(--accent-amber);
  border-radius: 4px;
  z-index: 1;
}

/* About Cards Grid */
.about-cards-section {
  margin-bottom: 24px;
}

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

.about-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.about-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(229, 168, 36, 0.4);
}

.about-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 16px;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.about-card-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  display: block;
}

.about-feature-card:hover .about-card-icon-wrap {
  background: rgba(229, 168, 36, 0.12);
  border-color: rgba(229, 168, 36, 0.35);
  color: #B45309;
  transform: scale(1.05);
}

.dark .about-card-icon-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.dark .about-feature-card:hover .about-card-icon-wrap {
  background: rgba(229, 168, 36, 0.2);
  border-color: rgba(229, 168, 36, 0.45);
  color: #FBBF24;
}

.about-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.about-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: flex-start;
}

.about-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  min-height: 3em;
}

.about-card-arrow {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: transform 0.15s ease, color 0.15s ease;
}

.about-feature-card:hover .about-card-arrow {
  transform: translateX(4px);
  color: var(--brand-amber, #E5A824);
}

/* Core Services & Offerings Grid */
.services-offerings-section {
  margin-top: 36px;
}

.services-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-offering-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 28px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-offering-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(229, 168, 36, 0.45);
}

.service-card-kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 6px;
}

.service-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--card-border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feature-list li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .services-offerings-grid {
    grid-template-columns: 1fr;
  }
}

/* Previous Speaking Highlights Section */
.speaking-highlights-section {
  margin-top: 36px;
}

.speaking-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.speaking-highlight-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}

.speaking-highlight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.speaking-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: #F3F4F6;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.speaking-event-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.speaking-highlight-subtitle {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.speaking-date-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Real 3-Photo Stage & Training Gallery */
.speaking-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.speaking-photo-item {
  border-radius: 8px;
  overflow: hidden;
  height: 175px;
  background: #E5E7EB;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.speaking-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.speaking-photo-item:hover img {
  transform: scale(1.04);
}

.photo-hover-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  padding: 12px 10px 8px 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.speaking-photo-item:hover .photo-hover-label {
  opacity: 1;
}

.photo-hover-label span {
  font-size: 0.6875rem;
  color: #FFFFFF;
  line-height: 1.25;
  display: block;
}

/* Keynote Topics & Workshops */
.speaking-topics-section {
  margin-top: 36px;
}

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

.about-ws-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}

.about-ws-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.about-ws-tagline {
  font-size: 0.75rem;
  color: var(--accent-amber);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.about-ws-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.about-ws-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Upcoming Events Box */
.speaking-upcoming-section {
  margin-top: 36px;
}

.about-events-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 8px 24px;
  box-shadow: var(--shadow-card);
}

.about-event-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.8125rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}

.about-event-row:last-child {
  border-bottom: none;
}

.about-event-row.is-link {
  cursor: pointer;
  border-radius: 6px;
  margin: 0 -10px;
  padding: 16px 10px;
}

.about-event-row.is-link:hover {
  background: rgba(0, 0, 0, 0.02);
}

.dark .about-event-row.is-link:hover {
  background: rgba(255, 255, 255, 0.03);
}

.about-event-badge-col {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 1px;
}

.event-badge-small {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.25;
}

.dark .event-badge-small {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.about-event-info-col {
  flex: 1;
  min-width: 0;
}

.about-event-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 3px;
  line-height: 1.35;
}

.about-event-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.about-event-dot {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.about-event-location {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.about-event-topic {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-event-date-col {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: 16px;
  align-self: flex-start;
  padding-top: 2px;
}

.about-event-date {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.about-event-name-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.about-event-name-link:hover {
  color: var(--brand-amber, #E5A824);
}

.about-event-links-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-event-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  background: var(--bg-surface, #F3F4F6);
  border: 1px solid var(--card-border, #E5E7EB);
  color: var(--text-primary, #111827);
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-event-link svg {
  display: block;
  opacity: 0.65;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-event-link:hover {
  background: var(--brand-amber, #E5A824);
  border-color: var(--brand-amber, #E5A824);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-event-link:hover svg {
  opacity: 1;
  transform: translate(1px, -1px);
}

.dark .btn-event-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.dark .btn-event-link:hover {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #111827;
}

/* Speaking: Publications & Guest Articles Section */
.speaking-publications-section {
  margin-top: 40px;
}

.about-featured-book-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.about-book-thumb-wrap {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-book-img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.about-book-info {
  flex: 1;
}

.about-book-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.about-book-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.about-book-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.about-publications-list {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 4px 22px;
  box-shadow: var(--shadow-card);
}

.about-publications-list .editorial-article-row:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .about-event-row {
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .about-event-row.is-link {
    margin: 0;
    padding: 14px 0;
  }

  .about-event-badge-col {
    width: 100%;
  }

  .about-event-date-col {
    margin-left: 0;
    margin-top: 4px;
    align-self: flex-start;
    align-items: flex-start;
  }

  .about-event-links-wrap {
    justify-content: flex-start;
  }

  .about-featured-book-card {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
}

/* Contact & Collaboration Section */
.about-contact-section {
  margin-top: 36px;
  margin-bottom: 32px;
}

.about-contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.contact-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.contact-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.contact-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-service {
  font-size: 0.6875rem;
  font-weight: 700;
  background: #F3F4F6;
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: 20px;
}

.contact-email-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FDFCF9;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  width: fit-content;
}

.contact-email-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.contact-email-link {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-copy-email {
  background: #E5E7EB;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-copy-email:hover {
  background: var(--accent-amber);
}

.contact-action-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-outline:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

/* -------------------------------------------------------------------------
   11. Single Post / Reading Template
   ------------------------------------------------------------------------- */
.single-article-view {
  padding: 40px 0 80px 0;
  background-color: var(--canvas-bg);
}

.article-inner-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 48px 48px 56px 48px;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
  .article-inner-container {
    padding: 24px 18px 40px 18px;
    border-radius: 16px;
  }
}

/* Breadcrumb Navigation */
.article-breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.4;
}

.article-breadcrumb-nav .crumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.article-breadcrumb-nav .crumb-link:hover {
  color: var(--accent-amber);
}

.article-breadcrumb-nav .crumb-sep {
  color: #94A3B8;
  font-size: 0.875rem;
  user-select: none;
}

.article-breadcrumb-nav .crumb-current {
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .article-breadcrumb-nav .crumb-current {
    max-width: 160px;
  }
}

/* Category Tags */
.article-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article-category-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #F1EFEA;
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-category-tag:hover {
  background: var(--accent-amber);
  color: #1E293B;
  border-color: var(--accent-amber);
  transform: translateY(-1px);
}

/* Article Headline */
.article-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

/* Tidy Meta Bar: Author, Date, Reading Time */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 14px 0;
  margin: 20px 0 28px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1;
}

.article-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.article-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-indigo);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
}

.article-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-author-name {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.article-meta-dot {
  color: #94A3B8;
  font-size: 0.8125rem;
  line-height: 1;
  user-select: none;
}

.article-meta-date {
  color: var(--text-muted);
  font-weight: 500;
}

.article-meta-reading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 500;
}

.article-clock-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* Featured Hero Image */
.article-featured-figure {
  margin: 0 0 36px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--card-border);
}

.article-featured-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.article-featured-caption {
  padding: 10px 16px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid var(--card-border);
}

.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content h2 {
  font-size: 1.375rem;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.entry-content iframe,
.entry-content embed,
.entry-content video,
.entry-content object {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
  display: block;
}

.entry-content pre {
  max-width: 100%;
  overflow-x: auto;
  background: #1E293B;
  color: #F8FAFC;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 1.5em 0;
}

.entry-content table {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--accent-amber);
  background: rgba(229, 168, 36, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-primary);
}

.article-author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-top: 36px;
  box-shadow: var(--shadow-card);
}

/* -------------------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------------------- */
.site-footer-wrap {
  border-top: 1px solid var(--card-border);
  background-color: var(--canvas-bg);
  padding: 44px 0 36px 0;
  margin-top: 40px;
}

.footer-inner-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.footer-social-btn:hover {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.projects-quick-link {
  transition: color 0.15s ease;
}

.projects-quick-link:hover {
  color: var(--text-primary) !important;
}

/* -------------------------------------------------------------------------
   13. Comprehensive Responsive Media Queries (iPad, iPhone & Compact Screens)
   ------------------------------------------------------------------------- */

/* Tablet & iPad Portrait (769px - 900px) */
@media (max-width: 900px) {
  .home-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .home-hero-portrait-wrap,
  .about-hero-portrait-col {
    justify-content: center;
    width: 100%;
  }
  
  .nav-links-desktop {
    gap: 16px;
  }

  .nav-link-item {
    font-size: 0.775rem;
  }

  .home-pillars-grid,
  .about-cards-grid,
  .about-workshops-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .home-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .writing-featured-book-grid,
  .writing-featured-article-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .writing-book-visual-col,
  .writing-article-visual-col {
    justify-content: center;
  }

  .writing-featured-article-thumb-wrap {
    max-width: 520px;
    margin: 0 auto;
  }

  .writing-book-details-col {
    align-items: center;
  }
  
  .videos-editorial-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-inner-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* iPad Portrait Switchpoint & Medium Tablets (<= 768px) */
@media (max-width: 768px) {
  .nav-links-desktop {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .apps-editorial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
  }

  .about-event-row.is-link {
    margin: 0;
    padding: 14px 0;
  }

  .about-event-badge-col {
    width: 100%;
  }

  .about-event-date-col {
    margin-left: 0;
    margin-top: 4px;
    align-self: flex-start;
    align-items: flex-start;
  }

  .about-event-links-wrap {
    justify-content: flex-start;
  }

  .about-featured-book-card {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    padding: 20px;
  }

  .speaking-photos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .speaking-photo-item {
    height: 160px;
  }

  .consultation-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .consultation-banner-action .btn-amber {
    width: 100%;
    justify-content: center;
  }

  .about-contact-card {
    padding: 24px 20px;
  }
}

/* Standard iPhones & Smartphones (<= 640px) */
@media (max-width: 640px) {
  .site-main-page {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .home-hero-section {
    padding: 20px 0 32px 0;
  }

  .home-hero-title {
    font-size: 2.125rem;
    line-height: 1.15;
  }

  .home-hero-subhead {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .home-portrait-container,
  .about-portrait-container {
    max-width: 270px;
    margin: 0 auto;
  }

  .home-hero-portrait-img,
  .about-hero-portrait-img {
    height: 310px;
  }

  .home-portrait-accent-bar,
  .about-portrait-accent-bar {
    right: -6px;
    width: 18px;
    height: 100px;
  }

  .home-pillars-grid,
  .home-featured-grid,
  .about-cards-grid,
  .about-workshops-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-pillar-card {
    min-height: auto;
    padding: 18px;
  }

  .app-clean-card {
    padding: 16px 18px;
    gap: 14px;
    border-radius: 14px;
  }

  .app-clean-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .app-clean-icon {
    border-radius: 12px;
  }

  .app-clean-title {
    font-size: 1.0625rem;
  }

  .app-clean-desc {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .editorial-article-row {
    gap: 14px;
    padding: 14px 0;
  }

  .article-row-thumb {
    width: 84px;
    height: 58px;
  }

  .article-row-thumb.is-magazine-cover {
    width: 58px;
    height: 78px;
  }

  .article-row-title {
    font-size: 0.9375rem;
    line-height: 1.3;
  }

  .article-row-sub {
    font-size: 0.8125rem;
  }

  .article-row-date {
    display: none;
  }

  .article-inner-container {
    padding: 24px 18px 36px 18px;
    border-radius: 14px;
  }

  .article-author-bio-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 14px;
  }

  .speaking-photos-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .speaking-photo-item {
    height: 210px;
    border-radius: 12px;
  }

  .photo-hover-label {
    opacity: 1;
  }

  .banner-podcast-card {
    flex-wrap: wrap;
    gap: 12px;
  }

  .banner-podcast-card .channel-banner-actions {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0;
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-clean-podcast {
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  .contact-email-box {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Compact Mobile Screens (<= 420px, e.g. iPhone SE / mini / 320px-375px) */
@media (max-width: 420px) {
  .theme-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-signature-text {
    font-size: 0.84rem;
  }

  .editorial-article-row {
    gap: 10px;
    padding: 12px 0;
  }

  .article-row-thumb {
    width: 70px;
    height: 50px;
  }

  .article-row-thumb.is-magazine-cover {
    width: 50px;
    height: 68px;
  }

  .article-row-arrow {
    display: none;
  }

  .latest-video-row {
    grid-template-columns: 64px 1fr 14px;
    gap: 8px;
    padding: 10px 10px;
  }

  .article-headline {
    font-size: 1.625rem;
  }

  .home-hero-title {
    font-size: 1.875rem;
  }

  .home-portrait-container,
  .about-portrait-container {
    max-width: 240px;
  }

  .home-hero-portrait-img,
  .about-hero-portrait-img {
    height: 270px;
  }
}

/* ==========================================================================
   COOKIE-AWARE SLIDE-IN BOOK ANNOUNCEMENT TOAST (THE POCKET-SIZED STORYTELLER)
   ========================================================================== */
.sethi-book-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  max-width: 410px;
  width: calc(100% - 48px);
  transform: translateY(130%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.sethi-book-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.book-toast-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.book-toast-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  z-index: 2;
  padding: 0;
}

.book-toast-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111827;
}

.book-toast-layout {
  display: flex;
  align-items: center;
  gap: 14px;
}

.book-toast-cover-col {
  flex-shrink: 0;
  display: block;
  text-decoration: none;
}

.book-toast-cover-wrapper {
  width: 68px;
  height: 98px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: #f3f4f6;
  transition: transform 0.2s ease;
}

.book-toast-card:hover .book-toast-cover-wrapper {
  transform: translateY(-2px) rotate(-1deg);
}

.book-toast-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-toast-info-col {
  flex: 1;
  min-width: 0;
  padding-right: 16px;
}

.book-toast-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.book-toast-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.3;
}

.book-toast-kicker-tag.is-coming-soon {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.book-toast-kicker-tag.is-out-now {
  background: #d1fae5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.book-toast-kicker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.book-toast-byline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
}

.book-toast-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 4px 0;
  color: #111827 !important;
  letter-spacing: -0.015em;
}

.book-toast-heading a {
  color: #111827 !important;
  text-decoration: none;
}

.book-toast-heading a:hover {
  color: #d97706 !important;
}

.book-toast-summary {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4b5563 !important;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-toast-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-toast-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #d97706;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.book-toast-action-btn:hover {
  color: #b45309;
  transform: translateX(2px);
}

@media (max-width: 600px) {
  .sethi-book-toast {
    bottom: 14px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }
  
  .book-toast-cover-wrapper {
    width: 58px;
    height: 84px;
  }
}

