/* ============================================================
   Oakstone Consultancy — Global Styles
   ============================================================ */

:root {
  --emerald-deep: #1F4D35;
  --emerald-mid: #3D7A5E;
  --emerald-deep-rgb: 31, 77, 53;
  --ivory: #F7F6F1;
  --linen: #EEECEA;
  --charcoal: #252520;
  --warm-grey: #858580;
  --warm-grey-soft: #C9C7C2;

  --section-pad: 128px;
  --container: 1280px;
  --container-narrow: 1080px;
  --container-wide: 1440px;

  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Unified Oakstone photo grade — applied to every photograph & video on the
     site. Tunes saturation, sepia warmth, contrast, and brightness as a single
     CSS variable so the look is consistent and easily adjustable. */
  --photo-grade: saturate(0.74) sepia(0.1) contrast(0.96) brightness(0.97);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  background: var(--ivory);
  font-weight: 400;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   Type
   ============================================================ */

.h0, .h1, .h2, .h3 {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin: 0;
  text-wrap: balance;
}

.h0 { font-size: 96px; font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; }
.h1 { font-size: 64px; font-weight: 300; line-height: 1.1; letter-spacing: -0.005em; }
.h2 { font-size: 44px; font-weight: 300; line-height: 1.15; }
.h3 { font-size: 28px; font-weight: 400; line-height: 1.25; }

.h0 em, .h1 em, .h2 em, .h3 em {
  font-style: italic;
  font-weight: 300;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--warm-grey);
  margin: 0;
  text-wrap: pretty;
}

p {
  margin: 0 0 1.1em;
  color: var(--warm-grey);
}
p:last-child { margin-bottom: 0; }

.body-text { color: var(--charcoal); }
.body-text p { color: var(--warm-grey); }

.small { font-size: 15px; line-height: 1.6; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-mid);
  display: inline-block;
}

.eyebrow-numeral {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: none;
  font-style: italic;
  opacity: 0.85;
  margin-right: 4px;
}

.on-dark { color: var(--ivory); }
.on-dark .h0, .on-dark .h1, .on-dark .h2, .on-dark .h3 { color: var(--ivory); }
.on-dark .lead { color: rgba(247, 246, 241, 0.78); }
.on-dark p { color: rgba(247, 246, 241, 0.78); }
.on-dark .eyebrow { color: rgba(247, 246, 241, 0.65); }

/* ============================================================
   Layout
   ============================================================ */

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

section { position: relative; }

.section {
  padding: var(--section-pad) 0;
}
.section-tight { padding: 96px 0; }

.bg-ivory { background: var(--ivory); }
.bg-linen { background: var(--linen); }
.bg-emerald { background: var(--emerald-deep); color: var(--ivory); }
.bg-charcoal { background: var(--charcoal); color: var(--ivory); }

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--emerald-deep);
  height: 88px;
  border-bottom: 1px solid rgba(247, 246, 241, 0.08);
}

.nav-inner {
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
}

.nav-logo svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(247, 246, 241, 0.82);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a.active { color: var(--ivory); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: rgba(247, 246, 241, 0.6);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown > .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.nav-dropdown > .dropdown-trigger::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  min-width: 320px;
  background: var(--ivory);
  color: var(--charcoal);
  padding: 14px 0;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--charcoal);
  transition: background 180ms ease;
}
.nav-dropdown-menu a:hover { background: var(--linen); color: var(--emerald-deep); }
.nav-dropdown-divider {
  height: 1px;
  background: var(--linen);
  margin: 10px 24px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  background: var(--emerald-mid);
  color: var(--ivory);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background: var(--emerald-deep); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 246, 241, 0.45);
}
.btn-outline:hover {
  background: var(--ivory);
  color: var(--emerald-deep);
  border-color: var(--ivory);
}

.btn-outline-dark {
  background: transparent;
  color: var(--emerald-deep);
  border-color: var(--emerald-deep);
}
.btn-outline-dark:hover { background: var(--emerald-deep); color: var(--ivory); }

.btn-sm { padding: 12px 22px; font-size: 11px; }

/* ============================================================
   Inline link with underline draw
   ============================================================ */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  position: relative;
  padding-bottom: 6px;
}
.on-dark .link-arrow { color: var(--ivory); }

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 300ms ease-out;
}
.link-arrow:hover::after { transform: scaleX(1); }

.link-arrow .arrow {
  font-family: var(--font-sans);
  transition: transform 300ms ease-out;
}
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  background: var(--emerald-deep);
  color: var(--ivory);
  overflow: hidden;
  min-height: 800px;
  height: 800px;
  display: flex;
  align-items: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  filter: var(--photo-grade);
  z-index: 0;
  transform-origin: 65% 50%;
  animation: heroDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroDrift {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

/* Subtle vignette fade-in on first paint */
.hero-photo {
  opacity: 0;
  animation: heroDrift 28s ease-in-out infinite alternate, heroFadeIn 1400ms ease-out 120ms forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: heroFadeIn 800ms ease-out forwards;
    transform: scale(1.04);
  }
}

/* ============================================================
   Cross-document View Transitions — Chrome 126+ (silent fallback)
   ============================================================ */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
::view-transition-old(root) { animation-name: oakViewOut; }
::view-transition-new(root) { animation-name: oakViewIn; }

@keyframes oakViewOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes oakViewIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}
@media print {
  @page { margin: 18mm 16mm; }

  html, body {
    background: #FFFFFF !important;
    color: #1a1a1a !important;
    font-size: 11pt;
    line-height: 1.5;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Hide chrome that doesn't belong on paper */
  .nav, .footer, .hero-watermark, .hero-gradient,
  .hero-video, .hero-photo, .scroll-progress,
  .schedule-widget, .cookie-banner, .insights-filters,
  .form-status, button, [type="submit"],
  .footer-social, .filter-pills, .newsletter-strip,
  .schedule-meta-direct, .hero-actions, .btn,
  .nav-dropdown-menu { display: none !important; }

  /* Re-flow page content for paper */
  section { page-break-inside: avoid; padding: 0 0 24pt !important; background: #FFFFFF !important; color: #1a1a1a !important; }
  section.bg-emerald, section.bg-charcoal { background: #FFFFFF !important; color: #1a1a1a !important; }
  .on-dark *, section.bg-emerald *, section.bg-charcoal * {
    color: #1a1a1a !important;
    text-shadow: none !important;
  }
  .container, .container-wide, .container-narrow { max-width: 100% !important; padding: 0 !important; }

  /* Typography — print proportions */
  .h0 { font-size: 36pt !important; line-height: 1.1 !important; margin-bottom: 12pt !important; }
  .h1 { font-size: 28pt !important; line-height: 1.15 !important; margin-bottom: 12pt !important; }
  .h2 { font-size: 22pt !important; line-height: 1.2 !important; margin-bottom: 10pt !important; }
  .h3, .article-card-title { font-size: 14pt !important; line-height: 1.25 !important; }
  .lead { font-size: 12pt !important; }
  .eyebrow { font-size: 8pt !important; letter-spacing: 0.15em !important; color: #555 !important; }
  .stat-num { font-size: 24pt !important; }

  /* Layout — collapse grids to single column where appropriate */
  .stats-grid, .articles-grid, .insights-grid, .values-strip,
  .faq-grid, .team-grid, .contact-split, .footer-grid,
  .process-list { grid-template-columns: 1fr 1fr !important; gap: 16pt !important; }
  .hero, .hero-compact { min-height: 0 !important; padding: 0 0 18pt !important; }
  .hero-inner { padding: 0 !important; }
  .service-entry { padding: 18pt 0 !important; }
  .service-entry-grid { grid-template-columns: 1fr !important; gap: 12pt !important; }

  /* Links — show URL after for important ones */
  a[href^="http"]::after,
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="#"]::after { content: ""; }

  /* Photo placeholders */
  .article-card-img, .team-photo {
    border: 1px solid #ccc !important;
    background: #f4f4f1 !important;
    filter: none !important;
  }

  /* Hide animation/scroll fades */
  [data-fade] { opacity: 1 !important; transform: none !important; }

  /* Print footer with brand mark */
  body::after {
    content: "Oakstone Consultancy · Dubai · oakstone.ae";
    display: block;
    margin-top: 24pt;
    padding-top: 8pt;
    border-top: 0.5pt solid #ccc;
    font-size: 8pt;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888;
    text-align: center;
  }
}

/* Hero video — same fit + filter as .hero-photo, no Ken-Burns since the footage itself moves */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: var(--photo-grade);
  z-index: 0;
  opacity: 0;
  animation: heroFadeIn 1400ms ease-out 120ms forwards;
  will-change: opacity;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: heroFadeIn 800ms ease-out forwards; }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    /* 1. Focused softness behind the text block — anchored bottom-left */
    radial-gradient(ellipse 62% 78% at 22% 60%,
      rgba(31, 77, 53, 0.88) 0%,
      rgba(31, 77, 53, 0.55) 38%,
      rgba(31, 77, 53, 0.15) 65%,
      rgba(31, 77, 53, 0) 80%),
    /* 2. Gentle horizontal wash — emerald never quite leaves the frame */
    linear-gradient(90deg,
      rgba(31, 77, 53, 0.55) 0%,
      rgba(31, 77, 53, 0.18) 55%,
      rgba(31, 77, 53, 0) 90%),
    /* 3. Tiny top/bottom darkening for nav contrast + grounding */
    linear-gradient(180deg,
      rgba(31, 77, 53, 0.35) 0%,
      rgba(31, 77, 53, 0) 22%,
      rgba(31, 77, 53, 0) 75%,
      rgba(31, 77, 53, 0.3) 100%);
  z-index: 1;
}

/* Belt-and-braces: a quiet text shadow under hero copy so even on the
   brightest video frame the type stays legible without darkening the gradient. */
.hero-content .h0,
.hero-content .h1 { text-shadow: 0 2px 32px rgba(0, 0, 0, 0.22); }
.hero-content .lead,
.hero-content > p { text-shadow: 0 1px 20px rgba(0, 0, 0, 0.18); }
.hero-content .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2); }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 140px 40px 140px;
}

.hero-content {
  max-width: 720px;
}

.hero .eyebrow { color: rgba(247, 246, 241, 0.7); margin-bottom: 36px; }
.hero .h0 { color: var(--ivory); margin-bottom: 32px; }
.hero .h1 { color: var(--ivory); margin-bottom: 28px; }
.hero .lead { color: rgba(247, 246, 241, 0.85); margin-bottom: 48px; max-width: 560px; }
.hero p { color: rgba(247, 246, 241, 0.75); max-width: 560px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-compact { min-height: 520px; }
.hero-compact .hero-inner { padding: 100px 40px; }

/* ============================================================
   Stats Strip
   ============================================================ */

.stats {
  background: var(--emerald-deep);
  color: var(--ivory);
  border-top: 1px solid rgba(247, 246, 241, 0.08);
  padding: 88px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 72px;
  line-height: 1;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 246, 241, 0.7);
  max-width: 220px;
}

/* ============================================================
   Section header block
   ============================================================ */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.section-head .eyebrow { margin-bottom: 28px; display: block; }
.section-head .lead { max-width: 560px; }
.on-dark.section-head .eyebrow { color: rgba(247, 246, 241, 0.65); }

/* ============================================================
   Service cards (Home)
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  background: var(--ivory);
  border: 1px solid var(--linen);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms ease;
  min-height: 360px;
}
.service-card:hover {
  transform: scale(1.015);
  box-shadow: 0 32px 56px -32px rgba(31, 77, 53, 0.25);
  border-color: rgba(31, 77, 53, 0.12);
}
.service-card .h3 { margin-top: auto; max-width: 360px; }
.service-card-desc { color: var(--warm-grey); flex-grow: 0; }
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }
.service-card-body { display: flex; flex-direction: column; gap: 20px; flex: 1; }

.service-card-featured {
  grid-column: span 2;
  background: var(--emerald-deep);
  color: var(--ivory);
  border-color: var(--emerald-deep);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 56px;
  padding: 72px 64px;
}
.service-card-featured:hover { box-shadow: 0 32px 56px -24px rgba(31, 77, 53, 0.45); }
.service-card-featured .h3 { color: var(--ivory); max-width: none; margin-top: 0; }
.service-card-featured p { color: rgba(247, 246, 241, 0.78); }
.service-card-featured .eyebrow { color: rgba(247, 246, 241, 0.6); margin-bottom: 24px; }
.service-card-featured .link-arrow { color: var(--ivory); margin-top: 24px; }

/* ============================================================
   Insights / Article cards
   ============================================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.article-card { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.article-card-img {
  aspect-ratio: 4 / 3;
  background: var(--linen);
  background-size: cover;
  background-position: center;
  filter: var(--photo-grade);
  transition: opacity 400ms ease;
}
.article-card:hover .article-card-img { opacity: 0.88; }
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 246, 241, 0.6);
  margin-top: 8px;
}
.on-dark .article-card-meta { color: rgba(247, 246, 241, 0.6); }
.article-card-meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.article-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ivory);
  text-wrap: balance;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
  margin-top: 64px;
}
.faq-item {
  padding-top: 32px;
  border-top: 1px solid rgba(247, 246, 241, 0.12);
}
.faq-q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 16px;
  text-wrap: balance;
}
.faq-a {
  color: rgba(247, 246, 241, 0.7);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   Contact / Forms
   ============================================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--warm-grey-soft);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--charcoal);
  outline: none;
  border-radius: 0;
  transition: border-color 200ms ease;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--warm-grey-soft); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--emerald-deep); }
.field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23858580' stroke-width='1' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
  color: var(--warm-grey);
}

/* dark form (emerald bg) */
.on-dark .field label { color: rgba(247, 246, 241, 0.6); }
.on-dark .field input,
.on-dark .field select,
.on-dark .field textarea {
  border-bottom-color: rgba(247, 246, 241, 0.25);
  color: var(--ivory);
}
.on-dark .field input::placeholder,
.on-dark .field textarea::placeholder { color: rgba(247, 246, 241, 0.35); }
.on-dark .field input:focus,
.on-dark .field select:focus,
.on-dark .field textarea:focus { border-bottom-color: var(--ivory); }
.on-dark .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23F7F6F1' stroke-width='1' fill='none' opacity='0.5'/></svg>");
  color: rgba(247, 246, 241, 0.85);
}
.on-dark .field select option { color: var(--charcoal); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  color: var(--warm-grey);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox input { display: none; }
.checkbox .box {
  width: 16px; height: 16px;
  border: 1px solid var(--warm-grey-soft);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  border-radius: 2px;
  transition: background 200ms ease, border-color 200ms ease;
}
.checkbox input:checked + .box {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
}
.checkbox input:checked + .box::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 1.5px solid var(--ivory);
  border-bottom: 1.5px solid var(--ivory);
  transform: rotate(45deg);
}
/* ============================================================
   Form status message
   ============================================================ */
.form-status {
  font-size: 14px;
  line-height: 1.5;
  color: var(--warm-grey);
  min-height: 22px;
  letter-spacing: 0.01em;
}
.form-status[data-state="sending"] { color: var(--warm-grey); font-style: italic; }
.form-status[data-state="success"] {
  color: var(--emerald-deep);
  padding-top: 12px;
  border-top: 1px solid rgba(31,77,53,0.18);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
}
.form-status[data-state="error"] { color: #B23A3A; }
.on-dark .form-status { color: rgba(247,246,241,0.7); }
.on-dark .form-status[data-state="success"] {
  color: var(--ivory);
  border-top-color: rgba(247,246,241,0.25);
}
.on-dark .form-status[data-state="error"] { color: #F5A0A0; }

button[disabled].btn { opacity: 0.6; cursor: wait; }

/* ============================================================
   Cookie / consent banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 380px;
  max-width: calc(100vw - 48px);
  background: var(--ivory);
  color: var(--charcoal);
  border: 1px solid rgba(31, 77, 53, 0.15);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.25);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.cookie-banner.in { opacity: 1; transform: translateY(0); }

.cookie-banner-mark {
  color: var(--emerald-deep);
  margin-top: 4px;
}

.cookie-banner-body { min-width: 0; }
.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.cookie-banner-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--warm-grey);
  margin: 0;
}

.cookie-banner-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-banner-btn {
  border: none;
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.cookie-banner-btn-secondary {
  background: transparent;
  color: var(--warm-grey);
  border: 1px solid var(--warm-grey-soft);
}
.cookie-banner-btn-secondary:hover { color: var(--charcoal); border-color: var(--charcoal); }
.cookie-banner-btn-primary {
  background: var(--emerald-deep);
  color: var(--ivory);
  border: 1px solid var(--emerald-deep);
}
.cookie-banner-btn-primary:hover { background: var(--emerald-mid); border-color: var(--emerald-mid); }

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 16px; right: 16px; left: 16px; width: auto;
    padding: 24px 20px;
    gap: 14px;
  }
  .cookie-banner-title { font-size: 20px; }
}

@media print { .cookie-banner { display: none !important; } }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--emerald-deep);
  color: var(--ivory);
  padding: 96px 0 40px;
  border-top: 1px solid rgba(247, 246, 241, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}
.footer-brand { max-width: 280px; }
.footer-brand .footer-tag {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: rgba(247, 246, 241, 0.78);
}
.footer-maxim {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5;
}
.footer-maxim em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: rgba(247, 246, 241, 0.88);
  letter-spacing: 0.005em;
}
.footer-maxim span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 246, 241, 0.45);
}
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 246, 241, 0.5);
  margin-bottom: 28px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  color: rgba(247, 246, 241, 0.82);
  font-size: 14px;
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(247, 246, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(247, 246, 241, 0.55);
  letter-spacing: 0.04em;
}
.footer-bar .legal-links { display: flex; gap: 28px; }
.footer-bar a:hover { color: var(--ivory); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(247, 246, 241, 0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease;
}
.footer-social a:hover { background: rgba(247, 246, 241, 0.08); border-color: rgba(247, 246, 241, 0.5); }

/* ============================================================
   Service detail entries (mortgage / consultancy pages)
   ============================================================ */

.service-entry {
  padding: 112px 0;
}
.service-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 96px;
  align-items: start;
}
.service-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--emerald-mid);
  margin-bottom: 24px;
  display: block;
}
.service-entry .h2 { margin-bottom: 40px; }
.service-entry-body p { font-size: 17px; line-height: 1.7; margin-bottom: 28px; color: var(--warm-grey); }
.service-entry-body p:first-child { color: var(--charcoal); font-size: 19px; line-height: 1.6; }
.value-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.value-block .eyebrow { color: var(--emerald-mid); margin-bottom: 20px; display: block; }
.value-block ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.value-block li {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 15px; color: var(--charcoal); line-height: 1.55;
}
.value-block li::before {
  content: "—";
  color: var(--emerald-mid);
  flex-shrink: 0;
}

/* ============================================================
   Values strip (About)
   ============================================================ */
.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.value-col .eyebrow { color: var(--emerald-mid); margin-bottom: 20px; display: block; }
.value-col-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.value-col p { color: var(--warm-grey); font-size: 15px; line-height: 1.6; }

/* ============================================================
   Team cards
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 80px;
  align-items: start;
}
.team-card-offset { margin-top: 80px; }
.team-photo {
  aspect-ratio: 3 / 4;
  background: var(--linen);
  background-size: cover;
  background-position: center;
  filter: var(--photo-grade);
  margin-bottom: 32px;
}
.team-name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--charcoal);
}
.team-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-mid);
  margin-bottom: 24px;
}
.team-contact {
  display: flex;
  gap: 24px;
  font-size: 13px;
  margin-bottom: 28px;
  color: var(--warm-grey);
  flex-wrap: wrap;
}
.team-contact a { color: var(--emerald-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity 200ms; }
.team-contact a:hover { opacity: 0.7; }
.team-bio { color: var(--warm-grey); font-size: 16px; line-height: 1.7; }
.team-bio p { margin-bottom: 1.2em; }

/* ============================================================
   Contact page split
   ============================================================ */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 96px;
}
.advisor-card {
  padding: 40px 0;
  border-top: 1px solid var(--warm-grey-soft);
}
.advisor-card:first-child { border-top: none; padding-top: 0; }
.advisor-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.advisor-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-mid);
  margin-bottom: 20px;
}
.advisor-email {
  display: inline-block;
  font-size: 15px;
  color: var(--emerald-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  margin-bottom: 20px;
}
.advisor-bio { color: var(--warm-grey); font-size: 15px; line-height: 1.65; }

.response-note {
  margin-top: 48px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--emerald-deep);
  line-height: 1.4;
  text-wrap: balance;
}

/* ============================================================
   Process timeline (About page)
   ============================================================ */
.process-list {
  list-style: none;
  padding: 0;
  margin: 80px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 32px;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 4px; right: 0;
  height: 1px;
  background: rgba(247, 246, 241, 0.18);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}
.process-numeral {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ivory);
  background: var(--emerald-deep);
  padding-right: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}
.process-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  color: var(--ivory);
  line-height: 1.2;
}
.process-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 246, 241, 0.75);
}
@media (max-width: 1100px) {
  .process-list { grid-template-columns: 1fr 1fr; gap: 64px 40px; }
  .process-list::before { display: none; }
}
@media (max-width: 700px) {
  .process-list { grid-template-columns: 1fr; gap: 48px; }
  .process-numeral { font-size: 48px; }
}

/* ============================================================
   Schedule (Calendly) — emerald section with ivory appointment card
   ============================================================ */
.schedule-block {
  background: var(--emerald-deep);
  color: var(--ivory);
  padding: 128px 0;
  position: relative;
}
.schedule-block::before {
  /* subtle warm tint overlay so emerald feels lit, not flat */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(61,122,94,0.35), transparent 60%);
  pointer-events: none;
}
.schedule-block > .container-wide { position: relative; }

.schedule-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.schedule-head .eyebrow { color: rgba(247,246,241,0.6); }
.schedule-head .h1 { color: var(--ivory); }
.schedule-head .lead { color: rgba(247,246,241,0.8); max-width: 520px; padding-bottom: 8px; }

.schedule-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  background: var(--ivory);
  border: 1px solid rgba(247,246,241,0.18);
  box-shadow: 0 60px 100px -40px rgba(0,0,0,0.45);
  overflow: hidden;
  min-height: 760px;
}

/* Left meta panel — emerald inside the ivory frame */
.schedule-meta {
  background: var(--emerald-deep);
  color: var(--ivory);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-right: 1px solid rgba(247,246,241,0.1);
  position: relative;
}
.schedule-meta-mark { opacity: 0.85; }
.schedule-meta-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ivory);
}
.schedule-meta-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.schedule-meta-list > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(247,246,241,0.12);
  align-items: baseline;
}
.schedule-meta-list > div:last-child { border-bottom: 1px solid rgba(247,246,241,0.12); }
.schedule-meta-list dt {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,246,241,0.5);
  margin: 0;
}
.schedule-meta-list dd {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.5;
}
.schedule-meta-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(247,246,241,0.78);
  border-left: 1px solid rgba(247,246,241,0.3);
  padding-left: 20px;
  text-wrap: balance;
}
.schedule-meta-direct {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(247,246,241,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ivory);
  transition: opacity 200ms ease;
}
.schedule-meta-direct:hover { opacity: 0.85; }
.schedule-meta-direct > span:first-child {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,246,241,0.5);
}
.schedule-meta-direct-addr {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.005em;
}

/* Right widget panel — pure ivory with hairline head + Calendly inline */
.schedule-widget {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
}
.schedule-widget-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 48px 24px;
  border-bottom: 1px solid var(--linen);
}
.schedule-widget-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
}
.schedule-widget-sub {
  font-size: 13px;
  color: var(--warm-grey);
  margin-top: 4px;
}
.schedule-widget-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.schedule-widget-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 300ms ease-out;
}
.schedule-widget-link:hover::after { transform: scaleX(1); }

.schedule-widget .calendly-inline-widget {
  flex: 1;
  min-width: 320px;
  min-height: 680px;
  background: var(--ivory);
}

/* Responsive */
@media (max-width: 1100px) {
  .schedule-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .schedule-frame { grid-template-columns: 1fr; min-height: 0; }
  .schedule-meta { padding: 48px 40px; border-right: none; border-bottom: 1px solid rgba(247,246,241,0.1); }
  .schedule-meta-direct { margin-top: 8px; }
  .schedule-widget-head { padding: 28px 32px 20px; }
}
@media (max-width: 768px) {
  .schedule-block { padding: 64px 0; }
  .schedule-meta { padding: 36px 24px; gap: 28px; }
  .schedule-meta-title { font-size: 32px; }
  .schedule-meta-list > div { grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; }
  .schedule-widget-head { padding: 24px 24px 16px; flex-direction: column; align-items: flex-start; }
  .schedule-widget .calendly-inline-widget { min-height: 640px; }
}

/* ============================================================
   Insights page
   ============================================================ */
.insights-hero {
  padding: 200px 0 140px;
  background: var(--ivory);
  border-bottom: 1px solid var(--linen);
}
.insights-hero .eyebrow { color: var(--emerald-mid); margin-bottom: 32px; }
.insights-hero .h0 { font-size: 88px; margin-bottom: 32px; max-width: 14ch; }
.insights-hero .lead { max-width: 600px; }

.insights-filters {
  border-bottom: 1px solid var(--linen);
  padding: 28px 0;
  background: var(--ivory);
  position: sticky;
  top: 88px;
  z-index: 50;
}
.insights-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-grey);
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all 200ms ease;
}
.filter-pill:hover { color: var(--charcoal); }
.filter-pill.active {
  background: var(--emerald-deep);
  color: var(--ivory);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.insights-card .article-card-img {
  background: var(--linen);
}
.insights-card .article-card-title {
  font-size: 28px;
  font-weight: 300;
  color: var(--charcoal);
}
.insights-card .article-card-meta { color: var(--warm-grey); }
.insights-card .article-card-meta .dot { background: var(--warm-grey); }
.insights-card-excerpt {
  color: var(--warm-grey);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 4px;
}

.insights-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  margin-bottom: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--linen);
  align-items: center;
}
.insights-featured .article-card-img { aspect-ratio: 16/11; }
.insights-featured .article-card-title { font-size: 44px; line-height: 1.15; max-width: 14ch; }
.insights-featured .insights-card-excerpt { font-size: 17px; max-width: 460px; }

.empty-state {
  border: 1px dashed var(--warm-grey-soft);
  padding: 80px 64px;
  text-align: center;
  background: var(--ivory);
  margin-top: 64px;
}
.empty-state .h3 { font-weight: 400; margin-bottom: 16px; }
.empty-state p { max-width: 520px; margin: 0 auto; color: var(--warm-grey); }

/* ============================================================
   Section entry fade — scroll-triggered via IntersectionObserver
   ============================================================ */
@keyframes sectionIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reveal { animation: sectionIn 600ms ease both; }

[data-fade] {
  opacity: 0;
  transition: opacity 700ms ease;
  will-change: opacity;
}
[data-fade].in-view { opacity: 1; }

/* ============================================================
   Scroll progress (hairline at very top)
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  width: 0%;
  background: var(--emerald-mid);
  z-index: 200;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ============================================================
   Hero corner watermark — small diamond mark, top-right
   ============================================================ */
.hero-watermark {
  position: absolute;
  top: 32px; right: 40px;
  z-index: 3;
  opacity: 0;
  animation: heroFadeIn 1400ms ease-out 400ms forwards;
}
@media (max-width: 768px) {
  .hero-watermark { top: 20px; right: 20px; }
  .hero-watermark svg { width: 28px; height: 28px; }
}

/* ============================================================
   Diamond divider — hairline + centred mark between same-tone sections
   ============================================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 0;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(31, 77, 53, 0.14);
}
.divider svg { opacity: 0.6; }

.divider.on-dark::before,
.divider.on-dark::after { background: rgba(247, 246, 241, 0.15); }
.divider.on-dark svg path,
.divider.on-dark svg line { stroke: rgba(247, 246, 241, 0.8); }

.divider-wrap {
  padding: 32px 0;
  background: inherit;
}

/* When a divider sits between two service-entry sections, kill the entries'
   adjacent top padding so the rhythm doesn't feel doubled */
.service-entry + .divider-wrap + .service-entry { padding-top: 56px; }
.divider-wrap + .service-entry { padding-top: 56px; }
.service-entry:has(+ .divider-wrap) { padding-bottom: 56px; }

@media (max-width: 768px) {
  .divider { padding-left: 20px; padding-right: 20px; gap: 20px; }
}

/* ============================================================
   Drop-cap — Cormorant initial on opening paragraph
   ============================================================ */
.has-dropcap::first-letter,
p.has-dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 5.2em;
  line-height: 0.85;
  float: left;
  margin: 0.08em 0.12em 0 -0.04em;
  color: var(--emerald-deep);
}
.on-dark .has-dropcap::first-letter { color: var(--ivory); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .h0 { font-size: 72px; }
  .h1 { font-size: 52px; }
  .h2 { font-size: 38px; }
  .stat-num { font-size: 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-featured { grid-column: span 1; grid-template-columns: 1fr; gap: 28px; padding: 56px 40px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .team-grid, .contact-split { grid-template-columns: 1fr; gap: 56px; }
  .team-card-offset { margin-top: 0; }
  .calendly-frame { grid-template-columns: 1fr; padding: 40px; }
  .insights-featured { grid-template-columns: 1fr; }
  .insights-featured .article-card-title { font-size: 36px; }
  .service-entry-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .container, .container-narrow, .container-wide { padding: 0 20px; }
  .hero-inner { padding: 88px 20px; }
  .h0 { font-size: 56px; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .h3 { font-size: 24px; }
  .lead { font-size: 18px; }
  body { font-size: 16px; }
  .stat-num { font-size: 48px; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .articles-grid, .insights-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-strip { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px; }
  .footer-bar { flex-direction: column; gap: 20px; text-align: center; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .nav { height: 72px; }
  .hero { height: auto; min-height: 560px; }
  .hero-gradient {
    background: linear-gradient(180deg, rgba(31,77,53,0.4) 0%, rgba(31,77,53,0.85) 100%);
  }
  .insights-hero { padding: 100px 0 72px; }
  .insights-hero .h0 { font-size: 56px; }
  .calendly-frame { padding: 28px; }
  .calendly-widget-body, .calendly-times { padding-left: 16px; padding-right: 16px; }
  .calendly-times { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Mobile nav — hamburger button + slide-in panel
   ============================================================ */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  color: var(--ivory);
}
.nav-burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform 280ms var(--ease), opacity 200ms ease, top 280ms var(--ease);
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 26px; }

body.nav-open .nav-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.nav-mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--emerald-deep);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 64px;
  overflow-y: auto;
}
body.nav-open .nav-mobile-panel {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(61,122,94,0.3), transparent 60%);
  pointer-events: none;
}

.nav-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.nav-mobile-list > li > a,
.nav-mobile-list > li > details > summary {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ivory);
  padding: 14px 0;
  display: block;
  border-bottom: 1px solid rgba(247,246,241,0.12);
  cursor: pointer;
  list-style: none;
}
.nav-mobile-list > li > details > summary::-webkit-details-marker { display: none; }
.nav-mobile-list > li > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile-list > li > details > summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 28px;
  color: rgba(247,246,241,0.5);
  transition: transform 280ms var(--ease);
}
.nav-mobile-list > li > details[open] > summary::after { transform: rotate(45deg); }

.nav-mobile-sub {
  list-style: none;
  padding: 12px 0 20px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-mobile-sub a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(247,246,241,0.75);
  padding: 4px 0;
}

.nav-mobile-cta {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.nav-mobile-cta .btn {
  background: var(--ivory);
  color: var(--emerald-deep);
  width: 100%;
}

.nav-mobile-foot {
  margin-top: auto;
  padding-top: 40px;
  font-size: 12px;
  color: rgba(247,246,241,0.5);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.nav-mobile-foot a { color: rgba(247,246,241,0.8); }

@media (max-width: 768px) {
  .nav-burger { display: block; }
  body.nav-open { overflow: hidden; }
  .nav-inner > a.btn.btn-sm { display: none; }
}
@media (min-width: 769px) {
  .nav-mobile-panel { display: none; }
}
