/*
Theme Name:  Hendo Today
Theme URI:   https://hendo.today/
Description: Custom cinematic theme for Hendo.Today — Hendersonville NC videography, photography and content marketing studio. Built for speed, storytelling and conversion. No page builder required.
Version:     1.0.0
Author:      Hendo.Today
Author URI:  https://hendo.today/
License:     GPL2
Text Domain: hendo
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --hendo-black:    #0a0a0a;
  --hendo-dark:     #111111;
  --hendo-surface:  #1a1a1a;
  --hendo-surface2: #222222;
  --hendo-border:   rgba(255,255,255,0.08);
  --hendo-gold:     #c8a84b;
  --hendo-gold-light: #e2c87a;
  --hendo-gold-dim: rgba(200,168,75,0.15);
  --hendo-white:    #f4f0e8;
  --hendo-muted:    #888074;
  --hendo-red:      #c0392b;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --gutter:      clamp(16px, 4vw, 40px);

  /* Effects */
  --shadow-gold: 0 0 40px rgba(200,168,75,0.12);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.6);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  background: var(--hendo-black);
  color: var(--hendo-white);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hendo-gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--hendo-gold-light); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--hendo-white);
  line-height: 1.2;
  font-weight: 700;
}

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

strong, b { color: var(--hendo-white); font-weight: 700; }
em, i { font-style: italic; }

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--hendo-dark); }
.section--surface { background: var(--hendo-surface); }

.text-gold { color: var(--hendo-gold); }
.text-muted { color: var(--hendo-muted); }
.text-center { text-align: center; }
.text-upper { text-transform: uppercase; letter-spacing: .12em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--hendo-gold);
  display: block;
  margin-bottom: 12px;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--hendo-gold);
  margin: 16px 0 24px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--hendo-gold);
  color: var(--hendo-black);
}
.btn--primary:hover {
  background: var(--hendo-gold-light);
  color: var(--hendo-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--hendo-white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--hendo-gold);
  color: var(--hendo-gold);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--hendo-gold);
  border: 1px solid var(--hendo-gold);
  padding: 10px 22px;
  font-size: 12px;
}
.btn--ghost:hover {
  background: var(--hendo-gold);
  color: var(--hendo-black);
}

/* ═══════════════════════════════════════════════
   HEADER & NAVIGATION
═══════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 20px 0;
}

#site-header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--hendo-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--transition);
}
.site-logo:hover img { opacity: 0.85; }

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav a {
  color: rgba(244,240,232,0.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav .current-menu-item a {
  color: var(--hendo-gold);
  background: var(--hendo-gold-dim);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hendo-border);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hendo-white);
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: clamp(28px,5vw,42px);
  color: var(--hendo-white);
  padding: 12px 24px;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--hendo-gold); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--hendo-white);
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark cinematic overlay — no black bars or diagonal shapes */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.45) 50%,
    rgba(10,10,10,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--hendo-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--hendo-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--hendo-white);
  margin-bottom: 24px;
  max-width: 16ch;
}

.hero-title em {
  font-style: normal;
  color: var(--hendo-gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(244,240,232,0.75);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(244,240,232,0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200,168,75,0.6), transparent);
}

@keyframes heroScrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════
   INTRO / BRAND STATEMENT
═══════════════════════════════════════════════ */
.brand-statement {
  padding: var(--section-pad) 0;
  background: var(--hendo-dark);
  border-bottom: 1px solid var(--hendo-border);
}

.brand-statement p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.6;
  color: rgba(244,240,232,0.85);
  font-style: italic;
}

.brand-statement strong {
  color: var(--hendo-gold);
  font-style: normal;
}

/* ═══════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════ */
.services {
  padding: var(--section-pad) 0;
  background: var(--hendo-black);
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--hendo-surface);
}

.service-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
  z-index: 1;
  transition: background var(--transition);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.5) 60%, rgba(10,10,10,0.1) 100%);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
  transform: translateY(0);
  transition: transform var(--transition);
}

.service-card-number {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--hendo-gold);
  margin-bottom: 8px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hendo-white);
  margin-bottom: 12px;
  line-height: 1;
}

.service-card-desc {
  font-size: 13px;
  color: rgba(244,240,232,0.7);
  line-height: 1.6;
  margin-bottom: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.service-card:hover .service-card-desc {
  max-height: 100px;
  opacity: 1;
}

.service-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.service-card:hover .service-card-actions {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   TRUST / CLIENTS SECTION
═══════════════════════════════════════════════ */
.trust-section {
  padding: var(--section-pad) 0;
  background: var(--hendo-surface);
  border-top: 1px solid var(--hendo-border);
  border-bottom: 1px solid var(--hendo-border);
}

.trust-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.trust-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 20px;
}

.trust-text p {
  color: rgba(244,240,232,0.75);
  font-size: 15px;
  line-height: 1.8;
}

.client-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.client-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--hendo-border);
  border-right: 1px solid var(--hendo-border);
  font-size: 13px;
  font-weight: 600;
  color: rgba(244,240,232,0.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.client-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hendo-gold);
  flex-shrink: 0;
}
.client-item:hover {
  color: var(--hendo-gold);
  background: var(--hendo-gold-dim);
}
.client-item:nth-child(even) { border-right: none; }

/* ═══════════════════════════════════════════════
   STORIES / BLOG ARCHIVE
═══════════════════════════════════════════════ */
.stories-section {
  padding: var(--section-pad) 0;
  background: var(--hendo-black);
}

.stories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px);
  gap: 20px;
  flex-wrap: wrap;
}

/* Stories archive page */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.stories-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.story-card {
  position: relative;
  background: var(--hendo-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--hendo-surface2);
}
.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.story-card:hover .story-card-img img {
  transform: scale(1.04);
}

.story-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--hendo-gold);
  color: var(--hendo-black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}

.story-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--hendo-border);
}

.story-card-meta {
  font-size: 11px;
  color: var(--hendo-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.3;
  color: var(--hendo-white);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.story-card:hover .story-card-title { color: var(--hendo-gold); }

.story-card-excerpt {
  font-size: 13px;
  color: var(--hendo-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hendo-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.story-card-link::after {
  content: '→';
  transition: transform var(--transition);
}
.story-card:hover .story-card-link::after {
  transform: translateX(4px);
}

/* Category filter tabs */
.cat-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cat-tab {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hendo-muted);
  border: 1px solid var(--hendo-border);
  border-radius: 2px;
  transition: all var(--transition);
  background: none;
  cursor: pointer;
}
.cat-tab:hover,
.cat-tab.active {
  color: var(--hendo-gold);
  border-color: var(--hendo-gold);
  background: var(--hendo-gold-dim);
}

/* ═══════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════ */
.post-hero {
  position: relative;
  height: clamp(380px, 55vw, 600px);
  overflow: hidden;
  margin-top: 0;
}

.post-hero-img {
  position: absolute;
  inset: 0;
}
.post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.8) 100%);
}

.post-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(32px, 5vw, 60px);
  z-index: 1;
}

.post-breadcrumb {
  font-size: 12px;
  color: rgba(244,240,232,0.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-breadcrumb a { color: rgba(244,240,232,0.6); }
.post-breadcrumb a:hover { color: var(--hendo-gold); }
.post-breadcrumb span { color: var(--hendo-gold); }

.post-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  color: var(--hendo-white);
  max-width: 800px;
  margin-bottom: 16px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(244,240,232,0.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  flex-wrap: wrap;
}

.post-hero-meta .separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hendo-gold);
}

/* Post layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(40px, 5vw, 72px);
  padding: clamp(48px, 6vw, 80px) 0;
  align-items: start;
}

/* Post content */
.post-content {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
  color: rgba(244,240,232,0.88);
}

.post-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--hendo-white);
  margin: 2em 0 0.6em;
  padding-top: 0.5em;
  border-top: 1px solid var(--hendo-border);
}

.post-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--hendo-gold);
  margin: 1.8em 0 0.5em;
}

.post-content h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hendo-white);
  margin: 1.5em 0 0.4em;
}

.post-content p { margin-bottom: 1.4em; }

.post-content a {
  color: var(--hendo-gold);
  border-bottom: 1px solid rgba(200,168,75,0.3);
  transition: border-color var(--transition);
}
.post-content a:hover { border-color: var(--hendo-gold); }

.post-content ul,
.post-content ol {
  padding-left: 24px;
  margin-bottom: 1.4em;
}
.post-content li { margin-bottom: 0.4em; }

.post-content blockquote {
  border-left: 3px solid var(--hendo-gold);
  padding: 20px 28px;
  margin: 2em 0;
  background: var(--hendo-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 22px);
  font-style: italic;
  color: var(--hendo-white);
  margin: 0;
}

.post-content img {
  border-radius: var(--radius-lg);
  margin: 2em 0;
  width: 100%;
  height: auto;
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--hendo-border);
  margin: 2.5em 0;
}

.post-content .wp-block-embed {
  margin: 2em 0;
}
.post-content iframe {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Post sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--hendo-surface);
  border: 1px solid var(--hendo-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-widget-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--hendo-gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hendo-border);
}

/* CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--hendo-surface) 0%, rgba(200,168,75,0.08) 100%);
  border-color: rgba(200,168,75,0.2);
  text-align: center;
}
.sidebar-cta h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 10px;
}
.sidebar-cta p {
  font-size: 13px;
  color: var(--hendo-muted);
  margin-bottom: 16px;
}

/* Recent posts in sidebar */
.sidebar-posts { list-style: none; }
.sidebar-posts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hendo-border);
}
.sidebar-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-posts a {
  font-size: 13px;
  color: rgba(244,240,232,0.8);
  line-height: 1.4;
  display: block;
  transition: color var(--transition);
}
.sidebar-posts a:hover { color: var(--hendo-gold); }

/* Categories in sidebar */
.sidebar-cats { list-style: none; }
.sidebar-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--hendo-border);
}
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a {
  font-size: 12px;
  color: var(--hendo-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color var(--transition);
}
.sidebar-cats a:hover { color: var(--hendo-gold); }
.sidebar-cats .count {
  font-size: 11px;
  color: var(--hendo-muted);
  background: var(--hendo-surface2);
  padding: 2px 7px;
  border-radius: 2px;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hendo-border);
}
.post-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hendo-muted);
  border: 1px solid var(--hendo-border);
  border-radius: 2px;
  padding: 4px 10px;
  transition: all var(--transition);
}
.post-tag:hover {
  color: var(--hendo-gold);
  border-color: var(--hendo-gold);
}

/* Related posts */
.related-posts {
  padding: var(--section-pad) 0;
  background: var(--hendo-surface);
  border-top: 1px solid var(--hendo-border);
}

/* ═══════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════ */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--hendo-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--hendo-muted);
  max-width: 480px;
  margin: 0 auto 36px;
}

.cta-phone {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--hendo-gold);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════ */
.hendo-form input[type="text"],
.hendo-form input[type="email"],
.hendo-form input[type="tel"],
.hendo-form input[type="url"],
.hendo-form input[type="number"],
.hendo-form select,
.hendo-form textarea {
  width: 100%;
  background: var(--hendo-surface2);
  border: 1px solid var(--hendo-border);
  border-radius: var(--radius);
  color: var(--hendo-white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.hendo-form input:focus,
.hendo-form select:focus,
.hendo-form textarea:focus {
  outline: none;
  border-color: var(--hendo-gold);
  box-shadow: 0 0 0 2px rgba(200,168,75,0.1);
}
.hendo-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hendo-muted);
  margin-bottom: 6px;
}
.hendo-form select option {
  background: var(--hendo-surface2);
  color: var(--hendo-white);
}

/* Gravity Forms integration */
.gform_wrapper.gravity-theme .gfield_label {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  color: var(--hendo-muted) !important;
}
.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]),
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  background: var(--hendo-surface2) !important;
  border: 1px solid var(--hendo-border) !important;
  border-radius: var(--radius) !important;
  color: var(--hendo-white) !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
}
.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme textarea:focus {
  border-color: var(--hendo-gold) !important;
  box-shadow: 0 0 0 2px rgba(200,168,75,0.1) !important;
}
.gform_wrapper .gform_submit_button,
.gform_wrapper .button {
  background: var(--hendo-gold) !important;
  border-color: var(--hendo-gold) !important;
  color: var(--hendo-black) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  font-size: 13px !important;
  padding: 13px 28px !important;
  border-radius: var(--radius) !important;
  transition: all var(--transition) !important;
}
.gform_wrapper .gform_submit_button:hover {
  background: var(--hendo-gold-light) !important;
  transform: translateY(-2px) !important;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#site-footer {
  background: var(--hendo-surface);
  border-top: 1px solid var(--hendo-border);
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: 48px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--hendo-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hendo-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hendo-muted);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--hendo-gold);
  color: var(--hendo-gold);
  background: var(--hendo-gold-dim);
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--hendo-gold);
  margin-bottom: 16px;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  font-size: 13px;
  color: var(--hendo-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--hendo-gold); }

.footer-contact p {
  font-size: 13px;
  color: var(--hendo-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a { color: var(--hendo-muted); }
.footer-contact a:hover { color: var(--hendo-gold); }

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

.footer-copy {
  font-size: 12px;
  color: var(--hendo-muted);
}
.footer-copy a { color: var(--hendo-muted); }
.footer-copy a:hover { color: var(--hendo-gold); }

/* ═══════════════════════════════════════════════
   WOOCOMMERCE
═══════════════════════════════════════════════ */
.woocommerce-page .site-main {
  padding: calc(var(--section-pad) + 80px) 0 var(--section-pad);
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
}

.woocommerce ul.products li.product {
  background: var(--hendo-surface) !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  transition: transform var(--transition);
}

.woocommerce ul.products li.product img {
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.woocommerce ul.products li.product:hover img {
  transform: scale(1.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading) !important;
  color: var(--hendo-white) !important;
  font-size: 17px !important;
  padding: 16px 20px 4px !important;
}

.woocommerce ul.products li.product .price {
  color: var(--hendo-gold) !important;
  font-weight: 700 !important;
  padding: 0 20px 12px !important;
}

.woocommerce ul.products li.product .button {
  background: var(--hendo-gold) !important;
  color: var(--hendo-black) !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 12px !important;
  margin: 0 20px 20px !important;
  padding: 10px 20px !important;
}

/* ═══════════════════════════════════════════════
   PAGE TEMPLATES
═══════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--section-pad) + 100px) 0 var(--section-pad);
  background: var(--hendo-dark);
  border-bottom: 1px solid var(--hendo-border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

.page-content {
  padding: var(--section-pad) 0;
}

/* ═══════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--hendo-border);
  border-radius: var(--radius);
  color: var(--hendo-muted);
  transition: all var(--transition);
}
.pagination a:hover,
.pagination .current {
  background: var(--hendo-gold);
  border-color: var(--hendo-gold);
  color: var(--hendo-black);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 0;
}
.animate-up.delay-1 { animation-delay: 0.1s; }
.animate-up.delay-2 { animation-delay: 0.2s; }
.animate-up.delay-3 { animation-delay: 0.3s; }

/* Intersection observer fade-in */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: span 2; aspect-ratio: 16/7; }
  .trust-content { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav,
  .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4/3; }
  .service-card:last-child { grid-column: 1; aspect-ratio: 4/3; }
  .stories-grid { grid-template-columns: 1fr; }
  .stories-grid--3 { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: 1fr; }
  .client-item { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .service-card-desc,
  .service-card-actions { max-height: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════
   WORDPRESS ALIGNMENT CLASSES
═══════════════════════════════════════════════ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin: 0 auto 16px; display: block; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }

/* Screen reader text */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
