/* ==========================================================================
   Home Flow Zone — homeflowzone.com
   Design system & site styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #14211b;
  --ink-soft: #40544a;
  --muted: #6b7a71;
  --forest: #123a2b;
  --forest-deep: #0b2a1f;
  --forest-mid: #1c5140;
  --clay: #c2663d;
  --clay-deep: #a44f2b;
  --clay-soft: #e7c6ae;
  --cream: #fbf7f1;
  --cream-2: #fffdfa;
  --sand: #f2e9dc;
  --sand-deep: #e7dbc9;
  --sage: #a9b9a4;
  --line: rgba(20, 33, 27, 0.12);
  --line-soft: rgba(20, 33, 27, 0.07);
  --shadow-sm: 0 2px 10px rgba(20, 33, 27, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(20, 33, 27, 0.35);
  --shadow-lg: 0 34px 70px -34px rgba(11, 42, 31, 0.45);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --arch: 240px 240px 26px 26px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* fine paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer, section { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, .display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 60;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.35rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.05rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin-bottom: 1rem; }

a { color: var(--forest); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--clay-deep); }

img { max-width: 100%; height: auto; }

::selection { background: var(--clay-soft); color: var(--forest-deep); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -80px;
  z-index: 100;
  background: var(--forest);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.735rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.accent {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  color: var(--clay-deep);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.on-dark .accent, .section-dark .accent, .page-head .accent { color: var(--clay-soft); }

.lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
  line-height: 1.78;
  max-width: 60ch;
}
.text-muted-ink { color: var(--muted) !important; }
.section-dark .lede, .section-dark p { color: rgba(251, 247, 241, 0.76); }

.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-sm { padding: clamp(2.8rem, 5vw, 4.5rem) 0; }
.section-dark {
  background: var(--forest);
  background-image:
    radial-gradient(60% 80% at 88% 8%, rgba(194, 102, 61, 0.22), transparent 60%),
    radial-gradient(50% 70% at 4% 96%, rgba(169, 185, 164, 0.16), transparent 62%);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-sand { background: var(--sand); }
.section-cream2 { background: var(--cream-2); }

.divider-arch {
  height: 54px;
  background: var(--cream);
  position: relative;
}
.divider-arch::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 54px;
  background: var(--sand);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: 999px;
  padding: 0.85rem 1.65rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease),
    color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  line-height: 1.2;
}
.btn svg { flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-brand {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 14px 26px -16px rgba(11, 42, 31, 0.85);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--clay-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 32px -18px rgba(164, 79, 43, 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 33, 27, 0.28);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-clay {
  background: var(--clay);
  color: #fff;
}
.btn-clay:hover { background: var(--forest); color: var(--cream); transform: translateY(-2px); }

.btn-cream {
  background: var(--cream);
  color: var(--forest-deep);
}
.btn-cream:hover { background: var(--clay-soft); color: var(--forest-deep); transform: translateY(-2px); }

.btn-outline-cream {
  background: transparent;
  border-color: rgba(251, 247, 241, 0.4);
  color: var(--cream);
}
.btn-outline-cream:hover {
  background: rgba(251, 247, 241, 0.1);
  border-color: var(--cream);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-sm-pill { padding: 0.62rem 1.15rem; font-size: 0.84rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--clay-deep); border-bottom-color: currentColor; }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-deep);
  color: rgba(251, 247, 241, 0.82);
  font-size: 0.755rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar .container-fluid-xl { min-height: 40px; }
.topbar a { color: rgba(251, 247, 241, 0.82); }
.topbar a:hover { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .tb-dot { color: var(--clay); margin: 0 0.55rem; opacity: 0.8; }
.topbar .tb-note { color: var(--clay-soft); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 12px 30px -24px rgba(20, 33, 27, 0.65); }
.site-header .navbar { padding: 0.55rem 0; min-height: var(--header-h); }

/* Logo — single line, one consistent style */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  white-space: nowrap;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1;
  text-transform: none;
}
.brand:hover { color: var(--ink); }
.brand .brand-mark { flex: 0 0 auto; display: block; }
.brand .brand-word { display: inline-block; }
.brand .brand-word span { font: inherit; color: inherit; letter-spacing: inherit; }
.navbar-footer-logo .brand { font-size: 1.3rem; }

.nav-main { gap: 0.15rem; }
.nav-main .nav-link {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  padding: 0.6rem 0.85rem !important;
  position: relative;
  letter-spacing: -0.005em;
}
.nav-main .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.32rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--clay);
  transition: width 0.28s var(--ease), left 0.28s var(--ease);
}
.nav-main .nav-link:hover { color: var(--ink); }
.nav-main .nav-link:hover::after { width: 18px; left: calc(50% - 9px); }
.nav-main .nav-link.active { color: var(--forest); font-weight: 700; }
.nav-main .nav-link.active::after { width: 22px; left: calc(50% - 11px); }

.header-cta { margin-left: 0.75rem; }
.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  color: var(--ink);
}
.navbar-toggler:focus { box-shadow: none; }

/* mobile offcanvas */
.offcanvas-menu {
  background: var(--cream);
  width: min(90vw, 380px);
  border: 0;
}
.offcanvas-menu .offcanvas-header { padding: 1.35rem 1.5rem; border-bottom: 1px solid var(--line-soft); }
.offcanvas-menu .offcanvas-body { padding: 1.5rem; display: flex; flex-direction: column; }
.oc-nav { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.oc-nav li + li { border-top: 1px solid var(--line-soft); }
.oc-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--ink);
}
.oc-nav a:hover, .oc-nav a.active { color: var(--clay-deep); }
.oc-contact { font-size: 0.9rem; color: var(--ink-soft); margin-top: auto; }
.oc-contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--forest); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4.6rem) 0 clamp(3rem, 6vw, 5.4rem);
  background:
    radial-gradient(58% 62% at 92% 4%, rgba(194, 102, 61, 0.14), transparent 64%),
    radial-gradient(48% 58% at 3% 92%, rgba(169, 185, 164, 0.28), transparent 66%),
    var(--cream);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(18, 58, 43, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.hero-copy { max-width: 34rem; }
.hero h1 { margin-bottom: 1.35rem; }
.hero h1 .line { display: block; }
.hero .lede { font-size: 1.075rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.9rem 0 2.1rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.45rem 1.35rem; }
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  list-style: none;
}
.hero-badges li svg { color: var(--clay-deep); flex: 0 0 auto; }

.hero-media { position: relative; }
.arch-frame {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sand-deep);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1.06;
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}
.arch-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 42, 31, 0) 52%, rgba(11, 42, 31, 0.32) 100%);
  pointer-events: none;
}
.hero-media.wide .arch-frame { aspect-ratio: 4 / 3.35; border-radius: 220px 220px 26px 26px; }

.hero-float {
  position: absolute;
  left: -1.65rem;
  bottom: 2.2rem;
  background: rgba(255, 253, 250, 0.93);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 17rem;
}
.hero-float .hf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.hero-float strong { display: block; font-size: 0.93rem; line-height: 1.3; color: var(--ink); }
.hero-float span { font-size: 0.78rem; color: var(--muted); }

.hero-seal {
  position: absolute;
  right: -10px;
  top: -18px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 18px 34px -20px rgba(164, 79, 43, 0.9);
  transform: rotate(-8deg);
}
.hero-seal svg { margin-bottom: 2px; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--forest-deep);
  color: rgba(251, 247, 241, 0.9);
  padding: 0.95rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  padding-right: 2.1rem;
}
.marquee-item {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2.1rem;
}
.marquee-item::after { content: "\273B"; color: var(--clay-soft); font-size: 0.9rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section heading ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { margin-bottom: 0.9rem; }
.section-head .lede { margin-bottom: 0; }

/* ---------- Service cards ---------- */
.card-service {
  height: 100%;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
}
.card-service:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 58, 43, 0.18);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sand);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.card-service:hover .card-media img { transform: scale(1.06); }
.card-media .chip {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251, 247, 241, 0.94);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.card-body-svc { padding: 1.45rem 1.5rem 1.6rem; display: flex; flex-direction: column; height: 100%; }
.card-body-svc h3 { font-size: 1.24rem; margin-bottom: 0.6rem; letter-spacing: -0.018em; }
.card-body-svc p { font-size: 0.925rem; color: var(--ink-soft); line-height: 1.68; margin-bottom: 1.25rem; }
.card-body-svc .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature / value lists ---------- */
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.15rem; }
.value-list li { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--forest);
  border: 1px solid rgba(18, 58, 43, 0.08);
}
.section-dark .value-icon {
  background: rgba(251, 247, 241, 0.09);
  color: var(--clay-soft);
  border-color: rgba(251, 247, 241, 0.14);
}
.value-list h4 { font-size: 1.06rem; margin-bottom: 0.2rem; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.value-list p { font-size: 0.925rem; margin: 0; color: var(--ink-soft); }
.section-dark .value-list p { color: rgba(251, 247, 241, 0.72); }

/* image collage */
.collage { position: relative; padding-bottom: 2.4rem; }
.collage-main {
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-small {
  position: absolute;
  right: -1.1rem;
  bottom: 0;
  width: 46%;
  border-radius: 16px;
  overflow: hidden;
  border: 7px solid var(--cream);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.collage-small img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-badge {
  position: absolute;
  left: -1.2rem;
  top: 12%;
  background: var(--clay);
  color: #fff;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
  max-width: 9.5rem;
}

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .process-grid { grid-template-columns: 1fr; } }

.process-card {
  background: rgba(251, 247, 241, 0.055);
  border: 1px solid rgba(251, 247, 241, 0.13);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  height: 100%;
  position: relative;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.process-card:hover { background: rgba(251, 247, 241, 0.09); transform: translateY(-4px); border-color: rgba(231, 198, 174, 0.4); }
.process-card .p-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(194, 102, 61, 0.16);
  color: var(--clay-soft);
  border: 1px solid rgba(231, 198, 174, 0.32);
  margin-bottom: 1.1rem;
}
.process-card h4 { font-size: 1.14rem; margin-bottom: 0.45rem; font-family: "Fraunces", Georgia, serif; }
.process-card p { font-size: 0.9rem; margin: 0; color: rgba(251, 247, 241, 0.7); }

/* ---------- Split feature (dark or sand bands) ---------- */
.split-media {
  border-radius: 26px 26px 26px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.1;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tick-list { list-style: none; padding: 0; margin: 1.4rem 0 1.9rem; display: grid; gap: 0.7rem; }
.tick-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.tick-list svg { flex: 0 0 auto; margin-top: 0.22rem; color: var(--clay-deep); }
.section-dark .tick-list svg { color: var(--clay-soft); }

/* ---------- Journal / blog cards ---------- */
.card-post {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-post .card-media { aspect-ratio: 16 / 10; }
.card-post .post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.705rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.75rem;
}
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }
.post-meta .cat { color: var(--muted); }
.card-post h3 { font-size: 1.22rem; line-height: 1.24; margin-bottom: 0.65rem; }
.card-post h3 a { color: var(--ink); }
.card-post h3 a:hover { color: var(--clay-deep); }
.card-post p { font-size: 0.915rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.card-post .link-arrow { margin-top: auto; }

.post-featured { display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; }
.post-featured .post-media { min-height: 340px; overflow: hidden; }
.post-featured .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-featured .post-body { padding: clamp(1.8rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.post-featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
@media (max-width: 767.98px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-media { min-height: 240px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 4.5vw, 3.6rem);
  overflow: hidden;
  background-image:
    radial-gradient(70% 120% at 96% 4%, rgba(194, 102, 61, 0.35), transparent 62%),
    radial-gradient(50% 90% at 0% 100%, rgba(169, 185, 164, 0.22), transparent 60%);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(251, 247, 241, 0.18);
  border-radius: 50%;
}
.cta-band h2 { color: var(--cream); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(251, 247, 241, 0.78); margin-bottom: 0; max-width: 46ch; }

/* ---------- Newsletter ---------- */
.newsletter-band {
  background: var(--sand);
  border: 1px dashed rgba(18, 58, 43, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.9rem);
  position: relative;
  overflow: hidden;
}
.newsletter-band h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); margin-bottom: 0.5rem; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form .form-control {
  flex: 1 1 14rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 58, 43, 0.2);
  background: var(--cream-2);
  padding: 0.85rem 1.3rem;
  font-size: 0.95rem;
  color: var(--ink);
  min-height: 52px;
}
.newsletter-form .form-control::placeholder { color: var(--muted); }
.newsletter-form .form-control:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(18, 58, 43, 0.1);
  background: #fff;
}
.newsletter-form .btn { min-height: 52px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(251, 247, 241, 0.72);
  padding: clamp(3rem, 5vw, 4.6rem) 0 0;
  font-size: 0.925rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -100px;
  top: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(251, 247, 241, 0.07);
  border-radius: 50%;
}
.site-footer h5 {
  color: var(--cream);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a { color: rgba(251, 247, 241, 0.72); font-size: 0.915rem; }
.footer-links a:hover { color: var(--clay-soft); }
.footer-brand .brand { color: var(--cream); font-size: 1.28rem; }
.footer-brand .brand:hover { color: var(--cream); }
.footer-blurb { margin: 1.1rem 0 1.4rem; color: rgba(251, 247, 241, 0.66); font-size: 0.915rem; max-width: 32ch; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.92rem; }
.footer-contact a { color: rgba(251, 247, 241, 0.86); }
.footer-contact svg { color: var(--clay-soft); flex: 0 0 auto; margin-top: 0.18rem; }
.social-row { display: flex; gap: 0.5rem; margin-top: 1.4rem; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 241, 0.18);
  display: grid;
  place-items: center;
  color: rgba(251, 247, 241, 0.8);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-row a:hover { background: var(--clay); color: #fff; border-color: var(--clay); transform: translateY(-2px); }
.footer-bottom {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(251, 247, 241, 0.12);
  padding: 1.3rem 0;
  font-size: 0.83rem;
  color: rgba(251, 247, 241, 0.55);
}
.footer-bottom a { color: rgba(251, 247, 241, 0.66); }
.footer-bottom a:hover { color: var(--cream); }
.footer-legal { display: flex; gap: 1.15rem; flex-wrap: wrap; }

/* ---------- Page head (inner pages) ---------- */
.page-head {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  padding: clamp(2.8rem, 5.5vw, 4.6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background-image:
    radial-gradient(60% 100% at 92% 0%, rgba(194, 102, 61, 0.3), transparent 62%),
    radial-gradient(50% 90% at 0% 100%, rgba(169, 185, 164, 0.2), transparent 58%);
}
.page-head h1 { color: var(--cream); margin-bottom: 0.9rem; }
.page-head .lede { color: rgba(251, 247, 241, 0.78); }
.page-head .eyebrow { color: var(--clay-soft); }
.page-head .breadcrumb-wrap { position: relative; z-index: 2; }
.page-head .deco-arch {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 320px;
  height: 420px;
  border: 1px solid rgba(251, 247, 241, 0.16);
  border-radius: 160px 160px 0 0;
  transform: rotate(12deg);
}
.page-head .deco-dot {
  position: absolute;
  right: 22%;
  top: 18%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay-soft);
  opacity: 0.7;
}
.breadcrumb-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(251, 247, 241, 0.6);
  margin-bottom: 1.3rem;
  padding: 0;
  list-style: none;
}
.breadcrumb-mini a { color: rgba(251, 247, 241, 0.8); }
.breadcrumb-mini a:hover { color: #fff; }
.breadcrumb-mini .sep { opacity: 0.45; }
.breadcrumb-mini .current { color: var(--clay-soft); }
.page-head .head-actions { margin-top: 1.6rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- Cards / surfaces ---------- */
.surface {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.surface:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.surface h3, .surface h4 { margin-bottom: 0.55rem; }
.surface p:last-child { margin-bottom: 0; }

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(194, 102, 61, 0.28); }
.info-card .ic-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--sand);
  color: var(--forest);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.info-card h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.info-card p, .info-card a { margin: 0; font-size: 0.98rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.info-card a:hover { color: var(--clay-deep); }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}
.form-label {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.form-label .req { color: var(--clay); }
.form-control, .form-select {
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 27, 0.18);
  background: var(--cream);
  padding: 0.8rem 1rem;
  font-size: 0.96rem;
  color: var(--ink);
  min-height: 50px;
}
.form-control::placeholder { color: #93a09a; }
.form-control:focus, .form-select:focus {
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 58, 43, 0.1);
}
textarea.form-control { min-height: 132px; resize: vertical; }
.form-check-input { border-color: rgba(20, 33, 27, 0.3); }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(18, 58, 43, 0.12); border-color: var(--forest); }
.form-check-label { font-size: 0.9rem; color: var(--ink-soft); }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* interest pills */
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-pill span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(20, 33, 27, 0.18);
  background: var(--cream);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.855rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  line-height: 1.3;
}
.check-pill span::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 4px;
  border: 1.5px solid rgba(20, 33, 27, 0.3);
  background: transparent;
  transition: all 0.2s var(--ease);
  flex: 0 0 auto;
}
.check-pill input:checked + span {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.check-pill input:checked + span::before {
  background: var(--clay-soft);
  border-color: var(--clay-soft);
  box-shadow: inset 0 0 0 2px var(--forest);
}
.check-pill input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.form-alert {
  border-radius: 16px;
  border: 1px solid rgba(18, 58, 43, 0.18);
  background: rgba(169, 185, 164, 0.2);
  color: var(--forest-deep);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.94rem;
}
.form-alert svg { flex: 0 0 auto; margin-top: 0.15rem; color: var(--forest); }

/* ---------- Accordion ---------- */
.accordion-custom .accordion-item {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-custom .accordion-button {
  background: transparent;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  padding: 1.2rem 1.35rem;
  box-shadow: none;
  letter-spacing: -0.01em;
}
.accordion-custom .accordion-button:not(.collapsed) { color: var(--clay-deep); background: rgba(242, 233, 220, 0.5); }
.accordion-custom .accordion-button:focus { box-shadow: none; border: 0; }
.accordion-custom .accordion-body { padding: 0.35rem 1.35rem 1.35rem; color: var(--ink-soft); font-size: 0.94rem; }
.accordion-custom .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  transition: transform 0.3s var(--ease);
}

/* ---------- Journal article ---------- */
.article-head { padding: clamp(2.4rem, 4vw, 3.6rem) 0 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1.1rem; }
.article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 8.4;
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { max-width: 46rem; font-size: 1.055rem; line-height: 1.85; color: var(--ink-soft); }
.article-body h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin: 2.4rem 0 0.9rem; color: var(--ink); }
.article-body h3 { font-size: 1.28rem; margin: 1.9rem 0 0.7rem; color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; letter-spacing: -0.012em; }
.article-body p { margin-bottom: 1.15rem; }
.article-body > p:first-of-type::first-letter {
  font-family: "Fraunces", Georgia, serif;
  float: left;
  font-size: 3.6rem;
  line-height: 0.82;
  padding: 0.12em 0.12em 0 0;
  color: var(--forest);
  font-weight: 500;
}
.article-body ul, .article-body ol { padding-left: 1.15rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--ink); }
.quote {
  margin: 2rem 0;
  padding: 1.5rem 1.6rem;
  background: var(--sand);
  border-left: 3px solid var(--clay);
  border-radius: 0 16px 16px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.24rem;
  line-height: 1.5;
  color: var(--forest-deep);
}
.quote cite { display: block; margin-top: 0.8rem; font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.78rem; font-style: normal; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: 18px; width: 100%; }
.article-body figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(18, 58, 43, 0.08);
}
.aside-card h5 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; font-weight: 700; }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.aside-links a { font-size: 0.93rem; font-weight: 600; color: var(--ink); display: flex; gap: 0.5rem; }
.aside-links a:hover { color: var(--clay-deep); }
.author-box { display: flex; gap: 1rem; align-items: center; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: 18px; padding: 1.2rem 1.35rem; }
.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--clay-soft);
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.author-box strong { display: block; font-size: 0.98rem; }
.author-box span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal-body { font-size: 0.985rem; line-height: 1.82; color: var(--ink-soft); }
.legal-body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.78rem);
  margin: 2.4rem 0 0.8rem;
  padding-top: 0.4rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--ink); }
.legal-body ul { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.legal-body li { margin-bottom: 0.45rem; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.toc h5 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.1rem; counter-reset: toc; }
.toc a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.45rem 0.7rem;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
}
.toc a:hover { background: var(--sand); color: var(--forest); border-left-color: var(--clay); }
.updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(169, 185, 164, 0.25);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Values / team ---------- */
.value-card { text-align: left; }
.value-card .v-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--forest);
  margin-bottom: 1.1rem;
  border: 1px solid rgba(18, 58, 43, 0.08);
}
.team-card {
  text-align: center;
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.3rem;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-mono {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  color: var(--cream);
  background: var(--forest);
  box-shadow: inset 0 0 0 4px rgba(251, 247, 241, 0.14);
}
.team-card:nth-child(even) .team-mono { background: var(--clay); }
.team-card h4 { font-size: 1.06rem; margin-bottom: 0.15rem; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; }
.team-card .role { font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--clay-deep); }
.team-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0.75rem 0 0; }

/* ---------- Map illustration ---------- */
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
  position: relative;
  border: 1px solid rgba(18, 58, 43, 0.2);
}
.map-card { aspect-ratio: 4 / 3; width: 100%; }
.map-card svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.map-overlay {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  background: rgba(11, 42, 31, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(251, 247, 241, 0.16);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.map-overlay p { margin: 0; font-size: 0.86rem; color: rgba(251, 247, 241, 0.85); }
.map-overlay strong { color: var(--cream); font-size: 0.92rem; display: block; }

/* ---------- Newsletter / subscribe page ---------- */
.subscribe-wrap { max-width: 46rem; margin-inline: auto; }
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.benefit-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.benefit-list svg { color: var(--clay-deep); flex: 0 0 auto; margin-top: 0.2rem; }
.step-rail { display: grid; gap: 1rem; }
.step-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--forest);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.step-item h5 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.98rem; font-weight: 700; margin-bottom: 0.15rem; }
.step-item p { font-size: 0.88rem; margin: 0; color: var(--ink-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 241, 0.2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
  z-index: 1040;
  cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--clay-deep); color: #fff; }

/* ---------- Utilities ---------- */
.container-fluid-xl { max-width: 1320px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.6rem); width: 100%; }
.rounded-arch { border-radius: var(--arch); overflow: hidden; }
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-sand { background: var(--sand); }
.hr-soft { border: 0; border-top: 1px solid var(--line-soft); margin: 2.2rem 0; }
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(18, 58, 43, 0.07);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.34rem 0.8rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mt-6 { margin-top: 4rem; }
.mb-6 { margin-bottom: 4rem; }


/* ---------- Wide service card ---------- */
.card-service-wide .card-media { aspect-ratio: auto; height: 100%; min-height: 300px; }
.card-service-wide .card-body-svc { justify-content: center; }
.card-service-wide h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.card-service-wide p { font-size: 0.98rem; max-width: 46ch; }
@media (max-width: 767.98px) {
  .card-service-wide .card-media { min-height: 220px; aspect-ratio: 16 / 10; }
}

/* ---------- Breadcrumbs on light backgrounds ---------- */
.breadcrumb-mini.breadcrumb-on-light { color: var(--muted); }
.breadcrumb-mini.breadcrumb-on-light a { color: var(--ink-soft); }
.breadcrumb-mini.breadcrumb-on-light a:hover { color: var(--clay-deep); }
.breadcrumb-mini.breadcrumb-on-light .current { color: var(--clay-deep); }

/* ---------- TOC active ---------- */
.toc a.active {
  background: var(--sand);
  color: var(--forest);
  border-left-color: var(--clay);
  font-weight: 600;
}

/* ---------- Form fieldset / legend ---------- */
legend.form-label { float: none; width: auto; padding: 0; margin-bottom: 0.6rem; font-size: 0.79rem; }

/* ---------- Dark-band eyebrow ---------- */
.section-dark .eyebrow, .cta-band .eyebrow { color: var(--clay-soft); }

/* ---------- Article spacing ---------- */
.article-head .lede { max-width: 52ch; }
.article-hero + .section, .article-hero { margin-bottom: 0; }
.article-body .newsletter-band .newsletter-form .form-control { background: var(--cream-2); }

/* ---------- Accordion heading reset ---------- */
.accordion-custom .accordion-header { margin: 0; }
.accordion-custom .accordion-header h3 { font-size: inherit; margin: 0; font-family: inherit; }


/* ---------- Refinements ---------- */
.section, .page-head, main section[id] { scroll-margin-top: calc(var(--header-h) + 1.2rem); }
.pill-label { align-self: flex-start; }
.card-service-wide .chip { left: 1.15rem; bottom: 1.15rem; }
.page-head .updated-pill {
  background: rgba(251, 247, 241, 0.13);
  color: var(--cream);
  border: 1px solid rgba(251, 247, 241, 0.26);
}
.page-head .updated-pill svg { color: var(--clay-soft); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cta-band .cta-actions .btn { margin: 0 !important; }
@media (min-width: 992px) { .cta-band .cta-actions { justify-content: flex-end; } }
@media (min-width: 992px) { .map-card { min-height: 340px; } }
.map-overlay { padding: 0.75rem 0.9rem; }
.map-overlay p { font-size: 0.8rem; line-height: 1.45; }
.map-overlay strong { font-size: 0.88rem; }
.nav-main .nav-link { line-height: 1.2; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero-float { left: 0.4rem; }
  .collage-badge { left: 0; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 70px; }
  .hero { padding-top: 2rem; }
  .hero-copy { max-width: none; margin-bottom: 2.6rem; }
  .hero-media { max-width: 34rem; margin-inline: auto; }
  .hero-seal { right: 0; width: 92px; height: 92px; font-size: 0.61rem; }
  .collage { max-width: 34rem; margin-inline: auto; }
  .article-aside { position: static; margin-top: 2.2rem; }
  .toc { position: static; margin-bottom: 2rem; }
  .header-cta { display: none; }
}

@media (max-width: 767.98px) {
  .topbar { font-size: 0.7rem; }
  .topbar .tb-note, .topbar .tb-dot { display: none; }
  .arch-frame { border-radius: 180px 180px 22px 22px; }
  .hero-seal { display: none; }
  .hero-float { position: static; margin-top: 1.2rem; max-width: none; }
  .cta-band::after { display: none; }
  .article-body > p:first-of-type::first-letter { font-size: 2.9rem; }
}

@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .info-card { flex-direction: column; gap: 0.7rem; padding: 1rem; }
  .info-card .ic-icon { width: 38px; height: 38px; border-radius: 11px; }
  .team-card { padding: 1.4rem 1rem; }
  .newsletter-form .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-bottom { text-align: center; justify-content: center; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .to-top, .marquee, .newsletter-band, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
