/* ============================================================
   CENDORY DIGITAL v2 — MAIN STYLESHEET
   ============================================================ */

/* ── FONTS ─────────────────────────────────────────────────── */
/* Fonts loaded via <link> in header.php for performance.
   @import removed — it blocks rendering and triggers browser security warnings. */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --navy:        #112639;
  --teal:        #21A7A0;
  --teal-dark:   #178a84;
  --teal-light:  #e0f5f4;
  --paper:       #f4f6f8;
  --white:       #ffffff;
  --muted:       #4a6070;
  --border:      rgba(17,38,57,.12);
  --border-med:  rgba(17,38,57,.22);
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'Outfit', sans-serif;
  --nav-h:       72px;
  --radius:      6px;
  --radius-lg:   12px;
  --max-w:       1200px;
  --shadow:      0 4px 24px rgba(17,38,57,.08);
  --shadow-lg:   0 12px 48px rgba(17,38,57,.13);
}

/* ── CHROME BLUE BUG FIX ───────────────────────────────────── */
/* Prevents browser default blue on all link/button states */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

a            { color: inherit; text-decoration: none; }
a:link       { color: inherit; }
a:visited    { color: inherit; }
a:hover      { color: inherit; }
a:active     { color: inherit; }
a:focus      { outline: 2px solid var(--teal); outline-offset: 3px; }
a:focus:not(:focus-visible) { outline: none; }

button       { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
button:focus { outline: 2px solid var(--teal); outline-offset: 3px; }
button:focus:not(:focus-visible) { outline: none; }

/* Remove blue tap highlight on mobile */
* { -webkit-tap-highlight-color: transparent; }

/* ── BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: var(--sans); }

/* ── TYPOGRAPHY SCALE ──────────────────────────────────────── */
.t-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  display: block;
  margin-bottom: .75rem;
}

.t-h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 400;
}

.t-h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 400;
}

.t-h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 400;
}

em { font-style: italic; color: var(--teal); }

.t-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.8; max-width: 52ch; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn, .btn:link, .btn:visited, .btn:hover, .btn:active {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  padding: .8rem 1.8rem; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  border-radius: var(--radius);
}

.btn-primary, .btn-primary:link, .btn-primary:visited {
  background: var(--navy); color: var(--white) !important;
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-teal, .btn-teal:link, .btn-teal:visited {
  background: var(--teal); color: var(--white) !important;
  border: 2px solid var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }

.btn-outline, .btn-outline:link, .btn-outline:visited {
  background: transparent; color: var(--white) !important;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-outline-dark, .btn-outline-dark:link, .btn-outline-dark:visited {
  background: transparent; color: var(--navy) !important;
  border: 2px solid var(--border-med);
}
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal) !important; }

.btn-ghost, .btn-ghost:link, .btn-ghost:visited {
  background: transparent; color: var(--navy) !important;
  border: 2px solid transparent; padding-left: 0; padding-right: 0;
  border-bottom: 2px solid var(--navy);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--teal) !important; border-bottom-color: var(--teal); }

.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

/* ── LAYOUT HELPERS ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 4vw; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.section-header .t-h2 { margin-bottom: 1rem; }
.section-header .t-lead { margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo:hover, .nav-logo:visited { color: inherit; }

/* Main menu — never wraps, clips gracefully */
.nav-menu {
  display: flex; align-items: center; gap: .5rem; list-style: none;
  flex-wrap: nowrap; flex: 1;
  justify-content: center;
}

.nav-item { position: relative; flex-shrink: 0; }

.nav-menu > .nav-item > a,
.nav-link, .nav-link:link, .nav-link:visited {
  display: flex; align-items: center; gap: 4px;
  font-size: .8rem !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  color: var(--navy) !important; text-decoration: none !important;
  padding: .5rem 1rem; border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap; font-family: var(--sans) !important;
}
.nav-menu > .nav-item > a:hover,
.nav-link:hover, .nav-link.active { color: var(--teal) !important; background: var(--paper); }

/* Dropdown chevron */
.nav-link .chevron {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2.5; transition: transform .25s;
}
.nav-item:hover .nav-link .chevron { transform: rotate(180deg); }

/* Submenu */
.nav-submenu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(17,38,57,.14);
  padding: .5rem; margin-top: 4px;
  list-style: none; z-index: 9999;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1; pointer-events: all; visibility: visible;
}

.nav-submenu a, .nav-submenu a:link, .nav-submenu a:visited {
  display: block; padding: .65rem 1.1rem;
  font-size: .82rem !important; font-weight: 500 !important;
  letter-spacing: .03em; text-transform: none !important;
  color: var(--muted) !important; text-decoration: none !important;
  border-radius: var(--radius); font-family: var(--sans) !important;
  transition: background .15s, color .15s;
}
.nav-submenu a:hover { background: var(--paper); color: var(--navy) !important; }

/* ── NAV CTA ───────────── */
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta, .nav-cta:link, .nav-cta:visited {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white) !important;
  background: var(--navy); padding: .6rem 1.4rem;
  border-radius: var(--radius); text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

/* ── HAMBURGER ─────────── */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  padding: calc(var(--nav-h) + 5rem) 4vw 5rem;
  max-width: var(--max-w); margin: 0 auto;
  position: relative;
}
/* Full-bleed bg */
.hero-section {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(33,167,160,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: ''; position: absolute;
  right: -200px; top: -200px;
  width: 700px; height: 700px;
  border-radius: 50%; border: 1px solid rgba(33,167,160,.1);
  pointer-events: none;
}

.hero-label { color: var(--teal); }

.hero-title { color: var(--white); margin-bottom: 1.5rem; }
.hero-title em { color: var(--teal); }

.hero-lead { color: rgba(255,255,255,.72); margin-bottom: 2.5rem; font-size: 1.15rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero right — image/card side */
.hero-visual { position: relative; z-index: 1; }

.hero-img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; object-fit: cover;
  position: relative; z-index: 1;
}

/* Placeholder gradient image */
.hero-img-placeholder {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a3a4a 0%, #21A7A0 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Stat badge */
.hero-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hero-badge-num {
  font-family: var(--serif); font-size: 2rem; color: var(--teal);
  line-height: 1; margin-bottom: .2rem;
}
.hero-badge-label { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ── TICKER ─────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--teal);
  padding: .85rem 0; overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 35s linear infinite;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); font-weight: 500;
}
.ticker-track span { margin: 0 2.5rem; }
.ticker-sep { opacity: .5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION — LIGHT ────────────────────────────────────────── */
.section-light { background: var(--white); }
.section-paper { background: var(--paper); }
.section-navy  { background: var(--navy); color: var(--white); }
.section-navy .t-label { color: var(--teal); }
.section-navy .t-h2   { color: var(--white); }
.section-navy .t-lead { color: rgba(255,255,255,.7); }

/* ── SERVICE CARDS (homepage preview) ──────────────────────── */
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.8; }

.service-card h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  margin-bottom: .6rem; color: var(--navy);
}
.service-card p { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }

.service-card-link, .service-card-link:link, .service-card-link:visited {
  font-size: .82rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal) !important;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .2s;
}
.service-card-link:hover { gap: .7rem; }
.service-card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── PROCESS STEPS (how we work) ────────────────────────────── */
.process-step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }

.process-num {
  font-family: var(--serif); font-size: 3rem; color: var(--border);
  line-height: 1; flex-shrink: 0; min-width: 56px;
}
.process-step h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: .4rem; }
.process-step p  { font-size: 1rem; color: var(--muted); }

/* ── WHY CARDS ──────────────────────────────────────────────── */
.why-item {
  display: flex; gap: 1rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  margin-top: .55rem; flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.why-item p  { font-size: 1rem; color: var(--muted); }

/* Quote block */
.quote-block {
  background: var(--navy); color: var(--white); padding: 2.5rem;
  border-radius: var(--radius-lg); position: relative;
}
.quote-block::before {
  content: '\201C'; font-family: var(--serif); font-size: 5rem;
  color: rgba(33,167,160,.25); position: absolute; top: .5rem; left: 1.5rem; line-height: 1;
}
.quote-block blockquote {
  font-family: var(--serif); font-size: 1.15rem; font-style: italic;
  line-height: 1.6; padding-top: 1rem; margin-bottom: 1.25rem;
}
.quote-block cite { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); font-style: normal; }

/* Standards */
.standards-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.std-tag {
  font-size: .75rem; padding: .3rem .8rem;
  border: 1px solid var(--border); color: var(--muted);
  border-radius: 100px;
}

/* ── SECTOR GRID ────────────────────────────────────────────── */
.sector-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  transition: border-color .2s, transform .2s;
}
.sector-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.sector-emoji { font-size: 1.5rem; margin-bottom: .75rem; }
.sector-card h4 { font-family: var(--serif); font-size: 1rem; font-weight: 400; margin-bottom: .4rem; }
.sector-card p  { font-size: 1rem; color: var(--muted); }

/* ── STATS ROW ──────────────────────────────────────────────── */
.stat-block { text-align: center; padding: 1.5rem; }
.stat-num {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--teal); line-height: 1; margin-bottom: .4rem;
}
.stat-label { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.testimonial-card p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 600; color: var(--teal); flex-shrink: 0;
}
.testimonial-name  { font-size: 1rem; font-weight: 600; color: var(--navy); }
.testimonial-role  { font-size: .875rem; color: var(--muted); }

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: var(--navy); text-align: center;
  padding: 7rem 4vw;
}
.cta-section .t-h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section .t-lead { color: rgba(255,255,255,.65); margin: 0 auto 2.5rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer-widgets-bar {
  background: #0c1d2b; border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 3rem 4vw;
}
.footer-widgets-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 1.25rem;
}
/* Social icon overrides for dark bg */
.footer-widgets-bar a,
.footer-widgets-bar svg,
.footer-widgets-bar i { color: rgba(255,255,255,.6) !important; fill: rgba(255,255,255,.6) !important; transition: color .2s !important; }
.footer-widgets-bar a:hover,
.footer-widgets-bar a:hover svg { color: var(--teal) !important; fill: var(--teal) !important; }
.footer-widgets-bar .wpzoom-social-icons-widget-list,
.footer-widgets-bar .simple-social-icons ul { display: flex !important; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 0; justify-content: center; }
.footer-widgets-bar .wpzoom-social-icons-widget-list li,
.footer-widgets-bar .simple-social-icons ul li { margin: 0 !important; }
.footer-widgets-bar .simple-social-icons ul li a { background: transparent !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 50% !important; }
.footer-widgets-bar .simple-social-icons ul li a:hover { background: rgba(33,167,160,.15) !important; border-color: var(--teal) !important; }

.site-footer { background: var(--navy); }

.footer-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 4rem 4vw 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}

.footer-brand { }
.footer-logo { display: block; margin-bottom: 1.25rem; }
.footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 1rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 1.5rem; max-width: 32ch; }
.footer-contact-link, .footer-contact-link:link, .footer-contact-link:visited {
  font-size: 1rem; color: var(--teal) !important; text-decoration: none;
  display: block; margin-bottom: .4rem;
}
.footer-contact-link:hover { color: var(--white) !important; }

.footer-col h4 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.45); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a, .footer-col ul li a:link, .footer-col ul li a:visited {
  font-size: 1rem; color: rgba(255,255,255,.6) !important;
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white) !important; }

.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem 4vw;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a, .footer-bottom-links a:link, .footer-bottom-links a:visited {
  font-size: .78rem; color: rgba(255,255,255,.35) !important;
  text-decoration: none; transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--white) !important; }

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: calc(var(--nav-h) + 5rem) 4vw 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(33,167,160,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; max-width: 820px; }
.page-hero .t-label { color: var(--teal); }
.page-hero .t-h1   { color: var(--white); margin-bottom: 1.25rem; }
.page-hero .t-lead { color: rgba(255,255,255,.7); }
.page-hero-meta    { font-size: .85rem; color: rgba(255,255,255,.45); margin-top: .75rem; }

/* ── SERVICE PAGE SPECIFICS ─────────────────────────────────── */
.service-page-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start;
}
.service-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }

.service-sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow);
}
.service-sidebar-card h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400;
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.service-deliverable {
  display: flex; gap: .75rem; padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.service-deliverable:last-child { border-bottom: none; }
.service-deliverable::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

.service-tier {
  display: inline-block; font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 600; color: var(--teal);
  border: 1px solid rgba(33,167,160,.3); padding: .2rem .7rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.service-price {
  font-family: var(--serif); font-size: 1.5rem; color: var(--teal);
  margin: 1.25rem 0;
}

/* Feature list */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex; gap: .75rem; padding: .75rem 0;
  border-bottom: 1px solid var(--border); font-size: 1rem;
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '→'; color: var(--teal); flex-shrink: 0; margin-top: .05rem; }

/* ── RESOURCES PAGE ──────────────────────────────────────────── */
.resource-filter-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 100; padding: 0 4vw;
}
.filter-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: .35rem; overflow-x: auto;
  scrollbar-width: none; padding: .9rem 0;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-pill, .filter-pill:link, .filter-pill:visited {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted) !important;
  border: 1px solid var(--border); padding: .4rem 1rem;
  border-radius: 100px; white-space: nowrap; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--navy); color: var(--white) !important; border-color: var(--navy);
}

.resource-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }

.resource-card-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform .4s;
}
.resource-card:hover .resource-card-img { transform: scale(1.04); }

.resource-img-wrap { overflow: hidden; }

.resource-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}

.resource-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.resource-cat {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .5rem; display: block;
}
/* Category colours */
.cat-book      .resource-cat { color: #185FA5; }
.cat-template  .resource-cat { color: #0F6E56; }
.cat-course    .resource-cat { color: #534AB7; }
.cat-workshop  .resource-cat { color: #BA7517; }
.cat-framework .resource-cat { color: #993C1D; }
.cat-tool      .resource-cat { color: #21A7A0; }
.cat-book      .resource-img-placeholder { background: #E6F1FB; }
.cat-template  .resource-img-placeholder { background: #E1F5EE; }
.cat-course    .resource-img-placeholder { background: #EEEDFE; }
.cat-workshop  .resource-img-placeholder { background: #FAEEDA; }
.cat-framework .resource-img-placeholder { background: #FAECE7; }
.cat-tool      .resource-img-placeholder { background: #E1F5EE; }

.resource-card-title {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  color: var(--navy); line-height: 1.3; margin-bottom: .65rem;
}
.resource-card p { font-size: 1rem; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 1.25rem; }
.resource-divider { height: 1px; background: var(--border); margin-bottom: 1rem; }
.resource-btn, .resource-btn:link, .resource-btn:visited {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy) !important; border: 1px solid var(--border-med);
  border-radius: var(--radius); padding: .45rem .9rem; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s; align-self: flex-start;
}
.resource-btn:hover { border-color: var(--teal); color: var(--teal) !important; background: var(--teal-light); }
.resource-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── TEAM CARDS (About page) ────────────────────────────────── */
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-card-photo {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; object-position: top;
}
.team-card-photo-placeholder {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(33,167,160,.3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.team-initials {
  font-family: var(--serif); font-size: 2.5rem; color: var(--teal); font-weight: 400;
}
.team-card-body { padding: 1.5rem; }
.team-card-name  { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; margin-bottom: .25rem; }
.team-card-role  { font-size: .875rem; color: var(--teal); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; }
.team-card-bio   { font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; cursor: pointer; gap: 1rem;
  background: none; border: none; width: 100%; text-align: left;
}
.faq-question h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: var(--navy); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .3s;
}
.faq-icon svg { width: 14px; height: 14px; stroke: var(--navy); fill: none; stroke-width: 2.5; transition: transform .3s; }
.faq-item.open .faq-icon { background: var(--teal); }
.faq-item.open .faq-icon svg { stroke: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding: 0 0 1.5rem; font-size: 1rem; color: var(--muted); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── COURSE / WORKSHOP LANDING ──────────────────────────────── */
.course-hero {
  background: var(--navy); padding: calc(var(--nav-h) + 5rem) 4vw 5rem;
  position: relative; overflow: hidden;
}
.course-hero-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; position: relative; z-index: 1; }

.course-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-lg);
}
.course-price { font-family: var(--serif); font-size: 2rem; color: var(--teal); margin-bottom: .25rem; }
.course-price-note { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }

.curriculum-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.curriculum-item:last-child { border-bottom: none; }
.curriculum-num { font-family: var(--serif); font-size: 1.1rem; color: var(--teal); flex-shrink: 0; min-width: 1.5rem; }
.curriculum-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.curriculum-item p  { font-size: 1rem; color: var(--muted); }

/* ── PUBLICATION / BOOK ────────────────────────────────────── */
.pub-hero-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.book-cover {
  aspect-ratio: 3/4; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a3a4a 0%, #21A7A0 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; box-shadow: 24px 24px 60px rgba(17,38,57,.35);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.book-spine {
  position: absolute; left: -16px; top: 8px; bottom: 8px; width: 16px;
  background: #0c1d2b; border-radius: 2px 0 0 2px;
  box-shadow: -4px 4px 12px rgba(0,0,0,.3);
}

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.values-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.values-card-icon {
  width: 48px; height: 48px; background: var(--teal-light);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.values-card-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.values-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: .5rem; }
.values-card p  { font-size: 1rem; color: var(--muted); }

.timeline-item {
  display: grid; grid-template-columns: 100px 1fr; gap: 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.timeline-year { font-family: var(--serif); font-size: 1.4rem; color: var(--teal); font-weight: 400; padding-top: .1rem; }
.timeline-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.timeline-item p  { font-size: .9rem; color: var(--muted); }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.breadcrumb a, .breadcrumb a:link, .breadcrumb a:visited {
  font-size: .8rem; color: rgba(255,255,255,.5) !important; text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--white) !important; }
.breadcrumb-sep { font-size: .75rem; color: rgba(255,255,255,.3); }
.breadcrumb-current { font-size: .8rem; color: rgba(255,255,255,.75); }

/* ── CONTACT SECTION ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.contact-form-wrap { }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

.form-input, .form-select, .form-textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  color: var(--navy); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: .75rem 1rem; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { align-self: flex-start; }
.form-feedback { font-size: .9rem; padding: .75rem 1rem; border-radius: var(--radius); display: none; }
.form-feedback.success { background: rgba(33,167,160,.1); border: 1px solid rgba(33,167,160,.3); color: #0F6E56; display: block; }
.form-feedback.error   { background: rgba(200,40,40,.08); border: 1px solid rgba(200,40,40,.25); color: #993C1D; display: block; }
.btn-loading { display: none; }
.btn.loading .btn-text    { display: none; }
.btn.loading .btn-loading { display: inline; }

/* ── BLOG (single & listing) ────────────────────────────────── */
.post-layout { display: grid; grid-template-columns: 80px 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; padding: 4rem 4vw 5rem; align-items: start; }
.post-body { font-size: 1.05rem; line-height: 1.85; }
.post-body h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; margin: 2.5rem 0 .85rem; }
.post-body h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin: 2rem 0 .6rem; }
.post-body p  { margin-bottom: 1.4rem; }
.post-body a  { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(33,167,160,.4); }
.post-body a:hover { text-decoration-color: var(--teal); }
.post-body ul, .post-body ol { margin: 0 0 1.35rem 1.5rem; }
.post-body li { margin-bottom: .5rem; }
.post-body blockquote { border-left: 3px solid var(--teal); margin: 2rem 0; padding: 1rem 1.5rem; background: var(--teal-light); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.post-body img { width: 100%; height: auto; border-radius: var(--radius-lg); margin: 2rem 0; }

/* ── MISC HELPERS ───────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.text-center { text-align: center; }
.text-teal    { color: var(--teal); }
.text-muted   { color: var(--muted); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* Placeholder images (Unsplash) */
.img-placeholder {
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(33,167,160,.2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 3rem;
}

/* ── EDITABLE CONTENT STYLES (Gutenberg compatibility) ─────── */
.wp-block-group { }
.wp-block-columns { display: grid; gap: 2rem; }
.has-navy-background-color { background-color: var(--navy) !important; }
.has-teal-background-color { background-color: var(--teal) !important; }
.has-teal-color { color: var(--teal) !important; }


/* ── GENERIC PAGE CONTENT WIDTH ────────────────────────────── */
/* Full container width — no artificial narrowing on page.php  */
.wp-content.post-body { width: 100%; }

/* Gutenberg block alignment overrides */
.wp-content .alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.wp-content .alignfull  { max-width: 100%; margin-left: calc(-4vw); margin-right: calc(-4vw); }
.wp-content .wp-block-columns { gap: 2rem; }

/* Readable line length for plain paragraphs only */
.wp-content.post-body > p,
.wp-content.post-body > ul,
.wp-content.post-body > ol,
.wp-content.post-body > h1,
.wp-content.post-body > h2,
.wp-content.post-body > h3 {
  max-width: 72ch;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .service-page-grid { grid-template-columns: 1fr; }
  .service-sticky { position: static; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .pub-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: flex; gap: .5rem; align-items: center; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-menu { display: none; flex-direction: column; gap: 0; }
  .nav-menu.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: .75rem 4vw 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-item { width: 100%; }
  .nav-link { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--border); justify-content: space-between; }
  .nav-submenu {
    position: static; transform: none;
    opacity: 1 !important; pointer-events: all !important; visibility: visible !important;
    box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 1rem;
    display: none !important; background: transparent; margin-top: 0;
  }
  .nav-item.sub-open .nav-submenu { display: block !important; }
  .nav-toggle { display: flex; }
  .nav-actions .nav-cta { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions  { flex-direction: column; align-items: center; }
}
