/* ============================================================================
   Harris & Co. Solicitors — site.css
   Universal stylesheet. Page-specific overrides go inline per page.
   ============================================================================ */

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

:root {
  /* Surfaces — matched to original warm palette */
  --bg-dark:        #1C1916;
  --bg-dark-alt:    #2A2520;
  --bg-dark-soft:   #14110f;
  --bg-cream:       #FDFCFA;
  --bg-cream-deep:  #F4F2EE;
  --bg-white:       #FDFCFA;

  /* Brand — matched to original warm gold */
  --gold:           #B8973E;
  --gold-bright:    #CDA95A;
  --gold-muted:     #8A7A4A;
  --gold-pale:      #EDD9A3;

  /* Text */
  --text-on-light:    #1a1a1a;
  --text-on-light-2:  #3a3a3a;
  --text-on-light-3:  #5a5a5a;
  --text-on-dark:     #ffffff;
  --text-on-dark-2:   rgba(255,255,255,0.82);
  --text-on-dark-3:   rgba(255,255,255,0.58);
  --text-on-dark-4:   rgba(255,255,255,0.40);

  /* Borders */
  --border-light:   rgba(0,0,0,0.08);
  --border-input:   rgba(0,0,0,0.16);
  --border-dark:    rgba(255,255,255,0.12);
  --border-dark-2:  rgba(255,255,255,0.06);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Open Sans', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:           0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:      0.42s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 12px;

  /* Layout */
  --container-max: 1280px;
  --container-pad-d: 48px;
  --container-pad-m: 22px;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-cream);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--bg-dark); }

/* ------------------------------------------------------------------ Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-m);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--container-pad-d); }
}

.section { padding: 64px 0; }
.section--lg { padding: 88px 0; }
.section--cream { background: var(--bg-cream); }
.section--cream-deep { background: var(--bg-cream-deep); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--white { background: var(--bg-white); }

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .section--lg { padding: 128px 0; }
}

/* ------------------------------------------------------------- Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: inherit;
}
h1 em, h2 em, h3 em, .display em { font-style: italic; }
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.018em; }
.display--xl { font-size: clamp(2rem, 5.4vw, 4rem); }
.display--lg { font-size: clamp(1.75rem, 4.2vw, 3rem); }
.display--md { font-size: clamp(1.45rem, 3vw, 2.1rem); }

.lede {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text-on-light-2);
  max-width: 64ch;
}
@media (min-width: 768px) {
  .lede { font-size: 1.05rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.eyebrow--muted { color: var(--gold-muted); }
.eyebrow--muted::before { background: var(--gold-muted); }

.kicker {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--bg-dark); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,169,97,0.22); }
.btn--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--ghost-light { background: transparent; color: var(--text-on-light); border-color: var(--border-input); }
.btn--ghost-light:hover { border-color: var(--bg-dark); }
.btn--ghost-dark { background: transparent; color: var(--text-on-dark); border-color: var(--border-dark); }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 26px; font-size: 0.78rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.28);
  padding-bottom: 2px;
  transition: color var(--ease), border-color var(--ease);
}
.text-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.text-link--dark { color: var(--text-on-light-2); border-bottom-color: rgba(0,0,0,0.18); }
.text-link--dark:hover { color: var(--bg-dark); border-bottom-color: var(--gold); }

/* ------------------------------------------------------------------- Forms */
.fgroup { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.flabel {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
}
.finput, .fselect, .ftextarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--ease), background var(--ease);
}
.finput::placeholder, .ftextarea::placeholder { color: rgba(255,255,255,0.38); }
.finput:focus, .fselect:focus, .ftextarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.fselect {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%),
                    linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.fselect option { background: var(--bg-dark); color: var(--text-on-dark); }
.ftextarea { resize: vertical; min-height: 80px; }
.fgrid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fmicro {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
  text-align: center;
  margin-top: 12px;
}

/* Light-context variants (for contact page, conveyancing quote, etc.) */
.form--light .flabel { color: var(--text-on-light-3); }
.form--light .finput, .form--light .fselect, .form--light .ftextarea {
  background: var(--bg-white);
  color: var(--text-on-light);
  border-color: var(--border-input);
}
.form--light .finput::placeholder, .form--light .ftextarea::placeholder { color: rgba(0,0,0,0.36); }
.form--light .finput:focus, .form--light .fselect:focus, .form--light .ftextarea:focus {
  border-color: var(--gold-muted);
  background: var(--bg-white);
}
.form--light .fselect {
  background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.5) 50%),
                    linear-gradient(135deg, rgba(0,0,0,0.5) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form--light .fmicro { color: var(--text-on-light-3); }

/* -------------------------------------------------------- Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark-2);
}
.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 68px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--container-pad-m);
}
@media (min-width: 1024px) { .nav-inner { padding: 0 36px; height: 72px; } }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; width: auto; mix-blend-mode: screen; }
@media (min-width: 1024px) { .nav-logo img { height: 50px; } }

.nav-primary { display: none; align-items: center; gap: 26px; list-style: none; }
@media (min-width: 1024px) { .nav-primary { display: flex; } }
.nav-primary > li { position: relative; }
.nav-primary > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-on-dark-2);
  transition: color var(--ease);
}
.nav-primary > li > a:hover,
.nav-primary > li.is-active > a { color: var(--text-on-dark); }
.nav-primary .has-dropdown > a::after {
  content: '';
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 280px;
  padding: 10px 0;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-left: 2px solid var(--gold);
  border-radius: var(--r-md);
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 300;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 11px 22px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
  transition: color var(--ease), background var(--ease);
}
.nav-dropdown a:hover { color: var(--text-on-dark); background: rgba(255,255,255,0.04); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: none;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-on-dark);
}
@media (min-width: 1024px) { .nav-phone { display: inline-flex; align-items: center; gap: 8px; } }
.nav-phone::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.6l2.2-2.2a1 1 0 0 0 .25-1.02A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1c0 9.39 7.61 17 17 17a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.6l2.2-2.2a1 1 0 0 0 .25-1.02A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1c0 9.39 7.61 17 17 17a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>") center/contain no-repeat;
}
.nav-cta { padding: 10px 16px; font-size: 0.68rem; letter-spacing: 0.10em; }
.nav-phone-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--gold);
}
@media (min-width: 1024px) { .nav-phone-mobile { display: none; } }

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  color: var(--text-on-dark);
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.nav-burger span::before,
.nav-burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

/* Mobile drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--ease-slow);
  overflow-y: auto;
}
.mnav.is-open { transform: translateX(0); }
.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--container-pad-m);
  border-bottom: 1px solid var(--border-dark-2);
}
.mnav-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  color: var(--text-on-dark);
  font-size: 22px;
}
.mnav-phone {
  display: flex; align-items: center; gap: 10px;
  padding: 18px var(--container-pad-m);
  background: rgba(255,255,255,0.04);
  color: var(--text-on-dark);
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-dark-2);
}
.mnav-phone strong { color: var(--gold); font-weight: 500; letter-spacing: 0.08em; }
.mnav-list { list-style: none; padding: 12px 0 24px; flex: 1; }
.mnav-list li > a, .mnav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px var(--container-pad-m);
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  min-height: 56px;
}
.mnav-list li.is-active > a,
.mnav-list li.is-active > .mnav-toggle { border-left: 3px solid var(--gold); padding-left: calc(var(--container-pad-m) - 3px); color: var(--gold); }
.mnav-toggle::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--ease);
  opacity: 0.6;
}
.mnav-section[aria-expanded="true"] .mnav-toggle::after { transform: rotate(-135deg); }
.mnav-sub { list-style: none; max-height: 0; overflow: hidden; transition: max-height var(--ease-slow); background: rgba(255,255,255,0.02); }
.mnav-section[aria-expanded="true"] .mnav-sub { max-height: 720px; }
.mnav-sub a {
  display: block;
  padding: 14px var(--container-pad-m);
  padding-left: calc(var(--container-pad-m) + 16px);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: var(--text-on-dark-2);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mnav-sub a:hover { color: var(--gold); }
.mnav-foot { padding: 16px var(--container-pad-m) 28px; border-top: 1px solid var(--border-dark-2); }
.mnav-foot .btn { width: 100%; }
.mnav-foot p {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.10em;
  color: var(--text-on-dark-3);
  text-align: center;
}

body.mnav-locked { overflow: hidden; }

/* ---------------------------------------------------------------- Breadcrumb */
.breadcrumb {
  background: var(--bg-dark-alt);
  border-bottom: 1px solid var(--border-dark-2);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
}
.breadcrumb a { color: var(--text-on-dark-3); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--text-on-dark-4); }
.breadcrumb li[aria-current="page"] { color: var(--gold); }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.82) 55%, rgba(10,10,10,0.95) 100%);
  z-index: -1;
}
.hero-overlay--side {
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.78) 55%, rgba(10,10,10,0.4) 100%),
              linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.85) 90%);
}
.hero-inner {
  padding: 44px 0 36px;
}
@media (min-width: 768px) {
  .hero-inner { padding: 72px 0 64px; }
}
@media (min-width: 1024px) {
  .hero-inner { padding: 96px 0 88px; }
}

.hero-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }
}

.hero-left { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .hero-left { gap: 24px; } }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--text-on-dark);
}
@media (min-width: 1024px) {
  .hero-h1 { font-size: clamp(2.6rem, 4vw, 3.4rem); }
}
.hero-h1 .hl-gold { color: var(--gold); display: block; }
.hero-h1 .hl-white { color: var(--text-on-dark); display: block; }

.hero-sub {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text-on-dark-2);
  max-width: 52ch;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.04rem; } }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
}
.hero-actions .btn { width: 100%; }
@media (min-width: 768px) {
  .hero-actions .btn { width: auto; }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-2);
}
.hero-trust .stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--gold);
  letter-spacing: 0;
  font-size: 0.88rem;
}
.hero-trust .sep { color: var(--text-on-dark-4); }
.hero-trust .sra { color: var(--gold); font-weight: 500; }

/* Form panel (right column) */
.hero-form-wrap {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 22px;
}
@media (min-width: 768px) {
  .hero-form-wrap { padding: 28px; }
}

.form-eyebrow {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.form-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: 6px;
}
.form-sub {
  font-size: 0.9rem;
  color: var(--text-on-dark-3);
  margin-bottom: 18px;
}

/* ---------------------------------------------------------------- Trust strip (standalone) */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-on-dark-2);
}

/* ---------------------------------------------------------------- Cards / grids */
.grid-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.16); }
.card-eyebrow { color: var(--gold-muted); margin-bottom: 8px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p { color: var(--text-on-light-2); font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-muted);
  transition: color var(--ease), gap var(--ease);
}
.card:hover .card-link { color: var(--bg-dark); gap: 10px; }
.card-link::after { content: '→'; }

.card-img {
  margin: -22px -22px 18px;
  aspect-ratio: 16 / 10;
  background-position: center;
  background-size: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 1px solid var(--border-light);
}

/* Feature row (icon + heading + paragraph) */
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201,169,97,0.12);
  color: var(--gold-muted);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.008em;
}
.feature p { color: var(--text-on-light-2); font-size: 0.94rem; }

/* Testimonials */
.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px;
}
.testimonial-stars { color: var(--gold); letter-spacing: 1px; margin-bottom: 12px; }
.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-on-light);
}
.testimonial cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--text-on-light-3);
}

/* ---------------------------------------------------------------- CTA strip */
.cta-strip {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
}
.cta-strip-inner {
  padding: 56px 0;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.cta-strip h2 em { color: var(--gold); font-style: italic; }

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-2);
  border-top: 1px solid var(--border-dark-2);
}
.footer-inner {
  padding: 56px 0 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-on-dark-2);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-brand p { font-size: 0.92rem; color: var(--text-on-dark-2); max-width: 36ch; }
.footer-brand .logo { height: 48px; margin-bottom: 14px; mix-blend-mode: screen; }
.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid var(--border-dark-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  border-top: 1px solid var(--border-light);
}
.faq details {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--text-on-light);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-ui);
  font-size: 1.3rem;
  color: var(--gold-muted);
  transition: transform var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding-top: 12px; color: var(--text-on-light-2); font-size: 0.98rem; max-width: 70ch; }

/* ---------------------------------------------------------------- Compensation tables */
.comp {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 22px;
}
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.comp-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
  border-bottom: 1px solid var(--border-light);
}
.comp-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
}
.comp-table tbody tr:hover { background: rgba(0,0,0,0.02); }
.severity-minor    { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(201,169,97,0.14); color: #8b6914; font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.severity-moderate { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(180,100,20,0.16); color: #7a4f08; font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.severity-serious  { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(160,55,15,0.16);  color: #8b2e10; font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.severity-severe   { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--bg-dark);         color: #fff;    font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }

.comp-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.comp-filter-btn {
  padding: 8px 12px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--bg-cream-deep);
  color: var(--text-on-light-2);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.comp-filter-btn:hover { border-color: var(--gold-muted); }
.comp-filter-btn[aria-pressed="true"] { background: var(--bg-dark); color: var(--text-on-dark); border-color: var(--bg-dark); }
.comp-hidden { display: none !important; }

/* Mobile card variant (JS-built per page) */
.comp-cards { display: none; flex-direction: column; gap: 10px; }
@media (max-width: 720px) {
  .comp-table-wrap { display: none; }
  .comp-cards { display: flex; }
}
.comp-card { border: 1px solid var(--border-light); border-radius: var(--r-md); padding: 14px; background: var(--bg-cream); }
.comp-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.comp-card-range { font-family: var(--font-ui); font-weight: 500; font-size: 0.9rem; }
.comp-card-desc { color: var(--text-on-light-2); font-size: 0.9rem; }

/* ---------------------------------------------------------------- Misc utilities */
.tel-link:hover { color: var(--gold); }
.muted { color: var(--text-on-light-3); }
.muted-dark { color: var(--text-on-dark-3); }
.center { text-align: center; }
.mt-sm { margin-top: 16px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 40px; }
.section-head { margin-bottom: 36px; max-width: 56ch; }
.section-head .eyebrow { margin-bottom: 12px; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Print */
@media print {
  .site-header, .site-footer, .hero, .cta-strip { background: #fff !important; color: #000 !important; }
}

/* ============================================================================
   CINEMATIC DARK HERO — applies via .hero.hero-cine class on hero <section>
   Designed to coexist with the original per-page inline CSS without breaking
   other sections. Only takes effect when class="hero hero-cine".
   ============================================================================ */
.hero.hero-cine { position: relative; background: #0a0a0a; background-image: none !important; color: #fff; overflow: hidden; isolation: isolate; padding: 0; min-height: auto; border-bottom: 0 !important; }
.hero.hero-cine::before { display: none !important; content: none !important; }
.hero.hero-cine::after { display: none !important; content: none !important; }
.hero.hero-cine .hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; z-index: -2; }
.hero.hero-cine .hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.45) 40%, rgba(10,10,10,0.18) 70%, rgba(10,10,10,0.00) 100%); z-index: -1; }
.hero.hero-cine .hero-inner { padding: 64px 0 56px; position: relative; z-index: 1; }
@media (min-width: 768px) { .hero.hero-cine .hero-inner { padding: 96px 0 88px; } }

.hero.hero-cine .hero-grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .hero.hero-cine .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; } }

.hero.hero-cine .hero-left { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .hero.hero-cine .hero-left { gap: 24px; } }

/* Eyebrow override — gold dot instead of horizontal line */
.hero.hero-cine .hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #c9a961; margin: 0;
}
.hero.hero-cine .hero-kicker > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #c9a961; display: inline-block; }

.hero.hero-cine h1.hero-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; line-height: 1.05; letter-spacing: -0.018em;
  font-size: clamp(2.2rem, 6.5vw, 3.6rem); color: #fff; margin: 0;
}
@media (min-width: 1024px) { .hero.hero-cine h1.hero-h1 { font-size: clamp(2.6rem, 4vw, 3.4rem); } }
.hero.hero-cine .hl-white { display: block; color: #fff; }
.hero.hero-cine .hl-gold  { display: block; color: #F1D78A; }
.hero.hero-cine .hl-gold em { color: #F1D78A; }
.hero.hero-cine .hero-h1 em { color: #F1D78A; }
.hero.hero-cine .hl-gold em { font-style: italic; }

.hero.hero-cine .hero-sub {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 1rem; line-height: 1.62; color: rgba(255,255,255,0.82);
  max-width: 52ch; margin: 0;
}
@media (min-width: 768px) { .hero.hero-cine .hero-sub { font-size: 1.04rem; } }

.hero.hero-cine .hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
@media (min-width: 768px) { .hero.hero-cine .hero-actions { flex-direction: row; align-items: center; gap: 22px; } }
.hero.hero-cine .hero-actions .btn { width: 100%; }
@media (min-width: 768px) { .hero.hero-cine .hero-actions .btn { width: auto; } }
.hero.hero-cine .hero-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); border-bottom: 1px solid rgba(255,255,255,0.28);
  padding-bottom: 2px; text-decoration: none; transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}
.hero.hero-cine .hero-secondary:hover { color: #c9a961; border-bottom-color: #c9a961; }

.hero.hero-cine .hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  padding-top: 18px; margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.82);
}
.hero.hero-cine .hero-trust .stars { color: #c9a961; font-size: 0.88rem; letter-spacing: 0; }
.hero.hero-cine .hero-trust .sep { color: rgba(255,255,255,0.4); }
.hero.hero-cine .hero-trust .sra { color: #c9a961; font-weight: 500; }

/* Form panel — dark translucent with gold top border */
.hero.hero-cine .hero-form-wrap {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 2px solid #c9a961;
  border-radius: 6px;
  padding: 22px;
}
@media (min-width: 768px) { .hero.hero-cine .hero-form-wrap { padding: 28px; } }

.hero.hero-cine .form-label-top {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #c9a961; margin-bottom: 8px;
}
.hero.hero-cine .form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 6px;
}
.hero.hero-cine .form-sub {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 0.9rem; color: rgba(255,255,255,0.58); margin-bottom: 18px;
}
.hero.hero-cine .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero.hero-cine .fgroup { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.hero.hero-cine .fgroup label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.hero.hero-cine .fgroup input,
.hero.hero-cine .fgroup select,
.hero.hero-cine .fgroup textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 4px;
  font-family: 'Open Sans', system-ui, sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.hero.hero-cine .fgroup input::placeholder,
.hero.hero-cine .fgroup textarea::placeholder { color: rgba(255,255,255,0.38); }
.hero.hero-cine .fgroup input:focus,
.hero.hero-cine .fgroup select:focus,
.hero.hero-cine .fgroup textarea:focus { outline: none; border-color: #c9a961; background: rgba(255,255,255,0.06); }
.hero.hero-cine .fgroup select { appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%),
                    linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
.hero.hero-cine .fgroup select option { background: #0a0a0a; color: #fff; }
.hero.hero-cine .form-btn { width: 100%; }
.hero.hero-cine .form-note {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.66rem; letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.58); text-align: center; margin-top: 12px;
}
