/* =============================================================================
   Korhan Özduru — Personal Brand WordPress Theme
   main.css — Production Stylesheet
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Google Fonts Import
   ----------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

/* -----------------------------------------------------------------------------
   CSS Custom Properties
   ----------------------------------------------------------------------------- */
:root {
  --background:  #0C1824;
  --foreground:  #F5F0E8;
  --primary:     #B97846;
  --secondary:   #1B3040;
  --accent:      #2A4A5E;
  --border:      rgba(185, 120, 70, 0.2);
  --card:        #142230;
  --copper:      #B97846;
  --copper-dark: #9a6438;
  --muted:       rgba(245, 240, 232, 0.55);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.2s ease;
  --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.5);
}

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

/* -----------------------------------------------------------------------------
   Scroll Behaviour
   ----------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------------------------
   Body
   ----------------------------------------------------------------------------- */
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------------------------------------------------------
   Layout Container
   ----------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -----------------------------------------------------------------------------
   Typography — Headings
   ----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.2;
  color: var(--foreground);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.375rem, 2.5vw, 2rem);  font-weight: 700; }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem);  font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem;     font-weight: 600; }

p {
  color: var(--foreground);
  line-height: 1.7;
}

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

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

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

ul, ol { list-style: none; }

/* -----------------------------------------------------------------------------
   Section Labels & Sub-headings
   ----------------------------------------------------------------------------- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 560px;
}

/* -----------------------------------------------------------------------------
   Prose — Rich Content
   ----------------------------------------------------------------------------- */
.prose {
  max-width: 72ch;
  line-height: 1.8;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p { margin-bottom: 1.25rem; }

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose ol { list-style: decimal; }

.prose li { margin-bottom: 0.4rem; }

.prose blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
}

.prose strong { font-weight: 700; color: var(--foreground); }
.prose em    { font-style: italic; }

.prose code {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose pre {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* -----------------------------------------------------------------------------
   Header & Navigation
   ----------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--background);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  position: relative;
  display: inline-flex;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo-image {
  height: 36px;
  width: auto;
  display: block;
}

.site-logo .custom-logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-logo-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.75rem);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.site-logo:hover .site-logo-tooltip,
.site-logo:focus-visible .site-logo-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-logo-tooltip-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  max-width: 168px;
  padding: 0.875rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(185, 120, 70, 0.28);
  background: rgba(12, 24, 36, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.site-logo-tooltip-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 22px;
  width: 16px;
  height: 16px;
  background: rgba(12, 24, 36, 0.96);
  border-top: 1px solid rgba(185, 120, 70, 0.28);
  border-left: 1px solid rgba(185, 120, 70, 0.28);
  transform: rotate(45deg);
}

.site-logo-tooltip-image {
  display: block;
  height: 90px;
  width: auto;
  max-width: 136px;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
  transform: none;
}

.logo-text-copper {
  color: var(--primary);
}

.logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo-img {
  height: 36px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.current-menu-item,
/* WordPress puts the state classes on the <li>, not on the link. */
.nav-item.current-menu-item > .nav-link,
.nav-item.current_page_item > .nav-link,
.nav-item.current-menu-ancestor > .nav-link,
.nav-item.current-menu-parent > .nav-link,
.nav-item.current_page_parent > .nav-link {
  color: var(--primary);
  background: rgba(185, 120, 70, 0.08);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.has-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--foreground);
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(185, 120, 70, 0.1);
  color: var(--primary);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  opacity: 0.7;
}

.has-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.burger-btn:hover { background: rgba(185, 120, 70, 0.1); }

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* -----------------------------------------------------------------------------
   Buttons — Shared Base
   ----------------------------------------------------------------------------- */
.btn-copper,
.btn-ghost,
.btn-ghost-light,
.btn-whatsapp,
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-copper {
  background: var(--primary);
  color: #0C1824;
  border: 2px solid var(--primary);
}

.btn-copper:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: #0C1824;
}

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

.btn-ghost:hover {
  background: var(--primary);
  color: #0C1824;
}

.btn-ghost-light {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--foreground);
}

.btn-ghost-light:hover {
  background: var(--foreground);
  color: #0C1824;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 2px solid #25D366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: #ffffff;
}

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

.btn-phone:hover {
  background: var(--accent);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.w-full { width: 100%; justify-content: center; }

/* -----------------------------------------------------------------------------
   Sticky CTA
   ----------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  color: #0C1824;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 50;
  box-shadow: 0 8px 32px rgba(185, 120, 70, 0.35);
  transition: all 0.3s ease;
}

.sticky-cta:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(185, 120, 70, 0.45);
  color: #0C1824;
}

/* -----------------------------------------------------------------------------
   Mobile Drawer
   ----------------------------------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: var(--secondary);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--foreground);
  font-size: 1.25rem;
  transition: background var(--transition), border-color var(--transition);
}

.drawer-close:hover {
  background: rgba(185, 120, 70, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.drawer-nav {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 1rem 0 0.5rem;
}

.drawer-section-label:first-child { padding-top: 0; }

.drawer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.75rem 0;
}

.drawer-link {
  display: block;
  padding: 0.625rem 0.75rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.drawer-link:hover {
  background: rgba(185, 120, 70, 0.1);
  color: var(--primary);
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.drawer-apt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  color: #0C1824;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}

.drawer-apt-btn:hover {
  background: var(--copper-dark);
  color: #0C1824;
}

/* -----------------------------------------------------------------------------
   Utility Sections
   ----------------------------------------------------------------------------- */
.section-dark  { background: var(--background); }
.section-mid   { background: var(--secondary); }

.page-section  { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-action {
  text-align: center;
  margin-top: 3rem;
}

.copper { color: var(--primary); }

/* -----------------------------------------------------------------------------
   Hero Section
   ----------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background: var(--background);
  overflow: hidden;
  padding-top: 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(185, 120, 70, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 120, 70, 0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D6A36A;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(185, 120, 70, 0.24);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.625rem;
  color: #D6A36A;
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
  display: block;
}

.hero-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  z-index: 1;
}

.hero-portrait::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.06;
  background: radial-gradient(ellipse at 70% 40%, #B97846 0%, transparent 60%);
  pointer-events: none;
}

.hero-portrait {
  width: 100%;
}

.portrait-img {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  mix-blend-mode: luminosity;
  opacity: 0.85;
  border-radius: 24px;
  background: #132A32;
}

.hero-platform-band {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(19, 42, 50, 0.5);
}

.hero-platform-band-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.hero-platform-band-label {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.hero-platform-band-separator {
  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 0.75rem;
  flex-shrink: 0;
}

.hero-platform-band-item {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}

.hero-platform-band-link {
  text-decoration: none;
  transition: color var(--transition);
}

.hero-platform-band-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.hero-platform-band-item + .hero-platform-band-item::before {
  content: '·';
  color: rgba(255, 255, 255, 0.2);
  margin-right: 0.75rem;
}

/* -----------------------------------------------------------------------------
   Logos Section
   ----------------------------------------------------------------------------- */
.logos-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logos-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.logo-item {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 36px;
  width: auto;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.25s ease;
  opacity: 0.6;
}

.logo-img:hover {
  filter: none;
  opacity: 1;
}

/* -----------------------------------------------------------------------------
   About Teaser
   ----------------------------------------------------------------------------- */
.about-teaser {
  padding: 5.5rem 0;
  background: #132A32;
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.about-teaser-img {
  position: relative;
  min-width: 0;
  border-radius: 2rem;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem;
  display: block;
}

.about-teaser-content {
  max-width: 620px;
}

.about-teaser .section-tag {
  margin-bottom: 1.25rem;
}

.about-teaser .section-title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.about-teaser .body-text {
  max-width: 58ch;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.cred-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-text {
  font-size: 0.9375rem;
  color: var(--foreground);
}

/* -----------------------------------------------------------------------------
   Programs Grid
   ----------------------------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.program-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.program-card:hover::before { transform: scaleX(1); }

.program-icon {
  width: 48px;
  height: 48px;
  background: rgba(185, 120, 70, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.program-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.program-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.program-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
}

.program-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.program-footer {
  margin-top: auto;
}

/* -----------------------------------------------------------------------------
   Training Cards
   ----------------------------------------------------------------------------- */
.training-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.training-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.training-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.training-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.training-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.training-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.training-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.training-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* -----------------------------------------------------------------------------
   Books Row
   ----------------------------------------------------------------------------- */
.books-row {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.book-row {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.book-row.reverse { flex-direction: row-reverse; }

.book-cover-wrap {
  flex-shrink: 0;
  width: 240px;
}

.book-cover {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.book-content { flex: 1; }

.book-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.book-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--foreground);
  margin-bottom: 1rem;
}

.book-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.book-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Book card (grid variant) */
.book-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.book-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.book-card-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.book-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* -----------------------------------------------------------------------------
   Testimonials Grid
   ----------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.test-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.test-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.test-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--secondary);
}

.test-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(12, 24, 36, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.125rem;
  transition: transform 0.2s, background 0.2s;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(185, 120, 70, 0.85);
}

.test-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.test-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.test-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.test-role {
  font-size: 0.8125rem;
  color: var(--muted);
}

.test-quote {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* -----------------------------------------------------------------------------
   Video Cards
   ----------------------------------------------------------------------------- */
.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.video-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--secondary);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.video-card:hover .video-thumb { transform: scale(1.04); }

.video-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
}

.video-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* -----------------------------------------------------------------------------
   Media Cards (press, appearances)
   ----------------------------------------------------------------------------- */
.media-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.media-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.media-logo { max-height: 32px; width: auto; }

.media-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.media-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  line-height: 1.4;
}

.media-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

.media-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition);
}

.media-link:hover { color: var(--copper-dark); }

/* -----------------------------------------------------------------------------
   Episode Cards (podcast)
   ----------------------------------------------------------------------------- */
.episode-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.episode-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.episode-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 3rem;
  opacity: 0.6;
}

.episode-content { flex: 1; }

.episode-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.episode-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.episode-play-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(185, 120, 70, 0.1);
  border: 2px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.episode-play-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #0C1824;
}

/* Podcast platform cards */
.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.platform-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.platform-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: contain;
}

.platform-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.platform-cta {
  font-size: 0.8125rem;
  color: var(--primary);
}

/* -----------------------------------------------------------------------------
   Articles Grid
   ----------------------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.article-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.article-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--foreground);
  line-height: 1.4;
  flex: 1;
}

.article-excerpt {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: color var(--transition);
}

.article-read-more:hover { color: var(--copper-dark); }

/* -----------------------------------------------------------------------------
   Page Hero (Inner pages)
   ----------------------------------------------------------------------------- */
.page-hero--inner {
  min-height: 340px;
  display: flex;
  align-items: stretch;
  background: #0c1824;
  padding: 104px 0 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero--inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 21, 0.94) 0%, rgba(8, 14, 21, 0.8) 40%, rgba(8, 14, 21, 0.9) 100%),
    linear-gradient(180deg, rgba(185, 120, 70, 0.14) 0%, rgba(12, 24, 36, 0.18) 100%),
    var(--page-hero-image) center center / cover no-repeat;
  opacity: 0.72;
  z-index: -2;
  transform: scale(1.01);
}

.page-hero--inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
  z-index: -1;
}

.page-hero--inner .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding-top: 1.4rem;
  padding-bottom: 2.25rem;
}

.page-hero-inner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.page-hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.page-hero--inner .container,
.page-hero-inner-wrap {
  position: relative;
  width: 100%;
}

.page-hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 2vw, 2.6rem);
  color: var(--foreground);
  margin-bottom: 0.8rem;
  max-width: 100%;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-hero-sub {
  color: var(--muted);
  max-width: 760px;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.68;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1.15rem;
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs li {
  font-size: 0.92rem;
  color: rgba(245, 240, 232, 0.72);
  font-weight: 500;
}

@media (max-width: 991px) {
  .page-hero--inner {
    min-height: 300px;
    padding-top: 96px;
  }

  .page-hero--inner .container {
    padding-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .page-hero--inner {
    min-height: 250px;
    padding-top: 88px;
  }

  .page-hero-title {
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
  }

  .page-hero-sub {
    font-size: 0.98rem;
    line-height: 1.6;
  }
}

.breadcrumbs li a {
  color: rgba(245, 240, 232, 0.72);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs li a:hover { color: #fff; }

.breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.35rem;
  color: rgba(255, 255, 255, 0.36);
  opacity: 1;
}

.breadcrumbs li:last-child { color: var(--foreground); }

.shortcode-block + .shortcode-block {
  margin-top: 2rem;
}

/* -----------------------------------------------------------------------------
   Contact CTA Section
   ----------------------------------------------------------------------------- */
.contact-cta-section {
  background: #132A32;
  padding: 5rem 0 2rem;
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 4rem;
}

.contact-cta-copy {
  min-width: 0;
}

.section-tag--dark {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.contact-cta-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.1;
  color: #fff;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.contact-cta-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 460px;
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.contact-cta-actions .btn-copper,
.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.125rem;
  padding: 0.95rem 1.7rem;
  border-radius: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-cta-actions svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-cta-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.contact-cta-btn--whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.25);
  color: #25D366;
}

.contact-cta-btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  color: #25D366;
}

.contact-cta-btn--phone {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-cta-btn--phone:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-cta-panels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-cta-location {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.7rem;
  background: rgba(12, 24, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.contact-cta-location-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(185, 120, 70, 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-cta-location-icon svg,
.contact-cta-meta-label svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-cta-location-label {
  color: #D6A36A;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.contact-cta-location-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-cta-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-cta-meta-card {
  padding: 1.55rem;
  background: rgba(12, 24, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.contact-cta-meta-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.contact-cta-meta-link {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.contact-cta-meta-link:hover {
  color: #D6A36A;
}

/* -----------------------------------------------------------------------------
   Contact Form & Layout
   ----------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-info-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

.contact-info-value {
  font-size: 0.9375rem;
  color: var(--foreground);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
textarea,
select {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 120, 70, 0.15);
}

input::placeholder,
textarea::placeholder { color: rgba(245, 240, 232, 0.3); }

textarea { resize: vertical; min-height: 140px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B97846' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-submit {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--primary);
}

/* -----------------------------------------------------------------------------
   Alert Messages
   ----------------------------------------------------------------------------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* -----------------------------------------------------------------------------
   Modals
   ----------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  position: relative;
  background: #0C1824;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 0;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(185, 120, 70, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* Video Modal
   Sizing has a single source of truth: --video-modal-ratio (width / height).
   main.js writes it as an inline style on .video-modal-overlay from the
   server-detected orientation, so no rule here hard-codes an aspect ratio. */
.video-modal-overlay {
  --video-modal-ratio: 1.7778;
  --video-modal-max-height: 86vh;
  --video-modal-max-width: 1240px;
  /* main.js pins this to documentElement.clientWidth so the dialog follows the
     visible screen even if another element widens the layout viewport. */
  width: var(--video-modal-viewport-width, 100%);
}

.video-modal-box {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: min(
    100%,
    var(--video-modal-max-width),
    calc(var(--video-modal-max-height) * var(--video-modal-ratio))
  );
  max-width: min(100%, var(--video-modal-max-width));
  max-height: none;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
}

.video-modal-box .modal-close {
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  z-index: 10;
}

.video-modal-box .modal-close:hover {
  background: rgba(185, 120, 70, 0.8);
}

.video-modal-frame,
.video-modal-embed {
  position: relative;
  width: 100%;
  aspect-ratio: var(--video-modal-ratio);
  background: #000;
}

.video-modal-frame iframe,
.video-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Vertical videos get a softer, taller treatment; the width formula above
   already keeps them inside the viewport height. */
.modal-overlay.is-portrait .video-modal-box,
.modal-overlay.is-square .video-modal-box {
  border-radius: 1.5rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
}

/* Appointment Modal */
.apt-modal-box {
  max-width: 520px;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.35s ease;
}

.apt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.apt-modal-step-label {
  margin-bottom: 0.25rem;
  color: #B97846;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apt-modal-title {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.apt-modal-close {
  position: static;
  width: 2.25rem;
  height: 2.25rem;
  color: rgba(255, 255, 255, 0.4);
  border: none;
  background: transparent;
}

.apt-modal-close:hover {
  color: #fff;
  background: transparent;
  border-color: transparent;
}

.apt-progress-bar {
  margin-bottom: 0;
}

.apt-step { display: block; padding: 1.75rem; }
.apt-step--hidden { display: none; }

.apt-option-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  text-align: left;
  background: #132A32;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-size: 0.9375rem;
}

.apt-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apt-option-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.apt-option-btn.selected {
  background: rgba(185, 120, 70, 0.12);
  border-color: rgba(185, 120, 70, 0.6);
  color: #fff;
}

.opt-label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: inherit;
}

.opt-tag {
  font-size: 0.6875rem;
  color: rgba(214, 163, 106, 0.7);
}

.apt-choice-group + .apt-choice-group {
  margin-top: 1.25rem;
}

.apt-choice-label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
}

.apt-choice-row {
  display: flex;
  gap: 0.75rem;
}

.apt-choice-btn {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #132A32;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.apt-choice-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.apt-choice-btn.selected {
  background: rgba(185, 120, 70, 0.12);
  border-color: rgba(185, 120, 70, 0.6);
  color: #fff;
}

/* Nav */
.apt-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.apt-nav--single {
  justify-content: flex-end;
}

.apt-text-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.apt-text-btn:hover {
  color: #fff;
}

/* Appointment success */
.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(49, 91, 80, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #315B50;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.apt-success {
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.apt-success p {
  max-width: 340px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* -----------------------------------------------------------------------------
   Publications
   ----------------------------------------------------------------------------- */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s;
}

.pub-item:hover { border-color: var(--primary); }

.pub-type-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.pub-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pub-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.pub-abstract {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.pub-links {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.pub-link:hover { color: var(--copper-dark); }

/* Patents */
.patent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.patent-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.patent-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.patent-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.patent-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.patent-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
   Filter Tabs
   ----------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0C1824;
}

/* -----------------------------------------------------------------------------
   Blog / Post Grid
   ----------------------------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.post-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.post-thumb-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.post-card:hover .post-thumb { transform: scale(1.04); }

.post-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.post-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--foreground);
  line-height: 1.4;
  flex: 1;
}

.post-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.post-title a:hover { color: var(--primary); }

.post-excerpt {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  flex-wrap: wrap;
  margin-top: auto;
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: color var(--transition);
}

.post-read-more:hover { color: var(--copper-dark); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination .page-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  transition: all var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #0C1824;
}

.page-numbers.dots {
  border: none;
  background: none;
  color: var(--muted);
  width: auto;
  padding: 0 0.25rem;
}

/* -----------------------------------------------------------------------------
   404 Error Page
   ----------------------------------------------------------------------------- */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.error-404-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
}

.error-404-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(8rem, 20vw, 18rem);
  color: var(--foreground);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.error-404-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--foreground);
  margin-bottom: 1rem;
}

.error-404-text {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* -----------------------------------------------------------------------------
   Misc Utilities
   ----------------------------------------------------------------------------- */
.placeholder-note {
  color: var(--muted);
  text-align: center;
  font-style: italic;
  padding: 3rem 1.5rem;
}

.no-results {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--muted);
}

.no-results-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.no-results-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

/* Search form */
.search-form {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  padding-right: 3rem !important;
}

.search-submit {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Tags / Pills */
.tag-pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition);
}

.tag-pill:hover,
.tag-pill.active {
  border-color: var(--primary);
  color: var(--primary);
}

/* Stars */
.star-rating {
  display: flex;
  gap: 2px;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Avatar */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-sm { width: 40px; height: 40px; }
.avatar-md { width: 56px; height: 56px; }
.avatar-lg { width: 80px; height: 80px; }

/* Quote icon */
.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.4;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 0.5rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #0C1824;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

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

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.site-footer {
  background: var(--background);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 0 2rem;
}

.footer-shell {
  padding-top: 3rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand-block {
  max-width: 360px;
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
}

.footer-brand-copy {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.12rem;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-social-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-social-icon svg.footer-social-icon--filled {
  fill: currentColor;
  stroke: none;
}

.footer-social-icon:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-divider {
  height: 1px;
  margin: 4rem 0;
  background: rgba(255, 255, 255, 0.06);
}

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

.footer-column-title {
  margin-bottom: 1.75rem;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-column-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.footer-column-link,
.footer-column-list a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.98rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-column-link:hover,
.footer-column-link.is-accent,
.footer-column-list a:hover {
  color: #D6A36A;
}

.footer-bottom-note {
  max-width: 980px;
}

.footer-bottom-note p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-bottom-note strong {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
}

/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1024px — Large tablet / small desktop
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  /* About 2-col → 1-col */
  .about-teaser-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-img {
    height: 420px;
  }

  /* Programs */
  .programs-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  /* Articles */
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Post grid */
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero */
  .hero-inner {
    gap: 2.5rem;
  }
}

/* -----------------------------------------------------------------------------
   768px — Tablet / mobile
   ----------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Hide desktop nav */
  .nav-list,
  .nav-actions .btn-copper {
    display: none;
  }

  /* Show burger */
  .burger-btn {
    display: flex;
  }

  /* Hero stacks */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 5rem 1.5rem 3rem;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }

  .hero-actions {
    justify-content: center;
  }

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

  .hero-visual { order: -1; }

  .portrait-wrap { max-width: 320px; }

  /* Book rows */
  .book-row,
  .book-row.reverse {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }

  .book-cover-wrap { width: 180px; }

  .book-links { justify-content: center; }

  /* Contact CTA */
  .contact-cta-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-cta-actions {
    justify-content: flex-start;
  }

  .contact-cta-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-cta-meta {
    grid-template-columns: 1fr;
  }

  /* Form row */
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  /* Articles */
  .articles-grid {
    grid-template-columns: 1fr;
  }

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

  /* Hero title */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  /* Mobile drawer full-width */
  .mobile-drawer {
    width: 100%;
    max-width: 360px;
  }

  /* Sticky CTA — smaller */
  .sticky-cta {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1.125rem;
    font-size: 0.875rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .site-logo-tooltip {
    display: none;
  }

  .home-timeline-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .home-timeline-item {
    width: auto;
    min-width: 0;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
    align-items: flex-start;
  }

  .home-timeline-line {
    position: relative;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
  }

  .home-timeline-segment {
    width: 1px;
    height: 1.5rem;
    flex: 0 0 auto;
  }

  .home-timeline-copy {
    padding: 0 0 0.25rem;
    text-align: left;
  }

  .home-timeline-label {
    font-size: 1rem;
  }

  .home-timeline-desc {
    font-size: 0.9375rem;
  }
}

/* -----------------------------------------------------------------------------
   480px — Mobile portrait
   ----------------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Reduce all headings */
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero-title {
    font-size: clamp(1.875rem, 9vw, 2.75rem);
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Container padding */
  .container {
    padding: 0 1rem;
  }

  /* Page section spacing */
  .page-section {
    padding: 3.5rem 0;
  }

  /* Hero stats single column */
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  /* Footer single col */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-divider {
    margin: 2.5rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Buttons full-width stacked */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Modal box full-width */
  .modal-box {
    max-width: 100%;
  }

  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .apt-modal-box {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  /* The video box is sized to the clip's own ratio, so keep it centred and
     fully rounded instead of docking it to the bottom edge. */
  .video-modal-overlay {
    --video-modal-max-height: 78vh;
    align-items: center;
  }

  .video-modal-box {
    border-radius: var(--radius-lg);
  }

  .apt-step,
  .apt-modal-header {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .apt-options,
  .apt-choice-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  /* Dropdown covers screen on mobile */
  .dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 60vh;
    overflow-y: auto;
  }

  .has-dropdown.open .dropdown-menu {
    transform: none;
  }

  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }

  /* Episode cards */
  .episode-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .episode-num { font-size: 1.125rem; }

  .home-timeline-item {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.875rem;
  }

  .home-timeline-segment {
    height: 1.25rem;
  }
}

/* =============================================================================
   Print styles
   ============================================================================= */
@media print {
  .site-header,
  .sticky-cta,
  .mobile-drawer,
  .drawer-overlay,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page-section { padding: 2rem 0; }
}

/* -----------------------------------------------------------------------------
   Added for audit completion
   ----------------------------------------------------------------------------- */
.footer-brand-logo { width: 36px; height: 36px; object-fit: contain; }
.footer-logo-link { display: inline-flex; align-items: center; gap: 0.75rem; }
.footer-menu,
.legal-menu,
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-menu,
.footer-legal-links .fallback-menu {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}
.mobile-nav-menu .nav-list,
.mobile-nav-menu .fallback-menu,
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-menu .dropdown-menu {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  margin-top: 0.5rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.timeline-grid-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.timeline-grid-year { color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.timeline-grid-title { margin-top: 0.5rem; font-weight: 700; }
.timeline-grid-desc { margin-top: 0.5rem; color: var(--muted); font-size: 0.875rem; }

.impact-grid,
.pubs-grid,
.team-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.impact-card,
.pub-card,
.team-card,
.resource-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.impact-card h3,
.team-card-title,
.resource-title { font-size: 1.125rem; margin-bottom: 0.75rem; }
.impact-card p,
.team-card-desc,
.resource-desc { color: var(--muted); font-size: 0.925rem; }
.team-card-media,
.resource-card-media { margin: -1.5rem -1.5rem 1rem; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.team-card-image,
.resource-card-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team-card-role,
.resource-type { color: var(--primary); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.75rem; }

.team-grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.team-card--featured {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card--featured .team-card-media {
  margin: 0;
  background: #0f1923;
}

.team-card--featured .team-card-image {
  aspect-ratio: 4 / 4.4;
  max-height: 320px;
  object-position: center top;
}

.team-card--featured .team-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.about-team-section {
  padding-top: 2rem;
}
.resource-section + .resource-section { margin-top: 3rem; }
.resource-section-title { margin-bottom: 1rem; }

.single-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
}
.single-grid--video {
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
}
.single-grid--book { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
.single-sidebar { position: sticky; top: 7rem; }
.single-cover,
.aside-card,
.single-video-poster,
.single-featured-media {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.aside-card { padding: 1.5rem; }

/* Sidebar label/value pairs. The colon and the spacing come from CSS so the
   template never has to pad the text itself. */
.aside-rows {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.aside-rows:last-child { margin-bottom: 0; }

.aside-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.aside-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-row-label {
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.aside-row-label::after { content: ":"; }

.aside-row-value {
  margin: 0;
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* Keep a clear gap between the detail rows and the call to action below. */
.aside-card > .btn-copper,
.aside-card > .btn-ghost,
.aside-card > .btn-ghost-light {
  margin-top: 0.75rem;
}

.aside-card > .btn-copper:first-child,
.aside-card > .btn-ghost:first-child {
  margin-top: 0;
}

.single-cover-image,
.single-featured-image { width: 100%; height: auto; object-fit: cover; }
.single-body { max-width: none; }
.single-video-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.single-lead { font-size: 1.125rem; color: var(--foreground); }
.meta-chip-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.meta-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.single-quote {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  font-size: 1.125rem;
}
.callout-box {
  background: rgba(185, 120, 70, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.single-video-poster--landscape {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.single-video-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 36, 0.08) 0%, rgba(12, 24, 36, 0.38) 100%);
  pointer-events: none;
}

.single-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  z-index: 2;
}

.single-video-aside {
  padding: 1.5rem;
}

.single-video-aside-copy {
  padding: 1rem 0 1.25rem;
}

.single-video-aside-title {
  color: var(--foreground);
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.single-video-aside-text {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.about-page-portrait { width: 100%; border-radius: var(--radius-lg); }
.about-page-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.about-stat-card {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.about-stat-value { color: var(--primary); font-size: 1.75rem; font-weight: 800; }
.about-stat-label { color: var(--muted); font-size: 0.875rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.video-promo-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
}
.video-promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.video-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,24,36,0.85) 0%, rgba(12,24,36,0.55) 50%, rgba(12,24,36,0.2) 100%);
}
.video-promo-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: 6.5rem 6rem;
}
.video-promo-play {
  position: absolute;
  inset: 50% auto auto 58%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  font-size: 1.15rem;
}

.podcast-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.podcast-card-home {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}
.podcast-list-home { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0 1.5rem; }
.podcast-list-item { color: var(--foreground); }

.home-media-strip {
  margin-top: 2.5rem;
}

.home-media-strip-label {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-media-strip-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.home-media-strip-pill {
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  transition: color var(--transition), border-color var(--transition);
}

.home-media-strip-pill:hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.home-media-strip-link-wrap {
  margin-top: 1.5rem;
  text-align: center;
}

.home-media-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #D6A36A;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: gap var(--transition), color var(--transition);
}

.home-media-strip-link:hover {
  gap: 0.75rem;
  color: #D6A36A;
}

/* -----------------------------------------------------------------------------
   Home Page Parity Sections
   ----------------------------------------------------------------------------- */
.home-timeline-section,
.home-impact-section,
.home-publications-section,
.home-testimonials-section,
.home-articles-section {
  background: #F5F2EC;
}

.home-programs-section,
.home-patents-section,
.home-books-section {
  background: #172026;
}

.home-section-head {
  margin-bottom: 3rem;
}

.home-section-head--left {
  max-width: 760px;
}

.home-section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.home-section-title {
  margin: 1rem 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-section-title--dark {
  color: #172026;
}

.home-section-title--narrow {
  max-width: 760px;
}

.home-rule {
  width: 4rem;
  height: 3px;
  margin-top: 1.5rem;
  background: #B97846;
}

.home-rule--short {
  width: 2.5rem;
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.home-inline-link-wrap {
  margin-top: 2.5rem;
}

.home-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #B97846;
  font-size: 1rem;
  font-weight: 700;
  transition: gap 0.25s ease;
}

.home-inline-link:hover {
  gap: 0.9rem;
  color: #B97846;
}

.home-inline-link--dark {
  color: #D6A36A;
}

.home-inline-link--dark:hover {
  color: #D6A36A;
}

.home-head-cta {
  min-width: 258px;
  justify-content: center;
}

.home-timeline-track {
  display: grid;
  grid-template-columns: repeat(9, minmax(110px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.home-timeline-item {
  min-width: 110px;
}

.home-timeline-line {
  display: flex;
  align-items: center;
}

.home-timeline-segment {
  flex: 1 1 auto;
  height: 1px;
  background: #D8D6D0;
}

.home-timeline-segment.is-empty {
  background: transparent;
}

.home-timeline-dot {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border: 2px solid #D8D6D0;
  border-radius: 999px;
  background: #fff;
}

.home-timeline-dot.is-active {
  border-color: #B97846;
  background: #B97846;
}

.home-timeline-copy {
  padding: 1.2rem 0.75rem 0 0.75rem;
  text-align: center;
}

.home-timeline-year {
  color: #B97846;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-timeline-label {
  margin-top: 0.65rem;
  color: #172026;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-timeline-desc {
  margin-top: 0.55rem;
  color: #667078;
  font-size: 0.875rem;
  line-height: 1.45;
}

.home-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem;
}

@media (min-width: 901px) {
  .home-programs-section .home-programs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.home-program-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: #132A32;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-program-card:hover {
  border-color: rgba(185, 120, 70, 0.35);
  background: #1a3340;
  transform: translateY(-2px);
}

.home-program-card--featured {
  background: rgba(185, 120, 70, 0.1);
  border-color: rgba(185, 120, 70, 0.25);
}

.home-program-card--featured:hover {
  background: rgba(185, 120, 70, 0.14);
}

.home-program-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.home-program-format {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}

.home-program-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 2rem;
}

.home-program-title {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.home-program-title--featured {
  font-size: 1.7rem;
  font-weight: 800;
}

.home-program-desc {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.65;
}

.home-program-desc--featured {
  max-width: none;
}

.video-promo-section.section-dark {
  margin-top: 100px;
  margin-bottom: 100px;
}

.home-program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: #D6A36A;
  font-size: 1.125rem;
  font-weight: 700;
}

.home-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-impact-card {
  min-height: 252px;
  padding: 2.15rem;
  border: 1px solid rgba(216, 214, 208, 0.6);
  border-radius: 1.5rem;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-impact-card:hover {
  border-color: rgba(185, 120, 70, 0.32);
  box-shadow: 0 12px 30px rgba(185, 120, 70, 0.08);
  transform: translateY(-2px);
}

.home-impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1.5rem;
  border-radius: 1.1rem;
  background: rgba(185, 120, 70, 0.1);
  color: #B97846;
}

.home-impact-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.home-impact-title {
  color: #172026;
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-impact-desc {
  margin-top: 1.1rem;
  color: #667078;
  font-size: 1rem;
  line-height: 1.55;
}

.home-impact-meta {
  margin-top: 1.6rem;
  color: #315B50;
  font-size: 0.95rem;
  font-weight: 600;
}

.home-patents-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-patent-card {
  min-height: 294px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: #132A32;
  color: #B97846;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-patent-card:hover {
  border-color: rgba(185, 120, 70, 0.35);
  background: #1a3340;
  transform: translateY(-2px);
}

.home-patent-number,
.home-patent-year {
  color: rgba(185, 120, 70, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-patent-sketch {
  width: 100%;
  height: 4.25rem;
  margin: 1.8rem 0 1.6rem;
  opacity: 0.32;
}

.home-patent-title {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-patent-desc {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-patent-year {
  display: block;
  margin-top: 1.35rem;
}

.home-publications-section .home-rule,
.home-testimonials-section .home-rule {
  margin-bottom: 2.5rem;
}

.home-publications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-publication-card {
  min-height: 220px;
  padding: 2rem;
  border: 1px solid rgba(216, 214, 208, 0.6);
  border-radius: 1.5rem;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-publication-card:hover {
  border-color: rgba(185, 120, 70, 0.3);
  box-shadow: 0 12px 30px rgba(185, 120, 70, 0.08);
  transform: translateY(-2px);
}

.home-publication-top,
.home-publication-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-publication-year {
  color: #667078;
  font-size: 0.95rem;
  font-weight: 600;
}

.home-publication-title {
  margin-top: 2rem;
  color: #172026;
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-publication-bottom {
  margin-top: 2rem;
}

.home-publication-platform {
  color: #315B50;
  font-size: 1rem;
  font-weight: 600;
}

.home-publication-link {
  color: #B97846;
  font-size: 1rem;
  font-weight: 700;
}

.home-books-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
  gap: 2rem;
}

.home-book-featured,
.home-book-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background: #132A32;
}

.home-book-featured {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr);
  overflow: hidden;
}

.home-book-cover-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 3rem;
  background: linear-gradient(135deg, #1a2e3b, #0C1824);
}

.home-book-cover-image {
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.home-book-cover-placeholder {
  width: 220px;
  height: 320px;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
}

.home-book-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.home-book-title {
  margin-top: 1.5rem;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-book-desc {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-book-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.home-book-meta-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
}

.home-book-meta-grid strong {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 700;
}

.home-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.home-book-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-book-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.home-book-card:hover {
  border-color: rgba(185, 120, 70, 0.32);
  transform: translateY(-2px);
}

.home-book-mini-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 128px;
  flex-shrink: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #2a1f14, #0C1824);
  overflow: hidden;
  color: #B97846;
  font-size: 1.6rem;
}

.home-book-mini-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-book-mini-title {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.home-book-mini-meta {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
}

.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-testimonial-card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 1.5rem;
  overflow: hidden;
  color: rgba(185, 120, 70, 0.26);
  transition: transform 0.25s ease;
}

.home-testimonial-card:hover {
  transform: translateY(-2px);
}

.home-testimonial-card.is-blue { background: linear-gradient(180deg, #1a2e3b 0%, #0C1824 100%); }
.home-testimonial-card.is-brown { background: linear-gradient(180deg, #2a1f14 0%, #0C1824 100%); }
.home-testimonial-card.is-teal { background: linear-gradient(180deg, #132A32 0%, #0C1824 100%); }
.home-testimonial-card.is-green { background: linear-gradient(180deg, #1f2a1a 0%, #0C1824 100%); }
.home-testimonial-card.is-charcoal { background: linear-gradient(180deg, #2a2014 0%, #0C1824 100%); }
.home-testimonial-card.is-indigo { background: linear-gradient(180deg, #1a1a2e 0%, #0C1824 100%); }

.home-testimonial-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.home-testimonial-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  transform: translate(-50%, -50%);
}

.home-testimonial-duration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-testimonial-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.4rem 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(6, 12, 20, 0.82) 80%);
}

.home-testimonial-caption strong {
  display: block;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.home-testimonial-caption span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}

.home-testimonial-note {
  max-width: 760px;
  margin: 2.5rem auto 0;
  color: #667078;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.home-articles-section .home-rule {
  margin-bottom: 2rem;
}

.home-article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.home-article-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid #D8D6D0;
  border-radius: 999px;
  background: #fff;
  color: #667078;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-article-filter.is-active {
  border-color: #B97846;
  background: #B97846;
  color: #fff;
}

.home-article-filter:hover {
  border-color: rgba(185, 120, 70, 0.7);
  color: #B97846;
}

.home-article-filter.is-active:hover {
  color: #fff;
}

.home-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.home-article-card {
  overflow: hidden;
  border: 1px solid rgba(216, 214, 208, 0.6);
  border-radius: 1.6rem;
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.home-article-card:hover {
  border-color: rgba(185, 120, 70, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.home-article-image-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #E9ECEB;
}

.home-article-image,
.home-article-image-placeholder {
  width: 100%;
  height: 100%;
}

.home-article-image {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-article-card:hover .home-article-image {
  transform: scale(1.05);
}

.home-article-image-placeholder {
  background: linear-gradient(135deg, #d9dfde 0%, #eef1f0 100%);
}

.home-article-body {
  padding: 1.6rem 1.75rem 1.75rem;
}

.home-article-top,
.home-article-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-article-time {
  color: #667078;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.home-article-title {
  margin-top: 1.2rem;
}

.home-article-title,
.home-article-title a {
  color: #172026;
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-article-bottom {
  margin-top: 1.8rem;
}

.home-article-date {
  color: #667078;
  font-size: 0.95rem;
}

.home-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #B97846;
  font-size: 1.05rem;
  font-weight: 700;
}

.articles-archive-section {
  background: #F5F2EC;
}

.video-archive-section {
  background: #F5F2EC;
}

.archive-video-hero .page-hero-title,
.archive-video-hero .page-hero-sub {
  max-width: 44rem;
}

.video-archive-toolbar {
  margin-bottom: 2.6rem;
}

.video-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-archive-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid #D8D6D0;
  border-radius: 999px;
  background: #fff;
  color: #667078;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-archive-filter:hover {
  border-color: rgba(185, 120, 70, 0.7);
  color: #B97846;
}

.video-archive-filter.active {
  border-color: #B97846;
  background: #B97846;
  color: #fff;
  box-shadow: 0 12px 24px rgba(185, 120, 70, 0.18);
}

.video-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.video-archive-card {
  overflow: hidden;
  border: 1px solid rgba(216, 214, 208, 0.6);
  border-radius: 1.6rem;
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.video-archive-card:hover {
  border-color: rgba(185, 120, 70, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.video-archive-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E9ECEB;
}

.video-archive-media {
  position: relative;
}

.video-archive-image,
.video-archive-image-placeholder {
  width: 100%;
  height: 100%;
}

.video-archive-image {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.video-archive-card:hover .video-archive-image {
  transform: scale(1.05);
}

.video-archive-image-placeholder {
  background: linear-gradient(135deg, #d9dfde 0%, #eef1f0 100%);
}

.video-archive-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 36, 0.08) 0%, rgba(12, 24, 36, 0.38) 100%);
  pointer-events: none;
}

.video-archive-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: #B97846;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-archive-card:hover .video-archive-play {
  transform: translate(-50%, -50%) scale(1.06);
}

.video-archive-play:hover {
  background: #a96f40;
}

.video-archive-play span {
  margin-left: 0.2rem;
  font-size: 1.45rem;
  line-height: 1;
}

.video-archive-body {
  padding: 1.6rem 1.75rem 1.75rem;
}

.video-archive-top,
.video-archive-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.video-archive-duration,
.video-archive-date {
  color: #667078;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.video-archive-title {
  margin-top: 1.2rem;
}

.video-archive-title,
.video-archive-title a {
  color: #172026;
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-archive-excerpt {
  margin-top: 0.85rem;
  color: #667078;
  font-size: 1rem;
  line-height: 1.7;
}

.video-archive-bottom {
  margin-top: 1.55rem;
}

.video-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #B97846;
  font-size: 1.05rem;
  font-weight: 700;
}

.video-archive-link:hover {
  color: #9f6536;
}

.pagination--articles {
  margin-top: 3rem;
}

.pagination--articles ul {
  justify-content: center;
  width: 100%;
}

@media (max-width: 900px) {
  .single-grid,
  .single-grid--video,
  .single-grid--book,
  .about-page-layout,
  .podcast-media-grid {
    grid-template-columns: 1fr;
  }

  .home-section-head--split,
  .home-books-layout,
  .home-programs-layout,
  .home-book-featured {
    grid-template-columns: 1fr;
  }

  .home-section-head--split {
    display: grid;
    align-items: start;
  }

  .home-head-cta {
    min-width: 0;
    width: 100%;
  }

  .home-programs-grid,
  .home-impact-grid,
  .home-patents-grid,
  .home-publications-grid,
  .home-articles-grid,
  .video-archive-grid {
    grid-template-columns: 1fr;
  }

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

  .home-book-card {
    padding: 1.5rem;
  }

  .home-book-featured,
  .home-book-card {
    gap: 0;
  }

  .home-book-cover-panel,
  .home-book-detail {
    padding: 2rem;
  }

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

  .single-sidebar { position: static; }
  .video-promo-card { min-height: 460px; }
  .video-promo-content { padding: 3rem; }
  .video-promo-play {
    inset: 50% auto auto 60%;
    width: 74px;
    height: 74px;
  }

  .contact-cta-inner {
    grid-template-columns: 1fr;
  }

  .contact-cta-meta {
    grid-template-columns: 1fr 1fr;
  }

  .single-video-play {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 640px) {
  .about-teaser {
    padding: 4.5rem 0;
  }

  .about-teaser-inner {
    gap: 2rem;
  }

  .about-img {
    height: 320px;
    border-radius: 1.5rem;
  }

  .about-teaser .section-title {
    font-size: 2.4rem;
  }

  .about-teaser .body-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .page-section {
    padding: 4.5rem 0;
  }

  .home-section-title {
    font-size: 2.55rem;
  }

  .home-timeline-track {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 0.875rem;
  }

  .home-timeline-item {
    width: auto;
    min-width: 0;
  }

  .home-program-card,
  .home-impact-card,
  .home-publication-card,
  .home-patent-card,
  .home-article-card {
    padding: 1.5rem;
  }

  .home-article-body {
    padding: 1.35rem 1.4rem 1.5rem;
  }

  .video-archive-body {
    padding: 1.35rem 1.4rem 1.5rem;
  }

  .video-archive-play {
    width: 64px;
    height: 64px;
  }

  .video-archive-top,
  .video-archive-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .single-video-aside {
    padding: 1.25rem;
  }

  .single-video-aside-title {
    font-size: 1.2rem;
  }

  .home-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .home-testimonial-card {
    min-height: 360px;
  }

  .hero-platform-band-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.home-extra-section {
  position: relative;
}

.home-extra-section-side-text,
.home-extra-section-subtitle,
.home-quiz-text,
.home-principle-desc,
.home-resource-desc {
  color: rgba(12, 24, 36, 0.72);
}

.home-korhan-code-section {
  background: transparent;
}

.home-korhan-code-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 2rem;
  padding: 2.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(185, 120, 70, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(27, 48, 64, 0.92), rgba(12, 24, 36, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.home-korhan-code-copy {
  display: grid;
  gap: 1rem;
}

.home-korhan-code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.home-korhan-code-text,
.home-korhan-code-lead {
  color: rgba(245, 240, 232, 0.78);
}

.home-korhan-code-side {
  display: grid;
  align-content: center;
  gap: 0.9rem;
}

.home-korhan-code-badge {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: #f5f0e8;
}

.home-principles-section {
  background: #f6efe5;
}

.home-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-principle-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.7rem;
  min-height: 100%;
  border-radius: 1.8rem;
  border: 1px solid rgba(12, 24, 36, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 25px 60px rgba(12, 24, 36, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 120, 70, 0.24);
  box-shadow: 0 30px 70px rgba(12, 24, 36, 0.1);
}

.home-principle-code {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-principle-title,
.home-resource-title {
  color: #0c1824;
  font-size: 1.6rem;
  line-height: 1.18;
}

.home-principle-example {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(12, 24, 36, 0.08);
  color: rgba(12, 24, 36, 0.88);
  font-weight: 600;
}

.home-principle-link,
.home-resource-link {
  color: var(--primary);
  font-weight: 700;
}

.home-quiz-section {
  background: #13222d;
}

.home-quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.home-quiz-intro .home-section-title,
.home-quiz-intro .section-tag,
.home-quiz-intro .home-quiz-text {
  color: #f5f0e8;
}

.home-quiz-intro .home-quiz-text {
  max-width: 42rem;
  color: rgba(245, 240, 232, 0.72);
}

.home-quiz-card {
  padding: 2rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(185, 120, 70, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.home-quiz-progress,
.home-quiz-result-tag {
  color: rgba(245, 240, 232, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-quiz-step {
  display: none;
}

.home-quiz-card.is-started .home-quiz-step.is-active,
.home-quiz-step.is-active {
  display: block;
}

.home-quiz-question {
  margin: 1rem 0 1.2rem;
  color: #f5f0e8;
  font-size: 1.7rem;
  line-height: 1.22;
}

.home-quiz-options {
  display: grid;
  gap: 0.85rem;
}

.home-quiz-option {
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(245, 240, 232, 0.15);
  color: #f5f0e8;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-quiz-option:hover,
.home-quiz-option.is-selected {
  border-color: rgba(185, 120, 70, 0.45);
  background: rgba(185, 120, 70, 0.16);
  transform: translateY(-1px);
}

.home-quiz-result {
  display: grid;
  gap: 1rem;
}

.home-quiz-result-title,
.home-quiz-result-text {
  color: #f5f0e8;
}

.home-quiz-result[hidden] {
  display: none;
}

.home-quiz-result-text {
  color: rgba(245, 240, 232, 0.76);
}

.home-home-video-library {
  background: #f6efe5;
}

.home-video-topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}

.home-video-topic-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 24, 36, 0.1);
  color: rgba(12, 24, 36, 0.72);
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.home-video-topic-filter:hover,
.home-video-topic-filter.is-active {
  border-color: rgba(185, 120, 70, 0.32);
  color: #0c1824;
  background: rgba(185, 120, 70, 0.12);
}

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

.home-resource-hub-section {
  background: transparent;
}

.home-resource-hub-section .home-section-title,
.home-resource-hub-section .section-tag,
.home-resource-hub-section .home-extra-section-side-text {
  color: #f5f0e8;
}

.home-resource-hub-section .home-extra-section-side-text {
  color: rgba(245, 240, 232, 0.72);
}

.home-resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.home-resource-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.7rem;
  min-height: 100%;
  border-radius: 1.7rem;
  border: 1px solid rgba(245, 240, 232, 0.1);
  background: rgba(27, 48, 64, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 120, 70, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.home-resource-count {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.home-resource-card .home-resource-title,
.home-resource-card .home-resource-desc {
  color: #f5f0e8;
}

.home-resource-card .home-resource-desc {
  color: rgba(245, 240, 232, 0.72);
}

@media (max-width: 1100px) {
  .home-korhan-code-card,
  .home-quiz-layout {
    grid-template-columns: 1fr;
  }

  .home-principles-grid,
  .home-resource-hub-grid,
  .home-video-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-korhan-code-card,
  .home-quiz-card {
    padding: 1.5rem;
    border-radius: 1.4rem;
  }

  .home-korhan-code-actions,
  .home-video-topic-filters {
    flex-direction: column;
  }

  .home-principles-grid,
  .home-resource-hub-grid,
  .home-video-library-grid {
    grid-template-columns: 1fr;
  }

  .home-principle-title,
  .home-resource-title,
  .home-quiz-result-title {
    font-size: 1.35rem;
  }

  .home-quiz-question {
    font-size: 1.3rem;
  }
}

/* -----------------------------------------------------------------------------
   Shared archive card system
   One surface reused by archive templates instead of per-page patches.
   Uses the existing brand tokens: dark card surface, copper accent, Manrope
   headings, --radius-lg corners and the existing button language.
   ----------------------------------------------------------------------------- */
.a-grid {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
}

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

.a-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.a-card:hover,
.a-card:focus-within {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

/* Media ------------------------------------------------------------------- */
.a-card-media {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.a-card-media--wide   { aspect-ratio: 16 / 9; }
.a-card-media--square { aspect-ratio: 1 / 1; }
.a-card-media--cover  { aspect-ratio: 3 / 4; }

.a-card-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.a-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.a-card-media-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(185, 120, 70, 0.16), rgba(12, 24, 36, 0.6));
}

.a-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  max-width: calc(100% - 1.7rem);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.78);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Body -------------------------------------------------------------------- */
.a-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  min-width: 0;
}

.a-card-title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--foreground);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.a-card-title a:hover,
.a-card-title a:focus-visible { color: var(--primary); }

.a-card-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta -------------------------------------------------------------------- */
.a-card-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.a-card-meta li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.a-card-meta-label {
  color: var(--muted);
}

.a-card-meta-label::after { content: ":"; }

.a-card-meta-value {
  color: var(--foreground);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Actions ----------------------------------------------------------------- */
.a-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.a-card-actions .btn-sm { flex: 0 0 auto; }

/* Empty state ------------------------------------------------------------- */
.a-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1024px) {
  .a-grid--3,
  .a-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-grid { gap: 1.25rem; }
}

@media (max-width: 640px) {
  .a-grid--2,
  .a-grid--3,
  .a-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .a-card-body { padding: 1.25rem; }
  .a-card-actions .btn-sm { flex: 1 1 auto; text-align: center; }
}

/* -----------------------------------------------------------------------------
   Homepage testimonials — match the React prototype proportions
   ----------------------------------------------------------------------------- */
.home-testimonials-grid { gap: 1rem; }

.home-testimonial-card {
  min-height: 0;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
}

.home-testimonial-play {
  width: 3rem;
  height: 3rem;
  font-size: 0.95rem;
}

.home-testimonial-card:hover .home-testimonial-play {
  background: var(--primary);
  border-color: var(--primary);
}

.home-testimonial-duration {
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
}

.home-testimonial-caption { padding: 0.9rem 0.85rem; }

.home-testimonial-caption strong {
  font-size: 0.85rem;
  line-height: 1.25;
}

.home-testimonial-caption span {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .home-testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .home-testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-testimonial-play { width: 3.25rem; height: 3.25rem; }
}

/* -----------------------------------------------------------------------------
   Homepage books — balance the featured composition
   ----------------------------------------------------------------------------- */
.home-books-layout--single { grid-template-columns: minmax(0, 1fr); }

.home-books-layout--single .home-book-featured {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.home-books-layout--single .home-book-cover-panel {
  min-height: 0;
  padding: 3rem 2rem;
}

.home-book-cover-image { max-height: 420px; }

.home-book-desc {
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-book-meta-grid > div:empty { display: none; }

.home-book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .home-books-layout--single .home-book-featured,
  .home-book-featured { grid-template-columns: minmax(0, 1fr); }

  .home-books-layout--single .home-book-cover-panel,
  .home-book-cover-panel { padding: 2.5rem 1.5rem; }

  .home-book-detail { padding: 2rem 1.5rem; }
  .home-book-cover-image { max-height: 320px; }
}

/* -----------------------------------------------------------------------------
   Batch 2 — homepage testimonials recomposition + resources page
   ----------------------------------------------------------------------------- */

/* Section titles scale with the viewport so they never dwarf their content
   and never overflow on small screens. */
.home-section-title {
  font-size: clamp(1.9rem, 1.15rem + 2.1vw, 2.55rem);
  overflow-wrap: break-word;
}

/* Keep the section CTA optically aligned with the heading baseline. */
.home-section-head--split .home-inline-link {
  align-self: flex-end;
  padding-bottom: 0.35rem;
}

/* Testimonials: 3 x 2 composition instead of six narrow columns.
   Cards keep the 9:16 video ratio but are capped so they stay a comfortable
   reading size rather than stretching to the full column. */
.home-testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  justify-items: center;
}

.home-testimonial-card {
  width: 100%;
  max-width: 300px;
}

.home-testimonial-caption strong { font-size: 1rem; }
.home-testimonial-caption span   { font-size: 0.85rem; }
.home-testimonial-duration       { font-size: 0.75rem; }

.home-testimonial-play {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .home-testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .home-testimonial-card  { max-width: 260px; }
}

@media (max-width: 640px) {
  .home-testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .home-testimonial-card  { max-width: none; }
}

/* -----------------------------------------------------------------------------
   Resources page — empty state, alternative cards, newsletter
   ----------------------------------------------------------------------------- */
.resources-empty-section { padding-bottom: 1rem; }

.resources-empty {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  text-align: center;
}

.resources-empty-icon {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 120, 70, 0.35), rgba(185, 120, 70, 0) 70%);
}

.resources-empty-title {
  margin: 0 0 0.6rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--foreground);
}

.resources-empty-text {
  margin: 0;
  max-width: 52ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.resources-alt { margin-top: 0.5rem; }

.resources-alt-title {
  margin: 0.75rem 0 2rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem);
  font-weight: 800;
  color: var(--foreground);
}

/* Whole-card link variant used by the fallback cards. */
.a-card--link { text-decoration: none; }

.a-card-count {
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.a-card-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.a-card-link-cue {
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition);
}

.a-card--link:hover .a-card-link-cue { transform: translateX(4px); }

.resource-section + .resource-section { margin-top: 3.5rem; }

.resource-section-title {
  margin: 0 0 1.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
}

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

.newsletter-title {
  margin: 0.9rem 0 0.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--foreground);
}

.newsletter-sub {
  margin: 0 auto 1.75rem;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

.newsletter-form .newsletter-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
}

.newsletter-form .newsletter-submit {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form .newsletter-submit { width: 100%; }
}

/* -----------------------------------------------------------------------------
   Batch 3 — homepage patents ("Buluşlar") recomposition
   Five very narrow columns replaced by a balanced 3-column grid. The repeated
   decorative sketch is gone from the markup; the card now leads with a single
   meta badge, then title, clamped description and a visible action cue.
   ----------------------------------------------------------------------------- */
.home-patents-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-patent-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
  padding: 1.75rem;
  text-decoration: none;
}

.home-patent-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.home-patent-meta .home-patent-number {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(185, 120, 70, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.home-patent-meta .home-patent-year {
  display: inline-block;
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: inherit;
}

.home-patent-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.home-patent-desc {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-patent-cue {
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap var(--transition);
}

.home-patent-card:hover .home-patent-cue { color: #d79a68; }

@media (max-width: 1024px) {
  .home-patents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}

@media (max-width: 640px) {
  .home-patents-grid { grid-template-columns: minmax(0, 1fr); }
  .home-patent-card { padding: 1.5rem; }
}

/* -----------------------------------------------------------------------------
   Appointment form — breathing room around the consent row
   ----------------------------------------------------------------------------- */
.apt-modal-box .checkbox-label,
.contact-form .checkbox-label {
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.checkbox-label input[type="checkbox"] { margin-top: 2px; }

/* -----------------------------------------------------------------------------
   Batch 4 — books archive
   Reuses the shared .a-card surface with a cover-shaped media variant so book
   jackets keep their portrait proportions instead of being cropped or stretched.
   ----------------------------------------------------------------------------- */
.book-grid { align-items: stretch; }

/* Cover media: fixed 2:3 box, image contained (never stretched, never cropped). */
.a-card-media--cover.book-card-cover {
  /* Fixed band height keeps the jacket prominent without swallowing the card;
     the image itself stays uncropped and unstretched via object-fit: contain. */
  aspect-ratio: auto;
  height: clamp(260px, 24vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(150deg, rgba(185, 120, 70, 0.12), rgba(12, 24, 36, 0.55));
}

.book-card-img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.35rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

.a-card:hover .book-card-img { transform: none; }

/* Brand-consistent fallback when a jacket is missing. */
.book-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62%;
  height: 82%;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
}

.book-cover-fallback-mark {
  width: 34%;
  height: 44%;
  border-left: 2px solid rgba(185, 120, 70, 0.55);
  border-top: 2px solid rgba(185, 120, 70, 0.25);
  border-radius: 2px 0 0 0;
}

.book-card-body { gap: 0.9rem; }

.book-card-title {
  font-size: 1.35rem;
  -webkit-line-clamp: 3;
}

.book-card-text {
  -webkit-line-clamp: 4;
  max-width: 62ch;
}

.book-card-actions { gap: 0.5rem; }

/* Single book: wide, balanced featured composition instead of a lone column. */
.book-grid--single .book-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
}

.book-grid--single .book-card-cover {
  aspect-ratio: auto;
  min-height: 100%;
  padding: 2.5rem;
}

.book-grid--single .book-card-img { max-height: 420px; }

.book-grid--single .book-card-body {
  justify-content: center;
  padding: 2.5rem;
}

.book-grid--single .book-card-title { font-size: 1.75rem; }
.book-grid--single .book-card-text  { -webkit-line-clamp: 6; }

@media (max-width: 1024px) {
  .book-grid.a-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-card-title { font-size: 1.2rem; }
}

@media (max-width: 720px) {
  .book-grid.a-grid--2 { grid-template-columns: minmax(0, 1fr); }

  .book-grid--single .book-card { grid-template-columns: minmax(0, 1fr); }

  .book-grid--single .book-card-cover {
    aspect-ratio: 2 / 3;
    max-height: 420px;
    padding: 2rem;
  }

  .book-grid--single .book-card-body { padding: 1.5rem; }
  .book-grid--single .book-card-title { font-size: 1.4rem; }

  /* Buy buttons stack cleanly instead of overflowing. */
  .book-card-actions .btn-sm {
    flex: 1 1 calc(50% - 0.25rem);
    text-align: center;
  }
}

@media (max-width: 420px) {
  .book-card-actions .btn-sm { flex: 1 1 100%; }
}

/* -----------------------------------------------------------------------------
   Batch 5 — search results
   ----------------------------------------------------------------------------- */
.search-form-wrap {
  max-width: 620px;
  margin: 0 0 2.5rem;
}

.korhan-search-form {
  display: flex;
  gap: 0.75rem;
}

.korhan-search-input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.korhan-search-submit {
  flex: 0 0 auto;
  white-space: nowrap;
}

.search-card .a-card-body { gap: 0.7rem; }

.search-card-title {
  font-size: 1.1rem;
  -webkit-line-clamp: 3;
}

/* Empty state: compact, actionable, same language as the other empty states. */
.search-empty {
  max-width: 640px;
  margin: 0 0 1rem;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.search-empty-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 50%, rgba(185, 120, 70, 0.35), rgba(185, 120, 70, 0) 70%);
}

.search-empty-title {
  margin: 0 0 0.6rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--foreground);
}

.search-empty-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.search-empty-links { margin-top: 1.5rem; }

.search-empty-links-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.search-empty-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 560px) {
  .korhan-search-form { flex-direction: column; }
  .korhan-search-submit { width: 100%; }
  .search-empty { padding: 1.75rem 1.35rem; }
  .search-empty-links-row .btn-sm { flex: 1 1 100%; text-align: center; }
}

/* Search field/keyboard focus: input[type="search"] is not covered by the
   generic input focus rule, so it gets the same copper ring here. */
.korhan-search-input:focus,
.korhan-search-input:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 120, 70, 0.15);
  outline: none;
}

.korhan-search-submit:focus-visible,
.a-card a:focus-visible,
.a-card-actions a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Contact CTA mobile overflow (root cause).
   The later "max-width: 900px" block re-declares .contact-cta-meta as two
   columns, so it also wins below 768px. With an unbreakable e-mail address in
   one cell the track grows past the viewport and drags the whole CTA grid with
   it, clipping the copy and the address cards at ~390px. Restore one column on
   phones and stop any single long token from setting the track width. */
@media (max-width: 768px) {
  .contact-cta-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-cta-panels,
.contact-cta-location,
.contact-cta-meta-card {
  min-width: 0;
}

.contact-cta-meta-link {
  overflow-wrap: anywhere;
}

/* -----------------------------------------------------------------------------
   Real-device mobile fixes (375 / 390 / 430)
   ----------------------------------------------------------------------------- */

/* Ana sayfa Programlar: two "!important" rules pin the grid to three columns at
   every width, so the existing mobile override never applies. At 375px each
   card's content box collapses to ~48px, which clips the titles and widens the
   document to 441px (that in turn pushed the header and the fixed sticky CTA
   out of the viewport). Match the !important weight for phones only; the
   desktop three-column layout is untouched. */
@media (max-width: 768px) {
  .home-programs-grid,
  .home-programs-section .home-programs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* İletişim sayfası: .contact-layout is "1fr 2fr" with no mobile override, so the
   form column keeps a min-content width the phone viewport cannot hold. */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

.contact-info-col,
.contact-form-col {
  min-width: 0;
}

/* Randevu modalı kapatma düğmesi: .apt-modal-header bir flex kabı olduğu için
   düğme başlık metnine yer açmak üzere sıkışıyor ve 375px'te 36px yerine 29px
   kalıyor. Hedeflenen boyutu koru. */
.apt-modal-close {
  flex-shrink: 0;
  min-width: 2.25rem;
}

/* -----------------------------------------------------------------------------
   Yasal bilgilendirme sayfası — yalnızca .legal-page-content içine scope edilir.
   Global .prose / p / ul / dt / dd kurallarına dokunulmaz.
   ----------------------------------------------------------------------------- */
.legal-page-content {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
}

.legal-page-content .legal-lead {
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--foreground);
}

.legal-page-content .legal-rules {
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

/* Maddeler metindeki tireyi koruyor; asılı girinti sarma satırlarını
   tirenin hizasından sonra başlatır. */
.legal-page-content .legal-rules li {
  margin: 0 0 1.15rem;
  padding-left: 1.1em;
  text-indent: -1.1em;
  overflow-wrap: anywhere;
}

.legal-page-content .legal-rules li:last-child {
  margin-bottom: 0;
}

.legal-page-content .legal-info,
.legal-page-content .legal-contact {
  margin: 0 0 2.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.legal-page-content .legal-info p,
.legal-page-content .legal-contact p {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.7;
  /* Uzun IBAN, e-posta ve belge numaraları mobilde taşmasın. */
  overflow-wrap: anywhere;
}

.legal-page-content .legal-info p:last-child,
.legal-page-content .legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-page-content .legal-info-title {
  margin-bottom: 1.15rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
}

.legal-page-content .legal-contact {
  margin-bottom: 0;
  border-color: rgba(185, 120, 70, 0.28);
}

.legal-page-content .legal-contact p {
  color: var(--foreground);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-page-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .legal-page-content .legal-info,
  .legal-page-content .legal-contact {
    padding: 1.35rem 1.15rem 1.15rem;
  }
}

/* -----------------------------------------------------------------------------
   İletişim sayfası bilgi kartı — .contact-details içine scope edilir.
   ----------------------------------------------------------------------------- */
.contact-details {
  display: grid;
  gap: 1.75rem;
  margin: 0;
}

.contact-detail-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-detail-label,
.contact-detail-value {
  min-width: 0;
  margin: 0;
}

.contact-detail-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}

.contact-detail-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  overflow-wrap: anywhere;
  word-break: normal;
}

.contact-detail-link {
  color: var(--primary);
  font-weight: 600;
}

.contact-detail-link:hover,
.contact-detail-link:focus-visible {
  color: var(--copper-light, var(--primary));
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-details {
    gap: 1.35rem;
  }

  .contact-detail-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }

  /* Telefon ve WhatsApp mobilde rahat dokunulabilir olsun. */
  .contact-detail-value .contact-detail-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }
}

/* İletişim sayfası ana grid'i: iki sütun dengelenir, ikisi de daralabilir. */
@media (min-width: 769px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

/* -----------------------------------------------------------------------------
   Ortak deneyim kartı: kartın tamamı tek bir gerilmiş buton/bağlantıyla çalışır.
   İç içe kontrol yok; görsel oynat simgesi dekoratif bir span'dır.
   ----------------------------------------------------------------------------- */
.test-card {
  position: relative;
}

.test-card-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-lg);
}

.test-card-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Eski .play-btn artık span; hover durumu kartın tamamından tetiklenir. */
.test-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(185, 120, 70, 0.85);
}

/* Ana sayfa Deneyimler: arşivle aynı kart, 3x2 kompakt grid. */
.testimonials-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Krem zemin üzerindeki koyu kartların kenarlığı biraz daha belirgin olsun. */
.home-testimonials-section .test-card {
  border-color: rgba(12, 24, 36, 0.14);
}

.home-testimonials-section .test-name {
  color: #fff;
}

@media (max-width: 1024px) {
  .testimonials-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Telefonda 2 sütun: gerçek içerikle ölçüldü — 6 kart 2448px yerine ~1200px
   tutuyor, isim/konu metinleri kırpılmıyor. */
@media (max-width: 640px) {
  .testimonials-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

/* -----------------------------------------------------------------------------
   Deneyim arşivi filtre araç çubuğu: 14 hap butonu yerine tek select.
   ----------------------------------------------------------------------------- */
.filter-toolbar {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0 1.5rem;
}

.filter-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.filter-toolbar-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.filter-select {
  min-height: 44px;
  min-width: 240px;
  padding: 0.55rem 2.6rem 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background-color: var(--card);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B97846' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.filter-select:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 120, 70, 0.15);
}

.filter-result-count {
  font-size: 0.9rem;
  color: var(--muted);
}

.filter-empty {
  grid-column: 1 / -1;
  max-width: 560px;
  padding: 2rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .filter-toolbar-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }

  .filter-select {
    width: 100%;
    min-width: 0;
  }
}

/* =============================================================================
   Tekil yazı sayfası — hepsi .single-post-page altına scope edilir.
   Global p / h2 / img / audio / a kurallarına dokunulmaz.
   ========================================================================== */

/* Hero: başlık ile meta satırı yarışmasın, alt boşluk makaleyi ayırsın. */
.single-post-page .page-hero--article {
  padding-bottom: 2.75rem;
}

.single-post-page .article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.single-post-page .article-hero-meta a {
  color: var(--primary);
  text-decoration: none;
}

.single-post-page .article-hero-meta a:hover,
.single-post-page .article-hero-meta a:focus-visible {
  text-decoration: underline;
}

.single-post-page .article-meta-dot {
  color: rgba(245, 240, 232, 0.35);
}

.single-post-page .article-title {
  font-size: clamp(1.9rem, 1.15rem + 2.4vw, 3rem);
  line-height: 1.15;
  margin: 0;
}

.single-post-page .article-hero-excerpt {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* İki sütunlu yerleşim. Her iki sütun da daralabilir (min-width: 0). */
.single-post-page .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 3.5rem;
  align-items: start;
  /* Hero ile içerik arasında belirgin nefes payı. */
  padding: 4rem 0 5rem;
}

.single-post-page .article-main,
.single-post-page .article-sidebar {
  min-width: 0;
}

/* Öne çıkan görsel: doğal oran korunur, kırpma yok. */
.single-post-page .article-featured-image {
  margin: 0 0 2.25rem;
}

.single-post-page .article-hero-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* Gövde tipografisi: uzun okuma için. */
.single-post-page .article-prose {
  max-width: 61ch;
  color: rgba(245, 240, 232, 0.82);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.single-post-page .article-prose > *:first-child {
  margin-top: 0;
}

.single-post-page .article-prose p {
  margin: 0 0 1.5rem;
}

.single-post-page .article-prose h2,
.single-post-page .article-prose h3,
.single-post-page .article-prose h4 {
  margin: 2.5rem 0 1rem;
  color: var(--foreground);
  line-height: 1.25;
}

.single-post-page .article-prose h2 { font-size: 1.6rem; }
.single-post-page .article-prose h3 { font-size: 1.3rem; }
.single-post-page .article-prose h4 { font-size: 1.1rem; }

.single-post-page .article-prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.single-post-page .article-prose strong {
  color: var(--foreground);
  font-weight: 700;
}

.single-post-page .article-prose ul,
.single-post-page .article-prose ol {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.single-post-page .article-prose li {
  margin-bottom: 0.5rem;
}

.single-post-page .article-prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--primary);
  color: var(--muted);
  font-style: italic;
}

/* Gömülü içerik ana sütunun dışına taşmasın. */
.single-post-page .article-prose img,
.single-post-page .article-prose iframe,
.single-post-page .article-prose video,
.single-post-page .article-prose audio,
.single-post-page .article-prose .wp-audio-shortcode,
.single-post-page .article-prose .mejs-container {
  max-width: 100%;
}

.single-post-page .article-prose img {
  height: auto;
  border-radius: var(--radius-lg);
}

.single-post-page .article-prose iframe,
.single-post-page .article-prose video {
  width: 100%;
  border-radius: var(--radius-lg);
}

.single-post-page .article-prose audio,
.single-post-page .article-prose .wp-audio-shortcode {
  width: 100%;
  margin: 1.75rem 0;
}

.single-post-page .article-prose figure {
  margin: 2rem 0;
}

.single-post-page .article-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.single-post-page .article-prose pre {
  overflow-x: auto;
}

/* -------- Paylaşım alanı (makale sonunda, tek yerde) -------- */
.single-post-page .article-share {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.single-post-page .article-share-title {
  margin: 0 0 1.1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
}

.single-post-page .article-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.single-post-page .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--card);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.single-post-page .share-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex-shrink: 0;
}

.single-post-page .share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.single-post-page .share-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.single-post-page .article-share-status {
  margin: 0.85rem 0 0;
  min-height: 1.25rem;
  color: var(--primary);
  font-size: 0.9rem;
}

/* -------- Kenar çubuğu -------- */
.single-post-page .article-sidebar-inner {
  display: grid;
  gap: 1.25rem;
  /* Sabit header yüksekliği ~ 76px. */
  position: sticky;
  top: 100px;
  /* Kısa viewport'larda alt kısım erişilemez kalmasın. */
  max-height: calc(100vh - 124px);
  overflow-y: auto;
}

.single-post-page .article-widget {
  padding: 1.35rem 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.single-post-page .article-widget-title {
  margin: 0 0 0.9rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
}

.single-post-page .article-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.single-post-page .article-cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.single-post-page .article-cat-chip:hover {
  border-color: var(--primary);
}

.single-post-page .article-cat-chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.single-post-page .article-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

/* Tek link: küçük görsel onun içinde dekoratif. İç içe bağlantı yok. */
.single-post-page .article-related-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  border-radius: 0.6rem;
}

.single-post-page .article-related-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.single-post-page .article-related-thumb {
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  background-size: cover;
  background-position: center;
}

.single-post-page .article-related-text {
  min-width: 0;
}

.single-post-page .article-related-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.single-post-page .article-related-link:hover .article-related-title {
  color: var(--primary);
}

.single-post-page .article-related-date {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.single-post-page .article-widget--cta {
  border-color: rgba(185, 120, 70, 0.35);
}

.single-post-page .article-widget-text {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.single-post-page .article-widget-btn {
  width: 100%;
  justify-content: center;
}

.single-post-page .article-widget-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.single-post-page .article-widget-link:hover {
  text-decoration: underline;
}

/* Makale bloğu ile ortak iletişim CTA'sı arasında net bölüm geçişi. */
.single-post-page + .contact-cta-section {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .single-post-page .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
    padding: 3rem 0 5rem;
  }

  /* Mobil/tablette sidebar yazının altına düşer, sticky kalkar. */
  .single-post-page .article-sidebar-inner {
    position: static;
    max-height: none;
    overflow: visible;
    grid-template-columns: minmax(0, 1fr);
  }

  /* Tek sütuna düşse de okunabilir satır uzunluğu korunur; kaldırılırsa
     1024 px'te satır ~115 karaktere çıkıyor. */
  .single-post-page .article-prose {
    max-width: 61ch;
  }
}

@media (max-width: 640px) {
  .single-post-page .page-hero--article {
    padding-bottom: 2rem;
  }

  .single-post-page .article-layout {
    padding: 3rem 0 4.75rem;
    gap: 2.25rem;
  }

  .single-post-page .article-prose {
    font-size: 1rem;
    line-height: 1.75;
  }

  .single-post-page .article-prose p {
    margin-bottom: 1.35rem;
  }

  .single-post-page .article-share-row .share-btn {
    flex: 1 1 calc(50% - 0.3rem);
    justify-content: center;
  }

  .single-post-page .article-widget {
    padding: 1.15rem 1.1rem 1.25rem;
  }
}

/* -----------------------------------------------------------------------------
   Patent arşivi — ortak .a-card sisteminin varyantı.
   Eski .patents-grid sınıfının hiç kuralı yoktu, bu yüzden 8 kayıt tam genişlikte
   alt alta diziliyordu; artık .a-grid--3 ızgarasını kullanıyor.
   ----------------------------------------------------------------------------- */
.patent-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Patentlerin öne çıkan görseli yok: küçük, tek ve sade bir işaret yeter. */
.patent-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(185, 120, 70, 0.12);
  color: var(--primary);
}

.patent-card-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.patent-card-number {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Başlık en fazla 3 satır, açıklama en fazla 4 satır — yalnızca görsel kırpma;
   veritabanındaki başlık ve özet olduğu gibi kalır. */
.patent-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.patent-card-text {
  -webkit-line-clamp: 4;
}

@media (max-width: 640px) {
  .patent-card-icon {
    width: 1.85rem;
    height: 1.85rem;
  }
}

/* -----------------------------------------------------------------------------
   Program detay sayfası — .program-detail / .program-detail-body /
   .program-detail-aside sınıflarının hiç CSS karşılığı yoktu, bu yüzden iki
   sütunlu düzen hiç oluşmuyordu. Ortak tipografi/boşluk sistemine bağlanır.
   ----------------------------------------------------------------------------- */
.program-lead {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 3rem;
  align-items: start;
}

.program-main,
.program-aside {
  min-width: 0;
}

/* İçerik yoksa özet paneli ana sütun olur; boş bir prose alanı bırakılmaz. */
.program-layout--lean {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.program-prose {
  max-width: 61ch;
  color: rgba(245, 240, 232, 0.82);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.program-prose > *:first-child { margin-top: 0; }
.program-prose p { margin: 0 0 1.5rem; }

.program-prose h2,
.program-prose h3 {
  margin: 2.25rem 0 0.9rem;
  color: var(--foreground);
  line-height: 1.25;
}

.program-prose h2 { font-size: 1.5rem; }
.program-prose h3 { font-size: 1.25rem; }

.program-prose a {
  color: var(--primary);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.program-prose ul,
.program-prose ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.program-prose li { margin-bottom: 0.5rem; }

.program-prose img,
.program-prose iframe { max-width: 100%; border-radius: var(--radius-lg); }

/* Program Özeti paneli */
.program-summary {
  padding: 1.6rem 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.program-prose + .program-summary {
  margin-top: 2.5rem;
}

.program-summary-title {
  margin: 0 0 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
}

.program-summary-list {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.program-summary-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.program-summary-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.program-summary-label,
.program-summary-value {
  margin: 0;
  min-width: 0;
}

.program-summary-label {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.program-summary-value {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Başvuru kutusu */
.program-cta-card {
  position: sticky;
  top: 100px;
  border-color: rgba(185, 120, 70, 0.35);
}

.program-cta-title {
  margin: 0 0 0.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
}

.program-cta-text {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.program-cta-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.program-cta-link:hover { text-decoration: underline; }

.program-cta-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .program-layout,
  .program-layout--lean {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .program-prose { max-width: 61ch; }

  .program-cta-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .program-summary {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .program-summary-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    padding-bottom: 0.9rem;
  }

  .program-summary-list { gap: 0.9rem; }

  .program-prose {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* -----------------------------------------------------------------------------
   Header dropdown tamamlayıcıları — mevcut .has-dropdown/.dropdown-menu
   sistemine eklenir; ana bağlantı tıklanabilir kalır, açma/kapama ayrı butondadır.
   ----------------------------------------------------------------------------- */
.nav-item.has-dropdown {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1;
}

.dropdown-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

/* Panel viewport dışına taşmasın. */
.dropdown-menu {
  min-width: 13rem;
  max-width: min(18rem, calc(100vw - 2rem));
}

.dropdown-menu .dropdown-link {
  overflow-wrap: anywhere;
}

.dropdown-menu a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

/* Alt menüde aktif sayfa vurgusu (WordPress'in kendi sınıfları). */
.dropdown-menu .current-menu-item > a,
.dropdown-menu .current_page_item > a,
.dropdown-menu .current-menu-ancestor > a,
.dropdown-menu .current-menu-parent > a {
  color: var(--primary);
  background: rgba(185, 120, 70, 0.12);
}

/* Mobil: hover yok, accordion. Kaynaklar ana sayfasına erişim korunur. */
.mobile-nav-menu .nav-item.has-dropdown {
  display: block;
}

.mobile-nav-menu .nav-item.has-dropdown > .nav-link {
  display: inline-block;
}

.mobile-nav-menu .dropdown-trigger {
  float: right;
  width: 44px;
  height: 44px;
}

.mobile-nav-menu .dropdown-menu {
  display: none;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.mobile-nav-menu .has-dropdown.open .dropdown-menu {
  display: block;
}

/* -----------------------------------------------------------------------------
   Video arşivi: kartın tamamı tek bir tetikleyici. Görsel, başlık, boşluk ve
   oynat işareti aynı modalı açar; tekil sayfaya yönlendirme yoktur.
   ----------------------------------------------------------------------------- */
.video-archive-card {
  position: relative;
}

.video-archive-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 1.6rem;
}

.video-archive-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Oynat işareti artık dekoratif bir span; hover kartın tamamından gelir. */
.video-archive-play {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Vimeo kimliği olmayan kayıt: kırık popup yerine tekil sayfaya güvenli geçiş. */
.video-archive-card.no-video .video-archive-play {
  background: rgba(12, 24, 36, 0.55);
  font-size: 1.3rem;
}

/* -----------------------------------------------------------------------------
   Podcast ve Bilimsel Yayın kartları — ortak .a-card varyantları.
   ----------------------------------------------------------------------------- */
.podcast-card-title,
.publication-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-card-text,
.publication-card-text {
  -webkit-line-clamp: 4;
}

/* -----------------------------------------------------------------------------
   Ekip bölümü — tek kayıt bütün container'a yayılmasın diye 3 sütunluk ölçü
   sabit; kalan sütunları "Ekibimize Katılın" kartı doldurur.
   Ana sayfa ve Hakkında sayfası aynı bloğu kullanır.
   ----------------------------------------------------------------------------- */
.team-grid--cta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.team-grid--cta .team-card,
.team-grid--cta .team-join-card {
  min-width: 0;
}

/* Kalan sütun sayısına göre CTA genişler. */
.team-join-card--span-2 { grid-column: span 2; }
.team-join-card--span-3 { grid-column: span 3; }

.team-grid--cta .team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

/* Görsel sabit oranda; yüz kırpılmasını sınırlamak için üst odaklı. */
.team-grid--cta .team-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--background);
}

.team-grid--cta .team-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.team-grid--cta .team-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.35rem 1.35rem 1.5rem;
  min-width: 0;
}

.team-grid--cta .team-card-title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--foreground);
}

.team-grid--cta .team-card-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.team-grid--cta .team-card-desc {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-grid--cta .team-card-link {
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.team-grid--cta .team-card-link:hover { text-decoration: underline; }

.team-grid--cta .team-card-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Katılım kartı: boş bir yer tutucu değil, bilinçli bir davet alanı. */
.team-join-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2.25rem 2.25rem 2.4rem;
  border: 1px solid rgba(185, 120, 70, 0.32);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(185, 120, 70, 0.14), rgba(185, 120, 70, 0) 60%),
    var(--card);
}

.team-join-line {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 1.1rem;
  background: var(--primary);
  border-radius: 2px;
}

.team-join-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.team-join-title {
  margin: 0.6rem 0 0.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--foreground);
}

.team-join-text {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.team-join-btn {
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .team-grid--cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .team-join-card--span-2,
  .team-join-card--span-3 { grid-column: span 2; }

  .team-join-card { padding: 1.85rem 1.85rem 2rem; }
}

@media (max-width: 640px) {
  .team-grid--cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .team-join-card--span-2,
  .team-join-card--span-3 { grid-column: span 1; }

  .team-join-card { padding: 1.5rem 1.35rem 1.6rem; }

  .team-join-btn { width: 100%; text-align: center; }
}

/* Dropdown hover köprüsü.
   .dropdown-menu paneli üst menüden 0.5rem aşağıda duruyor. Fare bu boşluktan
   geçerken ne <li> ne de panel üzerinde oluyor, mouseleave tetikleniyor ve menü
   kapanıyordu — bu yüzden alt öğelere tıklanamıyordu. Görünmez bir köprü
   boşluğu paneline dahil eder; görsel tasarım değişmez. */
.has-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}

/* Panel açıkken üst öğe de hover'da kalsın. */
.has-dropdown.open > .nav-link {
  color: var(--primary);
}
