/*
Theme Name:  Wada's Garden of Goats
Theme URI:   https://yoursite.com
Description: A dark, elegant personal blog theme for 3D art, memes, videos and cooking. Built with Google AdSense compliance in mind.
Version:     2.131.0
Author:      Wada
Author URI:  https://yoursite.com
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wadas-garden
Tags: dark, blog, custom-menu, featured-images, responsive-layout, two-columns
*/

/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --bg:        #0A090D;
  --surface:   #110F16;
  --surface2:  #18151F;
  --rose:      #9E2D45;
  --rose-h:    #C84060;
  --gold:      #C4973F;
  --gold-h:    #E0B55A;
  --gold-glow: rgba(196,151,63,0.35);
  --text:      #EDE8E0;
  --muted:     #9A9490;
  --border:    rgba(255,255,255,0.07);
  --border-g:  rgba(196,151,63,0.3);
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 2px; }

/* ══════════════════════════════════════
   GOLD RIPPLE
══════════════════════════════════════ */
.ripple-host { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.55s ease-out forwards;
  background: radial-gradient(circle, rgba(224,181,90,0.45) 0%, rgba(196,151,63,0.1) 60%, transparent 100%);
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold);
  color: #0A090D;
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-h);
  box-shadow: 0 0 18px 4px var(--gold-glow);
  transform: translateY(-2px);
  color: #0A090D;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 14px 2px var(--gold-glow);
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10,9,13,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  transition: color 0.2s;
}
.site-logo:hover span { color: var(--gold-h); }

/* ── Header search ── */
.header-search {
  display: flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}
/* Search button — butterfly that flaps on hover */
.header-search__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
}
.header-search__btn .btn-butterfly {
  display: inline-block;
  filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(1.1);
  transition: transform 0.15s ease;
  transform-origin: center;
}
@keyframes butterfly-flap {
  0%,100% { transform: scaleX(1); }
  25%      { transform: scaleX(0.3) scaleY(1.1); }
  75%      { transform: scaleX(0.3) scaleY(1.1); }
}
.header-search__btn:hover .btn-butterfly {
  animation: butterfly-flap 200ms ease-in-out infinite;
}
.header-search__form {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
}
.header-search--open .header-search__form {
  max-width: 240px;
  opacity: 1;
}
.header-search__input {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  padding: 5px 12px;
  outline: none;
  width: 220px;
  transition: border-color 0.2s;
}
.header-search__input::placeholder { color: rgba(154,148,144,0.4); }
.header-search__input:focus { border-color: rgba(196,151,63,0.5); }
@media (max-width: 920px) {
  .header-search { display: none; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

#primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
#primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  overflow: visible;
}
#primary-nav ul li {
  position: relative;
  overflow: visible;
}
#primary-nav ul li a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A09A96;
  transition: color 0.2s;
  position: relative;
}
#primary-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--gold-glow);
}
#primary-nav ul li a:hover { color: var(--gold); }
#primary-nav ul li a:hover::after { width: 100%; }

/* ── Dropdown submenus ── */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-arrow { font-size: 0.55rem; opacity: 0.4; transition: transform 0.2s, opacity 0.2s; margin-left: 1px; }
.nav-has-dropdown:hover > a .nav-arrow { transform: rotate(180deg); opacity: 0.9; }

.nav-has-dropdown > ul.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 130px;
  background: rgba(10,9,13,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: 2px solid rgba(196,151,63,0.3);
  padding: 4px 0 6px;
  flex-direction: column;
  z-index: 500;
  box-shadow: 0 12px 32px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  transition: opacity 0.18s, visibility 0.18s;
}
/* Invisible hover bridge — keeps dropdown open while moving mouse down */
.nav-has-dropdown > ul.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-has-dropdown:hover > ul.nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

ul.nav-dropdown li { list-style: none; }
ul.nav-dropdown li a {
  display: block;
  padding: 7px 18px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(154,148,144,0.75);
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
/* Same underline animation as main nav */
ul.nav-dropdown li a::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  bottom: 3px; left: 18px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--gold-glow);
}
ul.nav-dropdown li a:hover { color: var(--gold); }
ul.nav-dropdown li a:hover::after { width: calc(100% - 36px); }

/* Ko-fi & Discord */
.nav-kofi {
  border: 1px solid rgba(255,94,91,0.45) !important;
  color: #FF5E5B !important;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: background 0.25s, box-shadow 0.25s !important;
  white-space: nowrap;
}
.nav-kofi::after { display: none !important; }
.nav-kofi:hover {
  background: rgba(255,94,91,0.12) !important;
  box-shadow: 0 0 14px 2px rgba(255,94,91,0.25) !important;
  color: #FF7A78 !important;
}
.nav-discord {
  border: 1px solid rgba(88,101,242,0.45) !important;
  color: #7289DA !important;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: background 0.25s, box-shadow 0.25s !important;
  white-space: nowrap;
}
.nav-discord::after { display: none !important; }
.nav-discord:hover {
  background: rgba(88,101,242,0.12) !important;
  box-shadow: 0 0 14px 2px rgba(88,101,242,0.25) !important;
  color: #99AAFB !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--gold); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--gold); }

/* Mobile drawer child items */
.nav-drawer-child {
  padding-left: 24px !important;
  font-size: 0.78rem !important;
  color: rgba(154,148,144,0.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.03) !important;
}
.nav-drawer-child-arrow { color: rgba(196,151,63,0.4); margin-right: 4px; font-size: 0.7rem; }
.nav-drawer-child:hover { color: var(--gold) !important; }

/* Desktop: hide toggle button, show arrow span */
.nav-drawer-toggle { display: none; }

/* Mobile drawer toggle button */
.nav-drawer .nav-drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 44px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.nav-drawer .nav-drawer-toggle:hover { color: var(--gold); }
.nav-drawer .nav-has-dropdown.open .nav-drawer-toggle {
  color: var(--gold);
  transform: rotate(45deg);
}
/* Hide the span arrow on mobile, the button handles it */
.nav-drawer .nav-arrow { display: none; }

.nav-drawer .nav-has-dropdown.open > a .nav-arrow { transform: rotate(180deg); opacity: 0.9; }
/* Mobile drawer dropdown — accordion style */
.nav-drawer .nav-has-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nav-drawer .nav-has-dropdown > a {
  width: 100%;
  justify-content: space-between;
  position: relative;
  padding-right: 50px;
}
.nav-drawer .nav-has-dropdown > ul.nav-dropdown {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  min-width: 0 !important;
  width: 100%;
  background: transparent;
  border: none;
  border-top: none;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s;
}
.nav-drawer .nav-has-dropdown > ul.nav-dropdown::before { display: none !important; }
.nav-drawer .nav-has-dropdown.open > ul.nav-dropdown {
  opacity: 1;
  visibility: visible;
  max-height: 300px;
}
.nav-drawer ul.nav-dropdown li a {
  padding: 10px 0 10px 16px !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  color: var(--muted) !important;
  border-bottom: none !important;
  text-transform: uppercase;
}
.nav-drawer ul.nav-dropdown li:last-child a { border-bottom: none !important; }
.nav-drawer ul.nav-dropdown li a::after { display: none !important; }
.nav-drawer ul.nav-dropdown li a:hover { color: var(--gold) !important; }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(10,9,13,0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  flex-direction: column;
  padding: 16px 28px;
  gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  padding: 10px 0;
  display: block;
}
.nav-drawer a:hover { color: var(--gold); }

/* Drawer search bar */
.drawer-search {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 8px;
}
.drawer-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; /* MUST be 16px+ to prevent iOS zoom */
  padding: 10px 14px;
  outline: none;
  min-width: 0;
}
.drawer-search input::placeholder { color: rgba(154,148,144,0.4); }
.drawer-search button {
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--gold);
  cursor: pointer;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(1.3);
  transition: transform 0.2s;
  transform-origin: center;
}
.drawer-search button:hover { transform: scale(1.15); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding-top: 60px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 72px 52px;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 70%, rgba(160,54,78,0.06), transparent 70%);
  pointer-events: none;
}
.hero-vol {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.8vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
  white-space: nowrap;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 900;
  text-shadow: 0 0 40px rgba(196,151,63,0.2);
}
.hero-desc {
  font-size: 0.95rem;
  color: #A09A96;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-right { display: flex; flex-direction: column; }
.hero-feat {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.hero-feat-bg {
  height: 100%;
  min-height: 300px;
  background: linear-gradient(150deg, #1c080f 0%, #280d1a 50%, #0e0b14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  transition: transform 0.5s ease;
  position: relative;
}
.hero-feat:hover .hero-feat-bg { transform: scale(1.04); }
.hero-feat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,9,13,0.9) 100%);
}
/* Featured thumbnail image */
.hero-feat-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.play-badge {
  position: absolute;
  bottom: 18px; left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(10,9,13,0.7);
  border: 1px solid var(--border-g);
  border-radius: 100px;
  padding: 7px 16px 7px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.hero-feat:hover .play-badge {
  box-shadow: 0 0 16px 3px var(--gold-glow);
  border-color: var(--gold);
}
.play-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: #0A090D;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.hero-feat:hover .play-circle {
  background: var(--gold-h);
  box-shadow: 0 0 12px var(--gold-glow);
}
.hero-feat-info {
  padding: 20px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.hfi-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.hfi-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}
.hero-mini { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.hm-card {
  padding: 22px 24px;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hm-card:last-child { border-right: none; }
.hm-card:hover { background: var(--surface2); }
.hm-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--gold-glow);
}
.hm-card:hover::after { transform: scaleX(1); }
.hm-label { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hm-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 400; color: var(--text); line-height: 1.4; }
.hm-arrow { display: inline-block; margin-top: 10px; font-size: 0.8rem; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.hm-card:hover .hm-arrow { color: var(--gold); transform: translateX(5px); }

/* ══════════════════════════════════════
   AD ZONE
══════════════════════════════════════ */
.ad-wrap { padding: 28px 40px; }
/* Placeholder: completely invisible — shows nothing until real AdSense fills it */
.ad-zone {
  display: none;
}
/* Real AdSense ads */
.ad-zone ins { display: block; }
/* When AdSense is configured, show the wrap */
.ad-wrap:has(ins) {
  display: block;
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section { padding: 16px 40px; border-top: 1px solid var(--border); }
.sec-eyebrow { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.sec-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.sec-heading a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.sec-heading a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
  box-shadow: 0 0 5px var(--gold-glow);
}
.sec-heading a:hover { color: var(--gold); }
.sec-heading a:hover::after { width: 100%; }

/* ══════════════════════════════════════
   VIDEOS GRID
══════════════════════════════════════ */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.vcard:hover {
  border-color: var(--border-g);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--border-g);
}
.vcard-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--surface2);
  transition: transform 0.4s;
}
.vcard-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.4s;
}
.vcard:hover .vcard-thumb { transform: scale(1.05); }
.vcard-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196,151,63,0);
  transition: background 0.3s;
}
.vcard:hover .vcard-thumb::after { background: rgba(196,151,63,0.07); }
.vcard-body { padding: 18px 20px 22px; }
.vcard-cat { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-h); margin-bottom: 7px; font-weight: 600; }
.vcard-body h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; line-height: 1.45; color: var(--text); margin-bottom: 7px; }
.vcard-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.vcard-meta { margin-top: 12px; font-size: 0.75rem; color: rgba(160,148,144,0.7); display: flex; gap: 14px; }

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.gcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.gcard:hover {
  border-color: var(--border-g);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 0 1px var(--border-g);
}
.gcard-span { grid-row: span 2; }
.gcard-img {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform 0.4s;
  position: relative;
  background: var(--surface2);
}
.gcard-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s;
}
.gcard-span .gcard-img { aspect-ratio: 3/2; }
.gcard:not(.gcard-span) .gcard-img { aspect-ratio: 4/3; }
.gcard:hover .gcard-img { transform: scale(1.04); }
.gcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(10,9,13,0.6) 100%); }
.gcard-body { padding: 16px 18px 20px; }
.gcard-body h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.gcard-span .gcard-body h4 { font-size: 1.25rem; }
.gcard-body p { font-size: 0.82rem; color: var(--muted); }
.gcard-soft { display: inline-block; margin-top: 8px; font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); transition: color 0.2s; }
.gcard:hover .gcard-soft { color: var(--gold-h); }

/* ══════════════════════════════════════
   POSTS + SIDEBAR LAYOUT
══════════════════════════════════════ */
.content-wrap {
  padding: 16px 40px;
  border-top: 1px solid var(--border);
  display: block;
  max-width: 900px;
}
.content-wrap .sidebar { display: none; }
.post-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
}
.post-item:first-child { padding-top: 0; }
.post-item:last-child { border-bottom: none; }
.post-item:hover { opacity: 0.8; }
.post-thumb {
  aspect-ratio: 1;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-cat { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-h); margin-bottom: 7px; font-weight: 600; }
.post-item h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: 6px; transition: color 0.2s; }
.post-item:hover h4 { color: var(--gold); }
.post-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.post-meta { margin-top: 10px; font-size: 0.74rem; color: rgba(160,148,144,0.6); display: flex; gap: 14px; }

/* ══════════════════════════════════════
   READING PROGRESS BAR
══════════════════════════════════════ */
.reading-bar {
  position: fixed;
  top: 60px; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  z-index: 300;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* ══════════════════════════════════════
   NOISE TEXTURE OVERLAY (post pages)
══════════════════════════════════════ */
body.single-post::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 999;
}

/* ══════════════════════════════════════
   DESKTOP FULL-BLEED POST HERO
══════════════════════════════════════ */
.ph-hero {
  display: none;
  position: relative;
  margin-top: 60px;
  height: 480px;
  overflow: hidden;
}
.ph-hero__img {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}
.ph-hero:hover .ph-hero__img { transform: scale(1.03); }
.ph-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,9,13,0.1) 0%, rgba(10,9,13,0.0) 30%, rgba(10,9,13,0.7) 65%, rgba(10,9,13,0.97) 100%),
    linear-gradient(to right, rgba(10,9,13,0.5) 0%, transparent 60%);
  z-index: 1;
}
.ph-hero__slash {
  position: absolute;
  top: -20%; right: 80px;
  width: 3px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--gold) 35%, var(--rose) 65%, transparent);
  transform: rotate(12deg);
  opacity: 0.3;
  z-index: 2;
  pointer-events: none;
}
.ph-hero__slash2 {
  position: absolute;
  top: -20%; right: 148px;
  width: 1px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, transparent);
  transform: rotate(12deg);
  opacity: 0.15;
  z-index: 2;
  pointer-events: none;
}
.ph-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  padding: 0 52px 32px;
}
.ph-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ph-hero__cat { color: var(--rose-h); font-weight: 700; transition: color 0.2s; }
.ph-hero__cat:hover { color: var(--gold); }
.ph-hero__dot { color: rgba(255,255,255,0.2); }
.ph-hero__eyebrow span { color: rgba(154,148,144,0.5); }
.ph-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 860px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.ph-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(237,232,224,0.55);
}
.ph-hero__sep { color: rgba(255,255,255,0.15); }
.ph-hero__votes { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* Show desktop hero, hide mobile strip when image exists */
@media (min-width: 921px) {
  .ph-hero { display: block; }
  .post-header--has-img,
  .post-title-row--has-img { display: none; }
}

/* ══════════════════════════════════════
   CHAOTIC POST HEADER
══════════════════════════════════════ */
/* ══════════════════════════════════════
   CHAOTIC POST HEADER
══════════════════════════════════════ */
.post-header {
  margin-top: 60px;
  position: relative;
  min-height: clamp(72px, 10vw, 160px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
}

/* With featured image */
.post-header--image {
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center top;
  min-height: clamp(72px, 10vw, 160px);
}

/* Ghost word clip wrapper */
.post-header__bg-word-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Giant screaming background category word */
.post-header__bg-word {
  font-family: 'Black Han Sans', 'Playfair Display', serif;
  font-size: clamp(58px, 8vw, 140px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(158,45,69,0.22);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  padding-left: 4px;
}

/* Diagonal slash lines */
.post-header__slash {
  position: absolute;
  top: -20%; right: 80px;
  width: 3px; height: 160%;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 35%, var(--rose) 65%, transparent 100%);
  transform: rotate(12deg);
  opacity: 0.3;
  z-index: 2;
  pointer-events: none;
}
.post-header__slash2 {
  position: absolute;
  top: -20%; right: 148px;
  width: 1px; height: 160%;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 40%, transparent 100%);
  transform: rotate(12deg);
  opacity: 0.15;
  z-index: 2;
  pointer-events: none;
}

/* Rotated category stamp */
.post-header__stamp {
  position: absolute;
  top: 50%; right: 40px;
  transform: translateY(-50%) rotate(3deg);
  background: var(--rose);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 10;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5), 0 0 20px rgba(158,45,69,0.4);
  transition: transform 0.2s;
}
.post-header__stamp:hover { transform: translateY(-50%) rotate(2deg) scale(1.04); }

/* Top-left issue label */
.post-header__label {
  position: absolute;
  top: 50%; left: 40px;
  transform: translateY(-50%) rotate(-1.5deg);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  z-index: 10;
}

/* ══════════════════════════════════════
   POST TITLE ROW (separate from header strip)
══════════════════════════════════════ */
.post-title-row {
  background: var(--surface);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--rose-h), var(--gold), transparent) 1;
}
.post-title-row__h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  padding: 20px 40px 18px;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 920px) {
  .post-title-row__h1 { padding: 16px 20px 14px; font-size: clamp(1.3rem, 5vw, 2rem); }
}

/* Title block (kept for any legacy refs) */
.post-header__title {
  position: relative;
  z-index: 5;
  padding: 20px 40px 0;
  max-width: none;
  padding-right: 160px; /* keep clear of stamp */
}
.post-header__title h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5.5vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  hyphens: none;
  word-break: normal;
}

/* Meta bar */
.post-header__meta {
  position: relative;
  z-index: 5;
  padding: 20px 40px 24px;
  background: var(--surface);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.phm-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 28px;
}
.phm-item + .phm-item {
  border-left: 1px solid rgba(255,255,255,0.07);
  padding-left: 28px;
}
.phm-label {
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196,151,63,0.5);
  line-height: 1;
}
.phm-val {
  font-size: 0.85rem;
  color: var(--text);
}
.phm-val--cat { color: var(--rose-h); }

/* Mobile-only featured image — hidden on desktop */
.post-header__mobile-img {
  display: none;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-header__mobile-img img { width:100%; height:100%; object-fit:cover; display:block; }



/* Full-width post (no sidebar) */
.single-wrap--full {
  display: block;
  padding: 52px 40px 72px;
}
.single-wrap--full .single-content {
  max-width: 800px;
  margin: 0 auto;
  border-right: none;
  padding: 0;
}
.single-wrap--full .single-body,
.single-wrap--full .post-nav,
.single-wrap--full .post-tags { max-width: 100%; }

/* ══════════════════════════════════════
   SINGLE BODY
══════════════════════════════════════ */
.single-body {
  max-width: 680px;
  font-size: 1.0rem;
  line-height: 1.7;
  color: #D8D2C8;
  letter-spacing: 0.01em;
}

/* Drop cap — removed */

.single-body p {
  margin-bottom: 1.1em;
}

.single-body strong {
  color: var(--text);
  font-weight: 600;
}

/* H2 — use padding-left + ::before pseudo instead of flex (flex breaks in WP) */
.single-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text);
  margin: 1.8em 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-left: 28px;
  position: relative;
}
.single-body h2::before {
  content: '//';
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--rose-h);
  letter-spacing: -0.12em;
  line-height: 1.75;
}

/* H3 */
.single-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* H4 */
.single-body h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2em 0 0.5em;
  padding-left: 12px;
  border-left: 2px solid var(--rose);
  line-height: 1.6;
}

/* Links */
.single-body a {
  color: var(--gold);
  border-bottom: 1px solid rgba(196,151,63,0.35);
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}
.single-body a:hover {
  color: var(--gold-h);
  border-color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}

/* Images */
.single-body img {
  max-width: 100%;
  margin: 2.2em 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: block;
}

/* Blockquote */
.single-body blockquote {
  position: relative;
  margin: 2.5em 0 2.5em -20px;
  padding: 28px 28px 28px 32px;
  background: linear-gradient(135deg, rgba(158,45,69,0.13), rgba(196,151,63,0.05));
  border: none;
  clip-path: polygon(0 0, 100% 10px, 100% 100%, 0 calc(100% - 10px));
}
.single-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.28;
  pointer-events: none;
}
.single-body blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #E0DAD0;
  margin: 0;
  line-height: 1.75;
}

/* Lists */
.single-body ul, .single-body ol { padding-left: 0; list-style: none; margin-bottom: 1.75em; }
.single-body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.65em;
  line-height: 1.8;
}
.single-body ul li::before {
  content: '▸';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-size: 0.8em;
  line-height: 1.9;
}
.single-body ol { counter-reset: post-ol; }
.single-body ol li { counter-increment: post-ol; }
.single-body ol li::before {
  content: counter(post-ol, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  color: var(--rose-h);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

/* Code */
.single-body pre {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 1.75em;
  font-size: 0.88rem;
  line-height: 1.75;
  border-radius: 2px;
}
.single-body code {
  background: rgba(196,151,63,0.1);
  color: var(--gold-h);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.88em;
  border: 1px solid rgba(196,151,63,0.15);
}
.single-body pre code { background: none; color: inherit; padding: 0; border: none; }

/* HR */
.single-body hr {
  border: none;
  margin: 3em 0;
  height: 1px;
  background: linear-gradient(to right, var(--rose-h), var(--gold), transparent);
  opacity: 0.25;
}

/* Ad zones — invisible until real AdSense */
.ad-wrap { max-width: 660px; }
.ad-wrap:not(:has(ins)) { padding: 0; }
.ad-zone { display: none; }

/* Tags */
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 660px;
}
.post-tags__label {
  font-size: 0.57rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-tag {
  display: inline-block;
  padding: 5px 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.74rem;
  color: var(--muted);
  transform: rotate(-0.5deg);
  transition: all 0.2s;
}
.post-tag:nth-child(even) { transform: rotate(0.4deg); }
.post-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(0) scale(1.05);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 52px;
  max-width: 660px;
}
.post-nav-item {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}
.post-nav-item:hover {
  border-color: var(--border-g);
  transform: translateY(-2px);
}
.post-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.post-nav-item:hover::after { transform: scaleX(1); }
.post-nav-dir {
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.post-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  transition: color 0.2s;
}
.post-nav-item:hover .post-nav-title { color: var(--gold); }
.post-nav-item.next { text-align: right; }

/* ── SIDEBAR ── */
.sidebar {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: sticky;
  top: 60px;
  align-self: start;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.widget { display: flex; flex-direction: column; gap: 0; }
.widget-label {
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.about-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.about-text { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }
.cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: padding-left 0.2s;
}
.cat-row:last-child { border-bottom: none; }
.cat-row a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; display: block; width: 100%; }
.cat-row:hover a { color: var(--gold); }
.cat-row:hover { padding-left: 5px; }
.cat-n { font-size: 0.62rem; color: rgba(196,151,63,0.4); flex-shrink: 0; }
.sidebar-ad { min-height: 240px; display: flex; align-items: center; justify-content: center; }

/* ══════════════════════════════════════
   COOKING SECTION
══════════════════════════════════════ */
.cooking { border-top: 1px solid var(--border); padding: 16px 40px; background: var(--bg); }
.cooking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.recipe-card { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 28px 24px; cursor: pointer; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.recipe-card:hover { border-color: var(--border-g); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.3), 0 0 0 1px var(--border-g); }
.rc-emoji { font-size: 1.8rem; margin-bottom: 14px; }
.rc-cat { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.recipe-card h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: 8px; }
.recipe-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════
   ARCHIVE / CATEGORY PAGE
══════════════════════════════════════ */
/* ══════════════════════════════════════
   CATEGORY HERO HEADER
══════════════════════════════════════ */
.ch-hero {
  position: relative;
  margin-top: 60px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

/* Blurred photo layer */
.ch-hero__photo {
  position: absolute;
  inset: -20px;
  background-image: var(--ch-img);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.28) saturate(0.6);
  transform: scale(1.05);
  z-index: 0;
}

/* Dark vignette */
.ch-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,9,13,0.55) 0%, rgba(10,9,13,0.0) 40%, rgba(10,9,13,0.75) 100%),
    linear-gradient(to right, rgba(10,9,13,0.8) 0%, transparent 60%);
  z-index: 1;
}

/* Ghost word */
.ch-hero__ghost {
  position: absolute;
  top: 50%; left: 40px;
  right: 160px;
  transform: translateY(-50%);
  font-family: 'Black Han Sans', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(196,151,63,0.14);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

/* Slash lines */
.ch-hero__line1 {
  position: absolute;
  top: -30%; right: 120px;
  width: 2px; height: 180%;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 40%, var(--rose) 70%, transparent 100%);
  transform: rotate(12deg);
  opacity: 0.3;
  z-index: 2;
  pointer-events: none;
}
.ch-hero__line2 {
  position: absolute;
  top: -30%; right: 195px;
  width: 1px; height: 180%;
  background: linear-gradient(to bottom, transparent, rgba(196,151,63,0.4) 50%, transparent);
  transform: rotate(12deg);
  opacity: 0.2;
  z-index: 2;
  pointer-events: none;
}

/* Main body layout */
.ch-hero__body {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding: 20px 40px 24px;
  min-height: 180px;
}

/* ── Category tabs ── */
.ch-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-self: flex-start;
}
.ch-tab {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,232,224,0.45);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.ch-tab:hover {
  color: var(--text);
  border-bottom-color: rgba(196,151,63,0.4);
}
.ch-tab--on {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Title block (bottom of hero) ── */
.ch-hero__foot { max-width: 700px; }

.ch-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-h);
  margin-bottom: 14px;
  opacity: 0.85;
}
.ch-hero__bar {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--rose-h);
  flex-shrink: 0;
}

.ch-hero__h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}

.ch-hero__desc {
  font-size: 0.9rem;
  color: rgba(237,232,224,0.6);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 500px;
}

.ch-hero__count {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196,151,63,0.5);
}

/* Bottom gradient line */
.ch-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--rose-h) 0%, var(--gold) 40%, transparent 80%);
  z-index: 6;
  opacity: 0.6;
}

/* ══════════════════════════════════════
   CATEGORY PAGE WRAPPER
══════════════════════════════════════ */
.cat-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 40px 80px;
}

/* ══════════════════════════════════════
   POST GRID
══════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.ccard {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.ccard:hover {
  border-color: rgba(196,151,63,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,151,63,0.1);
  transform: translateY(-4px);
}

.ccard__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface2);
  flex-shrink: 0;
}
.ccard__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ccard:hover .ccard__img-wrap img { transform: scale(1.05); }

.ccard__no-img {
  width: 100%; height: 100%;
  min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#1a080e,#280d1a);
}
.ccard__no-img span {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196,151,63,0.3);
}

/* Rose→gold underline slide on hover */
.ccard::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-h), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.ccard:hover::after { transform: scaleX(1); }

.ccard__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ccard__cat {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-h);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.ccard__cat:hover { color: var(--gold); }

.ccard__body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color 0.2s;
  flex: 1;
}
.ccard__body h2 a { color: inherit; }
.ccard:hover .ccard__body h2 { color: var(--gold); }

.ccard__excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.ccard__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: rgba(154,148,144,0.45);
  margin-top: auto;
}
.ccard__dot { opacity: 0.4; }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.cat-pagination { display: flex; justify-content: center; }
.cat-pagination .page-numbers { list-style:none; display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.cat-pagination .page-numbers li a,
.cat-pagination .page-numbers li span {
  display:block; padding:9px 16px;
  background:var(--surface); border:1px solid var(--border);
  font-size:0.78rem; color:var(--muted);
  transition:all 0.2s; font-family:'DM Sans',sans-serif;
}
.cat-pagination .page-numbers li a:hover { border-color:var(--gold); color:var(--gold); }
.cat-pagination .page-numbers li .current { background:var(--rose); border-color:var(--rose); color:#fff; }
.cat-empty { text-align:center; padding:80px 0; color:var(--muted); font-size:0.95rem; }
.search-empty { padding: 60px 0; max-width: 480px; }
.search-empty p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .ch-hero__body { padding: 24px 28px 26px; min-height: 200px; }
  .cat-page { padding: 36px 28px 60px; }
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
}
@media (max-width: 920px) {
  .ch-hero__ghost { display: none; }
  .ch-hero { min-height: 90px; }
  .ch-hero__body { padding: 12px 20px 14px; min-height: 90px; }
  .ch-hero__h1 { font-size: clamp(1.4rem, 6vw, 2rem); margin-bottom: 6px; }
  .ch-hero__eyebrow { margin-bottom: 6px; }
  .cat-page { padding: 28px 20px 48px; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
}




/* Pagination */
.pagination { margin-top: 48px; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
.pagination .current { border-color: var(--gold); color: var(--gold); background: rgba(196,151,63,0.08); }

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.not-found { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 40px; text-align: center; }
.not-found-num { font-family: 'Playfair Display', serif; font-size: clamp(6rem, 15vw, 12rem); font-weight: 400; color: transparent; -webkit-text-stroke: 1px rgba(196,151,63,0.25); line-height: 1; margin-bottom: 16px; }
.not-found h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 400; color: var(--text); margin-bottom: 12px; }
.not-found p { font-size: 1rem; color: var(--muted); margin-bottom: 32px; }

/* ══════════════════════════════════════
   SEARCH FORM
══════════════════════════════════════ */
.search-form { display: flex; gap: 0; }
.search-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  border-radius: 3px 0 0 3px;
  transition: border-color 0.2s;
}
.search-form input:focus { border-color: rgba(196,151,63,0.4); }
.search-form input::placeholder { color: var(--muted); }
.search-form button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #0A090D;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
  font-size: 0.82rem;
  transition: background 0.2s;
}
.search-form button:hover { background: var(--gold-h); }

/* ══════════════════════════════════════
   COMMENTS
══════════════════════════════════════ */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.comments-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600; color: var(--text); margin-bottom: 28px; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment-author { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.comment-meta { font-size: 0.72rem; color: rgba(160,148,144,0.6); margin-bottom: 10px; }
.comment-body p { font-size: 0.92rem; color: #D0CAC0; line-height: 1.7; }
.comment-reply-link { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; display: inline-block; transition: color 0.2s; }
.comment-reply-link:hover { color: var(--gold-h); }

/* Comment form */
.comment-form { margin-top: 36px; }
.comment-form-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  border-radius: 3px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: rgba(196,151,63,0.4); }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: var(--muted); }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .btn { margin-top: 4px; }

/* ══════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 500;
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--surface2);
  border: 1px solid var(--border-g);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(196,151,63,0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  /* Slight tilt for the chaotic vibe */
  border-left: 3px solid var(--gold);
}
.cookie-banner--visible {
  transform: translateX(-50%) translateY(0) rotate(-0.3deg);
  opacity: 1;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}
.cookie-banner__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.cookie-banner__text p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__text a {
  color: var(--gold);
  border-bottom: 1px solid rgba(196,151,63,0.3);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.cookie-banner__text a:hover {
  color: var(--gold-h);
  border-color: var(--gold);
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.cookie-btn--decline {
  background: transparent;
  color: var(--muted);
}
.cookie-btn--decline:hover {
  border-color: var(--muted);
  color: var(--text);
}
.cookie-btn--accept {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A090D;
  font-weight: 700;
}
.cookie-btn--accept:hover {
  background: var(--gold-h);
  border-color: var(--gold-h);
  box-shadow: 0 0 16px var(--gold-glow);
}

.phm-vote--like.voted  { color: var(--gold); }
.phm-vote--dislike.voted { color: var(--rose-h); }

.phm-item--votes { margin-left: auto; padding-right: 0; }
.phm-votes-display { display: flex; align-items: center; gap: 6px; }
.phm-vote {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}
.phm-vote:hover { color: var(--text); }
.phm-vote-sep { color: var(--border); font-size: 0.7rem; }

/* Card vote pill */
.card-votes {
  position: absolute;
  bottom: 10px; right: 10px;
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(10,9,13,0.82);
  border: 1px solid rgba(196,151,63,0.22);
  backdrop-filter: blur(8px);
  padding: 4px 5px;
  border-radius: 3px;
  z-index: 4;
}
.card-votes--sm { bottom: 6px; right: 6px; padding: 3px 4px; }
.cv-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 3px 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}
.cv-like { color: rgba(196,151,63,0.6); }
.cv-dis  { color: rgba(192,55,86,0.6); }
.cv-like:hover, .cv-active     { color: var(--gold) !important; background: rgba(196,151,63,0.12); }
.cv-dis:hover,  .cv-active-dis { color: var(--rose-h) !important; background: rgba(158,45,69,0.12); }
.card-votes--sm .cv-btn { padding: 2px 5px; font-size: 0.63rem; }

/* Ensure thumb containers are position:relative for the pill */
.vcard-thumb,
.gcard-img,
.post-thumb { position: relative; }


══════════════════════════════════════ */
.wgg-particle {
  display: block;
  transform-origin: center center;
  opacity: 1;
}
.wgg-particle > div { display: block; transform-origin: center center; }
.wgg-particle svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 4px rgba(196,151,63,0.6)); }

@keyframes wgg-flutter {
  0%,100% { transform: scaleX(1); }
  40%     { transform: scaleX(0.25) scaleY(1.15); }
  60%     { transform: scaleX(0.25) scaleY(1.15); }
}
.wgg-flutter {
  animation: wgg-flutter 220ms ease-in-out infinite;
  transform-origin: center center;
}

/* ══════════════════════════════════════
   POST VOTE BUTTONS
══════════════════════════════════════ */
.post-votes {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  margin: 12px 0 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.votes-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
}
.votes-btns {
  display: flex;
  gap: 10px;
}
.vote-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.vote-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.vote-btn--like.voted  { background: rgba(196,151,63,0.15); border-color: var(--gold); color: var(--gold); }
.vote-btn--dislike.voted { background: rgba(158,45,69,0.15); border-color: var(--rose-h); color: var(--rose-h); }
.vote-btn--loading { opacity: 0.5; pointer-events: none; }
.vote-icon { font-size: 0.75rem; }
.vote-count { font-weight: 700; font-size: 1rem; min-width: 1.5ch; text-align: center; }

/* ══════════════════════════════════════
   COMMENTS — NEW LAYOUT
══════════════════════════════════════ */
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-inner {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.comment-avatar { flex-shrink: 0; }
.goat-avatar {
  width: 48px; height: 48px;
  border-radius: 4px;
  border: 1px solid rgba(196,151,63,0.2);
  display: block;
}
.comment-main { flex: 1; min-width: 0; }
.comment-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.comment-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.comment-date {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.comment-body { font-size: 0.95rem; line-height: 1.75; color: #CEC8BE; margin-bottom: 10px; }
.comment-body p { margin: 0 0 0.75em; }
.comment-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.comment-reply-link a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.comment-reply-link a:hover { color: var(--gold); border-color: var(--gold); }

/* Comment vote buttons */
.comment-votes {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.cvote-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
}
.cvote-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.cvote-btn--like.voted  { color: var(--gold); border-color: rgba(196,151,63,0.4); }
.cvote-btn--dislike.voted { color: var(--rose-h); border-color: rgba(158,45,69,0.4); }
.cvote-btn--loading { opacity: 0.4; pointer-events: none; }
.cvote-count { min-width: 1ch; text-align: center; }


.page-header {
  margin-top: 60px;
  padding: 56px 40px 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Subtle gold accent top edge */
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-h), var(--gold) 50%, transparent);
  opacity: 0.6;
}
.page-header__inner {
  max-width: 760px;
  margin: 0 auto;
}
.page-header__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 14px;
}
.page-header__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-header__meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
}
.page-header__meta span { color: rgba(196,151,63,0.7); }

/* Page body */
.page-wrap {
  padding: 52px 40px 80px;
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.95;
  color: #CEC8BE;
}
.page-content p {
  margin-bottom: 1.5em;
}
.page-content strong, .page-content b {
  color: var(--text);
  font-weight: 600;
}
.page-content a {
  color: var(--gold);
  border-bottom: 1px solid rgba(196,151,63,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.page-content a:hover {
  color: var(--gold-h);
  border-color: var(--gold);
}

/* Legal headings */
.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.8em 0 0.7em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
/* Number prefix in gold */
.page-content h2::first-line {
  color: var(--gold);
}
.page-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 2em 0 0.5em;
  letter-spacing: 0;
}
.page-content h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.8em 0 0.5em;
}

/* Lists */
.page-content ul, .page-content ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.5em;
}
.page-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.6em;
  color: #CEC8BE;
}
.page-content ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(196,151,63,0.5);
  font-weight: 300;
}
.page-content ol {
  counter-reset: page-ol;
}
.page-content ol li {
  counter-increment: page-ol;
}
.page-content ol li::before {
  content: counter(page-ol) '.';
  position: absolute;
  left: 0;
  font-size: 0.78rem;
  color: rgba(196,151,63,0.5);
  font-weight: 600;
  line-height: 2;
}

/* Horizontal rule */
.page-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5em 0;
}

/* Blockquote / notice box */
.page-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  margin: 2em 0;
  background: rgba(196,151,63,0.04);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-header { padding: 44px 28px 38px; }
  .page-wrap { padding: 40px 28px 60px; }
}
@media (max-width: 640px) {
  .page-header { padding: 36px 20px 28px; }
  .page-wrap { padding: 32px 20px 48px; }
  .page-header__title { font-size: 1.8rem; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#site-footer { border-top: 1px solid var(--border); padding: 56px 40px 28px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text); margin-bottom: 12px; }
.footer-logo span { font-style: italic; font-weight: 400; color: var(--gold); }
.footer-brand p { font-size: 0.78rem; color: var(--muted); line-height: 1.7; max-width: 240px; }
.fc-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fc ul { list-style: none; }
.fc ul li { margin-bottom: 9px; }
.fc ul li a { font-size: 0.88rem; color: rgba(160,148,144,0.8); transition: color 0.2s; }
.fc ul li a:hover { color: var(--gold); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.66rem; color: rgba(123,116,112,0.35); }

/* ══════════════════════════════════════
   FADE-IN ANIMATION
══════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-left > * { animation: fadeUp 0.7s ease both; }
.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.25s; }
.hero-left > *:nth-child(3) { animation-delay: 0.38s; }
.hero-left > *:nth-child(4) { animation-delay: 0.5s; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  #site-header { padding: 0 28px; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 28px; border-right: none; }
  .hero-right { border-top: 1px solid var(--border); }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gcard-span { grid-row: span 1; }
  .gcard-span .gcard-img { aspect-ratio: 16/9; }
  .content-wrap { grid-template-columns: 1fr; gap: 40px; }
  .single-wrap { grid-template-columns: 1fr; }
  .single-content { padding: 40px 28px 60px; border-right: none; }

  .sidebar { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; padding: 32px 28px; border-top: 1px solid var(--border); gap: 24px; }
  .sidebar .widget { flex: 1; min-width: 180px; }
  .sidebar-ad { display: none; }
  .single-body, .post-nav, .post-tags { max-width: 100%; }
  .cooking-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 16px 28px; }
  .ad-wrap { padding: 24px 28px; }
  .content-wrap, .single-wrap { padding: 16px 28px; }
  .cooking { padding: 16px 28px; }
  #site-footer { padding: 48px 28px 24px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤920px)
══════════════════════════════════════ */
@media (max-width: 920px) {

  /* ── Header ── */
  #site-header { padding: 0 20px; }
  #primary-nav { display: none; }
  .hamburger { display: flex; }

  /* ── Hero: remove 100vh, stack tightly ── */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left {
    padding: 36px 20px 28px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-vol { margin-bottom: 16px; padding-top: 10px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 14px; }
  .hero-desc { font-size: 0.9rem; margin-bottom: 22px; line-height: 1.65; }
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
  .hero-btns .btn { flex: 1; min-width: 120px; justify-content: center; text-align: center; }

  /* Hero-right: show as compact horizontal card, hide mini cards */
  .hero-right { flex-direction: row; }
  .hero-feat { flex: 1; min-width: 0; }
  .hero-feat-bg { min-height: 180px; }
  .hero-mini { display: none; }

  /* ── Section spacing ── */
  .section { padding: 16px 20px; }
  .section .sec-heading { font-size: 1.5rem; margin-bottom: 20px; }
  .sec-eyebrow { padding-top: 2px; }

  /* ── Videos: 2-column grid ── */
  .videos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vcard-body { padding: 12px 14px 16px; }
  .vcard-body h3 { font-size: 0.95rem; }
  .vcard-body p { display: none; }

  /* ── Gallery: 2-column, no span ── */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 8px; }
  .gcard-span { grid-row: span 1; grid-column: span 2; }
  .gcard-span .gcard-img { aspect-ratio: 16/7; }
  .gcard:not(.gcard-span) .gcard-img { aspect-ratio: 4/3; }

  /* ── Latest posts: hide sidebar ── */
  .content-wrap { grid-template-columns: 1fr; gap: 0; padding: 16px 20px; }
  .sidebar { display: none; }
  .post-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 18px 0; }
  .post-item p { display: none; }
  .post-item h4 { font-size: 1rem; margin-bottom: 4px; }

  /* ── Cooking: 2-column ── */
  .cooking { padding: 16px 20px; }
  .cooking-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; font-size: 0.6rem; padding-top: 14px; }

  /* Brand spans full width, smaller */
  .footer-brand { grid-column: 1 / -1; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 4px; }
  .footer-logo { font-size: 0.9rem; }
  .footer-brand p { max-width: 100%; font-size: 0.75rem; line-height: 1.55; margin-top: 6px; }

  /* Tighter link columns */
  .fc-label { margin-bottom: 10px; font-size: 0.55rem; }
  .fc ul li { margin-bottom: 7px; }
  .fc ul li a { font-size: 0.82rem; }

  /* Legal spans full width as a compact inline row */
  .fc--legal { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 16px; }
  .fc--legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .fc--legal ul li { margin-bottom: 0; }
  .fc--legal ul li a { font-size: 0.72rem; color: rgba(160,148,144,0.5); }

  #site-footer { padding: 28px 20px 16px; }
  #site-footer { padding: 40px 20px 20px; }

  /* ── Post page ── */
  .post-header { min-height: 72px; }
  .post-header--image { min-height: 72px; }
  .post-header__bg-word { font-size: 58px; }
  .post-header__stamp { right: 20px; top: 14px; font-size: 0.5rem; padding: 4px 9px; }
  .post-header__label { left: 20px; top: 16px; font-size: 0.5rem; }
  .post-header__title { padding: 10px 20px 0; }
  .post-header__title h1 { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .post-header__meta {
    padding: 12px 20px 14px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .phm-item { flex-direction: row; align-items: center; gap: 5px; padding-right: 12px; padding-bottom: 0; }
  .phm-item + .phm-item { border-left: 1px solid rgba(255,255,255,0.08); padding-left: 12px; border-top: none; padding-top: 0; }
  .phm-label { display: none; }
  .phm-val { font-size: 0.75rem; color: var(--muted); }
  .phm-item--votes { display: none; }
  .single-content { padding: 32px 20px 48px; }
  .single-wrap { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-tags { max-width: 100%; }
  .single-body { max-width: 100%; }

  /* ── Misc ── */
  .ad-wrap { padding: 20px; }
  .not-found { padding: 60px 20px; }
}

/* ══════════════════════════════════════
   ULTRAWIDE (≥1600px) — cap widths, boost spacing
══════════════════════════════════════ */
@media (min-width: 1600px) {

  /* Constrain header to avoid logo drifting to far corners */
  #site-header { padding: 0 clamp(40px, 5vw, 120px); }

  /* Hero — cap content, boost padding */
  .hero { max-width: 1800px; margin: 0 auto; }
  .hero-left { padding: 80px clamp(52px, 4vw, 100px); }

  /* Sections — wider max, more breathing room */
  .section { padding: 16px clamp(40px, 5vw, 120px); max-width: 1800px; margin-left: auto; margin-right: auto; }
  .content-wrap { padding: 16px clamp(40px, 5vw, 120px); max-width: 1800px; margin: 0 auto; }
  .cooking { padding: 16px clamp(40px, 5vw, 120px); max-width: 1800px; margin: 0 auto; }

  /* Videos — 4 columns */
  .videos-grid { grid-template-columns: repeat(4, 1fr); }

  /* Gallery — wider grid */
  .gallery-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Archive / category page */
  .cat-page { max-width: 1800px; padding-left: clamp(40px, 5vw, 120px); padding-right: clamp(40px, 5vw, 120px); }
  .cat-header { padding-left: clamp(40px, 5vw, 120px); padding-right: clamp(40px, 5vw, 120px); }
  .cat-header__inner { max-width: 1800px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }

  /* Post header — scale up but cap ghost word */
  .post-header { max-width: none; }
  .post-header__title { padding-left: clamp(40px, 5vw, 120px); }
  .post-header__meta { padding-left: clamp(40px, 5vw, 120px); padding-right: clamp(40px, 5vw, 120px); }
  .post-header__label { left: clamp(40px, 5vw, 120px); }
  .post-header__stamp { right: clamp(40px, 5vw, 120px); }

  /* Post content — wider comfortable reading column */
  .single-wrap--full { padding-left: clamp(40px, 5vw, 120px); padding-right: clamp(40px, 5vw, 120px); }
  .single-wrap--full .single-content { max-width: 900px; }

  /* Footer */
  #site-footer { padding-left: clamp(40px, 5vw, 120px); padding-right: clamp(40px, 5vw, 120px); }
  .footer-grid { max-width: 1800px; margin: 0 auto; }

  /* Category hero */
  .ch-hero__body { padding-left: clamp(40px, 5vw, 120px); padding-right: clamp(40px, 5vw, 120px); }
}

/* ══════════════════════════════════════
   SUPER ULTRAWIDE (≥2200px) — hard content cap
══════════════════════════════════════ */
@media (min-width: 2200px) {
  body { max-width: 2400px; margin: 0 auto; box-shadow: 0 0 120px rgba(0,0,0,0.8); background: var(--bg); }
  html { background: #050406; }
}

/* ══════════════════════════════════════
   MODEL-VIEWER 3D BLOCK
══════════════════════════════════════ */
.wgg-model-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--rose-h), var(--gold), transparent) 1;
  margin: 32px 0;
  overflow: hidden;
}
.wgg-model-label {
  padding: 10px 20px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
model-viewer {
  display: block;
  background: transparent;
  --poster-color: transparent;
}
/* Loading bar */
.wgg-model-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.05);
}
.wgg-model-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-h), var(--gold));
  transition: width 0.3s ease;
  width: var(--progress, 0%);
}
/* AR button */
.wgg-ar-btn {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(10,9,13,0.8);
  border: 1px solid var(--border-g);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.wgg-ar-btn:not([hidden]) { display: flex; align-items: center; gap: 6px; }
.wgg-ar-btn:hover { background: rgba(196,151,63,0.15); border-color: var(--gold); }



/* ══════════════════════════════════════
   YOUTUBE EMBED STYLING
══════════════════════════════════════ */
.wgg-yt-outer {
  margin: 36px 0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  line-height: 0;
  font-size: 0;
  display: block;
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 40px rgba(196,151,63,0.4),
    0 0 80px rgba(158,45,69,0.2),
    0 12px 48px rgba(0,0,0,0.7);
  transition: box-shadow 0.3s ease;
}
.wgg-yt-outer:hover {
  box-shadow:
    0 0 0 2px var(--gold-h),
    0 0 60px rgba(196,151,63,0.5),
    0 0 100px rgba(158,45,69,0.3),
    0 16px 56px rgba(0,0,0,0.8);
}

.single-body figure.wp-block-embed-youtube,
.single-body figure.wp-block-embed {
  margin: 0;
  display: block;
  line-height: 0;
}
.single-body figure.wp-block-embed-youtube .wp-block-embed__wrapper,
.single-body figure.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.single-body figure.wp-block-embed-youtube .wp-block-embed__wrapper iframe,
.single-body figure.wp-block-embed .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ══════════════════════════════════════
   SLIDESHOW
══════════════════════════════════════ */
.wgg-slideshow {
  position: relative;
  margin: 36px 0;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(196,151,63,0.35);
  box-shadow:
    0 0 0 1px rgba(196,151,63,0.15),
    0 0 32px rgba(196,151,63,0.12),
    0 0 64px rgba(158,45,69,0.08),
    0 10px 40px rgba(0,0,0,0.6);
  user-select: none;
}

/* Label bar */
.wgg-ss-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 9px 18px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(to bottom, rgba(10,9,13,0.85), transparent);
}

/* Track & slides */
.wgg-ss-track { width: 100%; height: 100%; }
.wgg-ss-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.wgg-ss-slide.active { opacity: 1; pointer-events: auto; }
.wgg-ss-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Arrows */
.wgg-ss-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(10,9,13,0.7);
  border: 1px solid rgba(196,151,63,0.3);
  color: var(--gold);
  width: 44px; height: 44px;
  border-radius: 2px;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.wgg-ss-prev { left: 14px; }
.wgg-ss-next { right: 14px; }
.wgg-ss-btn:hover {
  background: rgba(196,151,63,0.2);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

/* Counter */
.wgg-ss-counter {
  position: absolute;
  bottom: 12px; right: 16px;
  z-index: 10;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(237,232,224,0.5);
  background: rgba(10,9,13,0.6);
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Dots */
.wgg-ss-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
}
.wgg-ss-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(196,151,63,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.wgg-ss-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-hero {
  margin-top: 60px;
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 72px 40px 56px;
  text-align: center;
  overflow: hidden;
}
.about-hero__slash {
  position: absolute;
  top: -20%; right: 80px;
  width: 3px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--gold) 35%, var(--rose) 65%, transparent);
  transform: rotate(12deg);
  opacity: 0.2;
  pointer-events: none;
}
.about-hero__slash2 {
  position: absolute;
  top: -20%; right: 148px;
  width: 1px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, transparent);
  transform: rotate(12deg);
  opacity: 0.1;
  pointer-events: none;
}
.about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Avatar */
.about-avatar {
  position: relative;
  width: 140px; height: 140px;
  flex-shrink: 0;
}
.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
}
.about-avatar__fallback {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  position: relative;
  z-index: 2;
}
.about-avatar__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--gold), var(--rose-h), var(--gold));
  z-index: 1;
  animation: ring-spin 6s linear infinite;
}
.about-avatar__ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--surface);
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Name & tagline */
.about-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin: 0;
}
.about-tagline {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
  font-style: italic;
}

/* Social links */
.about-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.about-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.2s;
}
.about-social--kofi {
  background: var(--gold);
  color: #0A090D;
  border: 1px solid var(--gold);
}
.about-social--kofi:hover { background: var(--gold-h); border-color: var(--gold-h); color: #0A090D; }
.about-social--discord {
  background: transparent;
  color: #7289DA;
  border: 1px solid rgba(114,137,218,0.4);
}
.about-social--discord:hover { background: rgba(114,137,218,0.1); border-color: #7289DA; }
.about-social--contact { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.about-social--contact:hover { background: rgba(196,151,63,.08); color: var(--gold); border-color: rgba(196,151,63,.4); }

/* Page body */
.about-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}
.about-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.about-section:last-child { border-bottom: none; margin-bottom: 0; }
.about-section__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-h);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-section__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.about-bio { font-size: 1rem; line-height: 1.8; color: #D8D2C8; }
.about-bio p { margin-bottom: 1.1em; }

/* Skills grid */
.about-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about-skill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.about-skill:hover { border-color: rgba(196,151,63,0.3); }
.about-skill__icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.about-skill__name { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.about-skill__desc { font-size: 0.72rem; color: var(--muted); }

/* Category cards */
.about-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.about-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.about-cat-card:hover {
  border-color: rgba(196,151,63,0.35);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.about-cat-card__icon { font-size: 2rem; }
.about-cat-card__label { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.about-cat-card__desc { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }
.about-cat-card__count { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-top: auto; }

/* Responsive */
@media (max-width: 920px) {
  .about-hero { padding: 48px 20px 40px; }
  .about-page { padding: 40px 20px 60px; }
  .about-skills { grid-template-columns: 1fr 1fr; }
  .about-categories { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-skills { grid-template-columns: 1fr; }
  .about-categories { grid-template-columns: 1fr 1fr; gap: 8px; }
  .about-avatar { width: 110px; height: 110px; }
}

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-hero {
  margin-top: 60px;
  position: relative;
  min-height: 100px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.contact-hero__bg {
  position: absolute;
  top: 0; left: -4px;
  font-family: 'Black Han Sans', serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 100px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(158,45,69,.18);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.contact-hero__slash {
  position: absolute; top: -20%; right: 80px;
  width: 3px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--gold) 35%, var(--rose) 65%, transparent);
  transform: rotate(12deg); opacity: .2; pointer-events: none;
}
.contact-hero__slash2 {
  position: absolute; top: -20%; right: 148px;
  width: 1px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, transparent);
  transform: rotate(12deg); opacity: .1; pointer-events: none;
}
.contact-hero__label {
  position: relative; z-index: 2;
  margin-left: 40px;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); opacity: .6;
}

/* Two-column layout */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}
.contact-right { width: 100%; }
.contact-left { display: none; }
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 16px;
}
.contact-title em {
  font-style: italic;
  color: var(--gold);
}
.contact-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  border-left: 2px solid rgba(196,151,63,.2);
  padding-left: 14px;
}
.contact-alts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
  width: fit-content;
}
.contact-alt:hover { border-color: rgba(196,151,63,.35); color: var(--gold); background: rgba(196,151,63,.04); }
.contact-alt--kofi:hover { color: var(--gold); }

/* Success */
.contact-success {
  display: flex; align-items: center; gap: 18px;
  background: rgba(34,197,94,.06);
  border: 1px solid rgba(34,197,94,.2);
  border-left: 3px solid #22C55E;
  padding: 24px 20px; border-radius: 3px;
  color: var(--text);
}
.contact-success__check {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(34,197,94,.15);
  color: #22C55E;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-success strong { display: block; margin-bottom: 4px; color: #22C55E; }
.contact-success span { font-size: .85rem; color: var(--muted); }

/* Error */
.contact-error {
  background: rgba(158,45,69,.07);
  border: 1px solid rgba(158,45,69,.2);
  border-left: 3px solid var(--rose-h);
  padding: 14px 18px; border-radius: 3px;
  color: var(--rose-h); font-size: .88rem;
  margin-bottom: 20px;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; gap: 18px; }
.cf-row--2 { grid-template-columns: 1fr 1fr; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-label {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.cf-label span { color: var(--rose-h); }
.cf-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.cf-input:focus {
  border-color: rgba(196,151,63,.4);
  box-shadow: 0 0 0 3px rgba(196,151,63,.07);
}
.cf-input::placeholder { color: rgba(154,148,144,.3); }
.cf-textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.cf-submit {
  align-self: flex-start;
  background: var(--gold); color: #0A090D;
  border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 32px; cursor: pointer;
  transition: background .2s, transform .15s;
}
.cf-submit:hover { background: var(--gold-h); transform: translateY(-1px); }

@media (max-width: 920px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; padding: 40px 20px 60px; }
  .cf-row--2 { grid-template-columns: 1fr; }
  .cf-submit { width: 100%; text-align: center; }
}

