/* =====================================================
   Rashid Awan Realtor — WordPress Theme Stylesheet
   California Modern · Editorial Luxury
   Theme Version: 1.0.0
   ===================================================== */

/* Make room for WordPress admin bar */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* WordPress core alignment classes */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide  { max-width: calc(var(--container) + 120px); margin-left: auto; margin-right: auto; }
.alignfull  { max-width: 100%; width: 100%; }

/* Exit Popup */
.exit-popup {
  position: fixed; inset: 0; z-index: 250;
  display: none; place-items: center; padding: 20px;
}
.exit-popup--open { display: grid; }
.exit-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(15,12,8,0.78);
  cursor: pointer;
}
.exit-popup__modal {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 38% 62%;
  width: 100%; max-width: 820px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  animation: popupIn .3s cubic-bezier(.2,.6,.2,1) both;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.exit-popup__photo {
  background-image: url('../images/rashid-portrait.png');
  background-size: cover;
  background-position: center top;
  position: relative;
  min-height: 520px;
}
.exit-popup__photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,11,7,0.95) 0%, rgba(14,11,7,0.35) 52%, transparent 72%);
}
.exit-popup__identity {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 28px 32px;
}
.exit-popup__agent-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: #F4EFE6;
  line-height: 1;
  margin-bottom: 6px;
}
.exit-popup__agent-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-bottom: 16px;
}
.exit-popup__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  border-left: 2px solid rgba(194,165,116,0.6);
  padding-left: 14px;
  margin: 0;
}
.exit-popup__content {
  background: var(--cream);
  padding: 44px 44px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.exit-popup__close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid; place-items: center;
  color: var(--ink);
  transition: background .2s;
}
.exit-popup__close:hover { background: var(--bone); }
.exit-popup__title {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.exit-popup__title em { font-style: italic; color: var(--accent); }
.exit-popup__desc {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.exit-popup__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.exit-choice {
  text-align: left;
  padding: 20px 18px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.exit-choice:hover { border-color: var(--ink); background: var(--bone); }
.exit-choice__heading {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--ink);
}
.exit-choice__sub {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.45;
}
.exit-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--accent);
  margin-bottom: 20px; cursor: pointer;
  letter-spacing: 0.04em;
  background: none; border: none; padding: 0;
  font-family: inherit;
}
.exit-popup__submit {
  width: 100%;
  justify-content: center;
}
.exit-step--hidden { display: none !important; }

/* Mobile menu */
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: all .3s; display: block; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__inner {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; padding: 40px var(--gutter);
}
.mobile-menu__link {
  font-family: var(--serif);
  font-size: 48px;
  font-style: italic;
  color: var(--bone);
  line-height: 1.1;
  letter-spacing: -0.01em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s;
}
.mobile-menu__link:hover { color: var(--accent-2); }
.mobile-menu__actions { margin-top: 32px; }

/* Nav burger visibility */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__phone span { display: none; }
}
@media (max-width: 680px) {
  .exit-popup__modal { grid-template-columns: 1fr; }
  .exit-popup__photo { min-height: 220px; }
}

/* Footer grid */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__tagline {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 20px 0 16px;
  max-width: 32ch;
}
.footer__phone, .footer__email {
  display: block;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
  transition: color .2s;
}
.footer__phone:hover, .footer__email:hover { color: var(--accent-2); }
.footer__bottom {
  padding-top: 32px;
}
.footer__legal {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 80ch;
}
.footer__legal a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.footer__legal a:hover { color: var(--accent-2); }
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Testimonials section stars */
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { fill: var(--accent); }
.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}
.testimonial-author { font-weight: 700; font-size: 15px; color: var(--ink); }
.testimonial-meta { font-size: 15px; color: var(--charcoal); margin-top: 4px; }

/* Blog */
.post-card { background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 4px; overflow: hidden; transition: all .3s; }
.post-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.post-card__thumb { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.post-card__body { padding: 28px; }
.post-card__cat { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.post-card__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin: 0 0 12px; color: var(--ink); }
.post-card__excerpt { font-size: 15px; color: var(--charcoal); line-height: 1.6; }
.post-card__date { font-size: 12px; color: var(--mute); margin-top: 16px; }


/* =====================================================
   RASHID AWAN, REALTOR®
   California Modern · Editorial Luxury
   ===================================================== */

@font-face {
  font-family: 'Aguero Serif';
  src: url('../fonts/AgueroSerif.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aguero Serif';
  src: url('../fonts/AgueroSerifItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Palette */
  --bone:      #F4EFE6;
  --bone-2:    #EBE4D6;
  --cream:     #FAF7F1;
  --paper:     #FFFFFF;
  --ink:       #16140F;
  --ink-soft:  #2A2620;
  --charcoal:  #3A3530;
  --mute:      #6B645A;
  --rule:      #D9D1BF;
  --rule-soft: #E6DFCF;
  --accent:    #8A6B3D;   /* warm bronze */
  --accent-2:  #C2A574;   /* gilded sand */
  --sage:      #5A6651;
  --rose:      #B86A4F;

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --container: 1340px;
  --gutter: 28px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4A453D;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.02;
  margin: 0;
}
.display { font-size: clamp(48px, 7.6vw, 124px); letter-spacing: -0.025em; }
.h1      { font-size: clamp(40px, 5.2vw, 80px);  line-height: 1.04; }
.h2      { font-size: clamp(30px, 3.6vw, 54px);  line-height: 1.08; }
.h3      { font-size: clamp(22px, 2.0vw, 30px);  line-height: 1.18; }

.italic { font-style: italic; }
.serif  { font-family: var(--serif); }

.lede {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.6;
  color: #2A2620;
  max-width: 60ch;
}

.small { font-size: 15px; color: var(--charcoal); }
.tiny  { font-size: 12px; color: #4A453D; letter-spacing: 0.06em; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(64px, 9vw, 140px) 0; }
.section--tight { padding: clamp(40px, 5vw, 80px) 0; }
.section--dark { background: var(--ink); color: var(--bone); }
.section--dark .h1, .section--dark .h2, .section--dark .h3 { color: var(--bone); }
.section--dark .eyebrow { color: #D4B07A; }
.section--dark .lede { color: #DDD5C5; }
.section--bone { background: var(--bone); }

.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}
.rule--dark { background: rgba(255,255,255,0.14); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--bone);
}
.btn--primary:hover { background: var(--accent); }
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light {
  background: var(--bone);
  color: var(--ink);
}
.btn--light:hover { background: var(--accent-2); color: var(--ink); }
.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--bone);
}
.btn--outline-light:hover { border-color: var(--bone); background: rgba(255,255,255,0.08); }
.btn .arr {
  width: 14px; height: 14px;
  display: inline-block;
  position: relative;
  transition: transform .25s ease;
}
.btn:hover .arr { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: all .2s ease;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--rule-soft);
}
.nav--transparent .brand__name span:first-child,
.nav--transparent .brand__mark {
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.nav--transparent { color: var(--bone); }
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
}
.brand__mark {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  background-color: currentColor;
  -webkit-mask: url('../images/logo.png') center / contain no-repeat;
          mask: url('../images/logo.png') center / contain no-repeat;
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  white-space: nowrap;
}
.brand__name span:first-child {
  font-size: 36px;
  letter-spacing: -0.005em;
  font-weight: 700;
  color: inherit;
}
.brand__name span:last-child {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 7px;
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  opacity: 1;
}
.nav__link:hover, .nav__link--active { opacity: 1; }
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
  white-space: nowrap;
}
.nav__menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid currentColor;
  align-items: center;
  justify-content: center;
}

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 50px 0;
  color: var(--ink);
  display: none;
}
.mega--open { display: block; }
.mega__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.4fr;
  gap: 60px;
}
.mega__col h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3A3530;
  margin: 0 0 18px;
  font-weight: 700;
}
.mega__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mega__list a {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color .2s;
  cursor: pointer;
}
.mega__list a:hover { color: var(--accent); }
.mega__list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}
.mega__list--cols a { font-size: 18px; }
.mega__card {
  background: var(--bone);
  padding: 24px;
  border-radius: 6px;
  background-image: linear-gradient(rgba(20,18,15,0.55), rgba(20,18,15,0.55)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80');
  background-size: cover; background-position: center;
  color: var(--bone);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mega__card .h3 { color: var(--bone); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute; inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
}
/* Gentle full-frame atmosphere — keeps sun at top-left visible */
.hero__atmos {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    linear-gradient(to right, rgba(10,8,6,0.32) 0%, rgba(10,8,6,0.18) 18%, rgba(10,8,6,0) 38%),
    linear-gradient(to top, rgba(10,8,6,0.28) 0%, rgba(10,8,6,0.05) 35%, rgba(10,8,6,0) 65%, rgba(10,8,6,0.25) 100%);
}
/* Focused dark veil only behind the text column (left side, not reaching figure) */
.hero__veil {
  position: absolute;
  left: 0; bottom: 0;
  width: 48%;
  height: 78%;
  z-index: -1;
  background: radial-gradient(ellipse 65% 60% at 18% 75%, rgba(10,8,6,0.82) 0%, rgba(10,8,6,0.5) 28%, rgba(10,8,6,0.18) 55%, rgba(10,8,6,0) 75%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 48px;
}
.hero__content {
  max-width: 540px;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero__meta .line {
  flex: 0 0 36px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero__headline {
  font-family: var(--serif);
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--bone);
  max-width: 11ch;
  margin: 0 0 20px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.hero__headline em {
  font-style: italic;
  color: var(--accent-2);
}
.hero__sub {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 32ch;
  margin: 0 0 30px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero__cta {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  border-bottom: 1px solid rgba(255,255,255,0.45);
  padding-bottom: 6px;
  transition: border-color .2s, color .2s;
}
.hero__text-link:hover { border-color: var(--bone); color: var(--accent-2); }

/* Hero right-side Call Now panel */
.hero__call-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  padding-bottom: 6px;
  transition: opacity .2s;
}
.hero__call-panel:hover { opacity: 0.85; }
.hero__call-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.hero__call-num {
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 58px);
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--accent-2);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
@media (max-width: 900px) {
  .hero__call-panel { display: none; }
}

/* Hero "Call or Text" button — high-visibility tel: CTA */
.hero__cta-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
}
.hero__cta-call svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.hero__cta-call-num {
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  letter-spacing: 0.04em;
  color: var(--accent-2);
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.25);
  font-size: 12px;
}
@media (max-width: 720px) {
  .hero__cta { gap: 14px; }
  .hero__cta-call {
    width: 100%;
    justify-content: center;
    padding: 18px 22px;
    font-size: 14px;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bone);
  }
  .hero__cta-call:hover {
    background: var(--accent);
    border-color: var(--accent);
  }
  .hero__cta-call-num {
    color: rgba(255,255,255,0.85);
    border-left-color: rgba(255,255,255,0.35);
  }
  /* On mobile, also widen the primary so the row feels balanced */
  .hero__cta .btn--light {
    width: 100%;
    justify-content: center;
    padding: 18px 22px;
  }
}

/* Subhero, page hero (smaller) */
.subhero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 70px;
  background: var(--bone);
  position: relative;
}
.subhero__breadcrumb {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 30px;
}
.subhero__breadcrumb span { margin: 0 10px; color: var(--rule); }
.subhero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
.subhero__title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}
.subhero__title em { font-style: italic; color: var(--accent); }

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
.section-head__left .eyebrow { display: block; margin-bottom: 20px; }
.section-head__right { padding-bottom: 4px; }
.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 36px;
  transition: all .3s ease;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 30px;
  display: block;
}
.card__title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.card__body {
  font-size: 16px;
  line-height: 1.65;
  color: #2A2620;
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3A3530;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0 12px;
  font-size: 18px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: 0.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field--inline-light input { color: var(--bone); border-bottom-color: rgba(255,255,255,0.3); }
.field--inline-light label { color: rgba(255,255,255,0.6); }
.field--inline-light input::placeholder { color: rgba(255,255,255,0.5); }
.field--inline-light input:focus { border-bottom-color: var(--accent-2); }

.consent {
  font-size: 13px;
  line-height: 1.6;
  color: #4A453D;
  letter-spacing: 0.02em;
}
.consent a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 100px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  margin: 0 0 22px;
  font-weight: 700;
}
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__list a {
  color: rgba(255,255,255,0.95);
  font-size: 16px;
  transition: color .2s;
}
.footer__list a:hover { color: var(--accent-2); }
.footer__brand .h3 { color: var(--bone); }
.footer__compliance {
  padding: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}
.footer__legal {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 70ch;
}
.footer__legal strong { color: rgba(255,255,255,0.95); }
.footer__badges {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer__badge {
  height: 56px;
  min-width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity .2s;
}
.footer__badge:hover { opacity: 1; }
.footer__badge img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* ---------- Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stack { display: flex; flex-direction: column; }
.stack-8  { gap: 8px; }
.stack-16 { gap: 16px; }
.stack-24 { gap: 24px; }
.stack-32 { gap: 32px; }
.stack-48 { gap: 48px; }
.row { display: flex; align-items: center; gap: 16px; }
.row--between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.tac { text-align: center; }
.tar { text-align: right; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3A3530;
}
.tag--dark { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.3); }

/* page transitions */
.page-enter {
  animation: pageEnter .5s cubic-bezier(.2,.6,.2,1) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .subhero__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mega__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav__links, .nav__phone { display: none; }
  .nav__menu-btn { display: inline-flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__veil { width: 100%; height: 65%; }
  .hero__inner { padding-top: 140px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__compliance { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; background: var(--bone); }
::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--mute); }
