/*
Theme Name: Lex Dux
Theme URI: https://www.lexdux.com/
Author: Lex Dux LLP
Author URI: https://www.lexdux.com/
Description: Custom WordPress theme for Lex Dux LLP — boutique maritime consultancy. P&I services, shipping & logistics, maritime compliance. Deep navy / slate / gold corporate identity with Cormorant + Inter typography. WCAG AA readability, logo in footer, auto-creates service subpages.
Version: 1.11.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: Proprietary
Text Domain: lex-dux
Tags: maritime, consultancy, corporate, custom
*/

/* ========================================
   DESIGN TOKENS — Lex Dux corporate palette
   ======================================== */
:root {
  /* Surfaces */
  --bg: #FAFAF7;
  --pearl: #FFFFFF;
  --pearl-2: #F4F1EA;
  --pearl-3: #ECE7D9;

  /* Ink */
  --ink: #0A2540;
  --ink-2: #2C3641;
  --ink-3: #4A5568;
  --muted: #5E6974;

  /* Lines */
  --line: #D8D5CB;
  --line-2: #BAB5A6;

  /* Navy (primary brand) */
  --navy: #0A2540;
  --navy-2: #163351;
  --navy-deep: #061A2E;

  /* Slate (secondary) */
  --slate: #37474F;
  --slate-light: #546E7A;
  --slate-dark: #1F2D33;

  /* Gold (signature accent — refined, not brass) */
  --gold: #C9A961;
  --gold-dark: #A88842;
  --gold-text: #7F6526; /* AA-compliant gold for small text on cream */
  --gold-light: #E0C68C;
  --gold-bg: #F2E5C4;

  /* Typography */
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04), 0 1px 3px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 6px rgba(10, 37, 64, 0.04), 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);

  /* Layout */
  --container-max: 1240px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* WordPress alignment classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================================
   TYPOGRAPHY BASE
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 18px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 37, 64, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.28);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.88; }
.header-logo {
  height: 54px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(201, 169, 97, 0.4),
    0 4px 14px rgba(10, 37, 64, 0.18);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 2px;
  pointer-events: none;
}
.brand-mark span {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  z-index: 1;
}

.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--ink);
  line-height: 1;
}
.brand-name .accent {
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 400;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--slate-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 7px;
  font-weight: 600;
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: #EDEDE8;
  text-decoration: none;
  letter-spacing: 0.005em;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links .mobile-cta { display: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--pearl);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.2);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-secondary:hover {
  background: var(--pearl-2);
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(201, 169, 97, 0.3);
}
.btn-header-outline {
  background: transparent;
  color: #EDEDE8;
  border: 1px solid rgba(237, 237, 232, 0.4);
}
.btn-header-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-1px);
}
.btn .arrow { transition: transform 0.2s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  background: #EDEDE8;
  height: 1.5px;
  width: 22px;
  position: absolute;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 1px;
}
.menu-btn span { top: 50%; left: 5px; transform: translateY(-50%); }
.menu-btn span::before { content: ""; top: -7px; left: 0; }
.menu-btn span::after { content: ""; top: 7px; left: 0; }
.menu-btn.active span { background: transparent; }
.menu-btn.active span::before { top: 0; transform: rotate(45deg); }
.menu-btn.active span::after { top: 0; transform: rotate(-45deg); }

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 95;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--navy);
  color: var(--pearl);
  padding: 12px 22px;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 37, 64, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dark);
}
.hero .lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero stat card (replaces founder spotlight in LL) */
.hero-stat {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 36px 36px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}
.hero-stat .label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.hero-stat h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-stat .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-stat .pill {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--pearl-2);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.hero-stat p {
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ========================================
   INTRO BAR (just below hero)
   ======================================== */
.intro-bar {
  background: var(--navy);
  color: var(--pearl);
  padding: 30px 0;
  position: relative;
}
.intro-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.5;
}
.intro-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.intro-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.intro-bar-item .num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  flex-shrink: 0;
}
.intro-bar-item .text strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pearl);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.intro-bar-item .text span {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ========================================
   COOKIE BANNER (DPDPA)
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 740px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--pearl);
  padding: 22px 28px;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.35);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.55;
  border-left: 3px solid var(--gold);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-text { flex: 1; }
.cookie-banner .cookie-text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner .cookie-text a:hover { color: var(--pearl); }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 2px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.cookie-btn.primary {
  background: var(--gold);
  color: var(--navy);
}
.cookie-btn.primary:hover { background: var(--gold-light); }
.cookie-btn.secondary {
  background: transparent;
  color: var(--pearl);
  border-color: rgba(250, 250, 247, 0.3);
}
.cookie-btn.secondary:hover { border-color: var(--pearl); }

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.wa-float svg { width: 28px; height: 28px; }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--navy);
  color: var(--pearl);
  padding: 80px 0 30px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.4;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand .brand { gap: 18px; }
.footer-brand .brand-mark {
  width: 72px;
  height: 72px;
}
.footer-brand .brand-mark span {
  font-size: 1.9rem;
}
.footer-brand .brand-name {
  color: var(--pearl);
  font-size: 1.85rem;
}
.footer-brand .brand-name .accent { color: var(--gold-light); }
.footer-brand .brand-sub {
  color: var(--gold-light);
  font-weight: 600;
}
.footer-brand .footer-text {
  margin-top: 24px;
  font-size: 0.92rem;
  color: rgba(250, 250, 247, 0.72);
  line-height: 1.7;
  max-width: 380px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 12px;
}
.footer-col a {
  color: rgba(250, 250, 247, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-col .contact-line {
  font-size: 0.88rem;
  color: rgba(250, 250, 247, 0.78);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-col .contact-line strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.52);
  border-top: 1px solid rgba(250, 250, 247, 0.1);
}
.footer-bottom .footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-bottom .footer-links a {
  color: rgba(250, 250, 247, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom .footer-links a:hover { color: var(--gold-light); }
.footer-bottom .footer-links .dot { color: rgba(250, 250, 247, 0.3); }

/* ========================================
   ACCESSIBILITY
   ======================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .intro-bar-grid { grid-template-columns: 1fr; gap: 24px; }

  .nav-links {
    position: fixed;
    inset: 80px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    overflow-y: auto;
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-links .mobile-cta {
    display: inline-flex;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }
  .menu-btn { display: block; }
  .cta-full { display: none; }
}

@media (max-width: 580px) {
  .container { padding: 0 22px; }
  .brand { gap: 12px; }
  .header-logo { height: 42px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-mark span { font-size: 1.25rem; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: 0.62rem; }
  .header-inner { padding: 16px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-stat { padding: 28px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-banner .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; padding: 12px 14px; }
}

/* ========================================
   BATCH B — Section styles
   ======================================== */

/* Generic section wrapper */
section.content-block {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}
section.content-block.alt { background: var(--pearl-2); }
section.content-block.dark { background: var(--navy); color: var(--pearl); border: none; }
section.content-block.dark h2,
section.content-block.dark h3 { color: var(--pearl); }
section.content-block.dark .section-intro { color: rgba(250, 250, 247, 0.78); }
section.content-block.dark .eyebrow { color: var(--gold-light); }

.section-head {
  margin-bottom: 64px;
  max-width: 820px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-head h2 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dark);
}
.section-head .section-intro {
  font-size: 1.1rem;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 720px;
}
.section-head .section-intro p { margin-bottom: 16px; }
.section-head .section-intro p:last-child { margin-bottom: 0; }

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: 44px 36px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height 0.5s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}
.service-card:hover::before { height: 100%; }
.service-card .num {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.service-card .service-intro {
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  flex-grow: 1;
}
.service-card ul li {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 9px 0 9px 22px;
  position: relative;
  line-height: 1.5;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ========================================
   PARTNERS
   ======================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1100px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.partner-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: 40px 34px;
  position: relative;
  border-top: 3px solid var(--gold);
}
.partner-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.partner-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--pearl-3);
  flex-shrink: 0;
  box-shadow:
    0 0 0 1.5px rgba(201, 169, 97, 0.5),
    0 0 0 5px rgba(250, 250, 247, 0.7),
    0 6px 20px rgba(10, 37, 64, 0.15);
}
.partner-photo.pramod { background-image: url("assets/images/pramod-singh.jpg"); background-position: center 12%; }
.partner-photo.manu { background-image: url("assets/images/manu-singh.jpg"); background-position: center 25%; }
.partner-photo.shreesh { background-image: url("assets/images/shreesh-shukla.jpg"); background-position: center 18%; }
.partner-info { flex: 1; min-width: 0; }
.partner-info .role {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.partner-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}
.partner-info .quals {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.5;
}
.partner-bio {
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 20px;
}
.partner-bio p { margin-bottom: 14px; }
.partner-bio p:last-child { margin-bottom: 0; }
.partner-bio strong { color: var(--ink); font-weight: 600; }
.partner-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.partner-credentials .cred {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  background: var(--pearl-2);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* ========================================
   APPROACH (4-step process — dark section)
   ======================================== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid rgba(250, 250, 247, 0.15);
}
.approach-step {
  padding: 36px 28px 32px 0;
  position: relative;
}
.approach-step:not(:last-child) {
  border-right: 1px solid rgba(250, 250, 247, 0.15);
  padding-right: 32px;
}
.approach-step:not(:first-child) {
  padding-left: 32px;
}
.approach-step:first-child { padding-left: 0; }
.approach-step .step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 18px;
}
.approach-step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--pearl);
  margin-bottom: 12px;
  letter-spacing: -0.008em;
}
.approach-step p {
  font-size: 0.92rem;
  color: rgba(250, 250, 247, 0.72);
  line-height: 1.65;
}

/* ========================================
   INSIGHTS PREVIEW
   ======================================== */
.insights-preview {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--gold);
}
.insights-preview h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.insights-preview p {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 26px;
}
.insights-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}
.insights-topics .topic {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 14px;
  background: var(--pearl-2);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-right: 20px; }
.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.012em;
}
.contact-info > p {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-detail {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child {
  border-bottom: none;
}
.contact-detail .label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.contact-detail .value {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.contact-detail .value a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-detail .value a:hover { color: var(--gold-dark); }
.contact-detail .value-sub {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--slate);
  margin-top: 4px;
}

.contact-form-wrap {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: 44px 40px;
  border-radius: 2px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-form-wrap .form-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-form .field-row {
  margin-bottom: 18px;
}
.contact-form .field-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--sans);
}
.contact-form .submit-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-form .form-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* Responsive overrides for Batch B */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .partners-grid { grid-template-columns: 1fr; gap: 24px; }
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
  .approach-step:nth-child(odd) {
    border-right: 1px solid rgba(250, 250, 247, 0.15);
  }
  .approach-step:nth-child(2) {
    border-right: none;
  }
  .approach-step:nth-child(3),
  .approach-step:nth-child(4) {
    border-top: 1px solid rgba(250, 250, 247, 0.15);
    margin-top: 16px;
    padding-top: 28px;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { padding-right: 0; }
  section.content-block { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 580px) {
  .service-card, .partner-card { padding: 30px 26px; }
  .partner-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partner-photo { width: 90px; height: 90px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-step:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(250, 250, 247, 0.15);
    padding-bottom: 24px;
    padding-right: 0;
  }
  .approach-step:not(:first-child) { padding-left: 0; padding-top: 24px; border-top: none; margin-top: 0; }
  .contact-form .field-grid-2 { grid-template-columns: 1fr; }
  .contact-form-wrap, .insights-preview { padding: 32px 26px; }
}

/* ========================================
   NAV BADGE — CII Calculator special treatment
   ======================================== */
.nav-links a.nav-tool-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.nav-links .nav-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: var(--gold);
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  line-height: 1.4;
  transform: translateY(-1px);
}
.nav-links a.nav-tool-link:hover .nav-badge {
  background: var(--gold-light);
}

/* ========================================
   SERVICE SUBPAGE STYLES
   ======================================== */

/* Page hero (smaller than homepage hero) */
.page-hero {
  padding: 80px 0 70px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .crumb {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.page-hero .crumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-hero .crumb a:hover { color: var(--gold-dark); }
.page-hero .crumb .sep { margin: 0 8px; color: var(--line-2); }
.page-hero .vertical-num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 26px;
  max-width: 900px;
}
.page-hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dark);
}
.page-hero .lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 760px;
}
.page-hero .lead strong { color: var(--ink); font-weight: 600; }

/* Long-form content sections within page */
.long-content {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 820px;
}
.long-content p { margin-bottom: 22px; }
.long-content p:last-child { margin-bottom: 0; }
.long-content strong { color: var(--ink); font-weight: 600; }
.long-content em { color: var(--slate); font-style: italic; }
.long-content a {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}
.long-content a:hover { color: var(--ink); }
.long-content h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 14px;
  letter-spacing: -0.012em;
}

/* Deliverables grid — for service detail */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.deliverable-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: 30px 28px;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s ease;
}
.deliverable-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.deliverable-card .d-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.deliverable-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.008em;
  line-height: 1.25;
}
.deliverable-card p {
  font-size: 0.94rem;
  color: var(--ink-3);
  line-height: 1.65;
}

/* FAQ accordion */
.faq-list {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 24px 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.008em;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-dark);
  line-height: 1;
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  padding-left: 16px;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}
.faq-item:hover summary { color: var(--gold-dark); }
.faq-item .faq-content {
  padding: 0 0 28px 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-3);
  max-width: 780px;
}
.faq-item .faq-content p { margin-bottom: 14px; }
.faq-item .faq-content p:last-child { margin-bottom: 0; }
.faq-item .faq-content strong { color: var(--ink); font-weight: 600; }

/* Related services row */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.related-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: 28px 26px;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.related-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.related-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-card:hover::before { width: 100%; }
.related-card .r-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 8px;
}
.related-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.008em;
}
.related-card p {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 14px;
}
.related-card .r-link {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.related-card .r-link .arrow { transition: transform 0.2s ease; display: inline-block; }
.related-card:hover .r-link .arrow { transform: translateX(3px); }

/* Inline CTA box (for CII calculator promo within compliance page) */
.inline-cta {
  background: var(--navy);
  color: var(--pearl);
  padding: 36px 36px;
  border-radius: 2px;
  border-left: 3px solid var(--gold);
  margin: 36px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.inline-cta .ic-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--pearl);
}
.inline-cta .ic-text strong {
  color: var(--gold-light);
  font-weight: 500;
}
.inline-cta .ic-text small {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: rgba(250, 250, 247, 0.65);
  margin-top: 6px;
  font-style: normal;
}

/* Final CTA section on service pages */
.page-cta {
  padding: 90px 0;
  background: var(--pearl-2);
  text-align: center;
}
.page-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta h2 .accent {
  font-style: italic;
  color: var(--gold-dark);
}
.page-cta p {
  font-size: 1.08rem;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 32px;
}
.page-cta .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 880px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; gap: 14px; }
  .inline-cta { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .page-hero { padding: 60px 0 50px; }
}

/* ========================================
   SERVICE CARD "LEARN MORE" LINK (homepage)
   ======================================== */
.service-card .service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-text);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.service-card .service-more:hover { color: var(--ink); }
.service-card .service-more .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.service-card .service-more:hover .arrow { transform: translateX(3px); }

/* ========================================
   FOOTER LOGO (actual logo image)
   ======================================== */
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-logo-link:hover { opacity: 0.9; }
.footer-logo {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 580px) {
  .footer-logo { width: 260px; }
}

/* ========================================
   INSIGHTS GRID (homepage)
   ======================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.insight-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.insight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.insight-card:hover::before { width: 100%; }
/* Feature card spans two columns + full row on top */
.insight-card.insight-feature {
  grid-column: span 3;
  flex-direction: column;
  background: var(--navy);
  border-color: var(--navy);
}
.insight-card.insight-feature .insight-topic { color: var(--gold-light); }
.insight-card.insight-feature h3 { color: var(--pearl); font-size: 1.8rem; max-width: 760px; }
.insight-card.insight-feature .insight-excerpt { color: rgba(250,250,247,0.82); }
.insight-card.insight-feature .insight-meta { color: rgba(250,250,247,0.6); }
.insight-card.insight-feature .insight-link { color: var(--gold-light); }
.insight-topic {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.insight-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.insight-excerpt {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.insight-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 10px;
}
.insight-link {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.insight-link .arrow, .insight-card:hover .insight-link .arrow { transition: transform 0.2s ease; }
.insight-card:hover .insight-link .arrow { transform: translateX(3px); }

@media (max-width: 860px) {
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight-card.insight-feature { grid-column: span 2; }
  .insight-card.insight-feature h3 { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card.insight-feature { grid-column: span 1; }
}

/* ========================================
   SINGLE ARTICLE
   ======================================== */
.article-hero h1 {
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.article-meta {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-meta .article-author { color: var(--gold-text); font-weight: 600; }
.article-meta .meta-dot { color: var(--line-2); }
.article-body { padding-top: 50px; }
.article-content { font-size: 1.08rem; line-height: 1.8; }
.article-content h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 40px 0 14px;
}
.article-content h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 10px;
}
.article-content ul { margin: 0 0 22px 0; padding-left: 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content p { margin-bottom: 22px; }

/* Author block */
.author-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  padding: 36px 36px;
  max-width: 820px;
}
.author-card-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.author-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.author-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 22px;
}

/* ========================================
   CONTACT FORM — Validation states + Result
   ======================================== */
/* Honeypot — invisible to humans */
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-form .field .req {
  color: var(--gold-dark);
  margin-left: 2px;
}
.contact-form .field-error {
  font-size: 0.82rem;
  color: #B83A2E;
  margin-top: 6px;
  display: none;
  font-family: var(--sans);
}
.contact-form .field.error input,
.contact-form .field.error textarea {
  border-color: #B83A2E;
  box-shadow: 0 0 0 3px rgba(184, 58, 46, 0.10);
}
.contact-form .field.error .field-error {
  display: block;
}
.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.form-result {
  margin-top: 18px;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
  display: none;
}
.form-result.is-success {
  display: block;
  background: #ECF6E8;
  border-left: 3px solid #1B7F4C;
  color: #234A33;
  padding: 14px 18px;
  border-radius: 2px;
}
.form-result.is-success strong { color: #1B7F4C; }
.form-result.is-error {
  display: block;
  background: #FAEAEA;
  border-left: 3px solid #B83A2E;
  color: #6B2722;
  padding: 14px 18px;
  border-radius: 2px;
}
.form-result.is-info {
  display: none;
}
