/*
Theme Name: Burke Core
Theme URI: https://burkehedges.com/
Author: ELEVYNX
Description: Lightweight modular foundation theme for Burke Hedges. Provides design tokens, page templates, WooCommerce compatibility, native menus, and extension hooks for Burke feature plugins.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: burke-core
*/

:root {
  --bh-navy: #1C2B4A;
  --bh-gold: #E8B840;
  --bh-cream: #F7F2E8;
  --bh-white: #FFFFFF;
  --bh-ink: #17233D;
  --bh-muted: #657084;
  --bh-border: rgba(28, 43, 74, .16);
  --bh-shadow: 0 20px 60px rgba(28, 43, 74, .10);
  --bh-radius-sm: 10px;
  --bh-radius-md: 18px;
  --bh-radius-lg: 28px;
  --bh-container: 1280px;
  --bh-reading: 800px;
  --bh-section-gap: clamp(72px, 9vw, 140px);
  --bh-gutter: clamp(20px, 5vw, 72px);
  --bh-heading-font: "Cormorant Garamond", Georgia, serif;
  --bh-body-font: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bh-cream);
  color: var(--bh-navy);
  font-family: var(--bh-body-font);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--bh-gold); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--bh-heading-font);
  color: var(--bh-navy);
  line-height: 1.05;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
h3 { font-size: clamp(2rem, 3.3vw, 3.2rem); }
p { margin: 0 0 1.2em; }

.bh-site-main { min-height: 55vh; }
.bh-container {
  width: min(100% - (var(--bh-gutter) * 2), var(--bh-container));
  margin-inline: auto;
}
.bh-reading { width: min(100%, var(--bh-reading)); margin-inline: auto; }
.bh-section { padding-block: var(--bh-section-gap); }
.bh-section--navy { background: var(--bh-navy); color: var(--bh-white); }
.bh-section--navy :is(h1,h2,h3,h4,h5,h6) { color: var(--bh-white); }
.bh-section--white { background: var(--bh-white); }
.bh-section--center { text-align: center; }
.bh-section--center > .bh-container > .bh-intro,
.bh-intro--center {
  width: min(80%, 1000px);
  margin-inline: auto;
}
.bh-section--center .bh-reading { margin-inline: auto; }

.bh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--bh-gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bh-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }

.bh-button,
.wp-element-button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.4rem;
  border: 1px solid var(--bh-gold);
  border-radius: 999px;
  background: var(--bh-gold);
  color: var(--bh-navy);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.bh-button:hover,
.wp-element-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,184,64,.24); }
.bh-button--outline { background: transparent; color: var(--bh-navy); }
.bh-section--navy .bh-button--outline { color: var(--bh-white); }

.bh-card {
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  box-shadow: var(--bh-shadow);
}

.bh-page-shell { padding-block: clamp(48px, 8vw, 100px); }
.bh-page-header { padding-block: clamp(64px, 9vw, 120px) clamp(28px, 5vw, 64px); text-align: center; }
.bh-page-header .bh-intro { width: min(80%, 1000px); margin-inline: auto; }
.bh-entry-content { width: min(100%, 960px); margin-inline: auto; }
.bh-entry-content > * + * { margin-top: 1.25rem; }

.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!important; width: 1px; word-wrap: normal!important;
}

@media (max-width: 782px) {
  body { font-size: 17px; }
  .bh-section--center > .bh-container > .bh-intro,
  .bh-intro--center,
  .bh-page-header .bh-intro { width: 100%; }
}

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