/*
Theme Name: Tate Professional
Theme URI: https://tateprofessional.co.uk
Author: Tate Professional
Author URI: https://tateprofessional.co.uk
Description: Connecting People Through Creativity — specialist consultancy bridging under-represented communities and creative industry opportunities.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tate-professional
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ================================================================
   DESIGN TOKENS — Tate Professional Brand Palette
   Purple: #3D0066  |  Teal: #4ECDC4  |  White: #FFFFFF
   ================================================================ */

:root,
[data-theme='light'] {
  /* Brand Colours */
  --brand-purple:        #3D0066;
  --brand-purple-dark:   #2a0048;
  --brand-purple-light:  #5a0099;
  --brand-teal:          #4ECDC4;
  --brand-teal-hover:    #3ab5ac;
  --brand-teal-active:   #2a9d94;

  /* Surfaces */
  --color-bg:            #ffffff;
  --color-surface:       #f8f6fb;
  --color-surface-2:     #f2eef8;
  --color-surface-offset:#ebe4f3;
  --color-divider:       #ddd5ea;
  --color-border:        #cfc4df;

  /* Text */
  --color-text:          #1a0a2e;
  --color-text-muted:    #6b5888;
  --color-text-faint:    #b0a0c8;
  --color-text-inverse:  #ffffff;

  /* Primary (Teal) */
  --color-primary:       #4ECDC4;
  --color-primary-hover: #3ab5ac;
  --color-primary-active:#2a9d94;

  /* Accent (Purple) */
  --color-accent:        #3D0066;
  --color-accent-hover:  #2a0048;

  /* Type Scale */
  --text-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:    clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:   clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:   clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero:  clamp(3rem, 0.5rem + 7vw, 6rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(61,0,102,0.08);
  --shadow-md:  0 4px 16px rgba(61,0,102,0.12);
  --shadow-lg:  0 12px 40px rgba(61,0,102,0.16);

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg:            #0f0520;
  --color-surface:       #170830;
  --color-surface-2:     #1e0c3d;
  --color-surface-offset:#25104a;
  --color-divider:       #2e1660;
  --color-border:        #3d2070;
  --color-text:          #e8e0f5;
  --color-text-muted:    #a890cc;
  --color-text-faint:    #6a5090;
  --color-text-inverse:  #0f0520;
  --color-primary:       #5ee8df;
  --color-primary-hover: #4dd0c7;
  --color-accent:        #9b4dca;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:            #0f0520;
    --color-surface:       #170830;
    --color-surface-2:     #1e0c3d;
    --color-surface-offset:#25104a;
    --color-divider:       #2e1660;
    --color-border:        #3d2070;
    --color-text:          #e8e0f5;
    --color-text-muted:    #a890cc;
    --color-text-faint:    #6a5090;
    --color-text-inverse:  #0f0520;
    --color-primary:       #5ee8df;
    --color-primary-hover: #4dd0c7;
    --color-accent:        #9b4dca;
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

h1,h2,h3,h4,h5,h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-display);
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: rgba(78,205,196,0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul[role='list'], ol[role='list'] { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-32));
}

.section--sm {
  padding-block: clamp(var(--space-8), 5vw, var(--space-20));
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(61,0,102,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}

.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

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

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo .logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.site-logo .logo-tagline {
  font-size: var(--text-xs);
  color: var(--brand-teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-teal);
  transition: width var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-teal);
}

.site-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--brand-teal);
  color: var(--brand-purple) !important;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm) !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--brand-teal-hover) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: white;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), border-color var(--transition);
}

.theme-toggle:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-purple);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    z-index: 99;
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: var(--text-xl); }
  .nav-cta { font-size: var(--text-lg) !important; padding: var(--space-4) var(--space-8); }

  .menu-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
  }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--brand-purple) 0%, #5a0099 50%, #1a0040 100%);
  color: white;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(78,205,196,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: var(--space-6);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: #ffffff;
}

.hero h1 .highlight {
  color: var(--brand-teal);
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 55ch;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-teal);
  color: var(--brand-purple);
  border-color: var(--brand-teal);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--brand-teal-hover);
  border-color: var(--brand-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,205,196,0.35);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover, .btn-outline:focus-visible {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
}

.btn-purple:hover, .btn-purple:focus-visible {
  background: var(--brand-purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   SECTION HEADINGS
   ================================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* Adjust for dark backgrounds */
.on-dark .section-label { color: var(--brand-teal); }
.on-dark h2, .on-dark h3 { color: #ffffff; }
.on-dark p { color: rgba(255,255,255,0.8); }

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: var(--space-12);
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(78,205,196,0.3);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-teal);
}

.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ================================================================
   STAT BAND
   ================================================================ */
.stat-band {
  background: linear-gradient(135deg, var(--brand-purple) 0%, #5a0099 100%);
  color: white;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--brand-teal);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ================================================================
   ABOUT / FOUNDER SECTION
   ================================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

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

.founder-image-wrap {
  position: relative;
}

.founder-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -var(--space-4);
  right: -var(--space-4);
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, var(--brand-teal), transparent);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.founder-image {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.founder-image-placeholder {
  background: linear-gradient(135deg, var(--brand-purple), #5a0099);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.credentials-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--brand-teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35em;
}

/* ================================================================
   IMPACT / WORK SECTION
   ================================================================ */
.work-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-purple), #5a0099);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--brand-teal);
  color: var(--brand-purple);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.work-card-body {
  padding: var(--space-6);
}

.work-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.work-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.work-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

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

.contact-info h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-teal);
}

.contact-detail-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-detail-text strong {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

/* Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(78,205,196,0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ================================================================
   AWARD / TESTIMONIAL HIGHLIGHT
   ================================================================ */
.award-banner {
  background: linear-gradient(135deg, var(--brand-purple), #5a0099);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  display: flex;
  align-items: center;
  gap: var(--space-6);
  color: white;
  margin-bottom: var(--space-12);
}

.award-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.award-text h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: var(--space-2);
}

.award-text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  max-width: none;
}

@media (max-width: 600px) {
  .award-banner { flex-direction: column; text-align: center; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--brand-purple);
  color: rgba(255,255,255,0.8);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 40ch;
}

.footer-logo img { height: 40px; width: auto; }
.footer-logo .logo-name { color: white; }
.footer-logo .logo-tagline { color: var(--brand-teal); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--brand-teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

/* ================================================================
   PAGE HERO (interior pages)
   ================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brand-purple) 0%, #5a0099 100%);
  color: white;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  text-align: center;
}

.page-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 55ch;
  margin-inline: auto;
}

/* ================================================================
   BREADCRUMB / BACK NAV
   ================================================================ */
.breadcrumb {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
}

.breadcrumb a { color: var(--brand-teal); }
.breadcrumb-sep { opacity: 0.4; }

/* ================================================================
   CALLOUT BLOCK
   ================================================================ */
.callout {
  background: var(--color-surface-2);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6) var(--space-8);
  margin-block: var(--space-8);
}

.callout p {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-accent);
  font-weight: 500;
  max-width: none;
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.text-center { text-align: center; }
.text-teal    { color: var(--brand-teal); }
.text-purple  { color: var(--brand-purple); }
.text-muted   { color: var(--color-text-muted); }

.bg-purple { background: var(--brand-purple); }
.bg-surface { background: var(--color-surface); }

.mt-0 { margin-top: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* ================================================================
   WORDPRESS SPECIFIC
   ================================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin-right: var(--space-6); margin-bottom: var(--space-4); }
.alignright { float: right; margin-left: var(--space-6); margin-bottom: var(--space-4); }
.sticky {}
.gallery-caption {}
.bypostauthor {}
