/*
Theme Name: Lickforge
Theme URI: https://lickforge.com
Author: Lickforge
Author URI: https://lickforge.com
Description: A professional guitar lick library theme. Dark, minimal, music-focused. Built for Lickforge — a modern guitar lick library organised by style, feel, technique, and musical context.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lickforge
Tags: dark, music, guitar, custom-menu, custom-logo, featured-images, full-width-template, translation-ready
*/

/* ============================================================
   LICKFORGE DESIGN SYSTEM
   Design: Precision Instrument / Dark Tool UI
   Fonts: Syne (display), Outfit (body), Fira Code (tab/mono)
   Colors: Near-black bg, warm gold accent, off-white text
   ============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: #0d0d0f;
  color: #e8e0d4;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* --- CSS Custom Properties --- */
:root {
  --bg-base:       #0d0d0f;
  --bg-surface:    #111114;
  --bg-card:       #161619;
  --bg-elevated:   #1a1a1e;
  --border:        rgba(255,255,255,0.08);
  --border-subtle: rgba(255,255,255,0.05);
  --gold:          #c8922a;
  --gold-light:    #e0a83a;
  --gold-dim:      rgba(200,146,42,0.15);
  --gold-border:   rgba(200,146,42,0.3);
  --text-primary:  #f0ebe3;
  --text-secondary:#b8ae9e;
  --text-muted:    #6e6558;
  --text-faint:    #3e3a34;
  --radius:        0;
  --transition:    0.14s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); line-height: 1.65; }

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

code, pre, .tab-notation {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
}

/* --- Layout --- */
.lf-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) { .lf-container { padding: 0 2rem; } }

/* --- Section Labels --- */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* --- Lick ID badge --- */
.lick-id {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.05em;
}

/* --- Tag Pills --- */
.tag-pill {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  white-space: nowrap;
}

.tag-pill.gold {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--gold-dim);
}

/* --- Difficulty Bar --- */
.difficulty-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.difficulty-bar__segments {
  display: flex;
  gap: 3px;
}

.difficulty-bar__seg {
  display: block;
  width: 18px;
  height: 4px;
  background: var(--border);
  border-radius: 1px;
}

.difficulty-bar__seg.active { background: var(--gold); }

.difficulty-bar__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-base);
}

.btn-primary:hover { background: var(--gold-light); color: var(--bg-base); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover { color: var(--text-primary); }

/* --- Cards --- */
.lick-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem;
  transition: border-color var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.lick-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.lick-card:hover {
  border-color: rgba(200,146,42,0.25);
  transform: translateY(-1px);
}

.lick-card:hover::before { opacity: 1; }

.lick-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  gap: 0.5rem;
}

.lick-card__badges { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }

.lick-card__key {
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.lick-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.lick-card__desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lick-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.lick-card__meta-item {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.lick-card__meta-sep {
  width: 3px; height: 3px;
  background: var(--text-faint);
  border-radius: 50%;
  flex-shrink: 0;
}

.lick-card__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.85rem; }

.lick-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.lick-card__bpm {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--gold);
}

.lick-card__play {
  width: 30px; height: 30px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gold);
}

.lick-card__play:hover { background: var(--gold); color: var(--bg-base); }

/* --- Badge variants --- */
.badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
}

.badge-featured {
  background: rgba(180,130,30,0.12);
  border: 1px solid rgba(180,130,30,0.3);
  color: #d4a840;
}

.badge-new {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

/* --- Tab Notation --- */
.tab-notation {
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  white-space: pre;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #a8c4a0;
  letter-spacing: 0.02em;
}

/* --- Audio Player --- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

.audio-player__btn {
  width: 40px; height: 40px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--gold);
}

.audio-player__btn:hover,
.audio-player__btn.playing {
  background: var(--gold);
  color: var(--bg-base);
}

.audio-player__waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  flex: 1;
}

.audio-player__bar {
  flex: 1;
  background: var(--border);
  border-radius: 1px;
  transition: background 0.05s;
}

.audio-player__bar.played { background: var(--gold); }

.audio-player__meta { flex-shrink: 0; text-align: right; }

.audio-player__bpm {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--gold);
  display: block;
}

.audio-player__feel {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- Filter Chip --- */
.filter-chip {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.filter-chip.active {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold-light);
}

/* --- Filter Section --- */
.filter-section { margin-bottom: 1.25rem; }

.filter-section__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-section__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* --- Search Input --- */
.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
  margin-bottom: 1.25rem;
}

.search-input-wrap:focus-within { border-color: rgba(200,146,42,0.5); }

.search-input-wrap svg { padding: 0 0.75rem; color: var(--text-muted); flex-shrink: 0; }

.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-primary);
  padding: 0.65rem 0;
}

.search-input-wrap input::placeholder { color: var(--text-muted); }

/* --- Navbar --- */
.lf-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 60px;
  display: flex;
  align-items: center;
}

.lf-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lf-navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.lf-navbar__logo-icon {
  width: 28px; height: 28px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

.lf-navbar__logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.lf-navbar__logo-text span { color: var(--gold); }

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

.lf-navbar__nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  transition: color var(--transition);
  position: relative;
}

.lf-navbar__nav a:hover,
.lf-navbar__nav a.current-menu-item { color: var(--text-primary); }

.lf-navbar__nav a.current-menu-item::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.75rem; right: 0.75rem;
  height: 1px;
  background: var(--gold);
}

.lf-navbar__cta { margin-left: 1rem; }

/* Mobile menu toggle */
.lf-navbar__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .lf-navbar__nav { display: none; }
  .lf-navbar__toggle { display: flex; align-items: center; }
  .lf-navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }
  .lf-navbar__cta { display: none; }
}

/* --- Hero --- */
.lf-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.lf-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
}

.lf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,15,0.97) 0%,
    rgba(13,13,15,0.85) 45%,
    rgba(13,13,15,0.4) 100%
  );
}

.lf-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 5rem 0 4rem;
}

.lf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
}

.lf-hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.lf-hero__title-gold {
  color: var(--gold);
  display: block;
}

.lf-hero__sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.25rem 0 2rem;
  max-width: 480px;
}

.lf-hero__search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  max-width: 520px;
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}

.lf-hero__search:focus-within { border-color: rgba(200,146,42,0.5); }

.lf-hero__search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 0.85rem 1rem;
}

.lf-hero__search input::placeholder { color: var(--text-muted); }

.lf-hero__search-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg-base);
  border: none;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.lf-hero__search-btn:hover { background: var(--gold-light); }

.lf-hero__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.lf-hero__tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.lf-hero__tag:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

/* --- Section Wrapper --- */
.lf-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.lf-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.lf-section__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-top: 0.4rem;
}

/* --- Style Grid --- */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}

.style-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1rem;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.style-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.style-card:hover { border-color: var(--gold-border); }
.style-card:hover::after { transform: scaleX(1); }
.style-card.locked { opacity: 0.5; cursor: default; }
.style-card.locked:hover { border-color: var(--border-subtle); }
.style-card.locked::after { display: none; }

.style-card__name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.style-card__count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

/* --- Practice Path Card --- */
.path-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition);
  position: relative;
}

.path-card:hover { border-color: var(--gold-border); }

.path-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.path-card__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.path-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.path-card__desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.path-card__licks { display: flex; flex-direction: column; gap: 0.4rem; }

.path-card__lick-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition);
}

.path-card__lick-row:hover { border-color: var(--gold-border); }

.path-card__lick-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  min-width: 20px;
}

.path-card__lick-id {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 55px;
}

.path-card__lick-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
}

.path-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* --- Why Section --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
}

.why-card__icon {
  width: 36px; height: 36px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 1rem;
}

.why-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.why-card__desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.lf-cta {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.lf-cta__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.lf-cta__sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.lf-cta__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* --- Footer --- */
.lf-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
}

.lf-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .lf-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lf-footer__grid { grid-template-columns: 1fr; }
}

.lf-footer__brand-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 260px;
}

.lf-footer__col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.lf-footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }

.lf-footer__links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.lf-footer__links a:hover { color: var(--text-secondary); }

.lf-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lf-footer__copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* --- Library Page Layout --- */
.library-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 4rem;
}

@media (max-width: 900px) {
  .library-layout { grid-template-columns: 1fr; }
  .library-sidebar { display: none; }
  .library-sidebar.open { display: block; }
}

.library-sidebar {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* --- Lick Detail --- */
.lick-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .lick-detail-grid { grid-template-columns: 1fr; }
}

.lick-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.lick-detail-panel__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lick-detail-panel__title::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.meta-row__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.meta-row__value {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.practice-note {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.practice-note__num {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  min-width: 16px;
}

.practice-note__text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Breadcrumb --- */
.lf-breadcrumb {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 0.75rem 0;
}

.lf-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lf-breadcrumb a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.lf-breadcrumb a:hover { color: var(--text-secondary); }

.lf-breadcrumb__sep {
  color: var(--text-faint);
  font-size: 0.75rem;
}

.lf-breadcrumb__current {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--gold);
}

/* --- Page Header --- */
.lf-page-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
  background: var(--bg-surface);
}

/* --- Styles Page --- */
.styles-list { display: flex; flex-direction: column; gap: 0.5rem; }

.style-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--transition);
}

.style-row:hover { border-color: rgba(200,146,42,0.15); }

.style-row__top {
  height: 3px;
  background: var(--gold);
}

.style-row.locked .style-row__top { background: var(--border); }

.style-row__body {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  padding: 1.75rem;
  align-items: start;
}

@media (max-width: 768px) {
  .style-row__body { grid-template-columns: 1fr; gap: 1rem; }
}

.style-row__name {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.style-row.locked .style-row__name { color: var(--text-muted); }

.style-row__count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
}

.style-row.locked .style-row__count { color: var(--text-muted); }

.style-row__desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.style-row__sub-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* --- About Page --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) { .philosophy-grid { grid-template-columns: 1fr; } }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
}

.roadmap-card__status {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.roadmap-card__status.live {
  background: rgba(80,180,80,0.12);
  border: 1px solid rgba(80,180,80,0.3);
  color: #70d070;
}

.roadmap-card__status.upcoming {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.roadmap-card__status.planned {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.roadmap-card__status.vision {
  background: rgba(120,80,200,0.1);
  border: 1px solid rgba(120,80,200,0.25);
  color: #a080e0;
}

.roadmap-card__phase {
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.roadmap-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.roadmap-card__desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Tip Box --- */
.tip-box {
  padding: 1rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
}

.tip-box__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tip-box__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.tip-box__text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Context Box --- */
.context-box {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold);
}

/* --- Utility --- */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.4s ease forwards; }

/* --- WordPress Core Overrides --- */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { text-align: center; }
.alignright { float: right; margin-left: 1rem; }
.alignleft { float: left; margin-right: 1rem; }
img { max-width: 100%; height: auto; }
