/*
Theme Name:        Hot Hand Media
Theme URI:         https://hothandmedia.com
Author:            Cheri L. Stockton — Hot Hand Media
Author URI:        https://hothandmedia.com
Description:       Official brand theme for Hot Hand Media. Therapist Teal palette, Exo 2 + Roboto typography, Technical Operator Workbench design language. Includes full-page templates for Home, Services, About, and Contact.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
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:       hot-hand-media
Tags:              full-site-editing, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Roboto:wght@400;500;600&family=Roboto+Mono:wght@400;500&display=swap');

/* ── BRAND VARIABLES ──────────────────────────────────────────────────────── */
:root {
  --hhm-teal:         #147D76;
  --hhm-teal-deep:    #0A4D48;
  --hhm-copper:       #B8702A;
  --hhm-slate:        #1E262E;
  --hhm-mint:         #F0F7F5;
  --hhm-mint-dark:    #E2EDE9;
  --hhm-white:        #FFFFFF;
  --hhm-font-heading: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hhm-font-body:    'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --hhm-font-mono:    'Roboto Mono', 'Courier New', monospace;
  --hhm-radius:       6px;
  --hhm-container:    1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--hhm-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--hhm-slate);
  background-color: var(--hhm-mint);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--hhm-teal);
  text-decoration: none;
  transition: color 150ms ease;
}
a:hover { color: var(--hhm-teal-deep); }

/* ── TYPOGRAPHY ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hhm-font-heading);
  color: var(--hhm-slate);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

/* ── LAYOUT HELPERS ───────────────────────────────────────────────────────── */
.hhm-container {
  width: 100%;
  max-width: var(--hhm-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .hhm-container { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.hhm-section { padding-top: 5rem; padding-bottom: 5rem; }
.hhm-section-sm { padding-top: 3rem; padding-bottom: 3rem; }
.hhm-section-lg { padding-top: 7rem; padding-bottom: 7rem; }

/* ── BACKGROUND UTILITIES ─────────────────────────────────────────────────── */
.hhm-bg-mint      { background-color: var(--hhm-mint); }
.hhm-bg-mint-dark { background-color: var(--hhm-mint-dark); }
.hhm-bg-teal      { background-color: var(--hhm-teal-deep); }
.hhm-bg-white     { background-color: var(--hhm-white); }

/* ── SYSTEM LABEL (Roboto Mono section tag) ───────────────────────────────── */
.hhm-sys-label {
  font-family: var(--hhm-font-mono) !important;
  font-size: 0.6875rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--hhm-teal) !important;
  display: block;
  margin-bottom: 0.875rem;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.hhm-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--hhm-font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--hhm-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 100ms ease;
  text-decoration: none;
  line-height: 1;
}
.hhm-btn:active,
.wp-block-button__link:active { transform: scale(0.97); }

.hhm-btn-primary,
.wp-block-button.is-style-fill .wp-block-button__link {
  background-color: var(--hhm-teal);
  color: #fff;
  border-color: var(--hhm-teal);
}
.hhm-btn-primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background-color: var(--hhm-teal-deep);
  border-color: var(--hhm-teal-deep);
  color: #fff;
}

.hhm-btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--hhm-teal);
  border-color: var(--hhm-teal);
}
.hhm-btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--hhm-teal);
  color: #fff;
}

.hhm-btn-copper {
  background-color: var(--hhm-copper);
  color: #fff;
  border-color: var(--hhm-copper);
}
.hhm-btn-copper:hover { background-color: #9a5e22; border-color: #9a5e22; color: #fff; }

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.hhm-card {
  background-color: var(--hhm-white);
  border: 1px solid rgba(20,125,118,0.12);
  border-radius: var(--hhm-radius);
  padding: 1.75rem;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.hhm-card:hover {
  box-shadow: 0 8px 28px rgba(10,77,72,0.1);
  transform: translateY(-2px);
}
.hhm-card-featured {
  border-color: var(--hhm-teal);
  box-shadow: 0 0 0 2px rgba(20,125,118,0.15);
}

/* ── CALLOUT / BLOCKQUOTE ─────────────────────────────────────────────────── */
.hhm-callout,
blockquote.hhm-callout {
  border-left: 3px solid var(--hhm-copper);
  background-color: rgba(184,112,42,0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--hhm-radius) var(--hhm-radius) 0;
  font-style: italic;
  color: var(--hhm-slate);
  margin: 1.5rem 0;
}

/* ── BADGE ────────────────────────────────────────────────────────────────── */
.hhm-badge {
  display: inline-block;
  font-family: var(--hhm-font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(20,125,118,0.1);
  color: var(--hhm-teal);
  border: 1px solid rgba(20,125,118,0.2);
  margin-bottom: 1rem;
}

/* ── HERO SECTION ─────────────────────────────────────────────────────────── */
.hhm-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--hhm-mint);
}
.hhm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.hhm-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 5rem 0;
}
.hhm-hero h1 span { color: var(--hhm-teal); }

/* ── NAVIGATION ───────────────────────────────────────────────────────────── */
#hhm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--hhm-mint);
  border-bottom: 1px solid rgba(20,125,118,0.18);
}
.hhm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.hhm-logo img { height: 46px; width: auto; }
.hhm-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.hhm-nav-links a {
  font-family: var(--hhm-font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--hhm-slate);
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.hhm-nav-links a:hover,
.hhm-nav-links .current-menu-item a {
  color: var(--hhm-teal);
  border-bottom-color: var(--hhm-teal);
}
.hhm-nav-cta { margin-left: 1rem; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
#hhm-footer {
  background-color: var(--hhm-teal-deep);
  color: var(--hhm-mint);
  padding: 4rem 0 2rem;
}
#hhm-footer h3, #hhm-footer h4 { color: var(--hhm-mint); }
#hhm-footer a { color: rgba(240,247,245,0.7); }
#hhm-footer a:hover { color: var(--hhm-copper); }
.hhm-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.hhm-footer-bottom {
  border-top: 1px solid rgba(240,247,245,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(240,247,245,0.4);
}
.hhm-footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.hhm-social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.hhm-social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240,247,245,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,247,245,0.6);
  font-size: 0.875rem;
  transition: all 180ms ease;
}
.hhm-social-links a:hover {
  border-color: var(--hhm-copper);
  color: var(--hhm-copper);
}

/* ── GRID LAYOUTS ─────────────────────────────────────────────────────────── */
.hhm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hhm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.hhm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .hhm-grid-3 { grid-template-columns: 1fr 1fr; }
  .hhm-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hhm-grid-2,
  .hhm-grid-3,
  .hhm-grid-4 { grid-template-columns: 1fr; }
  .hhm-hero { min-height: 70vh; }
}

/* ── TEAL DARK SECTION TEXT OVERRIDES ────────────────────────────────────── */
.hhm-bg-teal h1,
.hhm-bg-teal h2,
.hhm-bg-teal h3,
.hhm-bg-teal h4,
.hhm-bg-teal p,
.hhm-bg-teal li { color: var(--hhm-mint); }
.hhm-bg-teal .hhm-sys-label { color: var(--hhm-copper) !important; }

/* ── PRICING TABLE ────────────────────────────────────────────────────────── */
.hhm-pricing-card {
  background: var(--hhm-white);
  border: 1px solid rgba(20,125,118,0.15);
  border-radius: var(--hhm-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.hhm-pricing-card.featured {
  border-color: var(--hhm-teal);
  box-shadow: 0 0 0 3px rgba(20,125,118,0.12);
}
.hhm-pricing-price {
  font-family: var(--hhm-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--hhm-teal);
  margin: 0.75rem 0;
}
.hhm-pricing-features { list-style: none; margin: 1rem 0 1.5rem; flex: 1; }
.hhm-pricing-features li {
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(20,125,118,0.08);
  color: var(--hhm-slate);
}
.hhm-pricing-features li::before {
  content: "✓ ";
  color: var(--hhm-teal);
  font-weight: 700;
}

/* ── PROCESS STEPS ────────────────────────────────────────────────────────── */
.hhm-step-number {
  font-family: var(--hhm-font-mono);
  font-size: 0.6875rem;
  color: var(--hhm-copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* ── UTILITY ──────────────────────────────────────────────────────────────── */
.hhm-text-teal   { color: var(--hhm-teal); }
.hhm-text-copper { color: var(--hhm-copper); }
.hhm-text-muted  { color: rgba(30,38,46,0.6); }
.hhm-divider {
  border: none;
  border-top: 1px solid rgba(20,125,118,0.15);
  margin: 3rem 0;
}
.hhm-mt-auto { margin-top: auto; }
.hhm-text-center { text-align: center; }
.hhm-mb-0 { margin-bottom: 0 !important; }
