/*
Theme Name: Darren's Speakeasy
Theme URI: https://techfoxusa.com
Author: TechFox USA, LLC
Author URI: https://techfoxusa.com
Description: A prohibition-era dark speakeasy theme with neon-vaporwave highlights. Art deco geometry meets electric neon glow.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darrens-speakeasy
Tags: dark, restaurant, food-and-drink, custom-logo, custom-menu, widgetized
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Core palette */
  --color-bg:          #0a0806;
  --color-bg-card:     #110f0c;
  --color-bg-raised:   #1a1610;
  --color-surface:     #221e18;
  --color-border:      #2e2820;

  /* Text */
  --color-text:        #f0e6cc;
  --color-text-muted:  #a89880;
  --color-text-faint:  #6b5e4e;

  /* Gold — art deco structural */
  --color-gold:        #c9a84c;
  --color-gold-dim:    #7a6330;
  --color-gold-bright: #e8c56b;

  /* Neon vaporwave highlights */
  --color-neon-cyan:   #00f5ff;
  --color-neon-magenta:#ff2d9b;
  --color-neon-violet: #bf5fff;

  /* Glows */
  --glow-cyan:   0 0 8px rgba(0,245,255,.6), 0 0 24px rgba(0,245,255,.25);
  --glow-magenta:0 0 8px rgba(255,45,155,.6), 0 0 24px rgba(255,45,155,.25);
  --glow-violet: 0 0 8px rgba(191,95,255,.6), 0 0 24px rgba(191,95,255,.25);
  --glow-gold:   0 0 8px rgba(201,168,76,.5),  0 0 20px rgba(201,168,76,.2);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Spacing */
  --space-xs:  .375rem;
  --space-sm:  .75rem;
  --space-md:  1.5rem;
  --space-lg:  3rem;
  --space-xl:  6rem;

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .25s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  /* Subtle grain overlay */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neon-cyan); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--color-neon-magenta); }
a:focus-visible {
  outline: 2px solid var(--color-neon-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--color-text);
}

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: var(--space-md); }
li { margin-bottom: .35rem; }

hr { margin-bottom: var(--space-md); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-neon-cyan);
  color: var(--color-bg);
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .875rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10000;
  transition: top var(--dur) var(--ease);
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============================================================
   ART DECO DECORATIVE UTILITIES
   ============================================================ */
.deco-rule {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.deco-rule::before,
.deco-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.deco-rule-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Geometric corner decorators */
.corner-deco {
  position: relative;
}
.corner-deco::before,
.corner-deco::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--color-gold-dim);
  border-style: solid;
}
.corner-deco::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.corner-deco::after  { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }

/* Neon glow classes */
.neon-cyan    { color: var(--color-neon-cyan);    text-shadow: var(--glow-cyan); }
.neon-magenta { color: var(--color-neon-magenta); text-shadow: var(--glow-magenta); }
.neon-violet  { color: var(--color-neon-violet);  text-shadow: var(--glow-violet); }

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  width: min(100%, 760px);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,8,6,.92);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
}

/* Neon top stripe */
.site-header::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-neon-violet) 0%,
    var(--color-neon-magenta) 40%,
    var(--color-neon-cyan) 70%,
    var(--color-neon-violet) 100%);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ── Row 1: branding strip ── */
.header-top {
  padding: var(--space-sm) 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Social + hamburger anchored to the right, absolutely, so branding stays centred */
.header-top-right {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Site branding — always centred */
.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-logo img {
  max-height: 70px;
  width: auto;
}

.site-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
  margin: 0;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: var(--color-gold-bright);
  text-shadow: var(--glow-gold);
}

.site-description {
  font-family: var(--font-sans);
  font-size: .625rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: .2rem;
}

/* ============================================================
   NAVIGATION — full-width bar + accessible dropdowns
   ============================================================ */

/* ── Row 2 container ── */
.header-nav-bar {
  background: rgba(17,15,12,.95);
  border-top: 1px solid var(--color-border);
}

.primary-nav { width: 100%; }

/* Top-level list */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Every menu item */
.nav-menu li {
  position: relative;
}

/* All anchors */
.nav-menu a {
  font-family: var(--font-sans);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: .75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--color-neon-cyan);
  background: rgba(0,245,255,.06);
}

/* Dropdown chevron for parent items */
.nav-menu .menu-item-has-children > a::after {
  content: '▾';
  font-size: .55rem;
  opacity: .6;
  transition: transform var(--dur) var(--ease);
}
.nav-menu .menu-item-has-children.is-open > a::after,
.nav-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* ── Dropdown panel ── */
.nav-menu .sub-menu {
  list-style: none;
  padding: .4rem 0;
  margin: 0;

  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  z-index: 200;

  background: var(--color-bg-raised);
  border: 1px solid var(--color-gold-dim);
  border-top: 2px solid var(--color-neon-violet);
  box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(191,95,255,.08);

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .2s var(--ease),
    transform .2s var(--ease),
    visibility .2s;
}

/* Open via hover (desktop) or .is-open (keyboard/JS) */
.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children.is-open  > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
.nav-menu .sub-menu a {
  font-size: .5625rem;
  letter-spacing: .16em;
  padding: .55rem 1.25rem;
  color: var(--color-text-muted);
  justify-content: flex-start;
  white-space: normal;
}
.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu .current-menu-item > a {
  color: var(--color-neon-cyan);
  background: rgba(0,245,255,.06);
}

/* Decorative left rule on hover */
.nav-menu .sub-menu li {
  border-left: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.nav-menu .sub-menu li:hover {
  border-left-color: var(--color-neon-violet);
}

/* Social icons */
.social-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.social-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: .8rem;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.social-nav a:hover {
  border-color: var(--color-neon-magenta);
  color: var(--color-neon-magenta);
  box-shadow: var(--glow-magenta);
}

/* Hamburger — hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  padding: .4rem .65rem;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color var(--dur) var(--ease);
}
.menu-toggle:hover { border-color: var(--color-neon-cyan); }
.menu-toggle[aria-expanded="true"] .icon-bars  { display: none; }
.menu-toggle[aria-expanded="false"] .icon-close { display: none; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(191,95,255,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(0,245,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(255,45,155,.05) 0%, transparent 60%);
  z-index: 0;
}

/* Art deco geometric pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(201,168,76,.04) 39px, rgba(201,168,76,.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(201,168,76,.04) 39px, rgba(201,168,76,.04) 40px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--color-neon-magenta);
  text-shadow: var(--glow-magenta);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.hero-title span {
  display: block;
  color: var(--color-gold-bright);
  text-shadow: var(--glow-gold);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  letter-spacing: .06em;
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid currentColor;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-neon-cyan);
  color: var(--color-bg);
  border-color: var(--color-neon-cyan);
  box-shadow: var(--glow-cyan);
}
.btn--primary:hover {
  background: var(--color-neon-magenta);
  border-color: var(--color-neon-magenta);
  box-shadow: var(--glow-magenta);
  color: var(--color-bg);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.btn--outline:hover {
  color: var(--color-neon-violet);
  border-color: var(--color-neon-violet);
  box-shadow: var(--glow-violet);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   MENU PAGE TEMPLATE
   ============================================================ */
.menu-page-header {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, rgba(191,95,255,.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--color-border);
}

.menu-page-header .section-eyebrow { margin-bottom: var(--space-sm); }
.menu-page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.menu-section {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.menu-section:last-child { border-bottom: none; }

.menu-section-title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.menu-item-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: relative;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.menu-item-card:hover {
  border-color: var(--color-gold-dim);
  box-shadow: 0 0 20px rgba(201,168,76,.08);
}

.menu-item-card.featured {
  border-color: var(--color-neon-magenta);
  box-shadow: 0 0 12px rgba(255,45,155,.12);
}
.menu-item-card.featured::before {
  content: '✦ FEATURED';
  position: absolute;
  top: -.6rem;
  left: var(--space-sm);
  background: var(--color-neon-magenta);
  color: var(--color-bg);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .2em;
  padding: .1rem .5rem;
  border-radius: var(--radius-sm);
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .25rem;
}

.menu-item-desc {
  font-size: .875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-sm);
}

.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.menu-item-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neon-cyan);
  text-shadow: var(--glow-cyan);
}

.menu-item-badge {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
}
.badge--spirits  { color: var(--color-neon-violet); border-color: var(--color-neon-violet); }
.badge--cocktail { color: var(--color-neon-cyan);   border-color: var(--color-neon-cyan); }
.badge--beer     { color: var(--color-gold);        border-color: var(--color-gold); }
.badge--food     { color: var(--color-neon-magenta);border-color: var(--color-neon-magenta); }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

.post-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.post-card:hover {
  border-color: var(--color-gold-dim);
  transform: translateY(-3px);
}

.post-card-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(.85) saturate(.8);
  transition: filter var(--dur) var(--ease);
}
.post-card:hover .post-card-thumb img { filter: brightness(.95) saturate(1); }

.post-card-body { padding: var(--space-md); }

.post-card-meta {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: .5rem;
}

.post-card-title {
  font-size: 1.125rem;
  margin-bottom: .5rem;
}
.post-card-title a { color: var(--color-text); }
.post-card-title a:hover { color: var(--color-neon-cyan); }

.post-card-excerpt {
  font-size: .875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.entry-header {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.entry-meta {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-md);
}

.entry-title {
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  letter-spacing: .05em;
  margin-bottom: var(--space-sm);
}

.entry-content {
  padding: var(--space-lg) 0;
}

.entry-content h2 { font-size: 1.625rem; margin: var(--space-lg) 0 var(--space-sm); color: var(--color-gold-bright); }
.entry-content h3 { font-size: 1.25rem; margin: var(--space-md) 0 var(--space-sm); color: var(--color-text); }
.entry-content blockquote {
  border-left: 3px solid var(--color-neon-violet);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  background: var(--color-bg-raised);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ============================================================
   WIDGETS / SIDEBAR
   ============================================================ */
.widget-area {
  padding: var(--space-lg) 0;
}

.widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.widget-title {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
}

/* Neon bottom stripe */
.site-footer::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: var(--space-md);
  background: linear-gradient(90deg,
    var(--color-neon-cyan) 0%,
    var(--color-neon-magenta) 50%,
    var(--color-neon-violet) 100%);
  opacity: .5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .site-title {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

.footer-brand .site-description {
  font-size: .6rem;
}

.footer-tagline {
  font-size: .875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--dur) var(--ease);
}
.footer-social a:hover { color: var(--color-neon-magenta); }

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li { margin-bottom: .4rem; }
.footer-nav-list a {
  font-size: .875rem;
  color: var(--color-text-muted);
  letter-spacing: .03em;
}
.footer-nav-list a:hover { color: var(--color-neon-cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-copyright {
  font-size: .75rem;
  color: var(--color-text-faint);
  letter-spacing: .04em;
}

.footer-credit {
  font-size: .6875rem;
  color: var(--color-text-faint);
  letter-spacing: .04em;
}
.footer-credit a {
  color: var(--color-neon-cyan);
  font-weight: 600;
}
.footer-credit a:hover { color: var(--color-neon-magenta); }

/* ============================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Show hamburger, hide social in top row on mobile */
  .menu-toggle { display: flex; align-items: center; }

  /* Nav bar collapses; toggled open by JS */
  .header-nav-bar {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s var(--ease);
    border-top: none;
  }
  .header-nav-bar.is-open {
    max-height: 100vh;   /* large enough for any menu depth */
    border-top: 1px solid var(--color-border);
  }

  /* Stack menu items vertically */
  .nav-menu {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: .5rem 0;
  }

  .nav-menu > li > a {
    padding: .7rem var(--space-md);
    border-bottom: 1px solid var(--color-border);
    justify-content: space-between;
  }

  /* ── Mobile dropdowns: accordion, not absolute ── */
  .nav-menu .sub-menu {
    position: static;
    transform: none !important;
    left: auto;
    min-width: 0;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: none;
    background: var(--color-bg-card);
    padding: 0;
    /* reset visibility / opacity — controlled by max-height instead */
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav-menu .menu-item-has-children.is-open > .sub-menu {
    pointer-events: auto;
    max-height: 600px;
  }

  .nav-menu .sub-menu a {
    padding: .6rem var(--space-md) .6rem calc(var(--space-md) + 1rem);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-menu .sub-menu li {
    border-left: none;
  }

  .header-top-right .social-nav { display: none; }
}

@media (max-width: 600px) {
  .hero { min-height: 70vh; }
  .menu-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ============================================================
   WORDPRESS CORE ALIGNMENT & BLOCKS
   ============================================================ */
.alignleft  { float: left; margin-right: var(--space-md); }
.alignright { float: right; margin-left: var(--space-md); }
.aligncenter { display: block; margin-inline: auto; }
.alignwide  { width: min(100%, 1100px); margin-inline: auto; }
.alignfull  { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }

.wp-caption { background: var(--color-bg-card); border: 1px solid var(--color-border); padding: .5rem; border-radius: var(--radius-md); }
.wp-caption-text { font-size: .75rem; color: var(--color-text-muted); text-align: center; padding: .4rem 0 0; }

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  background: var(--color-neon-cyan);
  color: var(--color-bg);
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: .5rem;
  padding: .75rem 1.5rem;
  top: .5rem;
  width: auto;
  z-index: 100000;
}
