/*
Theme Name: Azure Planning
Theme URI: https://azureplanning.ca
Author: Azure Planning
Author URI: https://azureplanning.ca
Description: Bespoke financial strategy theme for Azure Planning - a classic theme with ACF Flexible Content for client editability.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: Proprietary
License URI: https://azureplanning.ca/terms
Text Domain: azure-planning
*/

/* =============================================================
   AZURE PLANNING — Shared site stylesheet
   Direction A — Editorial Cinema
   ============================================================= */

:root {
  --navy: #1C1E3E;
  --navy-deep: #14162F;
  --cream: #FFF0E9;
  --cream-warm: #F5E6DA;
  --ink-blue: #2C316A;
  --tan: #C68F59;
  --tan-soft: #D9A77A;
  --line-on-navy: rgba(255, 240, 233, 0.12);
  --line-on-cream: rgba(28, 30, 62, 0.12);
  --line-on-cream-strong: rgba(28, 30, 62, 0.20);

  --display: 'Belleza', 'Cormorant Garamond', serif;
  --structural: 'Archivo', 'Helvetica Neue', sans-serif;
  --body: 'Albert Sans', 'Inter', sans-serif;

  --pad-x: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--navy);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--tan); color: var(--navy); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =============== NAVIGATION =============== */
nav.az-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(28, 30, 62, 0);
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
nav.az-nav.scrolled {
  background: rgba(28, 30, 62, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px var(--pad-x);
  border-bottom-color: var(--line-on-navy);
}
nav.az-nav .logo { height: 30px; display: block; }
nav.az-nav .logo-light { display: block; }
nav.az-nav .logo-dark { display: none; }

/* Light-bg nav variant — for cream-hero pages, the nav stays cream-readable until scrolled */
body.light-nav nav.az-nav { padding-top: 28px; }
body.light-nav nav.az-nav:not(.scrolled) { background: rgba(255, 240, 233, 0); }
body.light-nav nav.az-nav:not(.scrolled) .logo-light { display: none; }
body.light-nav nav.az-nav:not(.scrolled) .logo-dark { display: block; }
body.light-nav nav.az-nav:not(.scrolled) ul a { color: var(--navy); }
body.light-nav nav.az-nav:not(.scrolled) ul a:hover { color: var(--tan); }
body.light-nav nav.az-nav:not(.scrolled) .cta-nav { color: var(--tan); border-color: var(--tan); background: transparent; }
body.light-nav nav.az-nav:not(.scrolled) .cta-nav:hover { background: var(--tan); color: var(--cream); }

nav.az-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}
nav.az-nav ul a {
  color: var(--cream);
  font-family: var(--structural);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}
nav.az-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--tan);
  transition: width 0.3s ease;
}
nav.az-nav ul a:hover { color: var(--tan-soft); }
nav.az-nav ul a:hover::after { width: 100%; }
nav.az-nav .cta-nav {
  padding: 10px 22px;
  border: 1px solid var(--tan);
  color: var(--tan-soft);
  transition: background 0.3s ease, color 0.3s ease;
}
nav.az-nav .cta-nav::after { display: none; }
nav.az-nav .cta-nav:hover { background: var(--tan); color: var(--navy); }
nav.az-nav.scrolled .cta-nav:hover { background: var(--tan); color: var(--cream); }
nav.az-nav .cta-nav.active { background: transparent; color: var(--tan-soft); border-color: var(--tan); }

nav.az-nav ul a.current { color: var(--tan-soft); }
nav.az-nav ul a.current::after { width: 100%; }

/* =============== INNER PAGE HERO =============== */
/* Two backgrounds: hero--navy / hero--cream (per content brief) */
.hero {
  position: relative;
/*   padding: 200px var(--pad-x) 120px; */
  padding: 200px var(--pad-x) 0;
  overflow: hidden;
}
.hero--navy { background: var(--navy); color: var(--cream); }
.hero--cream { background: var(--cream); color: var(--navy); }
.hero-monogram {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 540px;
  height: auto;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
  display: none;
}
.hero--cream .hero-monogram {
  opacity: 0.04;
  filter: invert(1) brightness(0.5);
}
.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
}

.breadcrumb {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan-soft);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fadeUp 0.9s 0.1s forwards ease;
}
.breadcrumb::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--tan);
}
.hero--cream .breadcrumb { color: var(--tan); }
.breadcrumb a {
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .sep { opacity: 0.45; }
.breadcrumb .current { opacity: 1; }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.005em;
  font-weight: 400;
  max-width: 1100px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.1s 0.3s forwards ease;
}
.hero h1 .em {
  display: block;
  color: var(--tan-soft);
  font-style: italic;
  font-size: 0.82em;
  margin-top: 6px;
}
.hero--cream h1 { color: var(--navy); }
.hero--cream h1 .em { color: var(--ink-blue); }

.hero-lede {
  font-size: 19px;
  line-height: 1.7;
  max-width: 760px;
  opacity: 0;
  animation: fadeUp 1.1s 0.5s forwards ease;
}
.hero--navy .hero-lede { color: rgba(255, 240, 233, 0.78); }
.hero--cream .hero-lede { color: rgba(28, 30, 62, 0.75); }

.hero-lede + .hero-lede { margin-top: 24px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============== SHARED SECTION COMPONENTS =============== */
.section {
  padding: 140px var(--pad-x);
  position: relative;
}
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy-deep { background: var(--navy-deep); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--navy); }
.section--cream-warm { background: var(--cream-warm); color: var(--navy); }

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-inner--narrow {
  max-width: 760px;
}
.section-inner--medium {
  max-width: 980px;
}

.section-eyebrow {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--tan);
}
.section-eyebrow.centered::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--tan);
}

.section-h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}
.section-h2 .em {
  font-style: italic;
}
.section--navy .section-h2 { color: var(--cream); }
.section--navy .section-h2 .em { color: var(--tan-soft); }
.section--navy-deep .section-h2 { color: var(--cream); }
.section--navy-deep .section-h2 .em { color: var(--tan-soft); }
.section--cream .section-h2 { color: var(--navy); }
.section--cream .section-h2 .em { color: var(--ink-blue); }
.section--cream-warm .section-h2 { color: var(--navy); }
.section--cream-warm .section-h2 .em { color: var(--ink-blue); }

.section-prose {
  font-size: 17px;
  line-height: 1.78;
  margin-bottom: 24px;
  max-width: 760px;
}
.section-prose:last-child { margin-bottom: 0; }
.section--navy .section-prose,
.section--navy-deep .section-prose { color: rgba(255, 240, 233, 0.78); }
.section--cream .section-prose,
.section--cream-warm .section-prose { color: rgba(28, 30, 62, 0.78); }

.section-prose-large {
  font-size: 19px;
  line-height: 1.75;
}

/* Centered-narrow variant for trust/positioning sections */
.section--centered { text-align: center; }
.section--centered .section-eyebrow { display: inline-flex; }
.section--centered .section-h2 { margin-left: auto; margin-right: auto; }
.section--centered .section-prose { margin-left: auto; margin-right: auto; }

/* Editorial qualifier paragraph (gold left border, italic) */
.qualifier {
  border-left: 3px solid var(--tan);
  padding: 8px 0 8px 24px;
  margin-bottom: 40px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  color: rgba(28, 30, 62, 0.72);
}
.section--navy .qualifier,
.section--navy-deep .qualifier { color: rgba(255, 240, 233, 0.72); }

/* =============== EYEBROWED FOCUS LIST =============== */
/* Used on service detail and audience detail pages — gold eyebrow + body */
.focus-list {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
  margin-top: 64px;
}
.focus-item {
  position: relative;
}
.focus-item .focus-eyebrow {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
  display: block;
}
.focus-item h3 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 400;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.section--navy .focus-item h3,
.section--navy-deep .focus-item h3 { color: var(--cream); }
.section--cream .focus-item h3,
.section--cream-warm .focus-item h3 { color: var(--navy); }

.focus-item p {
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 20px;
}
.section--navy .focus-item p,
.section--navy-deep .focus-item p { color: rgba(255, 240, 233, 0.72); }
.section--cream .focus-item p,
.section--cream-warm .focus-item p { color: rgba(28, 30, 62, 0.72); }

.focus-item .text-link {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.focus-item .text-link .arrow { transition: transform 0.3s ease; }
.focus-item .text-link:hover { gap: 18px; }
.section--navy .focus-item .text-link,
.section--navy-deep .focus-item .text-link { color: var(--tan-soft); }
.section--navy .focus-item .text-link:hover,
.section--navy-deep .focus-item .text-link:hover { color: var(--cream); }
.section--cream .focus-item .text-link,
.section--cream-warm .focus-item .text-link { color: var(--ink-blue); }
.section--cream .focus-item .text-link:hover,
.section--cream-warm .focus-item .text-link:hover { color: var(--tan); }

/* =============== AUDIENCE / SEGMENT CARDS =============== */
.segment-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.segment-card {
  padding: 64px 40px 56px 0;
  position: relative;
}
.segment-card:not(:nth-child(3n)) {
  border-right: 1px solid var(--line-on-navy);
  padding-right: 40px;
}
.segment-card:not(:nth-last-child(-n+3)) {
  border-bottom: 1px solid var(--line-on-navy);
}
.section--cream .segment-card:not(:nth-child(3n)),
.section--cream-warm .segment-card:not(:nth-child(3n)) {
  border-right-color: var(--line-on-cream);
}
.section--cream .segment-card:not(:nth-last-child(-n+3)),
.section--cream-warm .segment-card:not(:nth-last-child(-n+3)) {
  border-bottom-color: var(--line-on-cream);
}
.segment-card:not(:first-child) { padding-left: 40px; }
.segment-card .num {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--tan);
  margin-bottom: 28px;
  display: block;
}
.segment-card h3 {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 22px;
}
.section--navy .segment-card h3,
.section--navy-deep .segment-card h3 { color: var(--cream); }
.section--cream .segment-card h3,
.section--cream-warm .segment-card h3 { color: var(--navy); }
.segment-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.section--navy .segment-card p,
.section--navy-deep .segment-card p { color: rgba(255, 240, 233, 0.65); }
.section--cream .segment-card p,
.section--cream-warm .segment-card p { color: rgba(28, 30, 62, 0.7); }
.segment-card a {
  font-family: var(--structural);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.segment-card a .arrow { transition: transform 0.3s ease; }
.segment-card a:hover { gap: 18px; }
.section--navy .segment-card a,
.section--navy-deep .segment-card a { color: var(--tan-soft); }
.section--navy .segment-card a:hover,
.section--navy-deep .segment-card a:hover { color: var(--cream); }
.section--cream .segment-card a,
.section--cream-warm .segment-card a { color: var(--ink-blue); }
.section--cream .segment-card a:hover,
.section--cream-warm .segment-card a:hover { color: var(--tan); }

/* =============== SEGMENT — STACKED EDITORIAL (for /who-we-serve) =============== */
.segment-stack {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.segment-block {
  border-left: 3px solid var(--tan);
  padding: 12px 0 12px 48px;
}
.segment-block h3 {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--navy);
}
.segment-block p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(28, 30, 62, 0.78);
  margin-bottom: 18px;
  max-width: 760px;
}
.segment-block .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--structural);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-blue);
  transition: gap 0.3s ease, color 0.3s ease;
}
.segment-block .text-link:hover { gap: 18px; color: var(--tan); }

/* =============== TWO-COLUMN EDITORIAL (label + body + image) =============== */
.editorial-two-col {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: start;
}
.editorial-content { }
.editorial-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
}
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}
.editorial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28, 30, 62, 0.45) 100%);
}
.editorial-image-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  color: var(--cream);
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.editorial-image-caption::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--tan);
}

/* =============== PRINCIPLES (About page guiding values) =============== */
.principles {
  max-width: 1100px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 80px;
}
.principle .principle-eyebrow {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
  display: block;
}
.principle h3 {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--navy);
}
.principle p {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(28, 30, 62, 0.72);
}

/* =============== SERVICES INDEX (Our Services page) =============== */
.services-index {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 40px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-on-cream);
  transition: padding 0.4s ease;
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { padding-left: 16px; }
.service-row .num {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tan);
  padding-top: 18px;
}
.service-row-eyebrow {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 14px;
  display: block;
}
.service-row h3 {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.service-row h3 .em { font-style: italic; color: var(--ink-blue); }
.service-row p {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(28, 30, 62, 0.72);
  margin-bottom: 14px;
  max-width: 760px;
}
.service-row .relevant {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 30, 62, 0.55);
  margin-top: 24px;
  margin-bottom: 24px;
  display: block;
}
.service-row .relevant strong {
  color: var(--ink-blue);
  font-weight: 500;
}
.service-row .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--structural);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-blue);
  transition: gap 0.3s ease, color 0.3s ease;
}
.service-row .text-link:hover { gap: 18px; color: var(--tan); }
.service-row .text-link .arrow { transition: transform 0.3s ease; }

/* =============== RELATED INSIGHTS (text links) =============== */
.related-insights {
  max-width: 760px;
  margin: 0 auto;
}
.related-insights-list {
  list-style: none;
  border-top: 1px solid var(--line-on-cream);
}
.section--navy .related-insights-list,
.section--navy-deep .related-insights-list {
  border-top-color: var(--line-on-navy);
}
.related-insights-list li {
  border-bottom: 1px solid var(--line-on-cream);
}
.section--navy .related-insights-list li,
.section--navy-deep .related-insights-list li {
  border-bottom-color: var(--line-on-navy);
}
.related-insights-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  transition: padding 0.3s ease, color 0.3s ease;
}
.section--navy .related-insights-list a,
.section--navy-deep .related-insights-list a { color: var(--cream); }
.section--cream .related-insights-list a,
.section--cream-warm .related-insights-list a { color: var(--navy); }
.related-insights-list a:hover { padding-left: 12px; }
.section--navy .related-insights-list a:hover,
.section--navy-deep .related-insights-list a:hover { color: var(--tan-soft); }
.section--cream .related-insights-list a:hover,
.section--cream-warm .related-insights-list a:hover { color: var(--tan); }
.related-insights-list a .arrow {
  font-family: var(--structural);
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.related-insights-list a:hover .arrow { opacity: 1; transform: translateX(6px); }

/* =============== CLOSING CTA SECTION =============== */
.closing-cta {
  background: var(--navy);
  padding: 160px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-cta-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0.96;
  z-index: 1;
}
.closing-cta-monogram,
.closing-cta-inner {
  position: relative;
  z-index: 2;
}
.closing-cta-monogram {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  opacity: 0.04;
  pointer-events: none;
}
.closing-cta-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.closing-cta h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.closing-cta h2 .em {
  color: var(--tan-soft);
  font-style: italic;
}
.closing-cta p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 240, 233, 0.75);
  margin: 0 auto 48px;
  max-width: 620px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--tan);
  color: var(--navy);
  padding: 22px 44px;
  font-family: var(--structural);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--tan);
  transition: all 0.35s ease;
}
.primary-cta:hover {
  background: transparent;
  color: var(--tan-soft);
}
.primary-cta .arrow { transition: transform 0.35s ease; }
.primary-cta:hover .arrow { transform: translateX(8px); }

.ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  padding: 22px 36px;
  font-family: var(--structural);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-on-navy);
  transition: all 0.35s ease;
}
.ghost-cta:hover {
  border-color: var(--tan);
  color: var(--tan-soft);
  background: rgba(198, 143, 89, 0.05);
}
.ghost-cta .arrow { transition: transform 0.35s ease; }
.ghost-cta:hover .arrow { transform: translateX(8px); }

/* On-cream ghost CTA variant */
.ghost-cta--cream {
  color: var(--navy);
  border-color: var(--line-on-cream-strong);
}
.ghost-cta--cream:hover {
  border-color: var(--tan);
  color: var(--tan);
  background: rgba(198, 143, 89, 0.05);
}

/* =============== FOOTER =============== */
footer.az-footer {
  background: var(--navy-deep);
  padding: 100px var(--pad-x) 40px;
  border-top: 1px solid var(--line-on-navy);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line-on-navy);
}
.footer-brand img { height: 32px; margin-bottom: 32px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 240, 233, 0.55);
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tan-soft);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  color: rgba(255, 240, 233, 0.65);
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--tan-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 36px;
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 240, 233, 0.4);
  flex-wrap: wrap;
  gap: 20px;
}

/* =============== UTILITIES =============== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.text-link-inline {
  color: var(--tan);
  border-bottom: 1px solid currentColor;
  transition: color 0.3s ease;
}
.text-link-inline:hover { color: var(--tan-soft); }

/* =============== CONTACT-SPECIFIC =============== */
/* ── Planning framework strip ───────────────────────────────────────── */
.planning-framework {
  background: var(--ink-blue);
  border-bottom: 1px solid rgba(255, 240, 233, 0.08);
  padding: 56px var(--pad-x);
}
.planning-framework-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.planning-framework-label {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pf-label-color, var(--cream));
  line-height: 1.3;
  margin: 0;
  text-align: center;
}
.planning-framework-steps {
  display: flex;
  align-items: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 1000px;
}
.planning-framework-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.planning-framework-steps li::before {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(-50% + 16px);
  right: calc(50% + 16px);
  height: 1px;
  background: var(--tan-soft);
  opacity: 0.4;
}
.planning-framework-steps li:first-child::before { display: none; }
.planning-framework-steps .step-num {
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
  color: var(--tan);
  display: block;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.planning-framework-steps .step-name {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-name-color, var(--cream));
  line-height: 1.4;
}
@media (max-width: 860px) {
  .planning-framework-inner { align-items: flex-start; }
  .planning-framework-label { text-align: left; }
  .planning-framework-steps { flex-direction: column; gap: 20px; width: 100%; }
  .planning-framework-steps li { flex-direction: row; align-items: center; gap: 16px; text-align: left; padding: 0; }
  .planning-framework-steps li::before { display: none; }
  .planning-framework-steps .step-num { margin-bottom: 0; font-size: 15px; min-width: 28px; }
}

.process-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 80px;
}
.process-step .num {
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  color: var(--tan-soft);
  display: block;
  margin-bottom: 20px;
}
.process-step .step-eyebrow {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
  display: block;
}
.process-step h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--cream);
}
.process-step p {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 240, 233, 0.72);
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-blue);
  margin-bottom: 10px;
  display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-on-cream-strong);
  padding: 14px 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--navy);
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--tan);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form-submit-row {
  grid-column: 1 / -1;
  margin-top: 24px;
}
.contact-form button,
.contact-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: var(--cream);
  padding: 22px 44px;
  font-family: var(--structural);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover,
.contact-form input[type="submit"]:hover { background: var(--ink-blue); border-color: var(--ink-blue); }

.contact-direct {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact-direct .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  margin-bottom: 56px;
}
.contact-direct .item {
  padding: 32px 24px;
  border: 1px solid var(--line-on-cream-strong);
}
.contact-direct .item-label {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 14px;
  display: block;
}
.contact-direct .item-value {
  font-family: var(--display);
  font-size: 24px;
  color: var(--navy);
  line-height: 1.2;
}

/* =============== WORDPRESS SPECIFIC =============== */
/* Screen reader text */
.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;
  width: 1px;
  word-wrap: normal !important;
}

/* Admin bar spacing */
body.admin-bar nav.az-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar nav.az-nav {
    top: 46px;
  }
}

/* Contact Form 7 styling */
.wpcf7-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.wpcf7-form .full,
.wpcf7-form p:has(textarea) {
  grid-column: 1 / -1;
}
.wpcf7-form p {
  margin: 0;
}
.wpcf7-form label {
  font-family: var(--structural);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-blue);
  margin-bottom: 10px;
  display: block;
}
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-on-cream-strong);
  padding: 14px 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--navy);
  transition: border-color 0.3s ease;
}
.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-bottom-color: var(--tan);
}
.wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
}
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: var(--cream);
  padding: 22px 44px;
  font-family: var(--structural);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--ink-blue);
  border-color: var(--ink-blue);
}
.wpcf7-response-output {
  margin-top: 24px;
  padding: 16px 24px;
  font-size: 14px;
}
.wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 12px;
  margin-top: 8px;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 1100px) {
  .focus-list { grid-template-columns: 1fr; gap: 56px; }
  .editorial-two-col { grid-template-columns: 1fr; gap: 60px; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .principles { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .segment-grid { grid-template-columns: 1fr; }
  .segment-card { border-right: none !important; border-bottom: 1px solid var(--line-on-navy); padding: 48px 0 !important; }
  .segment-card:last-child { border-bottom: none !important; }
  .section--cream .segment-card,
  .section--cream-warm .segment-card { border-bottom-color: var(--line-on-cream); }
  .segment-stack { gap: 56px; }
  .segment-block { padding-left: 32px; }
  .service-row { grid-template-columns: 40px 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  :root { --pad-x: 24px; }
  nav.az-nav { padding: 18px 24px; }
  nav.az-nav.scrolled { padding: 14px 24px; }
  nav.az-nav ul { gap: 16px; }
  nav.az-nav ul li:not(:last-child) { display: none; }
  .hero { padding: 140px 24px 90px; }
  .section { padding: 100px 24px; }
  .closing-cta { padding: 110px 24px; }
  footer.az-footer { padding: 80px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .contact-form { grid-template-columns: 1fr; }
  .wpcf7-form { grid-template-columns: 1fr; }
  .contact-direct .row { grid-template-columns: 1fr; gap: 20px; }
  .related-insights-list a { font-size: 18px; padding: 20px 0; }
  .segment-block h3 { font-size: 28px; }
}

/* ── Responsive embeds in post content ─────────────────────────────── */
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
  max-width: 100%;
  height: auto;
}

.entry-content iframe[src*="vimeo"],
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"] {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.fluid-width-video-wrapper {
  padding-top: 0 !important;
  position: static !important;
}

.fluid-width-video-wrapper iframe {
  position: static !important;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
}

/* ── Entry content typography ──────────────────────────────────────── */
.entry-content h2 { font-size: clamp(22px, 3vw, 28px); margin: 48px 0 16px; }
.entry-content h3 { font-size: clamp(18px, 2.5vw, 22px); margin: 36px 0 12px; }
.entry-content p  { margin-bottom: 1.4em; }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; margin-bottom: 1.4em; line-height: 1.78; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a  { color: var(--ink-blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  border-left: 3px solid var(--tan-soft);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  font-style: italic;
  color: rgba(28, 30, 62, 0.6);
}
