/*
Theme Name: PHC Hockey Camp
Theme URI: https://phchockeycamp.com
Author: Your Name
Author URI: https://yoursite.com
Description: A polished one-page Performance Hockey Camp theme with bundled branding, section navigation, and legal page defaults.
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: phc-hockey
*/

/* Base Styles */
:root {
  --color-navy: #1e3a5f;
  --color-navy-dark: #2a4d7f;
  --color-gold: #c9a961;
  --color-gold-dark: #b8955a;
  --color-gold-light: #d4b66f;
  --phc-sticky-header-offset: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
  gap: 1.25rem;
}

.site-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.site-logo .phc-default-logo {
  width: min(100%, 92px);
  height: auto;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo > a {
  color: var(--color-navy);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.25rem;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  margin-left: auto;
  gap: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 1px solid rgba(30, 58, 95, 0.15);
  color: var(--color-navy);
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 0.22rem;
}

.menu-toggle-lines span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-navigation .primary-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-navigation .primary-menu li {
  display: flex;
}

.main-navigation .primary-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  color: #475569;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  line-height: 1;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(30, 58, 95, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.main-navigation .primary-menu a::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-dark));
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.18);
  margin-right: 0.8rem;
  flex: 0 0 auto;
}

.main-navigation .primary-menu a:hover,
.main-navigation .primary-menu a:focus-visible {
  color: var(--color-navy);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(30, 58, 95, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.main-navigation .primary-menu a:hover::before,
.main-navigation .primary-menu a:focus-visible::before {
  box-shadow: 0 0 0 5px rgba(201, 169, 97, 0.24);
}

.main-navigation .primary-menu .current-menu-item > a,
.main-navigation .primary-menu .current_page_item > a,
.main-navigation .primary-menu .current-menu-ancestor > a {
  color: var(--color-navy);
  background: linear-gradient(180deg, rgba(255, 250, 235, 1), rgba(251, 243, 220, 1));
  border-color: rgba(201, 169, 97, 0.5);
  box-shadow: 0 10px 24px rgba(201, 169, 97, 0.14);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(201, 169, 97, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
  position: relative;
  isolation: isolate;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(201, 169, 97, 0.34);
  filter: saturate(1.02);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.btn-secondary {
  background: var(--color-navy);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--color-navy-dark);
}

/* Hero Section */
.home-landing-stack {
  position: relative;
}

.hero-section {
  position: relative;
  height: clamp(28rem, 66vh, 40rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.85), rgba(30, 58, 95, 0.7));
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  color: white;
  max-width: 64rem;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content--compact h1 {
  margin-bottom: 0.8rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #d1d5db;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.btn-outline:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

/* Sections */
section {
  padding: 2.5rem 0;
}

.section-title[id] {
  scroll-margin-top: var(--phc-sticky-header-offset);
}

.section--tight {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.section--contact {
  padding-bottom: 7rem;
}

.registration-page-template {
  padding: 3rem 0 5rem;
}

.page-template {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  background:
    radial-gradient(circle at top left, rgba(201, 169, 97, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 28%, #f8fafc 100%);
}

.page-shell {
  padding: 2rem 0 5rem;
}

.page-card {
  max-width: 54rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.page-card__header {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at top right, rgba(201, 169, 97, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(30, 58, 95, 0.07), rgba(30, 58, 95, 0.02));
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.page-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.12);
  color: var(--color-gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-card__header h1 {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 1.05;
  color: var(--color-navy);
  margin: 0 0 0.65rem;
}

.page-card__lede {
  max-width: 42rem;
  color: #4b5563;
  font-size: 1.08rem;
  margin: 0;
}

.page-card .entry-content {
  padding: clamp(1.3rem, 3vw, 2.5rem);
  color: #374151;
  font-size: 1.05rem;
}

.page-card .entry-content > :first-child {
  margin-top: 0;
}

.entry-content {
  color: #374151;
  font-size: 1.05rem;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--color-navy);
  line-height: 1.2;
  margin: 2rem 0 1rem;
}

.entry-content h2 {
  font-size: 1.9rem;
}

.entry-content h3 {
  font-size: 1.4rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
}

.entry-content li + li {
  margin-top: 0.45rem;
}

.entry-content a {
  color: var(--color-navy);
  text-decoration-color: rgba(30, 58, 95, 0.3);
  text-underline-offset: 0.15em;
}

.entry-content a:hover {
  color: var(--color-gold-dark);
  text-decoration-color: rgba(201, 169, 97, 0.6);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.entry-content figure {
  margin: 1.5rem 0;
}

.entry-content blockquote {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-gold);
  background: #f9fafb;
  border-radius: 0.75rem;
  color: #4b5563;
}

.entry-content hr {
  border: none;
  border-top: 1px solid rgba(30, 58, 95, 0.12);
  margin: 2rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-title--compact {
  margin-bottom: 0.75rem;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.section-title p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon.navy {
  background: var(--color-navy);
}

.feature-icon.gold {
  background: var(--color-gold);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #6b7280;
}

/* Camp Cards */
.camps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.camp-card {
  padding: 2rem;
  border-radius: 0.75rem;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.camp-card.navy {
  background: linear-gradient(to bottom right, var(--color-navy), var(--color-navy-dark));
}

.camp-card.gold {
  background: linear-gradient(to bottom right, var(--color-gold), var(--color-gold-dark));
}

.camp-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.camp-card h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.camp-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.camp-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.camp-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Coaches Grid */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.phc-coaches-carousel {
  display: grid;
  gap: 1rem;
}

.phc-coaches-carousel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

.phc-coaches-carousel__controls {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.phc-coaches-carousel__button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(30, 58, 95, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-navy);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.phc-coaches-carousel__button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.phc-coaches-carousel__button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.phc-coaches-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.phc-coaches-track::-webkit-scrollbar {
  display: none;
}

.phc-coaches-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 280px;
  scroll-snap-align: start;
}

.coach-card {
  background: #f9fafb;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.coach-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.coach-image {
  aspect-ratio: 16 / 10;
  min-height: 160px;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  isolation: isolate;
}

.coach-image.has-image {
  background: #e5e7eb;
}

.coach-image--empty {
  background: linear-gradient(to bottom right, var(--color-navy), var(--color-navy-dark));
}

.coach-image__backdrop,
.coach-image__focus-handle {
  position: absolute;
  inset: 0;
}

.coach-image__backdrop {
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(0.85);
  transform: scale(1.08);
  opacity: 0.2;
  z-index: 0;
}

.coach-image__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--phc-coach-focus-x, 50%) var(--phc-coach-focus-y, 50%);
  transform: scale(calc(var(--phc-coach-zoom, 100) / 100));
  transform-origin: var(--phc-coach-focus-x, 50%) var(--phc-coach-focus-y, 50%);
  z-index: 1;
}

.coach-image__focus-handle {
  width: 42px;
  height: 42px;
  margin-left: -21px;
  margin-top: -21px;
  left: var(--phc-coach-focus-x, 50%);
  top: var(--phc-coach-focus-y, 50%);
  border: 3px solid white;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.78);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 2;
  cursor: grab;
  touch-action: none;
}

.coach-image__focus-handle:active {
  cursor: grabbing;
}

.coach-image--empty .coach-image__backdrop,
.coach-image--empty .coach-image__photo,
.coach-image--empty .coach-image__focus-handle {
  display: none;
}

.coach-info {
  padding: 0.95rem 1.1rem 1rem;
}

.coach-summary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: #6b7280;
}

.coach-summary li {
  position: relative;
  padding-left: 1rem;
}

.coach-summary li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

.phc-coaches-slide .coach-card {
  height: 100%;
}

.coach-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.coach-role {
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.coach-summary {
  gap: 0.4rem;
  font-size: 0.95rem;
}

.phc-coaches-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  width: fit-content;
  margin: 0 auto;
}

.phc-coaches-carousel__dot {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 999px;
  border: none;
  background: rgba(30, 58, 95, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.phc-coaches-carousel__dot:hover {
  transform: scale(1.08);
  background: rgba(30, 58, 95, 0.35);
}

.phc-coaches-carousel__dot.is-active,
.phc-coaches-carousel__dot[aria-current="true"] {
  background: var(--color-gold);
  transform: scale(1.15);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  color: var(--color-gold);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-notice {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-notice--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #86efac;
}

.contact-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__honeypot label {
  display: block;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group textarea {
  resize: none;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.site-footer img {
  height: 48px;
  margin: 0 auto 1rem;
  opacity: 0.9;
  width: auto;
}

.site-footer .phc-default-logo {
  width: min(100%, 112px);
  filter: brightness(0) invert(1);
  opacity: 0.98;
}

.site-footer .custom-logo-link {
  display: inline-flex;
  margin: 0 auto 1rem;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-legal-links a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 600;
}

.footer-legal-links a:hover {
  color: white;
}

.site-footer .site-footer-logo > a {
  color: white;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.125rem;
  display: inline-block;
  margin: 0 auto 1rem;
}

.site-footer p {
  color: #d1d5db;
}

/* Responsive */
@media (max-width: 768px) {
  .home-landing-stack {
    display: flex;
    flex-direction: column;
    height: calc(100svh - 80px);
    height: calc(100dvh - 80px);
    min-height: 0;
    margin-top: 80px;
    overflow: hidden;
  }

  .home-landing-stack .phc-camp-calendar {
    margin-top: auto;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .site-header .container {
    gap: 0.75rem;
  }

  .site-logo img {
    height: clamp(44px, 11vw, 54px);
  }

  .site-logo .phc-default-logo {
    width: min(100%, 76px);
  }

  .header-actions {
    min-width: 0;
    flex-shrink: 1;
    gap: 0.6rem;
  }

  .header-actions > .btn-primary {
    flex: 0 1 auto;
    min-width: 0;
    padding: 0.62rem clamp(0.85rem, 2.3vw, 1.1rem);
    font-size: clamp(0.78rem, 2.6vw, 0.95rem);
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 0.58rem 0.82rem;
    gap: 0.6rem;
    font-size: clamp(0.9rem, 2.8vw, 1rem);
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    margin-top: 0.7rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(30, 58, 95, 0.12);
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 1rem;
    display: none;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation .primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    width: 100%;
  }

  .main-navigation .primary-menu li,
  .main-navigation .primary-menu a {
    width: 100%;
  }

  .main-navigation .primary-menu a {
    min-height: 3.45rem;
    justify-content: flex-start;
    padding: 0.95rem 1rem;
    font-size: 1.05rem;
    color: #475569;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 249, 252, 1));
    border: 1px solid rgba(30, 58, 95, 0.14);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
  }

  .main-navigation .primary-menu a::before {
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0.95rem;
    box-shadow: 0 0 0 5px rgba(201, 169, 97, 0.16);
  }

  .main-navigation > a {
    width: 100%;
    text-align: center;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions > .btn-primary {
    box-shadow: 0 10px 22px rgba(201, 169, 97, 0.26);
  }

  .hero-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: clamp(1.5rem, 4.5vh, 2.5rem) 0 clamp(0.75rem, 3vh, 1.5rem);
  }

  .hero-content {
    width: min(100%, 34rem);
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9.2vw, 2.65rem);
    line-height: 1.08;
    margin-bottom: 0.8rem;
  }

  .hero-content p {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    margin-bottom: 1.2rem;
  }

  .page-shell {
    padding: 1rem 0 3.5rem;
  }

  .page-card {
    border-radius: 1rem;
  }

  .page-card__header {
    padding: 1.15rem 1.1rem 1rem;
  }

  .page-card__eyebrow {
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
  }

  .page-card__header h1 {
    font-size: 2rem;
    margin-bottom: 0.55rem;
  }

  .page-card__lede {
    font-size: 0.98rem;
  }

  .page-card .entry-content {
    padding: 1.05rem 1.1rem 1.25rem;
    font-size: 0.98rem;
  }

  .entry-content h2 {
    font-size: 1.45rem;
  }

  .entry-content h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 3.25rem 0;
  }

  .section-title {
    margin-bottom: 1.25rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --phc-sticky-header-offset: 88px;
  }

  .section--contact {
    padding-bottom: 8.5rem;
  }

  .phc-coaches-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .phc-coaches-carousel {
    display: flex;
    flex-direction: column;
  }

  .phc-coaches-carousel__header {
    display: none;
  }

  .phc-coaches-carousel__controls {
    display: none;
  }

  .phc-coaches-carousel__dots {
    order: 0;
  }

  .phc-coaches-track {
    order: 1;
  }

  .coach-image {
    min-height: 150px;
  }

  .coach-info {
    padding: 0.9rem 1rem 1rem;
  }

  .coach-info h3 {
    font-size: 1.15rem;
  }

  .coach-role {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
  }

  .coach-summary {
    gap: 0.4rem;
    font-size: 0.95rem;
  }

  .phc-coaches-track {
    gap: 1rem;
    scroll-padding-inline: 0.75rem;
  }

  .phc-coaches-carousel__dots {
    gap: 0.5rem;
  }
}

@media (max-width: 420px) {
  .home-landing-stack {
    height: calc(100svh - 72px);
    height: calc(100dvh - 72px);
    margin-top: 72px;
  }

  .site-header .container {
    height: 72px;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .site-logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-logo img {
    height: clamp(38px, 10vw, 46px);
  }

  .header-actions {
    width: auto;
    min-width: 0;
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .menu-toggle {
    flex: 0 0 auto;
    padding: 0.48rem 0.68rem;
  }

  .header-actions > .btn-primary {
    flex: 0 1 auto;
    min-width: 0;
    padding: 0.48rem 0.72rem;
    font-size: clamp(0.68rem, 2.1vw, 0.78rem);
    letter-spacing: 0;
    max-width: clamp(6.25rem, 36vw, 8.1rem);
  }
}
