/*
Theme Name: Wealth Ridge Planning
Theme URI: https://wealthridgeplanning.com/
Author: Wealth Ridge Planning
Author URI: https://wealthridgeplanning.com/
Description: A modern, multi-page custom theme for Wealth Ridge Planning. Retains the firm's earthy brown & gold branding with a refined modern serif type system. Includes Team Member and Service custom post types, a process page, an insights/blog index, and contact-focused calls to action throughout.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wealth-ridge
*/

/* =========================================================================
   DESIGN TOKENS
   ========================================================================= */
:root {
  /* Brand palette (retained from original site) */
  --wr-ink: #0f0800;          /* primary dark brown-black */
  --wr-ink-90: #1a1109;
  --wr-gold: #826510;         /* accent gold/amber */
  --wr-gold-bright: #a07e1a;  /* lighter gold for hover */
  --wr-gold-soft: rgba(130, 101, 16, 0.10);
  --wr-gold-line: rgba(130, 101, 16, 0.28);
  --wr-text: #1d1a16;         /* near-black warm body text */
  --wr-text-muted: #5c554c;   /* muted warm gray */
  --wr-slate: #32373c;        /* dark gray secondary */
  --wr-cream: #f7f5f1;        /* warm off-white background */
  --wr-cream-2: #efece5;      /* slightly deeper cream */
  --wr-white: #ffffff;
  --wr-border: #e4ded3;       /* warm hairline border */
  --wr-linkedin: #0077b5;

  /* Typography */
  --font-display: "Yeseva One", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type scale */
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;     /* ~17px */
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --text-hero: clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 1080px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 8, 0, 0.06), 0 2px 6px rgba(15, 8, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 8, 0, 0.10);
  --shadow-lg: 0 18px 48px rgba(15, 8, 0, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--wr-text);
  background: var(--wr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wr-gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--wr-gold-bright); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--wr-ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--wr-border); margin: var(--space-12) 0; }
blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  border-left: 3px solid var(--wr-gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--wr-ink);
}
:focus-visible { outline: 2px solid var(--wr-gold); outline-offset: 3px; }

/* =========================================================================
   LAYOUT HELPERS
   ========================================================================= */
.wr-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.wr-narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
.wr-section { padding: clamp(var(--space-16), 8vw, var(--space-32)) 0; }
.wr-section--tight { padding: clamp(var(--space-12), 6vw, var(--space-20)) 0; }
.wr-section--cream { background: var(--wr-cream); }
.wr-section--cream2 { background: var(--wr-cream-2); }
.wr-section--ink { background: var(--wr-ink); color: var(--wr-cream); }
.wr-section--ink h1, .wr-section--ink h2, .wr-section--ink h3 { color: var(--wr-white); }

.wr-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--wr-gold);
  margin: 0 0 var(--space-4);
  display: inline-block;
}
.wr-section--ink .wr-eyebrow { color: var(--wr-gold-bright); }

.wr-lead { font-size: var(--text-lg); color: var(--wr-text-muted); line-height: 1.6; }
.wr-section--ink .wr-lead { color: rgba(247, 245, 241, 0.82); }

.text-center { text-align: center; }
.wr-divider-mark {
  width: 54px; height: 3px; background: var(--wr-gold);
  border: 0; margin: var(--space-4) 0 var(--space-6); border-radius: 2px;
}
.text-center .wr-divider-mark { margin-left: auto; margin-right: auto; }

/* =========================================================================
   BUTTONS / CTA
   ========================================================================= */
.wr-btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85em 1.8em;
  border-radius: var(--radius);
  border: 1.5px solid var(--wr-gold);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  line-height: 1;
}
.wr-btn--primary { background: var(--wr-gold); color: var(--wr-white); }
.wr-btn--primary:hover { background: var(--wr-ink); border-color: var(--wr-ink); color: var(--wr-white); transform: translateY(-2px); }
.wr-btn--outline { background: transparent; color: var(--wr-gold); }
.wr-btn--outline:hover { background: var(--wr-gold); color: var(--wr-white); transform: translateY(-2px); }
.wr-btn--light { background: var(--wr-white); color: var(--wr-ink); border-color: var(--wr-white); }
.wr-btn--light:hover { background: var(--wr-gold); border-color: var(--wr-gold); color: var(--wr-white); transform: translateY(-2px); }
.wr-btn--ghost-light { background: transparent; color: var(--wr-white); border-color: rgba(255,255,255,0.55); }
.wr-btn--ghost-light:hover { background: var(--wr-white); color: var(--wr-ink); border-color: var(--wr-white); }
.wr-btn .wr-arrow { transition: transform 0.25s var(--ease); }
.wr-btn:hover .wr-arrow { transform: translateX(4px); }

/* =========================================================================
   TOP BAR
   ========================================================================= */
.wr-topbar {
  background: var(--wr-ink);
  color: rgba(247, 245, 241, 0.85);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}
.wr-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding-top: 0.55rem; padding-bottom: 0.55rem; flex-wrap: wrap;
}
.wr-topbar__locations { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.wr-topbar__locations a { white-space: nowrap; color: inherit; }
.wr-topbar__locations a:hover { color: var(--wr-gold-bright); }
.wr-topbar a { color: var(--wr-gold-bright); }
.wr-topbar__phone { font-weight: 600; }
@media (max-width: 880px) { .wr-topbar__locations { display: none; } }

/* =========================================================================
   HEADER / NAV — full-width transparent bar under the top bar.
   Selectors are scoped to .wr-site so they win over Additional CSS that
   still styles the old frosted capsule.
   ========================================================================= */
.wr-site .wr-masthead {
  position: sticky; top: 0; z-index: 100;
}
.wr-site .wr-header {
  position: relative; top: auto; left: auto; right: auto;
  width: 100%; margin: 0; padding: 0;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.wr-site .wr-header.is-scrolled {
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 8, 0, 0.08);
}
.wr-site .wr-header__wrap {
  position: relative;
  max-width: none; width: 100%;
  margin: 0;
}
.wr-site .wr-nav-bg,
.wr-site .wr-header.is-scrolled .wr-nav-bg { display: none; }
.wr-site .wr-header__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-8);
  min-height: 5.25rem;
  padding: 0.85rem 2.5rem;
}
.wr-logo { display: inline-flex; align-items: center; }
.wr-logo img,
.wr-site .wr-header.is-scrolled .wr-logo .wr-logo__default {
  height: 52px; width: auto;
}
.wr-logo__scroll { display: none; height: 46px; width: auto; }
.wr-site .wr-header.is-scrolled .wr-logo__default { display: none; }
.wr-site .wr-header.is-scrolled .wr-logo__scroll { display: block; }
.wr-logo .wr-logo-text {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--wr-white); letter-spacing: -0.01em;
}
.wr-site .wr-header.is-scrolled .wr-logo .wr-logo-text { color: var(--wr-ink); }

/* Desktop menu — uppercase links, right aligned, no capsule */
.wr-site .wr-nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: var(--space-4); width: auto; flex: 1;
}
.wr-site .wr-nav__menu,
.wr-site .wr-header .wr-nav__menu,
.wr-site .wr-header.is-scrolled .wr-nav__menu {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 0.15rem;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.wr-nav__menu > li { position: relative; }
.wr-site .wr-nav__menu > li > a,
.wr-site .wr-header.is-scrolled .wr-nav__menu > li > a {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--wr-white);
  background: transparent;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.wr-site .wr-nav__menu > li > a:hover,
.wr-site .wr-nav__menu > li.current-menu-item > a,
.wr-site .wr-nav__menu > li.current_page_item > a,
.wr-site .wr-nav__menu > li.current-menu-ancestor > a {
  background: transparent;
  border-color: transparent;
  color: var(--wr-white);
  opacity: 0.72;
}
.wr-site .wr-header.is-scrolled .wr-nav__menu > li > a {
  color: var(--wr-ink);
  text-shadow: none;
}
.wr-site .wr-header.is-scrolled .wr-nav__menu > li > a:hover,
.wr-site .wr-header.is-scrolled .wr-nav__menu > li.current-menu-item > a,
.wr-site .wr-header.is-scrolled .wr-nav__menu > li.current_page_item > a,
.wr-site .wr-header.is-scrolled .wr-nav__menu > li.current-menu-ancestor > a {
  background: transparent;
  border-color: transparent;
  color: var(--wr-gold);
  opacity: 1;
}
/* Homepage hero is light, so the menu matches the dark-brown logo until it scrolls. */
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li > a,
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li > a:hover,
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li.current-menu-item > a,
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li.current_page_item > a,
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li.current-menu-ancestor > a {
  color: #231f20;
  text-shadow: none;
  opacity: 1;
}
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li > a:hover,
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li.current-menu-item > a,
.home.wr-site .wr-header:not(.is-scrolled) .wr-nav__menu > li.current_page_item > a {
  color: var(--wr-gold);
}
.home.wr-site .wr-header:not(.is-scrolled) .wr-burger span { background: #231f20; }
.home.wr-site .wr-header:not(.is-scrolled) .wr-btn--pill {
  background: #fff; color: #231f20; border-color: #231f20;
}

/* Dropdown submenus */
.wr-nav__menu .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--wr-white); border: 1px solid var(--wr-border);
  box-shadow: var(--shadow-md); border-radius: var(--radius-lg);
  list-style: none; margin: 0; padding: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s var(--ease); z-index: 120;
}
.wr-nav__menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.wr-nav__menu .sub-menu li { width: 100%; }
.wr-nav__menu .sub-menu a {
  display: block; width: 100%; padding: 0.5rem 0.9rem;
  letter-spacing: 0.01em; font-size: var(--text-sm); font-weight: 500;
  border-radius: var(--radius); color: var(--wr-ink); text-shadow: none; text-transform: none;
}
.wr-nav__menu .sub-menu a:hover { color: var(--wr-gold); background: var(--wr-gold-soft); }
.wr-nav__menu .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 0.45em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: 0.6;
}

/* Rectangular CTA, white over the hero and solid once the page scrolls */
.wr-nav__cta { display: inline-flex; flex: none; }
.wr-site .wr-btn--pill {
  border-radius: 0;
  padding: 0.85em 1.15em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--wr-white); color: var(--wr-ink); border-color: var(--wr-white);
  box-shadow: none;
}
.wr-site .wr-btn--pill:hover {
  background: var(--wr-ink); border-color: var(--wr-ink); color: var(--wr-white); transform: none;
}
.wr-site .wr-header.is-scrolled .wr-btn--pill {
  background: var(--wr-ink); color: var(--wr-white); border-color: var(--wr-ink); padding: 0.85em 1.15em;
}
.wr-site .wr-header.is-scrolled .wr-btn--pill:hover {
  background: var(--wr-gold); border-color: var(--wr-gold); color: var(--wr-white);
}

/* Burger */
.wr-burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px; position: relative; z-index: 2;
}
.wr-burger span { width: 26px; height: 2px; background: var(--wr-white); transition: all 0.3s var(--ease); }
.wr-site .wr-header.is-scrolled .wr-burger span { background: var(--wr-ink); }
.wr-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wr-burger.is-open span:nth-child(2) { opacity: 0; }
.wr-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .wr-site .wr-header__inner { padding: 0.7rem 1.15rem; min-height: 4.5rem; }
  .wr-site .wr-header__wrap,
  .wr-site .wr-header.is-scrolled .wr-header__wrap { max-width: none; }
  .wr-burger { display: flex; }
  .wr-site .wr-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
    background: var(--wr-white); flex-direction: column; align-items: stretch;
    padding: var(--space-20) var(--space-8) var(--space-8);
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-lg); overflow-y: auto; z-index: 130;
  }
  .wr-nav.is-open { transform: translateX(0); }
  .wr-site .wr-nav__menu,
  .wr-site .wr-header .wr-nav__menu { flex-direction: column; align-items: stretch; gap: 0; margin: 0; width: 100%; }
  .wr-nav__menu > li { border-bottom: 1px solid var(--wr-border); }
  .wr-site .wr-nav__menu > li > a,
  .wr-site .wr-header.is-scrolled .wr-nav__menu > li > a {
    display: block; padding: 0.9rem 0.4rem; border-radius: 0;
    color: var(--wr-ink); text-shadow: none; text-transform: uppercase;
  }
  .wr-site .wr-nav__menu > li > a:hover,
  .wr-site .wr-nav__menu > li.current-menu-item > a,
  .wr-site .wr-nav__menu > li.current_page_item > a,
  .wr-site .wr-header.is-scrolled .wr-nav__menu > li > a:hover,
  .wr-site .wr-header.is-scrolled .wr-nav__menu > li.current-menu-item > a {
    color: var(--wr-gold); opacity: 1; background: transparent;
  }
  .wr-site .wr-nav .wr-btn--pill,
  .wr-site .wr-header.is-scrolled .wr-nav .wr-btn--pill {
    background: var(--wr-gold); color: var(--wr-white); border-color: var(--wr-gold);
  }
  .wr-nav__menu .menu-item-has-children > a::after { float: right; margin-top: 0.6em; }
  .wr-nav__menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 var(--space-2) var(--space-4);
    display: none; min-width: 0;
  }
  .wr-nav__menu li.is-expanded > .sub-menu { display: block; }
  .wr-nav__cta { margin-top: var(--space-6); }
  .wr-nav__cta .wr-btn { width: 100%; justify-content: center; }
  .wr-hero, .wr-pagehero { margin-top: -4.5rem; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.wr-hero {
  position: relative; min-height: 88vh; display: flex; flex-direction: column;
  color: #231f20; overflow: hidden;
  margin-top: -5.25rem;
}
.wr-hero__bg { position: absolute; inset: 0; z-index: 0; }
.wr-hero__bg img,
.wr-hero__bg video,
.background-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.wr-hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(247,245,241,0.72) 0%, rgba(247,245,241,0.5) 46%, rgba(247,245,241,0.78) 100%);
}
.wr-hero__inner {
  position: relative; z-index: 1; flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(8.5rem, 18vh, 12rem);
  padding-bottom: var(--space-12);
}
.wr-hero__logo {
  display: block; height: auto; width: min(260px, 68vw);
  margin: 0 0 var(--space-6);
}
.wr-hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: var(--text-sm);
  font-weight: 600; color: #231f20; margin-bottom: var(--space-4);
}
.wr-hero .wr-hero__eyebrow { color: #231f20; }
.wr-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  color: #231f20;
  max-width: 16ch;
  margin: 0 0 var(--space-6);
  font-style: italic;
  letter-spacing: -0.015em;
}
.wr-hero .wr-hero h1 { color: #231f20; }
.wr-hero__sub {
  font-size: var(--text-lg); max-width: 52ch; margin: 0 0 var(--space-8);
  color: #231f20; line-height: 1.6;
}
.wr-hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.wr-hero .wr-btn--ghost-light {
  color: #231f20; border-color: rgba(35, 31, 32, 0.55);
}
.wr-hero .wr-btn--ghost-light:hover {
  background: #231f20; color: var(--wr-white); border-color: #231f20;
}

/* Full-width call-to-action pinned to the bottom of the hero */
.wr-hero__panel {
  position: relative; z-index: 2; width: 100%;
  background: var(--wr-white); color: #231e1f;
  box-shadow: 0 -10px 30px rgba(15, 8, 0, 0.18);
}
.wr-hero__panel-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6) var(--space-10);
  padding-top: 1.35rem; padding-bottom: 1.35rem;
}
.wr-hero__panel-headline {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.15vw, 1.9rem);
  line-height: 1.25; color: #231e1f; margin: 0; font-weight: 500; max-width: 40ch;
}
.wr-hero__panel-btn {
  flex: none; white-space: nowrap; border-radius: 8px;
  background: #231e1f; color: var(--wr-white); border-color: #231e1f;
}
.wr-hero__panel-btn:hover {
  background: var(--wr-gold); border-color: var(--wr-gold); color: var(--wr-white);
}
@media (max-width: 720px) {
  .wr-hero .wr-hero__inner { padding-top: 6.25rem; padding-bottom: var(--space-6); }
  .wr-hero__logo { width: min(190px, 62vw); }
  .wr-hero .wr-hero__eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; }
  .wr-hero__actions .wr-btn { width: 100%; justify-content: center; }
  .wr-hero__panel-inner { flex-direction: column; align-items: flex-start; }
  .wr-hero__panel-btn { width: 100%; justify-content: center; }
}

/* Compact page hero for interior pages */
.wr-pagehero {
  position: relative; background: var(--wr-ink); color: var(--wr-white);
  margin-top: -5.25rem;
  padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(var(--space-12), 7vw, var(--space-20));
  overflow: hidden;
}
.wr-pagehero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 80% 0%, rgba(130,101,16,0.35), transparent 60%);
}
.wr-pagehero__inner { position: relative; z-index: 1; }
.wr-pagehero h1 { color: var(--wr-white); font-size: var(--text-2xl); font-style: italic; font-weight: 500; margin: 0 0 var(--space-3); }
.wr-pagehero p { color: rgba(247,245,241,0.82); font-size: var(--text-lg); max-width: 58ch; margin: 0; }
.wr-breadcrumb { font-size: var(--text-xs); letter-spacing: 0.05em; text-transform: uppercase; color: var(--wr-gold-bright); margin-bottom: var(--space-4); }
.wr-breadcrumb a { color: rgba(247,245,241,0.7); }
.wr-breadcrumb a:hover { color: var(--wr-white); }

/* =========================================================================
   CARDS / GRIDS
   ========================================================================= */
.wr-grid { display: grid; gap: var(--space-8); }
.wr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wr-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .wr-grid--4 { grid-template-columns: repeat(2, 1fr); } .wr-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .wr-grid--2, .wr-grid--3, .wr-grid--4 { grid-template-columns: 1fr; } }

.wr-card {
  background: var(--wr-white); border: 1px solid var(--wr-border);
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.wr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--wr-gold-line); }

/* Approach cards (left gold border) */
.wr-approach-card {
  background: var(--wr-white); border: 1px solid var(--wr-border);
  border-left: 4px solid var(--wr-gold); border-radius: var(--radius);
  padding: var(--space-8); box-shadow: var(--shadow-sm);
}
.wr-approach-card .wr-approach-num {
  font-family: var(--font-display); font-size: 2.2rem; color: var(--wr-gold);
  font-weight: 600; line-height: 1; display: block; margin-bottom: var(--space-3);
}

/* =========================================================================
   TEAM
   ========================================================================= */
.wr-team-card { text-align: center; }
.wr-team-card__photo {
  display: block; position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--wr-cream-2); margin-bottom: var(--space-4);
}
.wr-team-card__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease);
}
.wr-team-card:hover .wr-team-card__photo img { transform: scale(1.04); }
.wr-team-card h3 { margin: 0 0 0.1em; font-size: var(--text-lg); }
.wr-team-card__role { color: var(--wr-gold); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-2); }
.wr-team-card__link { font-size: var(--text-sm); font-weight: 600; color: var(--wr-ink); }
.wr-team-card__link:hover { color: var(--wr-gold); }

/* Single team member */
.wr-member { display: grid; grid-template-columns: 360px 1fr; gap: var(--space-12); align-items: start; }
.wr-member__photo { border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 120px; box-shadow: var(--shadow-md); }
.wr-member__name { font-size: var(--text-2xl); margin-bottom: 0.1em; }
.wr-member__role { color: var(--wr-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-sm); margin-bottom: var(--space-6); }
.wr-member__linkedin { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--text-sm); font-weight: 600; color: var(--wr-linkedin); margin-bottom: var(--space-6); }
@media (max-width: 880px) {
  .wr-member { grid-template-columns: 1fr; gap: var(--space-8); }
  .wr-member__photo { position: static; max-width: 320px; }
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.wr-service-card { display: flex; flex-direction: column; height: 100%; }
.wr-service-card__icon {
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--wr-gold-soft); border-radius: var(--radius); margin-bottom: var(--space-4);
  color: var(--wr-gold);
}
.wr-service-card__icon svg { width: 30px; height: 30px; }
.wr-service-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.wr-service-card p { color: var(--wr-text-muted); font-size: var(--text-sm); flex: 1; }
.wr-service-card__more { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--wr-gold); display: inline-flex; align-items: center; gap: 0.4em; }
.wr-service-card__more .wr-arrow { transition: transform 0.25s var(--ease); }
.wr-service-card:hover .wr-service-card__more .wr-arrow { transform: translateX(4px); }

/* =========================================================================
   PROCESS
   ========================================================================= */
.wr-process-step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-8);
  padding: var(--space-8) 0; border-bottom: 1px solid var(--wr-border); align-items: start;
}
.wr-process-step:last-child { border-bottom: 0; }
.wr-process-step__num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600; color: var(--wr-gold); line-height: 1; min-width: 2.2ch;
}
.wr-process-step__label { text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--text-sm); color: var(--wr-gold); font-weight: 600; margin-bottom: var(--space-2); }
.wr-process-step h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
@media (max-width: 600px) { .wr-process-step { grid-template-columns: 1fr; gap: var(--space-3); } }

/* =========================================================================
   INSIGHTS / BLOG
   ========================================================================= */
.wr-post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.wr-post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--wr-cream-2); }
.wr-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.wr-post-card:hover .wr-post-card__media img { transform: scale(1.05); }
.wr-post-card__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.wr-post-card__meta { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--wr-gold); margin-bottom: var(--space-2); }
.wr-post-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.wr-post-card h3 a { color: var(--wr-ink); }
.wr-post-card h3 a:hover { color: var(--wr-gold); }
.wr-post-card p { color: var(--wr-text-muted); font-size: var(--text-sm); flex: 1; }
.wr-post-card__more { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--wr-gold); }

/* Single post */
.wr-article { max-width: 720px; margin: 0 auto; }
.wr-article__meta { font-size: var(--text-sm); color: var(--wr-text-muted); margin-bottom: var(--space-6); }
.wr-article__featured { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-10); }
.wr-article-body { font-size: var(--text-lg); line-height: 1.75; }
.wr-article-body h2 { font-size: var(--text-xl); margin-top: var(--space-10); }
.wr-article-body h3 { font-size: var(--text-lg); margin-top: var(--space-8); }
.wr-article-body img { border-radius: var(--radius); margin: var(--space-6) 0; }

/* Pagination */
.wr-pagination { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-12); flex-wrap: wrap; }
.wr-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 0.6rem; border: 1px solid var(--wr-border);
  border-radius: var(--radius); color: var(--wr-ink); font-size: var(--text-sm); font-weight: 600;
}
.wr-pagination .page-numbers.current { background: var(--wr-gold); color: var(--wr-white); border-color: var(--wr-gold); }
.wr-pagination a.page-numbers:hover { border-color: var(--wr-gold); color: var(--wr-gold); }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.wr-cta-band { position: relative; background: var(--wr-ink); color: var(--wr-white); overflow: hidden; }
.wr-cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 120% at 85% 10%, rgba(130,101,16,0.40), transparent 55%);
}
.wr-cta-band__inner { position: relative; z-index: 1; text-align: center; padding-top: clamp(var(--space-16), 9vw, var(--space-24)); padding-bottom: clamp(var(--space-16), 9vw, var(--space-24)); }
.wr-cta-band h2 { color: var(--wr-white); font-size: var(--text-2xl); font-style: italic; font-weight: 500; max-width: 22ch; margin: 0 auto var(--space-4); }
.wr-cta-band p { color: rgba(247,245,241,0.85); max-width: 52ch; margin: 0 auto var(--space-8); font-size: var(--text-lg); }

/* Inline mid-page CTA */
.wr-cta-inline {
  background: var(--wr-gold-soft); border: 1px solid var(--wr-gold-line);
  border-radius: var(--radius-lg); padding: var(--space-10);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap;
}
.wr-cta-inline h3 { font-size: var(--text-xl); margin: 0 0 0.2em; }
.wr-cta-inline p { margin: 0; color: var(--wr-text-muted); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.wr-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); }
@media (max-width: 880px) { .wr-contact-grid { grid-template-columns: 1fr; } }
.wr-contact-item { display: flex; gap: var(--space-4); margin-bottom: var(--space-6); }
.wr-contact-item__icon { color: var(--wr-gold); flex-shrink: 0; margin-top: 3px; }
.wr-contact-item h4 { margin: 0 0 0.2em; font-size: var(--text-base); }
.wr-contact-item p, .wr-contact-item a { margin: 0; color: var(--wr-text-muted); font-size: var(--text-sm); }
.wr-form-placeholder {
  border: 2px dashed var(--wr-gold-line); border-radius: var(--radius-lg);
  padding: var(--space-12); text-align: center; color: var(--wr-text-muted); background: var(--wr-cream);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.wr-footer { background: var(--wr-ink); color: rgba(247,245,241,0.78); padding: var(--space-20) 0 var(--space-8); font-size: var(--text-sm); }
.wr-footer a { color: rgba(247,245,241,0.78); }
.wr-footer a:hover { color: var(--wr-gold-bright); }
.wr-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-10); margin-bottom: var(--space-12); }
@media (max-width: 880px) { .wr-footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 520px) { .wr-footer__top { grid-template-columns: 1fr; } }
.wr-footer__logo img { height: 56px; margin-bottom: var(--space-4); }
.wr-footer h4 { color: var(--wr-white); font-family: var(--font-body); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-4); }
.wr-footer ul { list-style: none; margin: 0; padding: 0; }
.wr-footer ul li { margin-bottom: var(--space-2); }
.wr-footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.wr-footer__social a { display: inline-flex; }
.wr-footer__disclosure { border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--space-8); font-size: var(--text-xs); line-height: 1.7; color: rgba(247,245,241,0.55); }
.wr-footer__disclosure p { margin-bottom: 1em; }
.wr-footer__badges { display: flex; align-items: center; gap: var(--space-6); margin-bottom: var(--space-6); flex-wrap: wrap; }
.wr-footer__badges img { height: 48px; background: #fff; padding: 4px 8px; border-radius: var(--radius); }
.wr-footer__bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.12); font-size: var(--text-xs); color: rgba(247,245,241,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

/* =========================================================================
   UTILITY / ANIMATION
   ========================================================================= */
/* Reveal is progressive enhancement: only hidden once JS confirms support via .wr-js on <html>. Without JS, content is always visible. */
.wr-js .wr-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.wr-js .wr-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .wr-reveal { opacity: 1; transform: none; }
}

.wr-prose h2 { font-size: var(--text-xl); margin-top: var(--space-10); }
.wr-prose h3 { font-size: var(--text-lg); margin-top: var(--space-8); }
.wr-prose ul li { margin-bottom: var(--space-2); }

/* Stat / highlight row */
.wr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); text-align: center; }
@media (max-width: 680px) { .wr-stats { grid-template-columns: 1fr; gap: var(--space-6); } }
.wr-stat__num { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--wr-gold); font-weight: 600; line-height: 1; }
.wr-stat__label { font-size: var(--text-sm); color: var(--wr-text-muted); margin-top: var(--space-2); }

/* Office location pages */
.wr-location-card {
  background: var(--wr-cream);
  border: 1px solid var(--wr-border);
  border-top: 4px solid var(--wr-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.wr-location-card h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.wr-location-card__address {
  font-size: var(--text-lg);
  color: var(--wr-ink);
  margin-bottom: var(--space-6);
}
.wr-location-card__facts { margin: 0 0 var(--space-8); }
.wr-location-card__facts div { margin-bottom: var(--space-4); }
.wr-location-card__facts dt {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wr-gold);
  margin-bottom: 0.15rem;
}
.wr-location-card__facts dd { margin: 0; color: var(--wr-text); }
.wr-location-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.wr-location-towns {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem var(--space-4);
}
.wr-location-towns li {
  margin: 0;
  padding-left: 0.9rem;
  position: relative;
}
.wr-location-towns li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wr-gold);
}
.wr-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem var(--space-6);
}
.wr-link-list a { font-weight: 600; }
@media (max-width: 680px) {
  .wr-location-towns, .wr-link-list { grid-template-columns: 1fr; }
}
.wr-office-card {
  display: flex;
  flex-direction: column;
  background: var(--wr-white);
  border: 1px solid var(--wr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  color: var(--wr-text);
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.wr-office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--wr-gold-line);
  color: var(--wr-text);
}
.wr-office-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.wr-office-card p { color: var(--wr-text-muted); margin: 0 0 var(--space-4); flex: 1; }
.wr-office-card__more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--wr-gold);
}

/* Two-column intro */
.wr-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.wr-split--start { align-items: start; }
@media (max-width: 880px) { .wr-split { grid-template-columns: 1fr; gap: var(--space-8); } }
.wr-split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
