/* ============================================================
   ZEN WEALTH - Classic Boutique site stylesheet
   Builds on brand.css. Centered, symmetrical, heritage feel.
   Responsive: reflows cleanly from 1440 down to ~360.
   ============================================================ */

html { scroll-behavior: smooth; }
body.zw { font-size: clamp(15px, 1.05vw, 17px); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 80px);
}
.container--narrow { max-width: 940px; }
.center { text-align: center; }
.measure { max-width: 680px; margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--bone-soft { background: var(--zw-bone-soft); }
.section--line { border-top: 1px solid var(--zw-line); border-bottom: 1px solid var(--zw-line); }
.section--ink { background: var(--zw-ink); color: var(--zw-bone); }
.section--olive { background: var(--zw-olive); color: var(--zw-bone); }

/* ---------- Type scale ---------- */
.display-xl {
  font-family: var(--zw-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
  font-size: clamp(40px, 6vw, 78px);
}
.display-xl .accent { line-height: inherit; }
.display-lg {
  font-family: var(--zw-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 4.6vw, 60px);
}
.display-md {
  font-family: var(--zw-display);
  font-weight: 400;
  line-height: 1.12;
  font-size: clamp(28px, 3.4vw, 44px);
}
.display-sm {
  font-family: var(--zw-display);
  font-weight: 400;
  line-height: 1.15;
  font-size: clamp(23px, 2.4vw, 30px);
}
.accent { font-family: var(--zw-serif); font-weight: 300; color: var(--zw-olive); font-style: italic; }
.section--ink .accent, .section--olive .accent { color: inherit; }
.lead {
  font-family: var(--zw-serif);
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--zw-ink-soft);
}
.section--ink .lead { color: rgba(241,241,240,0.80); }
.section--olive .lead { color: rgba(241,241,240,0.88); }
.body-text { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; color: var(--zw-ink-soft); }
.body-text p + p { margin-top: 1.1em; }

/* ---------- Ornamental rule (diamond divider) ---------- */
.orn-rule {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-block: clamp(20px, 3vw, 28px);
}
.orn-rule__line { flex: 1; max-width: 120px; height: 1px; background: var(--zw-line); }
.orn-rule__dot { width: 6px; height: 6px; background: var(--zw-olive); transform: rotate(45deg); }
.section--ink .orn-rule__line, .section--olive .orn-rule__line { background: rgba(241,241,240,0.28); }
.section--ink .orn-rule__dot, .section--olive .orn-rule__dot { background: var(--zw-bone); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--zw-body);
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 16px 26px;
  font-size: 14px;
  transition: background .25s ease, color .25s ease, opacity .2s ease, border-color .25s ease;
  cursor: pointer;
}
.btn--whatsapp { background: var(--zw-olive); color: var(--zw-bone); }
.btn--whatsapp:hover { background: var(--zw-ink); }
.btn--whatsapp-bone { background: var(--zw-bone); color: var(--zw-olive); }
.btn--whatsapp-bone:hover { opacity: 0.86; }
.btn--ink { background: var(--zw-ink); color: var(--zw-bone); }
.btn--ink:hover { opacity: 0.86; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  border: 1px solid var(--zw-ink);
  color: var(--zw-ink);
  font-family: var(--zw-body);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px;
  transition: all .25s ease;
}
.btn-ghost:hover { background: var(--zw-ink); color: var(--zw-bone); }
.btn-ghost--bone { border-color: rgba(241,241,240,0.6); color: var(--zw-bone); }
.btn-ghost--bone:hover { background: var(--zw-bone); color: var(--zw-ink); border-color: var(--zw-bone); }
.btn .ico { width: 16px; height: 16px; flex: none; }

/* inline italic serif link */
.link-serif {
  font-family: var(--zw-serif); font-style: italic;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--zw-olive);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: opacity .2s;
}
.link-serif:hover { opacity: 0.65; }

/* ---------- Cairn mark ---------- */
.cairn { display: block; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: relative;
  background: var(--zw-bone);
  border-bottom: 1px solid var(--zw-line);
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 30px 0;
}
.brand {
  display: flex; flex-direction: column; align-items: center;
  color: var(--zw-ink); text-align: center;
}
.brand__logo { display: block; width: auto; height: 132px; }
.brand__name {
  font-family: var(--zw-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.3em;
  margin-top: 12px;
  padding-left: 0.3em; /* optical balance for letter-spacing */
  white-space: nowrap;
  line-height: 1;
}
.brand__tag {
  font-family: var(--zw-serif); font-style: italic;
  font-size: 13px; opacity: 0.7; margin-top: 5px; letter-spacing: 0.06em;
}
.mainnav {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 50px);
  margin-top: 28px;
  padding-block: 18px;
  width: 100%;
  border-top: 1px solid var(--zw-line-soft);
}
.mainnav a {
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--zw-ink); position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.mainnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--zw-olive); transition: width .25s ease;
}
.mainnav a:hover { color: var(--zw-olive); }
.mainnav a:hover::after,
.mainnav a[aria-current="page"]::after { width: 100%; }
.mainnav a[aria-current="page"] { color: var(--zw-olive); }
.mainnav .nav-cta { margin-left: 6px; }
.mainnav a.nav-cta { text-transform: none; letter-spacing: 0.04em; font-size: 13px; color: var(--zw-bone); padding-block: 13px; }
.mainnav a.nav-cta::after { display: none; }
.mainnav a.nav-cta:hover { color: var(--zw-bone); }

.nav-toggle {
  display: none;
  position: absolute; top: 28px; right: clamp(20px, 5vw, 40px);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--zw-line);
  border-radius: 999px;
  color: var(--zw-ink);
}

@media (max-width: 880px) {
  .header-inner { padding-block: 18px; }
  .nav-toggle { display: inline-flex; }
  .brand { flex-direction: row; gap: 12px; }
  .brand__logo { height: 64px; }
  .brand__name { margin-top: 0; font-size: 21px; letter-spacing: 0.22em; padding-left: 0.22em; }
  .brand__tag { display: none; }
  .mainnav {
    display: none;
    flex-direction: column; gap: 4px; margin-top: 16px;
    border-top: 1px solid var(--zw-line);
    padding-block: 12px 4px;
  }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 0; font-size: 13px; }
  .mainnav a::after { display: none; }
  .mainnav .nav-cta { margin: 10px 0 6px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(60px, 8vw, 116px) clamp(48px, 6vw, 80px); text-align: center; }
.hero .eyebrow { margin-bottom: 26px; }
.hero .display-xl { max-width: 14ch; margin-inline: auto; }
.hero .lead { max-width: 640px; margin: 30px auto 0; }
.hero .btn-row { margin-top: 40px; }

.hero-figure { margin-top: clamp(40px, 5vw, 64px); }

/* Full-bleed image hero - image + colour break above the fold */
.hero--image {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(72px, 11vh, 132px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(35,36,32,0.62) 0%, rgba(35,36,32,0.40) 42%, rgba(35,36,32,0.66) 100%),
    radial-gradient(120% 80% at 50% 38%, transparent 40%, rgba(35,36,32,0.30) 100%);
}
.hero__content { position: relative; z-index: 1; color: var(--zw-bone); }
.hero--image .display-xl { max-width: 15ch; margin-inline: auto; color: var(--zw-bone); }
.hero--image .accent { color: var(--zw-bone); margin-top: 6px; }
.hero--image .lead { max-width: 600px; margin: 26px auto 0; color: rgba(241,241,240,0.88); }
.hero--image .btn-row { margin-top: 38px; }
.hero--image .orn-rule { margin-top: clamp(34px, 5vh, 52px); }
.hero--image .orn-rule__line { background: rgba(241,241,240,0.42); }
.hero--image .orn-rule__dot { background: var(--zw-bone); }
@media (max-width: 600px) {
  .hero--image { min-height: 0; padding-block: clamp(56px, 9vh, 96px); }
}

/* placeholder image override sizing helpers */
.zw-img { width: 100%; }
.img-hero { aspect-ratio: 16 / 7; }
.img-tall { aspect-ratio: 4 / 5; }
.img-wide { aspect-ratio: 3 / 2; }
.img-card { aspect-ratio: 3 / 2; }
@media (max-width: 700px) {
  .img-hero { aspect-ratio: 4 / 3; }
}

/* ============================================================
   LOGO MARQUEE (Trusted Partners)
   ============================================================ */
.proof { padding-block: clamp(40px, 5vw, 56px); overflow: hidden; }
.proof__label { text-align: center; margin-bottom: 30px; }
.marquee { position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 84px);
  width: max-content;
  animation: zw-marquee 32s linear infinite;
}
.marquee__item {
  font-family: var(--zw-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.06em;
  color: var(--zw-ink); opacity: 0.55;
  white-space: nowrap;
}
.marquee__logo { height: 32px; width: auto; flex: 0 0 auto; object-fit: contain; opacity: 0.82; }
.marquee__logo--square { height: 44px; }
@keyframes zw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================
   SECTION HEADING BLOCK
   ============================================================ */
.section-head { text-align: center; margin-bottom: clamp(44px, 5vw, 70px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 22px; }

/* ============================================================
   PAIN / EMPATHY TILES
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.tile {
  border: 1px solid var(--zw-line);
  background: var(--zw-bone);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 36px);
  text-align: center;
}
.tile__num {
  font-family: var(--zw-display); font-size: 13px; letter-spacing: 0.3em;
  color: var(--zw-olive); margin-bottom: 18px;
}
.tile__q {
  font-family: var(--zw-serif); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--zw-ink);
}

/* ============================================================
   SERVICE TILES (6-up)
   ============================================================ */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--zw-line);
  background: var(--zw-line);
  gap: 1px;
}
.svc-cell {
  background: var(--zw-bone);
  padding: clamp(30px, 3vw, 46px) clamp(26px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .25s ease;
}
.svc-cell:hover { background: var(--zw-bone-soft); }
.svc-cell__icon { color: var(--zw-olive); width: 30px; height: 30px; }
.svc-cell h3 { font-family: var(--zw-display); font-size: clamp(22px, 2vw, 26px); }
.svc-cell p { font-family: var(--zw-serif); font-style: italic; font-size: 16px; color: var(--zw-ink-soft); line-height: 1.5; }

/* ============================================================
   PILLARS (Why Zen Wealth / Values)
   ============================================================ */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.pillar { text-align: center; }
.pillar__mark {
  width: 54px; height: 54px; margin: 0 auto 22px;
  border: 1px solid var(--zw-olive); border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--zw-olive);
}
.pillar__mark .ico { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--zw-display); font-size: clamp(22px, 2vw, 28px); margin-bottom: 14px; }
.pillar p { font-size: 15.5px; line-height: 1.65; color: var(--zw-ink-soft); }
.section--ink .pillar p { color: rgba(241,241,240,0.75); }
.section--ink .pillar__mark { border-color: rgba(241,241,240,0.5); color: var(--zw-bone); }

/* ============================================================
   STAT STRIP (dark)
   ============================================================ */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(241,241,240,0.16);
  border-bottom: 1px solid rgba(241,241,240,0.16);
  max-width: 1000px; margin: clamp(40px,5vw,56px) auto 0;
}
.stat { padding: 36px 22px; text-align: center; border-right: 1px solid rgba(241,241,240,0.16); }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--zw-display); font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 6px; }
.stat__l { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.62; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); margin-top: 16px; }
.quote { }
.quote__mark { font-family: var(--zw-display); font-size: 52px; color: var(--zw-olive); opacity: 0.4; line-height: .5; margin-bottom: 18px; }
.quote__text {
  font-family: var(--zw-serif); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 1.8vw, 23px); line-height: 1.55; color: var(--zw-ink); margin-bottom: 22px;
}
.quote__who { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--zw-ink-soft); }
.placeholder-flag {
  display: inline-block; margin-top: 28px;
  font-family: var(--zw-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--zw-olive); border: 1px dashed var(--zw-ink-faint); border-radius: 999px; padding: 7px 14px;
}

/* ============================================================
   CTA BANNER (olive)
   ============================================================ */
.cta-banner { text-align: center; }
.cta-banner .display-lg { max-width: 16ch; margin: 0 auto 26px; }
.cta-banner .lead { max-width: 580px; margin: 0 auto 40px; }

/* Photographic CTA band - image + dark scrim, separates a dark CTA from the footer */
.section--cta-image { position: relative; overflow: hidden; isolation: isolate; }
.section--cta-image .cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; z-index: -2;
}
.section--cta-image .cta-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(35,36,32,0.86) 0%, rgba(35,36,32,0.72) 50%, rgba(35,36,32,0.88) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(35,36,32,0.30) 30%, rgba(35,36,32,0.66) 100%);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header { text-align: center; padding-block: clamp(64px, 8vw, 104px) clamp(40px, 4vw, 56px); }
.page-header .eyebrow { margin-bottom: 22px; }
.page-header .display-xl {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.32;
  padding-bottom: 0.75em;
  max-width: 18ch;
}
.page-header .lead { margin: 24px auto 0; max-width: 660px; }

/* Photographic page-header band — full-bleed image + scrim, bone text */
.page-header--image {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center;
  padding-block: clamp(104px, 15vh, 200px);
  margin-bottom: clamp(8px, 2vw, 24px);
}
.page-header--image .page-header__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 36%; z-index: -2;
}
.page-header--image .page-header__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(35,36,32,0.74) 0%, rgba(35,36,32,0.52) 45%, rgba(35,36,32,0.80) 100%),
    radial-gradient(120% 90% at 50% 42%, rgba(35,36,32,0.18) 35%, rgba(35,36,32,0.58) 100%);
}
.page-header--image .display-xl,
.page-header--image .accent { color: var(--zw-bone); }
.page-header--image .lead { color: rgba(241,241,240,0.90); }

/* ============================================================
   SERVICE DETAIL ROWS (What We Do)
   ============================================================ */
.svc-block { padding-block: clamp(48px, 5vw, 72px); }
.svc-block + .svc-block { border-top: 1px solid var(--zw-line); }
.svc-label {
  text-align: center; margin-bottom: clamp(36px, 4vw, 52px);
}
.svc-label .eyebrow { margin-bottom: 14px; }
.svc-detail {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px); align-items: start;
  max-width: 1040px; margin-inline: auto;
}
.svc-detail--flip .svc-detail__media { order: 2; }
.svc-detail__body h3 { font-family: var(--zw-display); font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 18px; line-height: 1.14; }
.svc-detail__body .body-text { margin-bottom: 24px; }
.feature-list { display: grid; gap: 11px; }
.feature-list li {
  position: relative; padding-left: 22px;
  font-family: var(--zw-serif); font-size: clamp(15px, 1.2vw, 17px); color: var(--zw-ink); line-height: 1.4;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; background: var(--zw-olive); transform: rotate(45deg);
}
.feature-list li em { font-style: italic; color: var(--zw-ink-soft); }

/* sub-services that don't need media - simple stacked cards */
.svc-stack { max-width: 920px; margin-inline: auto; display: grid; gap: clamp(28px, 3vw, 44px); }
.svc-item h3 { font-family: var(--zw-display); font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 16px; }
.svc-item .body-text { margin-bottom: 20px; }

/* SEO hook callout */
.seo-hook {
  max-width: 920px; margin: clamp(32px,4vw,44px) auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 32px; background: var(--zw-bone-soft); border: 1px solid var(--zw-line);
}
.seo-hook__q { font-family: var(--zw-serif); font-style: italic; font-size: clamp(17px, 1.6vw, 21px); color: var(--zw-ink); }

/* ============================================================
   VALUES / TEAM / COMPLIANCE (About)
   ============================================================ */
.story { max-width: 760px; margin-inline: auto; }
.story .body-text { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.team-card { text-align: center; }
.team-card .zw-img { aspect-ratio: 4 / 5; margin-bottom: 22px; }
.team-card h3 { font-family: var(--zw-display); font-size: 26px; margin-bottom: 4px; }
.team-card .role { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--zw-olive); margin-bottom: 14px; }
.team-card p { font-family: var(--zw-serif); font-style: italic; font-size: 15.5px; color: var(--zw-ink-soft); line-height: 1.5; }

.note-card {
  max-width: 820px; margin: clamp(40px,5vw,56px) auto 0;
  border-left: 2px solid var(--zw-olive); background: var(--zw-bone-soft);
  padding: 28px 34px;
}
.note-card .eyebrow { margin-bottom: 12px; }
.note-card p { font-size: 15.5px; line-height: 1.7; color: var(--zw-ink-soft); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(36px,4vw,48px); }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--zw-line); border-radius: 999px;
  padding: 13px 22px; font-size: 13px; letter-spacing: 0.08em;
  color: var(--zw-ink); background: var(--zw-bone);
}
.badge .ico { width: 16px; height: 16px; color: var(--zw-olive); }
.section--ink .badge { border-color: rgba(241,241,240,0.28); color: var(--zw-bone); background: transparent; }
.section--ink .badge .ico { color: var(--zw-bone); }

/* ============================================================
   PARTNER CARDS
   ============================================================ */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 36px); }
.partner-card {
  border: 1px solid var(--zw-line); background: var(--zw-bone);
  padding: clamp(30px, 3vw, 44px);
  display: flex; flex-direction: column;
}
.partner-card__logo {
  height: 86px; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--zw-line); margin-bottom: 26px;
}
.partner-card__logo span {
  font-family: var(--zw-display); font-size: 30px; letter-spacing: 0.04em; color: var(--zw-ink);
}
.partner-card__logo small {
  display:block; font-family: var(--zw-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--zw-ink-faint); margin-top: 6px; text-align: center;
}
.partner-card h3 { font-family: var(--zw-display); font-size: 28px; margin-bottom: 14px; }
.partner-card .body-text { margin-bottom: 22px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--zw-olive); border: 1px solid var(--zw-olive-soft);
  background: var(--zw-olive-soft); border-radius: 999px; padding: 7px 14px;
}
.partner-logo-img { max-width: 78%; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.partner-logo-img--square { max-height: 72px; }
.partner-logo-svg { max-width: 78%; max-height: 40px; width: auto; height: auto; }
.partner-card--feature .partner-logo-img { max-height: 120px; }
.partner-card--feature { grid-column: 1 / -1; }
.partner-card--feature .partner-inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 4vw, 56px); align-items: center;
}
.partner-card--feature .partner-card__logo { border-bottom: 0; border-right: 1px solid var(--zw-line); margin: 0; height: 100%; min-height: 160px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 4px; }
.contact-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid var(--zw-line);
}
.contact-row:first-child { border-top: 1px solid var(--zw-line); }
.contact-row__ico {
  width: 44px; height: 44px; flex: none; border-radius: 999px;
  border: 1px solid var(--zw-olive); color: var(--zw-olive);
  display: flex; align-items: center; justify-content: center;
}
.contact-row__ico .ico { width: 20px; height: 20px; }
.contact-row__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--zw-olive); margin-bottom: 7px; }
.contact-row__val { font-family: var(--zw-serif); font-size: clamp(18px, 1.7vw, 22px); color: var(--zw-ink); line-height: 1.4; }
.contact-row__sub { font-size: 14px; color: var(--zw-ink-soft); margin-top: 4px; }
.contact-aside .zw-img { aspect-ratio: 3 / 4; }
.placeholder-val { color: var(--zw-ink-faint); font-style: italic; }

.compliance-strip {
  text-align: center; max-width: 820px; margin-inline: auto;
  font-size: 13.5px; line-height: 1.7; color: var(--zw-ink-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--zw-ink); color: var(--zw-bone); padding-block: clamp(56px, 6vw, 76px) 30px; }
.footer-brand { text-align: center; margin-bottom: 52px; }
.footer-brand .cairn { color: var(--zw-bone); width: 42px; height: 40px; margin: 0 auto; }
.footer-brand__name { font-family: var(--zw-display); font-size: 22px; letter-spacing: 0.3em; margin-top: 12px; padding-left: 0.3em; }
.footer-brand__tag { font-family: var(--zw-serif); font-style: italic; font-size: 13px; opacity: 0.65; margin-top: 5px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(241,241,240,0.16);
}
.footer-cols h4 { font-family: var(--zw-body); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(241,241,240,0.5); margin-bottom: 18px; font-weight: 500; }
.footer-cols ul { display: flex; flex-direction: column; gap: 11px; }
.footer-cols a, .footer-cols li { font-size: 14px; color: var(--zw-bone); opacity: 0.78; transition: opacity .2s; }
.footer-cols a:hover { opacity: 1; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; font-size: 12px; letter-spacing: 0.05em; color: rgba(241,241,240,0.5);
}
.footer-base a { color: inherit; border-bottom: 1px solid rgba(241,241,240,0.25); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .partner-card--feature .partner-inner { grid-template-columns: 1fr; }
  .partner-card--feature .partner-card__logo { border-right: 0; border-bottom: 1px solid var(--zw-line); min-height: 0; height: 86px; padding-bottom: 26px; margin-bottom: 26px; }
}
@media (max-width: 860px) {
  .tiles, .pillars, .svc-grid, .team-grid { grid-template-columns: 1fr; }
  .svc-grid { gap: 1px; }
  .quotes { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(241,241,240,0.16); }
  .svc-detail { grid-template-columns: 1fr; gap: 28px; }
  .svc-detail--flip .svc-detail__media { order: 0; }
  .partner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 8px; }
  .btn-row--center { flex-direction: column; align-items: center; }
  .btn, .btn-ghost { width: 100%; max-width: 340px; justify-content: center; }
  .seo-hook { flex-direction: column; align-items: flex-start; }
}


/* === v7 patch === contrast fixes on dark sections + real images === */
/* Olive buttons vanish on dark backgrounds - flip to bone on ink/olive sections */
.section--ink .btn--whatsapp,
.section--olive .btn--whatsapp { background: var(--zw-bone); color: var(--zw-olive); }
.section--ink .btn--whatsapp:hover,
.section--olive .btn--whatsapp:hover { background: var(--zw-bone-deep); color: var(--zw-olive); }
.section--ink .btn-ghost,
.section--olive .btn-ghost { border-color: rgba(241,241,240,0.6); color: var(--zw-bone); }
.section--ink .btn-ghost:hover,
.section--olive .btn-ghost:hover { background: var(--zw-bone); color: var(--zw-ink); border-color: var(--zw-bone); }
.section--ink .link-serif,
.section--olive .link-serif { color: var(--zw-bone); border-bottom-color: rgba(241,241,240,0.5); }

/* === v8 patch === .zw a {color:inherit} (0,1,1) was overriding button text colors (0,1,0),
   so every WhatsApp <a> button inherited its section's text color - bone text on bone bg.
   Re-assert button text colors with .zw-level specificity (0,2,0) so they win. */
.zw a.btn--whatsapp { color: var(--zw-bone); }
.zw a.btn--whatsapp-bone { color: var(--zw-olive); }
.zw a.btn--ink { color: var(--zw-bone); }
.zw .section--ink a.btn--whatsapp,
.zw .section--olive a.btn--whatsapp { color: var(--zw-olive); }

/* Real photography fills the image frames */
.zw-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
