/* =====================================================
   KitchenAfterlife Dark Edition — main.css
   Inspired by: Kadence (speed/structure) +
                Elara (portrait elegance, category showcase) +
                Kale (mixed feed, highlight post, charm)
   ===================================================== */

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

/* ─── VARIABLES ────────────────────────────────────── */
:root {
  --bg:          #0F1416;
  --bg2:         #111A1E;
  --surface:     #1C2A30;
  --surface2:    #162028;
  --heading:     #F3EFE8;
  --accent:      #0E5A64;
  --accent-lt:   #7AAFB8;
  --accent-glow: rgba(14, 90, 100, 0.25);
  --border:      #2A3A40;
  --muted:       #8AA0A6;
  --dim:         #4A6A72;
  --smoke:       rgba(243,239,232,0.04);
  --noise:       url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  background-image: var(--noise);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--accent-lt); }

/* ─── TYPOGRAPHY ───────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(38px, 6vw, 76px); }
h2 { font-size: clamp(26px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 32px); }
h4 { font-size: 20px; }

p { margin-bottom: 1.5em; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 2px solid var(--accent);
  padding: 16px 0 16px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  color: var(--heading);
  margin: 2.5em 0;
}

/* ─── LAYOUT ───────────────────────────────────────── */
.ka-wrap        { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.ka-wrap--slim  { max-width: 760px;  margin: 0 auto; padding: 0 28px; }
.ka-wrap--mid   { max-width: 960px;  margin: 0 auto; padding: 0 28px; }

/* ─── ANIMATED ELEMENTS ────────────────────────────── */
/* Scroll reveal */
.ka-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ka-reveal.visible { opacity: 1; transform: translateY(0); }
.ka-reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.ka-reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.8s ease, transform 0.8s ease; }
.ka-reveal-left.visible,
.ka-reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.ka-d1 { transition-delay: 0.1s; }
.ka-d2 { transition-delay: 0.2s; }
.ka-d3 { transition-delay: 0.3s; }
.ka-d4 { transition-delay: 0.4s; }
.ka-d5 { transition-delay: 0.5s; }

/* ─── KEYFRAMES ────────────────────────────────────── */
@keyframes fadeDown  { from { opacity:0; transform: translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp    { from { opacity:0; transform: translateY(24px); }  to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes scaleIn   { from { opacity:0; transform: scale(0.94); } to { opacity:1; transform:scale(1); } }
@keyframes glowPulse { 0%,100%{ box-shadow: 0 0 0 0 var(--accent-glow); } 50%{ box-shadow: 0 0 28px 8px var(--accent-glow); } }
@keyframes lineDraw  { from { width: 0; } to { width: 100%; } }
@keyframes scrollBob { 0%,100%{ transform: translateY(0); opacity:0.4; } 50%{ transform: translateY(10px); opacity:1; } }
@keyframes shimmer   { 0%{ background-position: -200% center; } 100%{ background-position: 200% center; } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes float     { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* ─── HEADER ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(15,20,22,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(15,20,22,0.97);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.ka-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo — Cinzel gives gothic weight */
.ka-logo {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--heading);
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: opacity 0.3s;
  animation: fadeDown 0.6s 0.1s ease both;
}
.ka-logo:hover { opacity: 0.7; color: var(--heading); }
.ka-logo .accent { color: var(--accent); }

/* Nav */
.ka-nav { animation: fadeDown 0.6s 0.2s ease both; }
.ka-nav ul { display: flex; list-style: none; gap: 32px; }
.ka-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243,239,232,0.55);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}
.ka-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width var(--transition);
}
.ka-nav a:hover { color: var(--heading); }
.ka-nav a:hover::after { width: 100%; }

.ka-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  animation: fadeDown 0.6s ease both;
}
.ka-nav-toggle span { display: block; width: 22px; height: 1px; background: var(--heading); transition: all 0.3s; }
.ka-nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ka-nav-toggle.open span:nth-child(2) { opacity: 0; }
.ka-nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav drawer */
.ka-nav.mobile-open ul {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(15,20,22,0.98);
  backdrop-filter: blur(20px);
  padding: 32px 28px;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  animation: fadeDown 0.3s ease;
}

/* ─── HERO (Kale-style banner + Elara portrait emphasis) */
.ka-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ka-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1800&q=80');
  filter: brightness(0.18) saturate(0.5);
  transform: scale(1.06);
  transition: transform 10s ease;
  will-change: transform;
}
.ka-hero:hover .ka-hero__bg { transform: scale(1.0); }

/* Layered gradients for depth */
.ka-hero__grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(14,90,100,0.12) 0%, transparent 60%),
    linear-gradient(to right, rgba(15,20,22,0.92) 0%, rgba(15,20,22,0.3) 60%, rgba(15,20,22,0.7) 100%);
  pointer-events: none;
}

/* Grain */
.ka-hero__grain {
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.6;
  pointer-events: none;
}

/* Decorative vertical lines — editorial feel */
.ka-hero__lines {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  margin-left: 5%;
  opacity: 0.5;
}

.ka-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.ka-hero__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ka-hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.ka-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.93;
  color: var(--heading);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
}
.ka-hero__title em {
  font-style: italic;
  color: var(--muted);
  display: block;
}

.ka-hero__desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}

.ka-hero__ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}

/* Scroll indicator */
.ka-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease forwards;
}
.ka-hero__scroll span {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dim);
  writing-mode: vertical-rl;
}
.ka-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollBob 2.5s ease-in-out infinite;
}

/* ─── SECTION LABELS (Kale-style) ─────────────────── */
.ka-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.ka-section-head__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.ka-section-head__line {
  flex: 1;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.ka-section-head__line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--accent-lt), transparent);
  animation: shimmer 3s ease infinite;
  animation-delay: 1s;
}
.ka-section-head__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--border);
}

/* ─── HIGHLIGHT POST (Kale's big hero card) ────────── */
.ka-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}
.ka-highlight__img-wrap {
  position: relative;
  overflow: hidden;
}
.ka-highlight__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.75);
  transition: transform 0.9s var(--transition), filter 0.7s ease;
}
.ka-highlight:hover .ka-highlight__img {
  transform: scale(1.05);
  filter: brightness(0.5) saturate(0.85);
}
.ka-highlight__body {
  background: var(--surface);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-left: none;
  position: relative;
  overflow: hidden;
}
/* Background watermark text */
.ka-highlight__body::before {
  content: attr(data-cat);
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  font-weight: 600;
  color: var(--smoke);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ka-highlight__cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ka-highlight__cat::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.ka-highlight__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.ka-highlight:hover .ka-highlight__title { color: var(--accent-lt); }
.ka-highlight__excerpt {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
  flex: 1;
}
.ka-highlight__meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--dim);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.ka-highlight__meta span { opacity: 0.4; }

/* ─── FEATURED ROW (Kale-style row above grid) ─────── */
.ka-featured-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

/* ─── POST CARDS (Elara portrait + Kale grid) ──────── */
.ka-card {
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ka-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  z-index: 3;
}
.ka-card:hover { transform: translateY(-5px); }
.ka-card:hover::after {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-glow) inset;
}

/* Portrait cards (Elara DNA — tall images) */
.ka-card--portrait .ka-card__img-wrap { height: 300px; }
.ka-card--landscape .ka-card__img-wrap { height: 220px; }
.ka-card--square .ka-card__img-wrap { aspect-ratio: 1; }

.ka-card__img-wrap { position: relative; overflow: hidden; }
.ka-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.8);
  transition: transform 0.7s var(--transition), filter 0.6s ease;
}
.ka-card:hover .ka-card__img {
  transform: scale(1.08);
  filter: brightness(0.55) saturate(0.9);
}

/* Teal glow on hover over image */
.ka-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,90,100,0.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.ka-card:hover .ka-card__img-wrap::after { opacity: 1; }

.ka-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heading);
  background: rgba(14,90,100,0.85);
  padding: 4px 10px;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.ka-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.ka-card__cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.ka-card:hover .ka-card__cat { color: var(--accent-lt); }
.ka-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.ka-card:hover .ka-card__title { color: var(--accent-lt); }
.ka-card__excerpt {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 14px;
}
.ka-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--dim);
}
.ka-readmore {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s, color 0.2s;
}
.ka-card:hover .ka-readmore { gap: 9px; color: var(--accent-lt); }

/* ─── MIXED FEED (Kale DNA — big + two small) ──────── */
.ka-mixed {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}
.ka-mixed .ka-card:first-child {
  grid-row: 1 / 3;
}
.ka-mixed .ka-card:first-child .ka-card__img-wrap { height: 100%; min-height: 260px; }
.ka-mixed .ka-card:not(:first-child) { flex-direction: row; }
.ka-mixed .ka-card:not(:first-child) .ka-card__img-wrap { width: 110px; flex-shrink: 0; height: auto; }
.ka-mixed .ka-card:not(:first-child) .ka-card__body { border-top: none; border-left: 1px solid var(--border); }

/* ─── PORTRAIT GRID (Elara DNA — tall cards, 4 col) ── */
.ka-portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* ─── LIST FEED (Kale sidebar list style) ────────────  */
.ka-list-feed { list-style: none; }
.ka-list-feed__item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s ease;
  align-items: flex-start;
}
.ka-list-feed__item:last-child { border-bottom: none; }
.ka-list-feed__item:hover { padding-left: 5px; }
.ka-list-feed__img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  flex-shrink: 0;
  filter: brightness(0.75) saturate(0.7);
  transition: filter 0.3s;
}
.ka-list-feed__item:hover .ka-list-feed__img { filter: brightness(1) saturate(1); }
.ka-list-feed__cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.ka-list-feed__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.ka-list-feed__item:hover .ka-list-feed__title { color: var(--accent-lt); }
.ka-list-feed__date {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--dim);
}

/* ─── CATEGORY SHOWCASE (Elara DNA — bottom featured cats) */
.ka-cat-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.ka-cat-tile {
  position: relative;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}
.ka-cat-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.6);
  transition: transform 0.7s var(--transition), filter 0.5s;
}
.ka-cat-tile:hover .ka-cat-tile__img {
  transform: scale(1.1);
  filter: brightness(0.3) saturate(0.7);
}
.ka-cat-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,90,100,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.ka-cat-tile:hover .ka-cat-tile__overlay { opacity: 1; }
.ka-cat-tile__label {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
}
.ka-cat-tile__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 3px;
  transition: color 0.2s;
}
.ka-cat-tile:hover .ka-cat-tile__name { color: var(--accent-lt); }
.ka-cat-tile__count {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ─── HOMEPAGE LAYOUT ──────────────────────────────── */
.ka-home-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2px;
  align-items: start;
}
.ka-sidebar {
  background: var(--surface2);
  border-left: 1px solid var(--border);
  padding: 28px 22px;
  position: sticky;
  top: 90px;
}

/* ─── ABOUT BAND ────────────────────────────────────── */
.ka-about {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Animated ghost text */
.ka-about__ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', serif;
  font-size: clamp(80px, 14vw, 180px);
  color: var(--smoke);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.15em;
  animation: float 8s ease-in-out infinite;
}
.ka-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ka-about__tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.ka-about__tag::before { content: ''; display:block; width: 24px; height: 1px; background: var(--accent); }
.ka-about__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(30px, 4vw, 52px);
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 20px;
}
.ka-about__title em { font-style: italic; color: var(--muted); }
.ka-about__text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 32px;
}
.ka-pillars { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ka-pillars li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  background: rgba(14,90,100,0.06);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  transition: background 0.2s, border-color 0.2s;
}
.ka-pillars li:hover { background: rgba(14,90,100,0.12); border-left-color: var(--accent-lt); }

/* ─── BUTTONS ───────────────────────────────────────── */
.ka-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heading);
  background: var(--accent);
  border: none;
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, transform 0.2s;
}
.ka-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}
.ka-btn:hover { background: #0a4049; transform: translateY(-2px); color: var(--heading); }
.ka-btn:hover::before { left: 100%; }

.ka-btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.ka-btn--ghost:hover { border-color: var(--accent); color: var(--accent-lt); background: transparent; transform: translateY(-2px); }

/* ─── SINGLE POST ───────────────────────────────────── */
.ka-post-hero {
  position: relative;
  height: 62vh;
  min-height: 380px;
  overflow: hidden;
}
.ka-post-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.55);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.ka-post-hero:hover .ka-post-hero__img { transform: scale(1.0); }
.ka-post-hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(15,20,22,0.4) 50%, rgba(15,20,22,0.6) 100%);
}
.ka-post-header {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  padding: 0 28px 52px;
  text-align: center;
}
.ka-post-content {
  padding: 60px 0 80px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.ka-post-content h2, .ka-post-content h3 { margin: 2.5em 0 0.8em; }
.ka-post-content p { margin-bottom: 1.6em; }
.ka-post-content a { color: var(--accent); border-bottom: 1px solid rgba(14,90,100,0.35); transition: all 0.2s; }
.ka-post-content a:hover { color: var(--accent-lt); border-color: var(--accent-lt); }
.ka-post-content img { border-radius: 1px; margin: 2em 0; }

/* ─── RECIPE CARD (WP Recipe Maker) ────────────────── */
.wprm-recipe-container {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-top: 2px solid var(--accent) !important;
  padding: 36px !important;
  margin: 40px 0 !important;
}
.wprm-recipe-name { font-family: 'Cormorant Garamond', serif !important; font-size: 34px !important; color: var(--heading) !important; }
.wprm-recipe-ingredient, .wprm-recipe-instruction-text { font-family: 'DM Sans', sans-serif !important; font-weight: 300 !important; font-size: 14px !important; color: var(--muted) !important; }
.wprm-recipe-block-container-columns-title,
.wprm-recipe-ingredient-group-name { font-family: 'DM Sans', sans-serif !important; font-size: 9px !important; letter-spacing: 0.3em !important; text-transform: uppercase !important; color: var(--accent) !important; }

/* ─── FOOTER ────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.ka-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ka-footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--heading);
  margin-bottom: 12px;
}
.ka-footer-logo .accent { color: var(--accent); }
.ka-footer-desc { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 300; color: var(--dim); line-height: 1.7; max-width: 260px; }
.ka-footer-col-title { font-family: 'DM Sans', sans-serif; font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.ka-footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ka-footer-links a { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 300; color: var(--dim); transition: color 0.2s, padding-left 0.2s; display: block; }
.ka-footer-links a:hover { color: var(--accent-lt); padding-left: 4px; }
.ka-footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--dim); letter-spacing: 0.05em; }

/* ─── FORMS ─────────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="search"], textarea, select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
input::placeholder, textarea::placeholder { color: var(--dim); letter-spacing: 0.04em; }

/* ─── WIDGETS ───────────────────────────────────────── */
.widget { margin-bottom: 28px; padding: 22px; background: var(--surface); border: 1px solid var(--border); }
.widget-title { font-family: 'DM Sans', sans-serif; font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ─── PAGINATION ────────────────────────────────────── */
.ka-pagination { display: flex; gap: 4px; justify-content: center; padding: 48px 0; }
.ka-pagination a, .ka-pagination span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--border);
  padding: 9px 15px;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.ka-pagination a:hover, .ka-pagination .current { background: var(--accent); border-color: var(--accent); color: var(--heading); }

/* ─── CURSOR GLOW ───────────────────────────────────── */
#ka-glow {
  position: fixed;
  pointer-events: none;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,90,100,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 99999;
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

/* ─── RESPONSIVE ─────────────────────────────────────  */
@media (max-width: 1024px) {
  .ka-home-wrap { grid-template-columns: 1fr; }
  .ka-sidebar { position: static; border-left: none; border-top: 1px solid var(--border); }
  .ka-portrait-grid { grid-template-columns: repeat(2, 1fr); }
  .ka-cat-showcase { grid-template-columns: repeat(2, 1fr); }
  .ka-footer-grid { grid-template-columns: 1fr 1fr; }
  .ka-about__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .ka-wrap, .ka-wrap--slim, .ka-wrap--mid { padding: 0 18px; }
  .ka-nav ul { display: none; }
  .ka-nav-toggle { display: flex; }
  .ka-highlight { grid-template-columns: 1fr; }
  .ka-highlight__body { border-left: 1px solid var(--border); border-top: none; padding: 32px 28px; }
  .ka-featured-row { grid-template-columns: 1fr; }
  .ka-portrait-grid { grid-template-columns: 1fr 1fr; }
  .ka-cat-showcase { grid-template-columns: repeat(2, 1fr); }
  .ka-footer-grid { grid-template-columns: 1fr; }
  .ka-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .ka-mixed { grid-template-columns: 1fr; }
  .ka-mixed .ka-card:first-child { grid-row: auto; }
  .ka-mixed .ka-card:not(:first-child) { flex-direction: column; }
  .ka-mixed .ka-card:not(:first-child) .ka-card__img-wrap { width: 100%; height: 180px; }
  .ka-about__ghost { font-size: 64px; }
}
