/* =====================================================
   Gustavo Munhon — Personal Catholic Site
   Ad Maiorem Dei Gloriam
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Core Palette — Purple & Gold */
  --purple:            #4A2066;
  --purple-light:      #6B3FA0;
  --purple-dark:       #2A1338;
  --gold:              #C9A227;
  --gold-light:        #D4B445;
  --gold-dark:         #A8871F;
  --burgundy:          #6B2D3E;

  /* Backgrounds & Text */
  --bg:                #F8F4EC;
  --bg-alt:            #EDE6D6;
  --bg-card:           #FFFFFF;
  --text:              #1E1610;
  --text-muted:        #5C4F3D;
  --border:            #DDD5C5;
  --shadow:            rgba(30,22,16,.08);
  --shadow-lg:         rgba(30,22,16,.16);

  /* Footer */
  --footer-bg:         #1E1610;
  --footer-text:       #C5B9A8;

  /* Header */
  --header-bg:         rgba(253,251,247,.96);
  --header-border:     rgba(45,36,24,.08);

  /* Spacing */
  --sp-xs:  .4rem;
  --sp-sm:  .8rem;
  --sp-md:  1.6rem;
  --sp-lg:  3.2rem;
  --sp-xl:  6.4rem;

  /* Typography */
  --ff-heading: 'Playfair Display', 'Georgia', serif;
  --ff-body:    'Lora', 'Georgia', 'Times New Roman', serif;
  --ff-accent:  'Cormorant Garamond', 'Georgia', serif;
  --fs-xs:   .75rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.5rem;
  --fs-xl:   2rem;
  --fs-2xl:  2.75rem;
  --fs-3xl:  3.5rem;

  /* Radii & Transitions */
  --radius-sm:   6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 999px;
  --transition: .3s cubic-bezier(.4,0,.2,1);

  --header-h: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img, svg { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; transition: color var(--transition); }
ul,ol { list-style:none; }
button, input, textarea, select {
  font:inherit; color:inherit; background:none; border:none; outline:none;
}

/* ---------- Utility ---------- */
.container { width:100%; max-width:1200px; margin:0 auto; padding:0 var(--sp-md); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity:0; transform:translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-50px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(50px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-right.visible { opacity:1; transform:translateX(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Vitral Separator ---------- */
.vitral-separator {
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--burgundy), var(--gold-dark), var(--gold), var(--purple));
  background-size: 200% 100%;
  animation: vitral-flow 6s ease infinite;
  border: none;
  margin: 0;
}
@keyframes vitral-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

.section-title {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.section-title h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-sm);
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content:'';
  position:absolute;
  bottom: -8px;
  left:50%;
  transform:translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--burgundy));
  background-size: 200% 100%;
  animation: vitral-flow 3s ease infinite;
  border-radius: var(--radius-full);
}
.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: var(--sp-md) auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74,32,102,.25);
}
.btn-primary:hover {
  background: var(--purple-light);
  box-shadow: 0 6px 20px rgba(74,32,102,.35);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--text);
}
.btn-marian {
  background: var(--burgundy);
  color: #fff;
}
.btn-marian:hover {
  background: var(--burgundy);
  transform: translateY(-2px);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1005;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-md);
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: .5rem;
}
.header-logo-text {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple-dark);
  letter-spacing: .02em;
}
.header-logo-cross {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

/* Navigation */
.main-nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { display: flex; gap: .2rem; align-items: center; }
.nav-list a {
  padding: .5rem .85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--purple);
  background: rgba(74,32,102,.06);
}
.nav-list a.active::after {
  content:'';
  position:absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border);
}
.lang-toggle button {
  padding: .3rem .65rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}
.lang-toggle button.active {
  background: var(--gold);
  color: var(--text);
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}
.burger span {
  display:block; width:24px; height:2px;
  background: var(--text);
  border-radius:2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity:0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile overlay */
.mobile-overlay {
  position:fixed; inset:0;
  background: rgba(45,36,24,.5);
  z-index:1002;
  opacity:0; visibility:hidden;
  transition: all var(--transition);
}
.mobile-overlay.active { opacity:1; visibility:visible; }

@media(max-width:1024px){
  .main-nav {
    position:fixed;
    top:0; right:0;
    width: min(340px,85vw);
    height:100vh; height:100dvh;
    background: var(--bg-card);
    flex-direction:column;
    align-items:stretch;
    padding: calc(var(--header-h) + var(--sp-md)) var(--sp-md) var(--sp-md);
    transform:translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 30px var(--shadow-lg);
    z-index: 1004;
    overflow-y: auto;
  }
  .main-nav.open { transform:translateX(0); }
  .nav-list { flex-direction:column; gap:0; }
  .nav-list a { padding: .85rem .6rem; font-size: var(--fs-base); }
  .burger { display:flex; }
  .mobile-controls {
    display: flex;
    gap: var(--sp-sm);
    padding: var(--sp-md) 0;
    border-top: 1px solid var(--border);
    margin-top: auto;
  }
}
@media(min-width:1025px){
  .mobile-controls { display:none; }
  .mobile-overlay { display:none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + var(--sp-xl)) var(--sp-md) var(--sp-xl);
  overflow: hidden;
  background: var(--purple-dark);
  color: #F5F0E8;
}
/* Hero video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42,19,56,.65) 0%, rgba(42,19,56,.4) 40%, rgba(42,19,56,.6) 100%),
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, rgba(42,19,56,.25) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero h1 { color: var(--gold); text-shadow: 0 0 40px rgba(201,162,39,.3), 0 2px 4px rgba(0,0,0,.3); }
.hero .hero-subtitle { color: rgba(245,240,232,.7); }
.hero .hero-bio { color: rgba(245,240,232,.8); }
.hero .hero-cross svg { color: var(--gold); }
.hero .btn-primary { background: var(--gold); color: var(--purple-dark); }
.hero .btn-primary:hover { background: var(--gold-light); }
.hero .btn-outline { border-color: rgba(245,240,232,.4); color: #F5F0E8; }
.hero .btn-outline:hover { background: rgba(245,240,232,.1); color: #fff; border-color: rgba(245,240,232,.6); }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}
.hero-cross {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin: 0 auto var(--sp-md);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: var(--sp-md);
  line-height: 1.1;
}
.hero-subtitle {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-bottom: var(--sp-md);
}
.hero-bio {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display:flex; gap:var(--sp-md); justify-content:center; flex-wrap:wrap; }

/* Hero stagger animations */
.hero-cross-anim,
.hero-h1-anim,
.hero-sub-anim,
.hero-bio-anim,
.hero-btns-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.hero-inner.visible .hero-cross-anim { opacity:1; transform:translateY(0); transition-delay:0s; }
.hero-inner.visible .hero-h1-anim { opacity:1; transform:translateY(0); transition-delay:.12s; }
.hero-inner.visible .hero-sub-anim { opacity:1; transform:translateY(0); transition-delay:.24s; }
.hero-inner.visible .hero-bio-anim { opacity:1; transform:translateY(0); transition-delay:.36s; }
.hero-inner.visible .hero-btns-anim { opacity:1; transform:translateY(0); transition-delay:.48s; }

/* Mobile: poster fallback only if video fails (video plays via autoplay+playsinline) */
/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero {
    background: var(--purple-dark) url('../images/hero-poster.jpg') center / cover no-repeat;
  }
}

/* ---------- FEATURED QUOTE ---------- */
.quote-section {
  background: var(--purple-dark);
  color: #fff;
  padding: var(--sp-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 50%, rgba(201,162,39,.08) 0%, transparent 60%);
  pointer-events:none;
}
.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}
.quote-marks {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-sm);
  opacity: .6;
}
.quote-text {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: var(--fs-xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}
.quote-author {
  font-size: var(--fs-sm);
  color: var(--gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- SECTION SPACING ---------- */
.section { padding: var(--sp-xl) 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- BLOG PREVIEW CARDS ---------- */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.blog-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  position: relative;
  overflow: hidden;
}
/* Vitral hover border */
.blog-preview-card::before {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--burgundy));
  opacity:0;
  transition: opacity var(--transition);
}
.blog-preview-card:hover::before { opacity:1; }
.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}
/* Card header with icon and tag */
.blog-preview-header {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--sp-lg) var(--sp-sm);
}
.blog-preview-header.de { border-top: 3px solid var(--purple); }
.blog-preview-header.po { border-top: 3px solid var(--gold); }
.blog-preview-header.cb { border-top: 3px solid var(--burgundy); }
.blog-preview-tag {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .03em;
  opacity: .6;
}
.blog-preview-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 0;
}
.blog-preview-icon svg { width: 40px; height: 40px; }
.blog-preview-header.de .blog-preview-icon { background: rgba(74,32,102,.08); color: var(--purple); }
.blog-preview-header.po .blog-preview-icon { background: rgba(201,162,39,.1); color: var(--gold-dark); }
.blog-preview-header.cb .blog-preview-icon { background: rgba(107,45,62,.08); color: var(--burgundy); }
.blog-preview-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
  padding: 0 var(--sp-lg);
}
.blog-preview-card .blog-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
  padding: 0 var(--sp-lg);
}
.blog-preview-posts { border-top: 1px solid var(--border); padding: var(--sp-md) var(--sp-lg) 0; margin: 0 var(--sp-sm); }
.blog-preview-posts li {
  padding: .4rem 0;
  font-size: var(--fs-sm);
}
.blog-preview-posts li a {
  color: var(--text);
  transition: color var(--transition);
}
.blog-preview-posts li a:hover { color: var(--purple); }
.blog-preview-posts .post-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-left: .5rem;
}
.blog-preview-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
  color: var(--purple);
  margin-top: var(--sp-md);
  transition: color var(--transition);
}
.blog-preview-link:hover { color: var(--purple-light); }
.blog-preview-link svg { width:16px; height:16px; }

@media(min-width:769px) and (max-width:1024px){
  .blogs-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
}
@media(max-width:768px){
  .blogs-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .blog-preview-header { padding: var(--sp-md) var(--sp-md) var(--sp-sm); }
  .blog-preview-card h3 { padding: 0 var(--sp-md); }
  .blog-preview-card .blog-desc { padding: 0 var(--sp-md); }
  .blog-preview-posts { padding: var(--sp-sm) var(--sp-md) 0; margin: 0; }
  .blog-preview-link { padding: var(--sp-sm) var(--sp-md) var(--sp-md); }
}

/* ---------- RECENT POSTS CAROUSEL ---------- */
.recent-posts-section { overflow: hidden; }
.recent-carousel-wrapper { position: relative; }
.recent-carousel-track {
  display: flex;
  gap: var(--sp-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--sp-sm) 0;
}
.recent-carousel-track::-webkit-scrollbar { display:none; }
.recent-post-card {
  flex: 0 0 calc(33.333% - var(--sp-md) * 2 / 3);
  min-width: 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.recent-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}
/* Badge utility (used on post page) */
.badge {
  display: inline-block;
  padding: .15rem .5rem;
  font-size: .65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-de { background: rgba(74,32,102,.12); color: var(--purple); }
.badge-po { background: rgba(201,162,39,.12); color: var(--gold-dark); }
.badge-cb { background: rgba(107,45,62,.12); color: var(--burgundy); }
.badge-lang { background: var(--bg-alt); color: var(--text-muted); }
/* Carousel card inner elements */
.recent-post-card h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-xs);
  line-height: 1.4;
}
.recent-post-card h4 a { color:var(--text); }
.recent-post-card h4 a:hover { color: var(--purple); }
.recent-post-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-post-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: auto;
}
.recent-post-meta .meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: .5;
}
.recent-carousel-nav {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-btn:hover {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}
.carousel-btn svg { width:18px; height:18px; }

@media(max-width:768px){
  .recent-post-card { flex: 0 0 calc(80vw); min-width: 260px; }
}
@media(max-width:480px){
  .recent-post-card { flex: 0 0 85vw; min-width: 0; }
}

/* ---------- SOCIAL LINKS ---------- */
.social-section { text-align: center; }
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-2px);
}
.social-link svg { width:18px; height:18px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--sp-xl) 0 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--purple), var(--gold), var(--burgundy)) 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col h3 {
  color: #fff;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-md);
  position: relative;
  padding-bottom: var(--sp-sm);
}
.footer-col h3::after {
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:30px; height:2px;
  background: var(--gold);
  border-radius:2px;
}
.footer-col p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--footer-text);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--footer-text);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--footer-bg);
  border-color: var(--gold);
}
.footer-social a svg { width:16px; height:16px; }
.footer-bottom {
  padding: var(--sp-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.footer-motto {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  color: var(--gold);
  font-style: italic;
}

@media(min-width:769px) and (max-width:1024px){
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
  .footer-col:first-child { grid-column: 1 / -1; }
}
@media(max-width:768px){
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer-bottom { flex-direction:column; text-align:center; }
}

/* ---------- PAGE HERO (internal pages) ---------- */
.page-hero {
  background: var(--bg-alt);
  padding: calc(var(--header-h) + var(--sp-lg)) 0 var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--burgundy));
}
.page-hero h1 { margin-bottom: var(--sp-sm); }
.page-hero p { color: var(--text-muted); max-width:560px; margin:0 auto; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb-bar {
  background: var(--bg-alt);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--purple); }
.breadcrumb-list .sep { margin: 0 .15rem; }
.breadcrumb-list .current { color: var(--text); font-weight: 600; }

/* ---------- BLOG LISTING ---------- */
.blog-listing-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.search-bar {
  max-width: 400px;
  margin: 0 auto var(--sp-lg);
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: .75rem 1rem .75rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  font-size: var(--fs-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.search-bar svg {
  position: absolute;
  left: .8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
/* --- Posts Grid: Featured + Regular --- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Featured post (first card) */
.post-card-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-xl);
  margin-bottom: var(--sp-lg);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.post-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--purple), var(--gold), var(--burgundy));
}
.post-card-featured:hover {
  box-shadow: 0 12px 48px var(--shadow-lg);
}
.post-card-featured .featured-label {
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--sp-sm);
}
.post-card-featured h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}
.post-card-featured h2 a {
  color: var(--text);
  transition: color var(--transition);
}
.post-card-featured h2 a:hover { color: var(--purple); }
.post-card-featured .post-excerpt {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: var(--sp-md);
  max-width: 640px;
}
.post-card-featured .post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.post-card-featured .post-card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.post-card-featured .post-card-meta .meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: .5;
}
.post-card-featured .read-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap var(--transition), color var(--transition);
}
.post-card-featured .read-more:hover { color: var(--purple-light); gap: .7rem; }
.post-card-featured .read-more svg { width: 16px; height: 16px; }

/* Regular post cards — list style */
.post-card {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-md) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-lg);
  align-items: start;
  transition: background var(--transition);
}
.post-card:first-of-type { border-top: 1px solid var(--border); }
.post-card:hover {
  background: var(--bg-alt);
  padding-left: var(--sp-md);
  padding-right: var(--sp-md);
  margin-left: calc(-1 * var(--sp-md));
  margin-right: calc(-1 * var(--sp-md));
  border-radius: var(--radius-md);
}
.post-card-body { min-width: 0; }
.post-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
  line-height: 1.3;
}
.post-card h3 a {
  color: var(--text);
  transition: color var(--transition);
}
.post-card h3 a:hover { color: var(--purple); }
.post-card .post-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .post-card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
.post-card .post-card-meta .meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: .5;
}
.post-card-action {
  display: flex;
  align-items: center;
  padding-top: .2rem;
  flex-shrink: 0;
}
.post-card-action .read-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.post-card:hover .read-arrow {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateX(4px);
}
.post-card-action .read-arrow svg { width: 16px; height: 16px; }

@media(max-width:768px){
  .post-card-featured { padding: var(--sp-md); }
  .post-card { grid-template-columns: 1fr; gap: var(--sp-sm); }
  .post-card-action { display: none; }
  .post-card:hover {
    padding-left: var(--sp-sm);
    padding-right: var(--sp-sm);
    margin-left: calc(-1 * var(--sp-sm));
    margin-right: calc(-1 * var(--sp-sm));
  }
}
@media(max-width:480px){
  .post-card-featured h2 { font-size: var(--fs-lg); }
}
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-lg);
}
.pagination button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--transition);
}
.pagination button.active,
.pagination button:hover {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}
.no-results {
  text-align: center;
  padding: var(--sp-xl);
  color: var(--text-muted);
}

/* ---------- POST INDIVIDUAL ---------- */
.post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-lg) var(--sp-md);
}
.post-header { margin-bottom: var(--sp-lg); }
.post-blog-badge {
  display: inline-block;
  padding: .2rem .6rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.post-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}
.post-meta-info {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}
.post-content {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  line-height: 2.0;
  color: var(--text);
}
.post-content p { margin-bottom: 1.5em; }
.post-content h2 {
  font-size: var(--fs-xl);
  margin: 2em 0 .8em;
}
.post-content h3 {
  font-size: var(--fs-lg);
  margin: 1.5em 0 .6em;
}
.post-content img {
  border-radius: var(--radius-md);
  margin: 1.5em 0;
}
.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: var(--sp-md) var(--sp-lg);
  margin: 1.5em 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-muted);
}
.post-content a {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-color: rgba(107,45,62,.3);
  text-underline-offset: 3px;
}
.post-content a:hover {
  text-decoration-color: var(--burgundy);
}
.post-content ul, .post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.post-content li {
  margin-bottom: .5em;
  list-style: disc;
}
.post-content ol li { list-style: decimal; }

/* Post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--sp-lg);
}
.post-nav a {
  font-size: var(--fs-sm);
  color: var(--purple);
  font-weight: 600;
  transition: color var(--transition);
}
.post-nav a:hover { color: var(--purple-light); }
.post-nav .nav-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: block;
  margin-bottom: .2rem;
}

/* Related posts */
.related-posts {
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--border);
}
.related-posts h3 {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.related-grid .recent-post-card {
  flex: auto;
  min-width: 0;
}
@media(max-width:768px){
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:480px){
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- ABOUT PAGE ---------- */
.about-section { max-width: 800px; margin: 0 auto; }
.about-section h2 { margin-bottom: var(--sp-md); }
.about-section p {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}
.about-block {
  margin-bottom: var(--sp-xl);
}
.about-block:last-of-type {
  margin-bottom: var(--sp-lg);
}
.about-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-lg);
}
.about-section a {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-color: rgba(107,45,62,.3);
  text-underline-offset: 3px;
}
.about-section a:hover {
  text-decoration-color: var(--burgundy);
}
.about-blog-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-md) 0;
}
.about-blog-list li {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.8;
}
.about-blog-list li:last-child {
  border-bottom: none;
}
.about-blog-list strong {
  color: var(--text);
}
.about-quote {
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  margin: var(--sp-lg) 0;
  position: relative;
}
.about-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.about-quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.about-quote blockquote {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--purple-dark);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
.about-motto {
  text-align: center;
  padding: var(--sp-xl) 0;
  margin-top: var(--sp-lg);
  border-top: 1px solid var(--border);
}
.about-motto-cross {
  display: block;
  font-size: var(--fs-xl);
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}
.about-motto p {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--purple-dark);
  margin-bottom: var(--sp-xs);
}
.about-motto .about-motto-translation {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: .06em;
}

/* ---------- CONTACT PAGE ---------- */
.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-md);
  max-width: 800px;
  margin: 0 auto;
}
.contact-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}
.contact-link-card svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin: 0 auto var(--sp-sm);
}
.contact-link-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-xs);
}
.contact-link-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.contact-link-card a {
  color: var(--purple);
  font-weight: 600;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position:fixed;
  bottom:24px; right:24px;
  z-index:900;
  width:42px; height:42px;
  background: var(--purple);
  color: #fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  opacity:0; visibility:hidden;
  transform:translateY(10px);
  transition: all var(--transition);
  border:none;
  box-shadow: 0 4px 16px rgba(74,32,102,.3);
}
.back-to-top.visible {
  opacity:1; visibility:visible; transform:translateY(0);
}
.back-to-top:hover { background: var(--purple-light); }
.back-to-top svg { width:18px; height:18px; }

/* ---------- LOADING SKELETON ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text { height: 1em; margin-bottom: .5em; }
.skeleton-title { height: 1.5em; width: 70%; margin-bottom: .8em; }
.skeleton-card { height: 200px; }

/* ---------- 404 / NOT FOUND ---------- */
.not-found {
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.not-found h1 {
  font-size: 6rem;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}
.not-found p {
  color: var(--text-muted);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-lg);
}

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: var(--sp-md) var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  box-shadow: 0 -4px 24px var(--shadow-lg);
  transform: translateY(100%);
  animation: cookie-slide-up .4s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes cookie-slide-up {
  to { transform: translateY(0); }
}
.cookie-banner-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  flex: 1;
}
.cookie-banner-buttons {
  display: flex;
  gap: var(--sp-sm);
  flex-shrink: 0;
}
.cookie-btn-accept {
  padding: .55rem 1.4rem;
  background: var(--gold);
  color: var(--footer-bg);
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.cookie-btn-accept:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.cookie-btn-reject {
  padding: .55rem 1.4rem;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-btn-reject:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
@media(max-width:600px){
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-md);
    gap: var(--sp-sm);
  }
  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- RESPONSIVE ---------- */

/* --- Tablet (769–1024px) --- */
@media(max-width:1024px){
  .header-logo-text { font-size: 1.1rem; }
  .hero-inner { max-width: 640px; }
  .hero-bio { font-size: var(--fs-base); }
  .post-card-featured { padding: var(--sp-lg); }
}

/* --- Mobile (≤768px) --- */
@media(max-width:768px){
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }
  .container { padding: 0 var(--sp-md); max-width: 100%; }

  /* Hero — full-screen immersive with poster */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + var(--sp-lg)) var(--sp-md) var(--sp-lg);
  }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-subtitle { font-size: var(--fs-sm); letter-spacing: .03em; }
  .hero-bio { font-size: var(--fs-sm); line-height: 1.7; max-width: 100%; }
  .hero-cross { width: 36px; height: 36px; margin-bottom: var(--sp-sm); }
  .hero-btns { gap: var(--sp-sm); }

  /* Quote — scale down */
  .quote-section { padding: var(--sp-lg) 0; }
  .quote-marks { font-size: 3rem; }
  .quote-text { font-size: var(--fs-lg); }

  /* Section titles */
  .section-title h2 { font-size: var(--fs-lg); }
  .section-title p { font-size: var(--fs-sm); }

  /* Sections — tighter vertical spacing */
  .section { padding: var(--sp-lg) 0; }

  /* Page hero (internal pages) */
  .page-hero h1 { font-size: var(--fs-xl); }
  .page-hero p { font-size: var(--fs-sm); }

  /* Post article */
  .post-article { padding: var(--sp-md); }
  .post-content { font-size: 1.05rem; line-height: 1.9; }
  .post-nav { flex-direction: column; }
  .post-title { font-size: var(--fs-xl); }

  /* Post cards — remove layout-shift hover on touch */
  .post-card:hover {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    background: var(--bg-alt);
  }

  /* About page */
  .about-quote blockquote { font-size: var(--fs-lg); }
}

/* --- Small Mobile (≤480px) --- */
@media(max-width:480px){
  :root { --sp-xl: 3.5rem; }
  .container { padding: 0 1rem; }

  h1 { font-size: var(--fs-xl); }
  h2 { font-size: var(--fs-lg); }
  .btn { padding: .7rem 1.2rem; font-size: var(--fs-xs); }

  /* Header — compact logo */
  .header-logo-text { font-size: 1rem; }
  .header-logo-cross { width: 22px; height: 22px; }

  /* Hero — stack buttons vertically */
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-btns { flex-direction: column; align-items: stretch; }

  /* Quote — smaller */
  .quote-marks { font-size: 2.5rem; }
  .quote-text { font-size: var(--fs-md); }

  .posts-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: var(--fs-lg); }

  /* Contact cards — single column */
  .contact-links { grid-template-columns: 1fr; }
}

/* ---------- ABOUT PAGE — Enhanced ---------- */

/* About hero with photo */
.about-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--sp-xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto var(--sp-xl);
}
.about-photo-frame {
  position: relative;
  width: 300px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-lg);
}
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(201,162,39,.3);
  pointer-events: none;
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, var(--burgundy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
}
.about-intro-text h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  color: var(--purple-dark);
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}
.about-intro-subtitle {
  font-family: var(--ff-accent);
  font-size: var(--fs-lg);
  color: var(--gold-dark);
  letter-spacing: .04em;
  margin-bottom: var(--sp-md);
}
.about-intro-text p {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}
.about-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}
.about-intro-tags span {
  display: inline-block;
  padding: .3rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-family: var(--ff-accent);
  letter-spacing: .04em;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  max-width: 900px;
  margin: 0 auto var(--sp-xl);
  text-align: center;
}
.about-stat {
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.about-stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  color: var(--purple);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}
.about-stat-label {
  font-family: var(--ff-accent);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Timeline */
.about-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto var(--sp-xl);
  padding-left: 40px;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--purple), var(--gold));
}
.timeline-item {
  position: relative;
  padding-bottom: var(--sp-lg);
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
  z-index: 1;
  transition: background var(--transition), border-color var(--transition);
}
.timeline-item:hover .timeline-dot {
  background: var(--gold);
  border-color: var(--purple);
}
.timeline-year {
  font-family: var(--ff-accent);
  font-size: var(--fs-sm);
  color: var(--gold-dark);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .2rem;
}
.timeline-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--purple-dark);
  margin-bottom: .4rem;
}
.timeline-desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Side-by-side blocks */
.about-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto var(--sp-xl);
}
.about-side.reversed {
  direction: rtl;
}
.about-side.reversed > * {
  direction: ltr;
}
.about-side-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg);
}
.about-side-art svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  color: var(--purple);
}
.about-side-text h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--purple-dark);
  margin-bottom: var(--sp-sm);
}
.about-side-text .about-divider {
  margin-bottom: var(--sp-md);
}
.about-side-text p {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}
.about-side-text p:last-child {
  margin-bottom: 0;
}

/* Photo gallery placeholder */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  max-width: 900px;
  margin: 0 auto var(--sp-xl);
}
.about-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
}
.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: .3;
}

/* CTA section */
.about-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--sp-xl) 0;
}
.about-cta h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--purple-dark);
  margin-bottom: var(--sp-sm);
}
.about-cta p {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}
.about-cta .btn {
  margin: 0 var(--sp-xs);
}

/* Responsive — About Enhanced */
@media(max-width:768px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-lg);
  }
  .about-photo-frame {
    width: 220px;
    height: 280px;
    margin: 0 auto;
  }
  .about-intro-tags { justify-content: center; }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-sm);
  }
  .about-stat { padding: var(--sp-md) var(--sp-sm); }
  .about-stat-number { font-size: var(--fs-xl); }
  .about-side {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .about-side.reversed { direction: ltr; }
  .about-side-art { order: -1; padding: var(--sp-md); }
  .about-side-art svg { max-width: 200px; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
  .about-timeline { padding-left: 36px; }
  .timeline-dot { left: -29px; width: 14px; height: 14px; }
}
@media(max-width:480px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-gallery { grid-template-columns: 1fr; }
  .about-intro-text h2 { font-size: var(--fs-xl); }
  .about-cta .btn { display: block; margin: 0 0 var(--sp-sm); }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .back-to-top, .mobile-overlay, .cookie-banner { display:none !important; }
  body { color:#000; background:#fff; }
  .post-content { font-size: 12pt; }
}
