@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* === BRAND TOKENS === */
:root {
  --bg: #F7F2EB;
  --bgAlt: #EFE8DF;
  --accent: #6E0D0D;
  --accent-hover: #8C1515;
  --text: #1A1A1A;
  --text-muted: #5B5B5B;
  --border: #E6DDD3;
  --card: #FFFFFF;
  --cream: #F7F2EB;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* === LAYOUT === */
main { padding-top: 76px; }
.container { max-width: 1440px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (min-width: 768px) { .container { padding-left: 40px; padding-right: 40px; } }
.narrow { max-width: 1100px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (min-width: 768px) { .narrow { padding-left: 40px; padding-right: 40px; } }

/* === TOP PROGRESS BAR === */
.top-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background-color: var(--accent);
  opacity: 0; pointer-events: none;
  box-shadow: 0 0 12px rgba(110,13,13,0.55);
  transition: width 0.32s ease, opacity 0.38s ease;
}

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background-color: rgba(247, 242, 235, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled .brand-link img {
  height: 40px;
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 24px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .header-inner { padding: 0 40px; } }
.brand-link { display: flex; align-items: center; gap: 12px; }
.brand-link img { height: 48px; width: auto; transition: height 0.3s ease; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--text); letter-spacing: -0.01em; }
.nav-desktop { display: none; align-items: center; gap: 36px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  font-family: Inter, sans-serif; font-size: 14px; letter-spacing: 0.02em;
  color: var(--text); opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-pill {
  display: none; align-items: center; justify-content: center;
  border-radius: 9999px; padding: 10px 20px;
  background-color: var(--accent); color: var(--cream);
  font-family: Inter, sans-serif; font-size: 14px;
  transition: background-color 0.3s, transform 0.3s;
}
.btn-pill:hover { background-color: var(--accent-hover); transform: scale(1.03); }
@media (min-width: 768px) { .btn-pill { display: inline-flex; } }
.menu-toggle { display: inline-flex; padding: 8px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--cream);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { display: flex; flex-direction: column; padding: 24px; gap: 16px; }
.mobile-menu a { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text); }
.mobile-menu .btn-pill { display: inline-flex; width: -webkit-fit-content; width: fit-content; margin-top: 8px; }

/* === BUTTONS === */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9999px; padding: 14px 28px;
  transition: all 0.3s;
  font-family: Inter, sans-serif; font-size: 15px;
  border: 1px solid;
}
.btn-primary { background-color: var(--accent); color: var(--cream); border-color: var(--accent); }
.btn-primary:hover { background-color: var(--accent-hover); transform: scale(1.03); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background-color: var(--text); color: var(--cream); transform: scale(1.03); }
.btn-primary svg, .btn-outline svg { transition: transform 0.3s; }
.btn-primary:hover svg, .btn-outline:hover svg { transform: translate(2px, -2px); }

/* === REVEAL ANIMATION === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* === TYPOGRAPHY HELPERS === */
em.serif-em { font-family: 'Cormorant Garamond', serif; color: var(--accent); font-style: italic; }
em.serif-em-light { font-family: 'Cormorant Garamond', serif; color: #EFE8DF; opacity: 0.85; font-style: italic; }
.eyebrow { font-family: Inter, sans-serif; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.eyebrow-tight { font-family: Inter, sans-serif; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h1-display { font-family: 'Playfair Display', serif; font-size: clamp(52px, 8vw, 112px); line-height: 1; letter-spacing: -0.03em; max-width: 1200px; }
.h1-medium { font-family: 'Playfair Display', serif; font-size: clamp(48px, 7.5vw, 104px); line-height: 1; letter-spacing: -0.03em; max-width: 1200px; }
.h1-hero { font-family: 'Playfair Display', serif; font-size: clamp(48px, 7.2vw, 96px); line-height: 1.02; letter-spacing: -0.025em; color: var(--text); }
.h2-section { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.h2-mid { font-family: 'Playfair Display', serif; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.h2-cta { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; margin: 0 auto; }
.lead { font-family: Inter, sans-serif; font-size: 19px; line-height: 1.7; color: var(--text-muted); }

/* === GRID === */
.grid { display: grid; gap: 24px; }
.grid-12 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 48px; }
@media (min-width: 1024px) { .grid-12 { grid-template-columns: repeat(12, 1fr); } }
.col-span-5 { grid-column: span 1; }
.col-span-6 { grid-column: span 1; }
.col-span-7 { grid-column: span 1; }
.col-span-4 { grid-column: span 1; }
.col-span-3 { grid-column: span 1; }
@media (min-width: 1024px) {
  .col-span-5 { grid-column: span 5; }
  .col-span-6 { grid-column: span 6; }
  .col-span-7 { grid-column: span 7; }
  .col-span-4 { grid-column: span 4; }
  .col-span-3 { grid-column: span 3; }
  .col-start-7 { grid-column: 7 / span 6; }
  .col-start-6 { grid-column: 6 / span 7; }
}
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-services { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(3, 1fr); } }
.grid-5 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.grid-work { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-work { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .grid-work { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* === SECTIONS / PADDING === */
.section { padding: 80px 0; }
.section-lg { padding-top: 112px; padding-bottom: 112px; }
@media (min-width: 768px) { .section-lg { padding-top: 144px; padding-bottom: 144px; } }
.pt-hero { padding-top: 80px; padding-bottom: 96px; }
@media (min-width: 768px) { .pt-hero { padding-top: 112px; padding-bottom: 96px; } }
.bg-alt { background-color: var(--bgAlt); }
.bg-dark { background-color: var(--text); color: var(--cream); }
.border-tb { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

/* === CARDS / METRICS === */
.metric-num { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.metric-label { margin-top: 12px; font-family: Inter, sans-serif; font-size: 14px; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.svc-card {
  display: block; height: 100%;
  border-radius: 16px; padding: 32px;
  background-color: var(--card); border: 1px solid var(--border);
  transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s;
}
.svc-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 24px 48px rgba(110,13,13,0.10); border-color: var(--accent); }
.svc-icon-wrap { width: 48px; height: 48px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; background-color: var(--cream); border: 1px solid var(--border); }
.svc-title { font-family: 'Playfair Display', serif; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 12px; }
.svc-desc { font-family: Inter, sans-serif; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.svc-cta { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-family: Inter, sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* HERO floating images */
.hero-stage { position: relative; height: 460px; }
@media (min-width: 768px) { .hero-stage { height: 560px; } }
.float-img-1, .float-img-2, .float-card {
  position: absolute; border-radius: 16px; overflow: hidden;
}
.float-img-1 { top: 0; right: 0; width: 78%; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); animation: bobA 6s ease-in-out infinite; }
.float-img-1 img { width: 100%; height: 300px; object-fit: cover; }
.float-img-2 { bottom: 40px; left: 0; width: 55%; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); animation: bobB 5s ease-in-out infinite 0.5s; }
.float-img-2 img { width: 100%; height: 280px; object-fit: cover; }
.float-card {
  top: 35%; right: -4%; padding: 20px; border-radius: 12px;
  background-color: #fff; border: 1px solid var(--border);
  width: 200px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  animation: wobble 8s ease-in-out infinite;
}
@keyframes bobA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bobB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes wobble { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.hero-glow {
  position: absolute; bottom: -128px; right: -128px;
  width: 420px; height: 420px; border-radius: 9999px;
  opacity: 0.3; pointer-events: none;
  background: radial-gradient(circle, #6E0D0D 0%, transparent 70%);
}

/* badge / chip */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9999px; padding: 8px 16px; margin-bottom: 32px;
  background-color: var(--bgAlt); border: 1px solid var(--border);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 9999px; background-color: var(--accent); }
.hero-badge span { font-family: Inter, sans-serif; font-size: 13px; letter-spacing: 0.04em; }

/* WORK CARDS & GRID LAYOUT */
.work-card, .work-grid-card {
  display: block;
  position: relative;
}
.work-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
  background-color: var(--bgAlt);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.work-card:hover .work-thumb img,
.work-grid-card:hover .work-thumb img {
  transform: scale(1.06);
}
.work-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.work-title, .work-grid-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 6px 0 4px 0;
  transition: color 0.3s ease;
}
.work-card:hover .work-title,
.work-grid-card:hover .work-grid-title {
  color: var(--accent);
}
.work-sub {
  margin-top: 4px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}
.work-cat-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}
.chip {
  border-radius: 9999px;
  padding: 6px 12px;
  white-space: nowrap;
  background-color: var(--cream);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: var(--accent);
}

/* WORK PAGE FILTER & OVERLAYS */
.filter-row { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; }
.filter-btn {
  border-radius: 9999px; padding: 10px 20px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif; font-size: 14px;
  transition: all 0.3s;
}
.filter-btn.active { background-color: var(--accent); color: var(--cream); border-color: var(--accent); }
.work-page-thumb { aspect-ratio: 4 / 3; }
.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.3) 50%, transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 16px;
}
.work-card:hover .work-overlay,
.work-grid-card:hover .work-overlay {
  opacity: 1;
}
.work-overlay .chip {
  background: rgba(247, 242, 235, 0.95);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.work-card:hover .work-overlay .chip,
.work-grid-card:hover .work-overlay .chip {
  transform: translateY(0);
}


/* SERVICES PAGE */
.svc-section { padding: 96px 0; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .svc-section { padding: 128px 0; } }
.svc-img { overflow: hidden; border-radius: 16px; aspect-ratio: 5/4; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-num { font-family: 'Cormorant Garamond', serif; font-size: 56px; line-height: 1; color: var(--accent); }
.svc-tagline { margin-top: 24px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; line-height: 1.45; color: var(--text-muted); max-width: 520px; }
.svc-items { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .svc-items { grid-template-columns: repeat(2, 1fr); } }
.svc-item { display: flex; align-items: center; gap: 12px; }
.svc-check { width: 28px; height: 28px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background-color: #fff; border: 1px solid var(--border); flex-shrink: 0; }
.svc-row { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .svc-row { grid-template-columns: repeat(12, 1fr); } .svc-row > .svc-col { grid-column: span 6; } .svc-row.reversed > .svc-col-img { order: 2; } }

/* ABOUT */
.value-card {
  border-radius: 16px; padding: 28px; height: 100%;
  background-color: #fff; border: 1px solid var(--border);
  transition: transform 0.5s;
}
.value-card:hover { transform: translateY(-4px); }
.value-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--accent); }
.value-title { margin-top: 16px; font-family: 'Playfair Display', serif; font-size: 22px; letter-spacing: -0.01em; }
.value-desc { margin-top: 12px; font-family: Inter, sans-serif; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.founder-card { border-radius: 16px; overflow: hidden; background-color: #fff; border: 1px solid var(--border); }
.founder-img { aspect-ratio: 3/4; overflow: hidden; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.mv-card { border-radius: 16px; padding: 40px; height: 100%; background-color: #fff; border: 1px solid var(--border); }
.mv-body { font-family: 'Playfair Display', serif; font-size: 32px; line-height: 1.25; letter-spacing: -0.01em; }
.timeline-wrap { position: relative; }
.timeline-line { position: absolute; left: 12px; top: 0; bottom: 0; width: 1px; background-color: var(--border); }
@media (min-width: 768px) { .timeline-line { left: 50%; } }
.timeline-item { position: relative; padding-left: 48px; }
@media (min-width: 768px) {
  .timeline-item { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .timeline-item.right > .timeline-content { grid-column: 2; padding-left: 48px; text-align: left; }
  .timeline-item.left > .timeline-content { text-align: right; padding-right: 48px; }
}
.timeline-dot { position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 9999px; background-color: var(--accent); border: 4px solid var(--bgAlt); }
@media (min-width: 768px) { .timeline-dot { left: 50%; transform: translateX(-50%); } }
.timeline-year { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--accent); }
.timeline-title { margin-top: 8px; font-family: 'Playfair Display', serif; font-size: 30px; letter-spacing: -0.01em; }
.timeline-desc { margin-top: 12px; font-family: Inter, sans-serif; font-size: 16px; line-height: 1.65; color: var(--text-muted); }

/* PROCESS */
.stepper { display: none; align-items: center; gap: 16px; margin-bottom: 48px; }
@media (min-width: 768px) { .stepper { display: flex; } }
.step-seg { flex: 1; height: 1px; background-color: var(--border); transition: background-color 0.5s; }
.step-seg.active { background-color: var(--accent); }
.step-seg.hidden { background-color: transparent; }
.step-node { display: flex; align-items: center; gap: 12px; }
.step-circle {
  width: 40px; height: 40px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--cream); color: #B0A89E;
  border: 1.5px solid var(--border);
  font-family: Inter, sans-serif; font-size: 13px;
  transition: all 0.5s;
}
.step-circle.past { background-color: rgba(110,13,13,0.18); color: var(--accent); border-color: var(--accent); }
.step-circle.active {
  background-color: var(--accent); color: var(--cream); border: none;
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(110,13,13,0.12);
}
.step-label { font-family: Inter, sans-serif; font-size: 14px; color: var(--text); transition: color 0.5s; }
.step-label.active { color: var(--accent); font-weight: 500; }
.process-card {
  border-radius: 16px; padding: 32px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
  background-color: #fff; border: 1px solid var(--border);
  transition: border-color 0.5s, box-shadow 0.5s;
}
@media (min-width: 768px) { .process-card { padding: 48px; } }
@media (min-width: 1024px) { .process-card { grid-template-columns: repeat(12, 1fr); } .process-card > .pc-num { grid-column: span 3; } .process-card > .pc-body { grid-column: span 6; } .process-card > .pc-del { grid-column: span 3; } }
.process-card.active { border-color: rgba(110,13,13,0.28); box-shadow: 0 4px 32px rgba(110,13,13,0.07); }
.pc-num-text { font-family: 'Cormorant Garamond', serif; font-size: 96px; line-height: 1; color: var(--accent); }
.pc-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.pc-desc { margin-top: 20px; font-family: Inter, sans-serif; font-size: 17px; line-height: 1.7; color: var(--text-muted); }
.pc-del-label { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.pc-del-list li { font-family: Inter, sans-serif; font-size: 14px; color: var(--text); padding: 4px 0; }

/* CONTACT */
.contact-row {
  display: flex; align-items: center; gap: 20px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-icon { width: 44px; height: 44px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background-color: #fff; border: 1px solid var(--border); flex-shrink: 0; }
.contact-label { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.contact-value { font-family: 'Playfair Display', serif; font-size: 22px; margin-top: 2px; }
.contact-card { border-radius: 16px; padding: 32px; background-color: #fff; border: 1px solid var(--border); }
@media (min-width: 768px) { .contact-card { padding: 48px; } }
.field { display: block; }
.field-label { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  margin-top: 8px; width: 100%; background: transparent; outline: none;
  padding: 12px 0; border: none; border-bottom: 1px solid var(--border);
  font-family: Inter, sans-serif; font-size: 17px; color: var(--text);
  border-radius: 0;
}
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0px center;
  background-size: 16px;
  padding-right: 24px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { resize: none; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.thank-you-wrap { text-align: center; padding: 40px 0; }
.thank-you-icon { width: 56px; height: 56px; border-radius: 9999px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background-color: var(--bgAlt); }

/* PRIVACY ACCORDION */
.acc-wrap { border-radius: 16px; overflow: hidden; background-color: #fff; border: 1px solid var(--border); }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: 24px;
  transition: background-color 0.2s;
}
@media (min-width: 768px) { .acc-trigger { padding: 32px 40px; } }
.acc-trigger.open { background-color: var(--cream); }
.acc-title { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
.acc-toggle { width: 36px; height: 36px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--text); flex-shrink: 0; transition: all 0.2s; }
.acc-trigger.open .acc-toggle { background-color: var(--accent); border-color: var(--accent); color: var(--cream); }
.acc-content { display: none; padding: 0 24px 32px; }
@media (min-width: 768px) { .acc-content { padding: 0 40px 40px; } }
.acc-item.open .acc-content { display: block; }
.acc-content p { font-family: Inter, sans-serif; font-size: 16px; line-height: 1.75; color: var(--text-muted); max-width: 760px; margin: 0; }

/* FOOTER */
.site-footer { background-color: var(--text); color: var(--cream); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 80px 24px; }
@media (min-width: 768px) { .footer-inner { padding: 112px 40px; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-col-brand { grid-column: span 1; }
.footer-col-nav { grid-column: span 1; }
.footer-col-contact { grid-column: span 1; }
@media (min-width: 768px) {
  .footer-col-brand { grid-column: span 5; }
  .footer-col-nav { grid-column: span 3; }
  .footer-col-contact { grid-column: span 4; }
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-brand-row img { height: 40px; width: auto; filter: invert(1) brightness(2); }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 24px; }
.footer-tag { font-family: Inter, sans-serif; font-size: 16px; line-height: 1.7; opacity: 0.7; max-width: 420px; }
.social-row { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.social-icon { width: 40px; height: 40px; border-radius: 9999px; border: 1px solid rgba(247,242,235,0.2); display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.social-icon:hover { transform: scale(1.10); }
.footer-eyebrow { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 0.12em; opacity: 0.5; margin-bottom: 20px; text-transform: uppercase; }
.footer-nav li { padding: 6px 0; }
.footer-nav a { font-family: Inter, sans-serif; font-size: 15px; opacity: 0.8; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-family: 'Playfair Display', serif; font-size: 28px; line-height: 1.2; }
.footer-mail svg { transition: transform 0.3s; }
.footer-mail:hover svg { transform: translate(4px, -4px); }
.footer-mail-sub { margin-top: 16px; font-family: Inter, sans-serif; font-size: 14px; opacity: 0.6; }
.footer-bottom {
  margin-top: 64px; padding-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
  justify-content: space-between;
  border-top: 1px solid rgba(247,242,235,0.1);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-copy { font-family: Inter, sans-serif; font-size: 13px; opacity: 0.5; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-family: Inter, sans-serif; font-size: 13px; opacity: 0.5; }
.footer-legal a:hover { opacity: 1; }

/* MISC */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-14 { margin-top: 56px; }
.mt-16 { margin-top: 64px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.section-head { display: flex; flex-direction: column; gap: 32px; margin-bottom: 64px; }
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.process-list { display: flex; flex-direction: column; gap: 24px; }
.values-list { display: flex; flex-direction: column; gap: 48px; }
.linkedin-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-family: Inter, sans-serif; font-size: 14px; }
.founder-meta-name { font-family: 'Playfair Display', serif; font-size: 28px; letter-spacing: -0.01em; }
.founder-role { font-family: Inter, sans-serif; font-size: 14px; color: var(--accent); margin-top: 4px; }
.founder-bio { margin-top: 16px; font-family: Inter, sans-serif; font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.notfound-section { max-width: 1100px; margin: 0 auto; padding: 96px 24px; min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .notfound-section { padding: 96px 40px; } }
.notfound-big { font-family: 'Cormorant Garamond', serif; font-size: clamp(120px, 18vw, 240px); line-height: 1; color: var(--accent); letter-spacing: -0.04em; }

/* === ANIMATED NOVISH BUTTONS (btn-53 inspired) === */
.btn-novish {
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.btn-novish:hover {
  transform: scale(1.03);
}

.btn-novish .original {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  inset: 0;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.87, 0, 0.13, 1);
  width: 100%;
  height: 100%;
}

.btn-novish .original svg {
  transition: transform 0.3s;
}

.btn-novish:hover .original {
  transform: translateY(100%);
}

.btn-novish:hover .original svg {
  transform: translate(2px, -2px);
}

.btn-novish .letters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.btn-novish .letters span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-15px);
  transition: transform 0.35s cubic-bezier(0.87, 0, 0.13, 1), opacity 0.3s;
  white-space: pre;
}

.btn-novish .letters span:nth-child(2n) {
  transform: translateY(15px);
}

.btn-novish .letters span.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transform: translateY(15px);
}

.btn-novish .letters span.icon:nth-child(2n) {
  transform: translateY(-15px);
}

.btn-novish:hover .letters span {
  opacity: 1;
  transform: translateY(0);
}

/* Delay timings for smooth wave effect */
.btn-novish:hover .letters span:nth-child(1) { transition-delay: 0s; }
.btn-novish:hover .letters span:nth-child(2) { transition-delay: 0.03s; }
.btn-novish:hover .letters span:nth-child(3) { transition-delay: 0.06s; }
.btn-novish:hover .letters span:nth-child(4) { transition-delay: 0.09s; }
.btn-novish:hover .letters span:nth-child(5) { transition-delay: 0.12s; }
.btn-novish:hover .letters span:nth-child(6) { transition-delay: 0.15s; }
.btn-novish:hover .letters span:nth-child(7) { transition-delay: 0.18s; }
.btn-novish:hover .letters span:nth-child(8) { transition-delay: 0.21s; }
.btn-novish:hover .letters span:nth-child(9) { transition-delay: 0.24s; }
.btn-novish:hover .letters span:nth-child(10) { transition-delay: 0.27s; }
.btn-novish:hover .letters span:nth-child(11) { transition-delay: 0.30s; }
.btn-novish:hover .letters span:nth-child(12) { transition-delay: 0.33s; }
.btn-novish:hover .letters span:nth-child(13) { transition-delay: 0.36s; }
.btn-novish:hover .letters span:nth-child(14) { transition-delay: 0.39s; }
.btn-novish:hover .letters span:nth-child(15) { transition-delay: 0.42s; }
.btn-novish:hover .letters span:nth-child(16) { transition-delay: 0.45s; }
.btn-novish:hover .letters span:nth-child(17) { transition-delay: 0.48s; }
.btn-novish:hover .letters span:nth-child(18) { transition-delay: 0.51s; }
.btn-novish:hover .letters span:nth-child(19) { transition-delay: 0.54s; }
.btn-novish:hover .letters span:nth-child(20) { transition-delay: 0.57s; }
.btn-novish:hover .letters span:nth-child(21) { transition-delay: 0.60s; }
.btn-novish:hover .letters span:nth-child(22) { transition-delay: 0.63s; }
.btn-novish:hover .letters span:nth-child(23) { transition-delay: 0.66s; }
.btn-novish:hover .letters span:nth-child(24) { transition-delay: 0.69s; }
.btn-novish:hover .letters span:nth-child(25) { transition-delay: 0.72s; }

/* Filled / Dark Themed Button */
.btn-novish-filled {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

.btn-novish-filled .original {
  background-color: var(--accent);
  color: var(--cream);
}

.btn-novish-filled:hover {
  background-color: var(--text);
  border-color: var(--text);
  color: var(--cream);
}

/* Outline / Light Themed Button */
.btn-novish-outline {
  background-color: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-novish-outline .original {
  background-color: transparent;
  color: var(--text);
}

.btn-novish-outline:hover {
  background-color: var(--text);
  border-color: var(--text);
  color: var(--cream);
}

.btn-novish-outline .letters span {
  color: var(--cream);
}

/* === PAGE PRELOADER === */
body.loading {
  overflow: hidden;
}

.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Speeder / Loader Animation (Uiverse.io by anand_4957, customized to Maroon) */
.preloader-overlay .loader {
  position: absolute;
  top: 50%;
  margin-left: -50px;
  left: 50%;
  animation: speeder 0.4s linear infinite;
}
.preloader-overlay .loader > span {
  height: 5px;
  width: 35px;
  background: var(--accent);
  position: absolute;
  top: -19px;
  left: 60px;
  border-radius: 2px 10px 1px 0;
}
.preloader-overlay .base span {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 100px solid var(--accent);
  border-bottom: 6px solid transparent;
}
.preloader-overlay .base span:before {
  content: "";
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  right: -110px;
  top: -16px;
}
.preloader-overlay .base span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 55px solid var(--accent);
  border-bottom: 16px solid transparent;
  top: -16px;
  right: -98px;
}
.preloader-overlay .face {
  position: absolute;
  height: 12px;
  width: 20px;
  background: var(--accent);
  border-radius: 20px 20px 0 0;
  transform: rotate(-40deg);
  right: -125px;
  top: -15px;
}
.preloader-overlay .face:after {
  content: "";
  height: 12px;
  width: 12px;
  background: var(--accent);
  right: 4px;
  top: 7px;
  position: absolute;
  transform: rotate(40deg);
  transform-origin: 50% 50%;
  border-radius: 0 0 0 2px;
}
.preloader-overlay .loader > span > span:nth-child(1),
.preloader-overlay .loader > span > span:nth-child(2),
.preloader-overlay .loader > span > span:nth-child(3),
.preloader-overlay .loader > span > span:nth-child(4) {
  width: 30px;
  height: 1px;
  background: var(--accent);
  position: absolute;
  animation: fazer1 0.2s linear infinite;
}
.preloader-overlay .loader > span > span:nth-child(2) {
  top: 3px;
  animation: fazer2 0.4s linear infinite;
}
.preloader-overlay .loader > span > span:nth-child(3) {
  top: 1px;
  animation: fazer3 0.4s linear infinite;
  animation-delay: -1s;
}
.preloader-overlay .loader > span > span:nth-child(4) {
  top: 4px;
  animation: fazer4 1s linear infinite;
  animation-delay: -1s;
}
@keyframes fazer1 {
  0% { left: 0; }
  100% { left: -80px; opacity: 0; }
}
@keyframes fazer2 {
  0% { left: 0; }
  100% { left: -100px; opacity: 0; }
}
@keyframes fazer3 {
  0% { left: 0; }
  100% { left: -50px; opacity: 0; }
}
@keyframes fazer4 {
  0% { left: 0; }
  100% { left: -150px; opacity: 0; }
}
@keyframes speeder {
  0% { transform: translate(2px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -3px) rotate(-1deg); }
  20% { transform: translate(-2px, 0px) rotate(1deg); }
  30% { transform: translate(1px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 3px) rotate(-1deg); }
  60% { transform: translate(-1px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-2px, -1px) rotate(1deg); }
  90% { transform: translate(2px, 1px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.preloader-overlay .longfazers {
  position: absolute;
  width: 100%;
  height: 100%;
}
.preloader-overlay .longfazers span {
  position: absolute;
  height: 2px;
  width: 20%;
  background: var(--accent);
}
.preloader-overlay .longfazers span:nth-child(1) {
  top: 20%;
  animation: lf 0.6s linear infinite;
  animation-delay: -5s;
}
.preloader-overlay .longfazers span:nth-child(2) {
  top: 40%;
  animation: lf2 0.8s linear infinite;
  animation-delay: -1s;
}
.preloader-overlay .longfazers span:nth-child(3) {
  top: 60%;
  animation: lf3 0.6s linear infinite;
}
.preloader-overlay .longfazers span:nth-child(4) {
  top: 80%;
  animation: lf4 0.5s linear infinite;
  animation-delay: -3s;
}
@keyframes lf {
  0% { left: 200%; }
  100% { left: -200%; opacity: 0; }
}
@keyframes lf2 {
  0% { left: 200%; }
  100% { left: -200%; opacity: 0; }
}
@keyframes lf3 {
  0% { left: 200%; }
  100% { left: -100%; opacity: 0; }
}
@keyframes lf4 {
  0% { left: 200%; }
  100% { left: -100%; opacity: 0; }
}

/* ======================================================================
   BLOG SYSTEM STYLES
   Blog listing, article pages, cards, TOC, search, filters, share
   ====================================================================== */

/* === BLOG CARDS === */
.blog-card {
  display: block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.blog-card:hover {
  transform: translateY(-4px);
}
.blog-card .work-thumb {
  margin-bottom: 20px;
}
.blog-card-body {
  padding: 0 4px;
}
.blog-card-cat {
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 8px;
}
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}
.blog-card:hover .blog-card-title {
  color: var(--accent);
}
.blog-card-excerpt {
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}
.blog-card-meta .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  background-color: var(--text-muted);
  opacity: 0.5;
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* === BLOG FEATURED CARD === */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  border-radius: 16px;
  background-color: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s;
}
@media (min-width: 768px) {
  .blog-featured {
    grid-template-columns: 1.2fr 1fr;
  }
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(110, 13, 13, 0.08);
  border-color: var(--accent);
}
.blog-featured-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.blog-featured:hover .blog-featured-img img {
  transform: scale(1.04);
}
.blog-featured-body {
  padding: 24px 28px 28px;
}
@media (min-width: 768px) {
  .blog-featured-body {
    padding: 32px 40px 32px 8px;
  }
}
.blog-featured-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 6px 14px;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.blog-featured-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--accent);
}
.blog-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  transition: color 0.3s;
}
.blog-featured:hover .blog-featured-title {
  color: var(--accent);
}
.blog-featured-excerpt {
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}

/* === BLOG SEARCH === */
.blog-search-wrap {
  position: relative;
  max-width: 480px;
}
.blog-search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.blog-search-input {
  width: 100%;
  background: transparent;
  outline: none;
  padding: 14px 0 14px 32px;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: var(--text);
  transition: border-bottom-color 0.3s;
}
.blog-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.blog-search-input:focus {
  border-bottom-color: var(--accent);
}

/* === BLOG FILTER ROW === */
.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .blog-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-filter-row::-webkit-scrollbar {
    display: none;
  }
}
.blog-filter-row .filter-btn {
  border-radius: 9999px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.blog-filter-row .filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.blog-filter-row .filter-btn.active {
  background-color: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
}

/* === BLOG EMPTY STATE === */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
}
.blog-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
}
.blog-empty-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 12px;
}
.blog-empty-desc {
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: var(--text-muted);
}

/* === BLOG PAGINATION === */
.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* === BLOG BREADCRUMB === */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.blog-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.blog-breadcrumb a:hover {
  color: var(--accent);
}
.blog-breadcrumb .bc-sep {
  opacity: 0.4;
}
.blog-breadcrumb .bc-current {
  color: var(--text);
  font-weight: 500;
}

/* === BLOG ARTICLE === */
.blog-article-header {
  max-width: 800px;
  margin: 0 auto 48px;
}
.blog-article-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 6px 14px;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.blog-article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px 0;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}
.blog-article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-article-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid var(--border);
}
.blog-author-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.blog-article-author-name {
  font-weight: 500;
  color: var(--text);
}
.blog-article-meta .meta-sep {
  width: 1px;
  height: 20px;
  background-color: var(--border);
}

/* Featured Hero Banner Image */
.blog-article-hero-img, .blog-hero-img-wrap {
  width: 100%;
  max-height: 480px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.04);
}
.blog-article-hero-img img, .blog-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* === ARTICLE CONTENT LAYOUT === */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .blog-article-layout {
    grid-template-columns: 1fr 280px;
    gap: 64px;
  }
}

/* === ARTICLE PROSE === */
.blog-prose {
  max-width: 740px;
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.blog-prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 56px 0 20px 0;
  color: var(--text);
  scroll-margin-top: 100px;
}
.blog-prose h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 16px 0;
  color: var(--text);
  scroll-margin-top: 100px;
}
.blog-prose h4 {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px 0;
  color: var(--text);
  scroll-margin-top: 100px;
}
.blog-prose p {
  margin: 0 0 24px 0;
  color: var(--text);
  opacity: 0.88;
}
.blog-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.blog-prose a:hover {
  color: var(--accent-hover);
}
.blog-prose strong {
  font-weight: 600;
  color: var(--text);
}
.blog-prose ul, .blog-prose ol {
  padding-left: 24px;
  margin: 0 0 24px 0;
}
.blog-prose ul {
  list-style: disc;
}
.blog-prose ol {
  list-style: decimal;
}
.blog-prose li {
  padding: 4px 0;
  color: var(--text);
  opacity: 0.88;
}
.blog-prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background-color: var(--bgAlt);
  border-radius: 0 12px 12px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}
.blog-prose blockquote p {
  margin: 0;
  opacity: 1;
}
.blog-prose pre {
  margin: 24px 0;
  padding: 24px;
  background-color: #1A1A1A;
  border-radius: 12px;
  overflow-x: auto;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #F7F2EB;
}
.blog-prose code {
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.9em;
  padding: 2px 8px;
  background-color: var(--bgAlt);
  border-radius: 6px;
  color: var(--accent);
}
.blog-prose pre code {
  padding: 0;
  background: none;
  border-radius: 0;
  color: #F7F2EB;
}
.blog-prose img {
  width: 100%;
  max-width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 32px 0;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.blog-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.blog-prose th, .blog-prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.blog-prose th {
  font-weight: 600;
  color: var(--text);
  background-color: var(--bgAlt);
}
.blog-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* === TABLE OF CONTENTS === */
.blog-toc-wrap {
  display: none;
}
@media (min-width: 1024px) {
  .blog-toc-wrap {
    display: block;
    position: relative;
  }
}
.blog-toc {
  position: sticky;
  top: 100px;
}
.blog-toc-title {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--border);
}
.blog-toc-link {
  display: block;
  padding: 8px 0 8px 20px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.blog-toc-link:hover {
  color: var(--text);
}
.blog-toc-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
}
.blog-toc-link.toc-h3 {
  padding-left: 36px;
  font-size: 12px;
}
.blog-toc-link.toc-h4 {
  padding-left: 48px;
  font-size: 12px;
  opacity: 0.8;
}

/* === SOCIAL SHARE BAR === */
.blog-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  margin: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.blog-share-label {
  font-family: Inter, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 8px;
}
.blog-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
}
.blog-share-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
  transform: scale(1.08);
}
.blog-share-btn.copied {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

/* === AUTHOR BIO CARD === */
.blog-author-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
  margin: 56px 0;
}
@media (max-width: 640px) {
  .blog-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.blog-author-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.blog-author-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.blog-author-card-role {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}
.blog-author-card-bio {
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === RELATED ARTICLES === */
.blog-related {
  padding-top: 80px;
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
.blog-related-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* === BLOG LISTING HEADER === */
.blog-listing-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .blog-listing-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* === BLOG TAGS === */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.blog-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  transition: all 0.3s;
}
.blog-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === BLOG NEWSLETTER CTA === */
.blog-newsletter {
  border-radius: 16px;
  padding: 48px;
  background-color: var(--text);
  color: var(--cream);
  text-align: center;
  margin-top: 80px;
}
.blog-newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.blog-newsletter-desc {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.blog-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .blog-newsletter-form {
    flex-direction: column;
  }
}
.blog-newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(247, 242, 235, 0.2);
  background: transparent;
  color: var(--cream);
  font-family: Inter, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}
.blog-newsletter-input::placeholder {
  color: rgba(247, 242, 235, 0.5);
}
.blog-newsletter-input:focus {
  border-color: var(--accent);
}

/* === MOBILE TOC === */
.blog-toc-mobile {
  display: block;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .blog-toc-mobile {
    display: none;
  }
}
.blog-toc-mobile-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  background-color: var(--bgAlt);
  border: 1px solid var(--border);
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s;
}
.blog-toc-mobile-trigger:hover {
  border-color: var(--accent);
}
.blog-toc-mobile-trigger svg {
  transition: transform 0.3s;
}
.blog-toc-mobile-trigger.open svg {
  transform: rotate(180deg);
}
.blog-toc-mobile-list {
  display: none;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background-color: var(--bgAlt);
}
.blog-toc-mobile-list.open {
  display: block;
}
.blog-toc-mobile-list a {
  display: block;
  padding: 8px 0;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.blog-toc-mobile-list a:hover {
  color: var(--accent);
}
.blog-toc-mobile-list a.toc-h3 {
  padding-left: 16px;
}
.blog-toc-mobile-list a.toc-h4 {
  padding-left: 32px;
  font-size: 13px;
}
