/* ============================================================
   PANTHEON IT — Global Stylesheet
   All pages inherit these styles automatically.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

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

/* ── DESIGN TOKENS ── */
:root {
  --navy:          #0d1f3c;
  --navy-mid:      #162a4a;
  --gold:          #c9a84c;
  --gold-light:    #e8c97a;
  --cream:         #f8f5ef;
  --cream-dark:    #ede9e0;
  --white:         #ffffff;
  --text:          #1a1a2e;
  --text-muted:    #5a6070;
  --border:        #ddd8ce;
  --font-display:  'Cormorant Garamond', serif;
  --font-body:     'DM Sans', sans-serif;
  --header-height: 72px;
}

/* ── BASE ── */
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  padding-top: var(--header-height);
}
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; }
ul    { list-style: none; padding: 0; margin: 0; }

/* Remove default WordPress padding on main content area */
.entry-content,
.page-content,
.wp-block-group {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.entry-header { display: none; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: var(--header-height);
  background: rgba(13,31,60,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.35); }

.site-branding a {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.08em;
}
.site-branding img { height: 38px; width: auto; }
.logo-accent { color: var(--gold); }

.main-navigation ul {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.main-navigation a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78); text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--gold-light); }
.main-navigation li.nav-cta > a {
  background: var(--gold); color: var(--navy) !important;
  padding: 9px 22px; border-radius: 3px; font-weight: 600 !important;
  transition: background 0.2s;
}
.main-navigation li.nav-cta > a:hover { background: var(--gold-light); }

.menu-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 8px;
  line-height: 1;
}

/* ── FOOTER ── */
.site-footer {
  background: #080f1e; color: rgba(255,255,255,0.5);
  padding: 64px 48px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.06em; margin-bottom: 16px; display: block;
}
.footer-brand-logo span { color: var(--gold); }
.footer-brand-logo img { height: 32px; width: auto; opacity: 0.85; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-brand .footer-meta { margin-top: 16px; font-size: 0.8rem; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 0.78rem; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── TYPOGRAPHY UTILITIES ── */
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 0;
}
.section-title em   { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }

.page-title {
  font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500; color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.page-title em { font-style: italic; color: var(--gold-light); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 3px; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block; font-family: var(--font-body); cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--navy); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 14px 32px; border-radius: 3px; font-weight: 400;
  font-size: 0.9rem; letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-ghost-dark {
  border: 1px solid var(--border); color: var(--navy);
  padding: 14px 32px; border-radius: 3px; font-weight: 400;
  font-size: 0.9rem; letter-spacing: 0.04em;
  transition: border-color 0.2s; display: inline-block;
}
.btn-ghost-dark:hover { border-color: var(--navy); }

.btn-dark {
  background: var(--navy); color: var(--white);
  padding: 14px 32px; border-radius: 3px; font-weight: 600;
  font-size: 0.9rem; transition: background 0.2s; display: inline-block;
}
.btn-dark:hover { background: var(--navy-mid); color: var(--white); }

.btn-outline-gold {
  border: 1px solid var(--gold); color: var(--gold);
  padding: 10px 24px; border-radius: 3px; font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s, color 0.2s; white-space: nowrap; display: inline-block;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

/* ── LAYOUT SECTIONS ── */
.pn-section        { padding: 96px 48px; }
.pn-section-sm     { padding: 64px 48px; }
.pn-section.navy   { background: var(--navy); }
.pn-section.cream  { background: var(--cream); }
.pn-section.white  { background: var(--white); }
.pn-section.gold   { background: var(--gold); }
.pn-section.dark-navy { background: var(--navy-mid); }

.pn-container    { max-width: 1200px; margin: 0 auto; }
.pn-container-md { max-width: 900px;  margin: 0 auto; }
.pn-container-sm { max-width: 640px;  margin: 0 auto; }

/* ── PAGE HEADER BAND ── */
.pn-page-header {
  background: var(--navy); padding: 100px 48px 96px;
  position: relative; overflow: hidden;
}
.pn-page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pn-page-header .section-eyebrow { margin-bottom: 20px; }
.pn-page-header p { margin-top: 16px; }

/* ── CARDS ── */
.pn-card         { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 32px; }
.pn-card-cream   { background: var(--cream); border: 1px solid var(--border); border-radius: 4px; padding: 28px; }
.pn-card-navy    { background: var(--navy);  border-radius: 4px; padding: 32px; }
.pn-tag          { background: var(--navy); color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 2px; display: inline-block; margin-bottom: 20px; }
.pn-quote-bar    { border-left: 3px solid var(--gold); padding-left: 16px; font-style: italic; font-size: 0.88rem; color: var(--text-muted); }

/* ── SERVICE CARDS ── */
.pn-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pn-service-card {
  background: var(--cream); padding: 40px 36px;
  border: 1px solid var(--border); transition: background 0.25s, transform 0.2s;
}
.pn-service-card:hover { background: var(--navy); transform: translateY(-4px); }
.pn-service-card:hover .pn-service-title { color: var(--white); }
.pn-service-card:hover .pn-service-desc  { color: rgba(255,255,255,0.6); }
.pn-service-card:hover .pn-service-link  { color: var(--gold-light); }
.pn-service-card:hover .pn-service-icon  { background: rgba(201,168,76,0.15); }
.pn-service-icon {
  width: 52px; height: 52px; background: rgba(13,31,60,0.07);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 24px; transition: background 0.25s;
}
.pn-service-title {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 600; color: var(--navy); margin-bottom: 12px; transition: color 0.25s;
}
.pn-service-desc  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; transition: color 0.25s; }
.pn-service-link  { display: inline-block; margin-top: 20px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); transition: color 0.25s; }

/* ── TESTIMONIALS ── */
.pn-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pn-testimonial {
  background: var(--white); border: 1px solid var(--border);
  padding: 32px; border-radius: 4px; position: relative;
}
.pn-testimonial::before {
  content: '\201C'; font-family: var(--font-display); font-size: 5rem;
  color: var(--gold); opacity: 0.25; position: absolute; top: 8px; left: 24px; line-height: 1;
}
.pn-testimonial-text   { font-size: 0.93rem; line-height: 1.75; color: var(--text); margin-bottom: 24px; padding-top: 20px; }
.pn-testimonial-author { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.pn-testimonial-role   { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.pn-stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 12px; }

/* ── TRUST BAR ── */
.pn-trust-bar {
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 20px 48px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.pn-trust-item { display: flex; align-items: center; gap: 10px; }
.pn-trust-icon { font-size: 1.1rem; }
.pn-trust-text { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; }

/* ── CTA BANNER ── */
.pn-cta-banner {
  background: var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 56px 80px; gap: 40px; flex-wrap: wrap;
}
.pn-cta-banner h2 {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 500; color: var(--navy); max-width: 520px; margin: 0;
}
.pn-cta-actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.pn-cta-phone   { font-size: 0.95rem; font-weight: 600; color: var(--navy); text-decoration: none; }

/* ── COMMUNITY STRIP ── */
.pn-community-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.pn-community-left { display: flex; align-items: center; gap: 20px; }
.pn-community-icon {
  width: 48px; height: 48px; background: rgba(201,168,76,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.pn-community-strip h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.pn-community-strip p  { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 0; }

/* ── ABOUT VALUES ── */
.pn-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pn-value-card  { padding: 28px; border: 1px solid var(--border); }
.pn-value-icon  { font-size: 1.4rem; margin-bottom: 12px; }
.pn-value-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.pn-value-desc  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ── PRICING ── */
.pn-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 48px; }
.pn-pricing-card { padding: 40px 32px; }
.pn-pricing-card.standard { background: var(--cream); border: 1px solid var(--border); }
.pn-pricing-card.featured { background: var(--navy); position: relative; }
.pn-pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.pn-pricing-tier  { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.pn-pricing-price { font-family: var(--font-display); font-size: 2rem; font-weight: 500; margin-bottom: 4px; line-height: 1.2; }
.pn-pricing-sub   { font-size: 0.82rem; margin-bottom: 28px; }
.pn-pricing-list  { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; margin-bottom: 32px; }

/* ── CONTACT ── */
.pn-contact-link {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border: 1px solid var(--border); text-decoration: none; border-radius: 3px;
  transition: border-color 0.2s; margin-bottom: 16px;
}
.pn-contact-link:hover { border-color: var(--gold); }
.pn-contact-icon {
  width: 44px; height: 44px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.pn-contact-label { font-weight: 600; color: var(--navy); font-size: 0.9rem; display: block; }
.pn-contact-value { color: var(--gold); font-size: 0.95rem; font-weight: 500; display: block; }

/* ── FORM ── */
.pn-form-group  { margin-bottom: 16px; }
.pn-form-label  { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 6px; }
.pn-form-input  { width: 100%; padding: 12px 16px; border: 1px solid var(--border); background: white; font-family: var(--font-body); font-size: 0.9rem; border-radius: 3px; outline: none; transition: border-color 0.2s; }
.pn-form-input:focus  { border-color: var(--gold); }
.pn-form-submit { background: var(--navy); color: white; padding: 14px; border: none; width: 100%; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; border-radius: 3px; cursor: pointer; transition: background 0.2s; }
.pn-form-submit:hover { background: var(--gold); color: var(--navy); }

/* ── GRID HELPERS ── */
.pn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pn-grid-2-3 { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }

/* ── HERO ── */
.pn-hero {
  min-height: 100vh; background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 80px 48px; position: relative; overflow: hidden;
}
.pn-hero::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pn-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pn-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.pn-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.pn-hero h1 {
  font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500; color: var(--white); line-height: 1.1; margin-bottom: 24px;
}
.pn-hero h1 em { font-style: italic; color: var(--gold-light); }
.pn-hero-sub   { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 44px; max-width: 460px; }
.pn-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.pn-hero-visual  { display: flex; align-items: center; justify-content: center; }
.pn-hero-cards   { position: relative; width: 380px; height: 380px; }
.pn-stat-card {
  position: absolute; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2); border-radius: 8px;
  padding: 24px 28px; backdrop-filter: blur(4px);
}
.pn-stat-card:nth-child(1) { top: 0;     left: 0;   width: 200px; }
.pn-stat-card:nth-child(2) { top: 60px;  right: 0;  width: 190px; }
.pn-stat-card:nth-child(3) { bottom: 40px; left: 30px; width: 230px; }
.pn-stat-number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
.pn-stat-label  { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 6px; letter-spacing: 0.04em; }
.pn-hero-badge  { position: absolute; bottom: 0; right: 0; background: var(--gold); color: var(--navy); padding: 16px 20px; border-radius: 6px; text-align: center; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── ABOUT STRIP ── */
.pn-about-strip {
  background: var(--navy); padding: 96px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.pn-about-quote {
  border-left: 3px solid var(--gold); padding-left: 32px;
  font-family: var(--font-display); font-size: 1.55rem;
  font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.88); font-style: italic;
}
.pn-about-quote cite {
  display: block; margin-top: 20px; font-style: normal;
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--gold); letter-spacing: 0.06em; font-weight: 500;
}
.pn-values-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.pn-value-chip   { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.pn-value-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── DATE CARDS (community) ── */
.pn-date-card   { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,0.06); border-radius: 4px; margin-bottom: 12px; }
.pn-date-badge  { background: var(--gold); color: var(--navy); padding: 8px 12px; border-radius: 3px; font-weight: 700; font-size: 0.85rem; text-align: center; min-width: 52px; line-height: 1.3; }
.pn-date-info   { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ── ANIMATIONS ── */
@keyframes pn-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pn-hero > div { animation: pn-fade-up 0.7s ease both; }
.pn-hero > div:nth-child(2) { animation-delay: 0.2s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pn-hero { grid-template-columns: 1fr; padding: 60px 32px; }
  .pn-hero-visual { display: none; }
  .pn-services-grid { grid-template-columns: repeat(2, 1fr); }
  .pn-about-strip  { grid-template-columns: 1fr; gap: 40px; padding: 64px 32px; }
  .pn-testimonials-grid { grid-template-columns: 1fr; }
  .pn-grid-2  { grid-template-columns: 1fr; gap: 40px; }
  .pn-grid-2-3 { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header  { padding: 0 24px; }
  .main-navigation { display: none; }
  .main-navigation.open { display: block; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--navy); padding: 20px 24px; }
  .main-navigation.open ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: block; }
  .pn-section  { padding: 60px 24px; }
  .pn-section-sm { padding: 40px 24px; }
  .pn-page-header { padding: 60px 24px 48px; }
  .pn-trust-bar { gap: 24px; padding: 20px 24px; }
  .pn-services-grid { grid-template-columns: 1fr; }
  .pn-cta-banner { padding: 40px 24px; flex-direction: column; }
  .pn-pricing-grid { grid-template-columns: 1fr; }
  .pn-values-grid { grid-template-columns: 1fr; }
  .pn-grid-3  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 24px 24px; }
}

/* ============================================================
   MOBILE RESPONSIVE STYLES (max-width: 767px)
   Uses !important to override inline styles on page HTML blocks
   ============================================================ */
@media (max-width: 767px) {

  /* ── GLOBAL SPACING ── */
  :root { --header-height: 64px; }

  /* ── NAVIGATION ── */
  .site-header { padding: 0 20px !important; height: 64px; }
  .site-branding a { font-size: 1.2rem; }
  .site-branding img { height: 28px !important; }
  .main-navigation { display: none !important; }
  .main-navigation.open {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 64px) !important;
    background: var(--navy) !important;
    padding: 24px 24px 48px !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
  }
  /* WordPress wraps the ul in a div — target both */
  .main-navigation.open > div,
  .main-navigation.open > ul {
    width: 100% !important;
    display: block !important;
  }
  .main-navigation.open ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .main-navigation.open ul li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    margin: 0 !important;
  }
  .main-navigation.open ul li a {
    display: block !important;
    width: 100% !important;
    padding: 18px 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
  }
  .main-navigation.open ul li a:hover { color: var(--gold) !important; }
  .main-navigation.open li.nav-cta {
    border-bottom: none !important;
    margin-top: 24px !important;
    padding-top: 0 !important;
  }
  .main-navigation.open li.nav-cta > a {
    display: block !important;
    text-align: center !important;
    padding: 16px 24px !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
  }
  .menu-toggle {
    display: block !important;
    font-size: 1.6rem !important;
    z-index: 10000 !important;
    position: relative !important;
  }

  /* ── PAGE HEADER ── */
  .pn-page-header { padding: 48px 20px 40px !important; }
  .page-title { font-size: 2.2rem !important; line-height: 1.15 !important; }

  /* ── HERO ── */
  .pn-hero {
    grid-template-columns: 1fr !important;
    padding: 48px 20px 60px !important;
    min-height: auto !important;
  }
  .pn-hero h1 { font-size: 2.6rem !important; }
  .pn-hero-sub { font-size: 0.95rem !important; }
  .pn-hero-visual { display: none !important; }
  .pn-hero-actions { flex-direction: column !important; gap: 12px !important; }
  .pn-hero-actions a { text-align: center !important; width: 100% !important; }

  /* ── TRUST BAR ── */
  .pn-trust-bar {
    gap: 16px !important;
    padding: 16px 20px !important;
    justify-content: flex-start !important;
  }
  .pn-trust-item { min-width: 44% !important; }

  /* ── SECTIONS ── */
  .pn-section { padding: 48px 20px !important; }
  .pn-section-sm { padding: 32px 20px !important; }
  .pn-container { padding: 0 !important; }
  .pn-container-md { padding: 0 !important; }

  /* ── ALL GRIDS — override inline styles ── */
  /* Two column grids */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:2fr 3fr"],
  [style*="grid-template-columns: 2fr 3fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Three column grids */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Flex rows → stack vertically */
  [style*="display:flex"][style*="gap:24px"],
  [style*="display:flex"][style*="gap: 24px"] {
    flex-direction: column !important;
  }

  /* Remove margin-top offsets used to push form down on desktop */
  [style*="margin-top:72px"],
  [style*="margin-top: 72px"] {
    margin-top: 0 !important;
  }

  /* ── SERVICES GRID ── */
  .pn-services-grid { grid-template-columns: 1fr !important; }
  .pn-service-card { padding: 28px 24px !important; }

  /* ── ABOUT STRIP ── */
  .pn-about-strip {
    grid-template-columns: 1fr !important;
    padding: 48px 20px !important;
    gap: 32px !important;
  }
  .pn-values-chips { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* ── TESTIMONIALS ── */
  .pn-testimonials-grid { grid-template-columns: 1fr !important; }

  /* ── CTA BANNER ── */
  .pn-cta-banner {
    padding: 40px 20px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .pn-cta-banner h2 { font-size: 1.8rem !important; }
  .pn-cta-actions {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .pn-cta-actions .btn-dark { width: 100% !important; text-align: center !important; }

  /* ── COMMUNITY STRIP ── */
  .pn-community-strip {
    padding: 24px 20px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .pn-community-left { flex-direction: column !important; text-align: center !important; gap: 12px !important; }

  /* ── PRICING ── */
  .pn-pricing-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .pn-pricing-badge { white-space: nowrap; }

  /* ── VALUES ── */
  .pn-values-grid { grid-template-columns: 1fr !important; }

  /* ── CONTACT BLOCKS ── */
  [style*="padding:40px 48px"] { padding: 24px 20px !important; }
  [style*="min-width:220px"] { min-width: 100% !important; }

  /* ── CONTACT FORM ── */
  [style*="padding:40px"][style*="margin-top"] { padding: 28px 20px !important; }

  /* ── FOOTER ── */
  .site-footer { padding: 40px 20px 24px !important; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  /* ── SECTION TITLES ── */
  .section-title { font-size: 1.8rem !important; }
  .pn-about-quote { font-size: 1.2rem !important; }

  /* ── BUTTONS ── */
  .btn-primary,
  .btn-ghost,
  .btn-ghost-dark,
  .btn-dark { padding: 12px 24px !important; font-size: 0.88rem !important; }

  /* ── ABOUT PAGE: founder photo ── */
  [style*="height:320px"] { height: 220px !important; }

  /* ── FOR HOME: service cards ── */
  [style*="padding:36px"][style*="border:1px solid"] { padding: 24px !important; }

  /* ── CASE STUDY DARK SECTION ── */
  [style*="padding:80px 48px"] { padding: 48px 20px !important; }
  [style*="padding:96px 48px"] { padding: 48px 20px !important; }

  /* ── HIDE DESKTOP-ONLY DECORATIVE ELEMENTS ── */
  .hero-grid-line { display: none !important; }
}

/* ── SMALL PHONES (max-width: 380px) ── */
@media (max-width: 380px) {
  .pn-hero h1 { font-size: 2rem !important; }
  .page-title { font-size: 1.8rem !important; }
  .section-title { font-size: 1.6rem !important; }
  .pn-cta-banner h2 { font-size: 1.5rem !important; }
  .pn-section { padding: 40px 16px !important; }
  .pn-page-header { padding: 40px 16px 32px !important; }
}

/* ── BLOG PAGE ── */
details.pn-post summary::-webkit-details-marker { display: none; }
details.pn-post summary::marker { display: none; }
details.pn-post[open] summary { background: var(--cream); border-bottom: 1px solid var(--border); }
details.pn-post[open] .pn-post-arrow { transform: rotate(180deg); }
details.pn-post .pn-post-arrow { transition: transform 0.25s ease; }
details.pn-post summary:hover { background: var(--cream); }
details.pn-post summary { transition: background 0.2s; }

@media (max-width: 767px) {
  details.pn-post summary { padding: 24px 20px !important; }
  details.pn-post .pn-post-body { padding: 24px 20px 28px !important; }
  details.pn-post h2 { font-size: 1.3rem !important; }
  [style*="padding:80px 48px"] { padding: 48px 20px !important; }
  [style*="max-width:860px"] { max-width: 100% !important; }
}
