@charset "UTF-8";
/*
 * Prime Investments Hong Kong Limited — public design system
 * ------------------------------------------------------------
 * Single stylesheet for the public website. Tokens first, then base,
 * layout, shell, components. No frameworks. Fraunces + Manrope are loaded
 * from Google Fonts in includes/site/header.php (display=swap).
 *
 * Contents
 *  01. Design tokens
 *  02. Reset & base
 *  03. Accessibility & utilities
 *  04. Buttons, badges, chips
 *  05. Site header, navigation & mobile drawer
 *  06. Hero, page hero & section primitives
 *  07. Cards & content components
 *  08. Stats, process & accordions
 *  09. Forms, CAPTCHA & calculator
 *  10. Tables, alerts, pagination, empty states
 *  11. Testimonials slider
 *  12. CTA band, footer & back-to-top
 *  13. Reveal motion, 404 & print
 */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette — docs/PROJECT_SPEC.md §2.1 */
  --brand-950: #2e0417;
  --brand-900: #3d061f;
  --brand-800: #4a0726;
  --brand-700: #640935;
  --brand-600: #7c1247;
  --brand-500: #9a1f5e;
  --brand-100: #f3dce6;
  --brand-050: #fbf0f4;

  --gold-600: #a98544;
  --gold-500: #c9a227;
  --gold-400: #d9b85c;
  --gold-300: #e7d3a8;
  --gold-100: #f6eedc;

  --teal-700: #0b5d50;
  --teal-600: #0e6b5c;
  --teal-100: #e3f3ee;

  --ink-900: #171210;
  --ink-700: #322a26;
  --body: #4f4743;
  --muted: #6d635d;
  --line: #e7dfd3;
  --line-strong: #d8cdbd;
  --surface: #ffffff;
  --ivory: #faf7f1;
  --sand: #f1eae0;
  --sand-deep: #e9e0d2;
  --white: #ffffff;

  --success: #0e6b5c;
  --danger: #a4262c;
  --warning: #8a5a00;

  /* On-dark helpers */
  --on-dark: rgba(255, 255, 255, 0.82);
  --on-dark-muted: rgba(255, 255, 255, 0.6);
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --gold-line: rgba(201, 162, 39, 0.45);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.25rem, 1.2vw + 0.95rem, 1.5rem);
  --h4: clamp(1.125rem, 0.6vw + 1rem, 1.3125rem);
  --h3: clamp(1.375rem, 1.2vw + 1.05rem, 1.75rem);
  --h2: clamp(2rem, 3.4vw, 3rem);
  --h1: clamp(2.6rem, 5.2vw, 4.6rem);
  --display: clamp(2.75rem, 6.2vw, 5.25rem);
  --numeral: clamp(2.5rem, 4vw, 3.75rem);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;
  --space-12: 8rem;
  --section-block: clamp(4.25rem, 8vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Layout */
  --container: 1240px;
  --container-wide: 1400px;
  --container-narrow: 880px;
  --measure: 68ch;
  --measure-tight: 54ch;
  --header-height: 78px;
  --utility-height: 38px;

  /* Radius */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(46, 4, 23, 0.05);
  --shadow-sm: 0 8px 24px -16px rgba(46, 4, 23, 0.28);
  --shadow-md: 0 18px 44px -26px rgba(46, 4, 23, 0.32);
  --shadow-lg: 0 24px 60px -30px rgba(46, 4, 23, 0.38);
  --shadow-xl: 0 40px 90px -42px rgba(46, 4, 23, 0.45);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.28s;
  --dur-slow: 0.65s;

  /* Layers */
  --z-header: 100;
  --z-drawer: 200;
  --z-toast: 300;

  color-scheme: light;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ivory);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main {
  display: block;
  flex: 1 0 auto;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

svg {
  height: 1.25em;
  width: 1.25em;
  flex: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
figure,
blockquote,
table {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 {
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--h2);
  line-height: 1.06;
  letter-spacing: -0.026em;
}

h3 {
  font-size: var(--h3);
  line-height: 1.16;
}

h4 {
  font-size: var(--h4);
  line-height: 1.3;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--dur) var(--ease-out);
}

a:hover {
  color: var(--brand-600);
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

ul:not([class]),
ol:not([class]) {
  padding-left: 1.25em;
}

ul:not([class]) li + li,
ol:not([class]) li + li {
  margin-top: 0.4em;
}

strong,
b {
  font-weight: 700;
  color: var(--ink-900);
}

em {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: var(--space-6);
}

::selection {
  background-color: var(--gold-300);
  color: var(--brand-950);
}

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

.section--dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
  outline-color: var(--gold-400);
}

/* ==========================================================================
   03. ACCESSIBILITY & UTILITIES
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 999;
  transform: translate(-50%, -120%);
  padding: 0.9rem 1.6rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background-color: var(--brand-700);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: -4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: var(--section-block);
}

.section--surface {
  background-color: var(--surface);
}

.section--sand {
  background-color: var(--sand);
}

.section--brand-050 {
  background-color: var(--brand-050);
}

.section--dark {
  background-color: var(--brand-950);
  color: var(--on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--white);
}

.section--dark p,
.section--dark li {
  color: var(--on-dark);
}

.section--dark strong {
  color: var(--white);
}

.section--tight {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--flush-top {
  padding-top: 0;
}

.section--flush-bottom {
  padding-bottom: 0;
}

/* Hairline ornament that sits on the very top of a dark band */
.section--hatline::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 18%, var(--gold-line) 82%, transparent);
}

/* Soft ambient light used in dark sections */
.section--glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 82% 0%, rgba(201, 162, 39, 0.14), transparent 62%),
    radial-gradient(48% 54% at 8% 100%, rgba(154, 31, 94, 0.28), transparent 66%);
}

.section--glow > .container {
  position: relative;
  z-index: 1;
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 2.8vw, 2.25rem);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid--wide-gap {
  gap: clamp(2rem, 4vw, 3.5rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.split--reverse > :first-child {
  order: 2;
}

.split--wide-right {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.split--top {
  align-items: start;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.cluster--wide {
  gap: var(--space-5);
}

.flow > * + * {
  margin-top: var(--space-5);
}

.measure {
  max-width: var(--measure);
}

.measure-tight {
  max-width: var(--measure-tight);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.0625rem, 0.55vw + 0.98rem, 1.25rem);
  line-height: 1.72;
  color: var(--body);
}

.section--dark .lead,
.hero .lead {
  color: var(--on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  color: var(--gold-600);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.8;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: "";
  width: 30px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.8;
}

.section--dark .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--gold-400);
}

.muted {
  color: var(--muted);
}

.section--dark .muted {
  color: var(--on-dark-muted);
}

.gold {
  color: var(--gold-600);
}

.section--dark .gold {
  color: var(--gold-400);
}

.text-serif {
  font-family: var(--font-display);
}

.no-scroll {
  overflow: hidden;
}

/* Decorative rule with a gold diamond */
.ornament-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-500);
}

.ornament-rule::before,
.ornament-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.35;
}

.gold-rule {
  display: block;
  width: 56px;
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  margin-block: var(--space-5);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  stroke-width: 1.6;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

.icon--lg {
  width: 1.75em;
  height: 1.75em;
}

.icon--xl {
  width: 2.25em;
  height: 2.25em;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background-color: var(--brand-050);
  color: var(--brand-700);
  border: 1px solid rgba(100, 9, 53, 0.08);
}

.icon-badge .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.section--dark .icon-badge {
  background-color: rgba(201, 162, 39, 0.12);
  border-color: var(--gold-line);
  color: var(--gold-400);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-950));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   04. BUTTONS, BADGES, CHIPS
   ========================================================================== */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: var(--white);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.65rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.btn .icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform var(--dur) var(--ease-out);
}

.btn:hover .icon--arrow,
.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.btn--primary {
  --btn-bg: var(--brand-700);
  --btn-fg: var(--white);
  box-shadow: inset 0 -2px 0 rgba(201, 162, 39, 0.9), var(--shadow-sm);
}

.btn--primary:hover {
  --btn-bg: var(--brand-800);
  box-shadow: inset 0 -2px 0 var(--gold-500), var(--shadow-md);
}

.btn--gold {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--brand-950);
  box-shadow: var(--shadow-sm);
}

.btn--gold:hover {
  --btn-bg: var(--gold-400);
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--brand-700);
  --btn-border: var(--brand-700);
}

.btn--secondary:hover {
  --btn-bg: var(--brand-700);
  --btn-fg: var(--white);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-700);
  --btn-border: transparent;
}

.btn--ghost:hover {
  --btn-bg: var(--brand-050);
}

.btn--light {
  --btn-bg: var(--ivory);
  --btn-fg: var(--brand-950);
  --btn-border: var(--ivory);
}

.btn--light:hover {
  --btn-bg: var(--gold-400);
  --btn-border: var(--gold-400);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-border: var(--gold-400);
  --btn-fg: var(--gold-300);
}

.btn--dark {
  --btn-bg: var(--brand-950);
  --btn-fg: var(--white);
}

.btn--dark:hover {
  --btn-bg: var(--brand-800);
}

.btn--sm {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"],
.btn.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

.btn.is-loading {
  padding-right: 3rem;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--brand-700);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.link-arrow .icon {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform var(--dur) var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.section--dark .link-arrow,
.cta-band .link-arrow {
  color: var(--gold-300);
}

.section--dark .link-arrow:hover,
.cta-band .link-arrow:hover {
  color: var(--gold-400);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  color: var(--ink-700);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.badge .icon {
  width: 0.8rem;
  height: 0.8rem;
}

.badge--gold {
  border-color: rgba(201, 162, 39, 0.4);
  background-color: var(--gold-100);
  color: var(--warning);
}

.badge--brand {
  border-color: var(--brand-100);
  background-color: var(--brand-050);
  color: var(--brand-700);
}

.badge--dark {
  border-color: var(--on-dark-line);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.badge--success {
  border-color: rgba(14, 107, 92, 0.3);
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  color: var(--ink-700);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.chip:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}

.chip[aria-pressed="true"],
.chip.is-active {
  border-color: var(--brand-700);
  background-color: var(--brand-700);
  color: var(--white);
}

.chip--dark {
  border-color: var(--on-dark-line);
  background-color: transparent;
  color: var(--on-dark);
}

.chip--dark:hover,
.chip--dark[aria-pressed="true"] {
  border-color: var(--gold-400);
  background-color: rgba(201, 162, 39, 0.14);
  color: var(--gold-300);
}

/* ==========================================================================
   05. SITE HEADER, NAVIGATION & MOBILE DRAWER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--ivory);
  transition: box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.site-header.is-stuck {
  box-shadow: 0 14px 38px -28px rgba(46, 4, 23, 0.5);
}

/* Utility bar ------------------------------------------------------------- */
.utility-bar {
  max-height: var(--utility-height);
  overflow: hidden;
  background-color: var(--brand-950);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  transition:
    max-height 0.4s var(--ease-out),
    opacity 0.3s var(--ease-out);
}

.site-header.is-stuck .utility-bar {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--utility-height);
}

.utility-bar__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-bar__item {
  display: flex;
  align-items: center;
}

.utility-bar__item + .utility-bar__item::before {
  content: "";
  width: 1px;
  height: 12px;
  margin-inline: 1.1rem;
  background-color: rgba(255, 255, 255, 0.18);
}

.utility-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-block: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

.utility-bar__link:hover {
  color: var(--gold-300);
}

.utility-bar__link .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold-400);
}

.utility-bar__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.utility-bar__meta .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold-400);
}

.utility-bar__portal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.35rem;
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.utility-bar__portal:hover {
  color: var(--white);
}

.utility-bar__portal .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* Navbar ------------------------------------------------------------------ */
.navbar {
  background-color: var(--ivory);
  border-bottom: 1px solid rgba(231, 223, 211, 0.0);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.site-header.is-stuck .navbar {
  background-color: rgba(250, 247, 241, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--header-height);
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--ink-900);
  text-decoration: none;
}

.navbar__brand:hover {
  color: var(--ink-900);
}

.navbar__logo {
  width: auto;
  height: 42px;
  max-width: 230px;
  object-fit: contain;
}

.navbar__logo--dark {
  display: block;
}

.navbar__logo--light {
  display: none;
}

.navbar__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink-900);
}

.navbar__wordmark span {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.navbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav {
  position: relative;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__row {
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-xs);
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background-color: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s var(--ease-out);
}

.nav__link:hover,
.nav__item.is-open > .nav__row .nav__link {
  color: var(--brand-700);
}

.nav__link:hover::after,
.nav__item.is-open > .nav__row .nav__link::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--brand-700);
}

.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -0.7rem;
  padding: 0;
  border-radius: var(--radius-xs);
  color: var(--muted);
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.nav__toggle .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.nav__toggle:hover {
  color: var(--brand-700);
}

.nav__item.is-open .nav__toggle {
  color: var(--brand-700);
  transform: rotate(180deg);
}

.section--dark .nav__item.is-open .nav__toggle {
  color: var(--gold-300);
}

/* Dropdown panel */
.nav__submenu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  z-index: 10;
  width: max-content;
  min-width: 270px;
  max-width: min(640px, calc(100vw - 2.5rem));
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-500);
  border-radius: 0 0 var(--radius) var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.22s var(--ease-out),
    transform 0.22s var(--ease-out),
    visibility 0.22s;
}

.nav__submenu--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 0.15rem 0.35rem;
  width: min(600px, calc(100vw - 2.5rem));
}

.nav__item:hover > .nav__submenu,
.nav__item.is-open > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__submenu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.nav__submenu-link:hover {
  background-color: var(--brand-050);
  color: var(--brand-700);
}

.nav__submenu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 10px;
  background-color: var(--brand-050);
  color: var(--brand-700);
}

.nav__submenu-icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.nav__submenu-link:hover .nav__submenu-icon {
  background-color: var(--brand-700);
  color: var(--white);
}

.nav__submenu-text {
  display: block;
  min-width: 0;
}

.nav__submenu-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.nav__submenu-desc {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.nav__submenu-link:hover .nav__submenu-desc {
  color: var(--brand-600);
}

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: none;
}

.navbar__divider {
  width: 1px;
  height: 26px;
  background-color: var(--line);
}

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--ink-900);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.hamburger .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.hamburger:hover {
  border-color: var(--gold-500);
  color: var(--brand-700);
}

/* Transparent header variant (homepage) */
.site-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header--transparent .navbar {
  background-color: transparent;
}

.site-header--transparent .navbar__logo--dark,
.site-header--transparent .navbar__wordmark {
  display: none;
}

.site-header--transparent .navbar__logo--light {
  display: block;
}

.site-header--transparent .navbar__wordmark--light {
  display: flex;
}

.site-header--transparent .navbar__wordmark--light span {
  color: var(--gold-300);
}

.site-header--transparent .navbar__wordmark {
  color: var(--white);
}

.site-header--transparent .nav__link {
  color: rgba(255, 255, 255, 0.88);
}

.site-header--transparent .nav__link:hover,
.site-header--transparent .nav__item.is-open > .nav__row .nav__link {
  color: var(--white);
}

.site-header--transparent .nav__link[aria-current="page"] {
  color: var(--white);
}

.site-header--transparent .nav__toggle {
  color: rgba(255, 255, 255, 0.7);
}

.site-header--transparent .nav__toggle:hover {
  color: var(--white);
}

.site-header--transparent .hamburger {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.site-header--transparent .navbar__divider {
  background-color: rgba(255, 255, 255, 0.22);
}

.site-header--transparent.is-stuck {
  position: fixed;
  background-color: rgba(250, 247, 241, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px -32px rgba(46, 4, 23, 0.55);
}

.site-header--transparent.is-stuck .navbar {
  background-color: transparent;
  border-bottom-color: var(--line);
}

.site-header--transparent.is-stuck .navbar__logo--dark,
.site-header--transparent.is-stuck .navbar__wordmark {
  display: block;
}

.site-header--transparent.is-stuck .navbar__logo--light {
  display: none;
}

.site-header--transparent.is-stuck .navbar__wordmark--light {
  display: none;
}

.site-header--transparent.is-stuck .navbar__wordmark {
  color: var(--ink-900);
}

.site-header--transparent.is-stuck .navbar__wordmark span {
  color: var(--gold-600);
}

.site-header--transparent.is-stuck .nav__link {
  color: var(--ink-700);
}

.site-header--transparent.is-stuck .nav__link:hover,
.site-header--transparent.is-stuck .nav__item.is-open > .nav__row .nav__link {
  color: var(--brand-700);
}

.site-header--transparent.is-stuck .nav__link[aria-current="page"] {
  color: var(--brand-700);
}

.site-header--transparent.is-stuck .nav__toggle {
  color: var(--muted);
}

.site-header--transparent.is-stuck .hamburger {
  border-color: var(--line-strong);
  color: var(--ink-900);
}

.site-header--transparent.is-stuck .navbar__divider {
  background-color: var(--line);
}

/* When the transparent header is stuck over the hero the hero needs extra top space */
.hero--under-header {
  padding-top: 0;
}

/* Mobile drawer ----------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(23, 18, 16, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.32s var(--ease-out);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 92vw);
  background-color: var(--ivory);
  box-shadow: -30px 0 80px -40px rgba(46, 4, 23, 0.5);
  transform: translateX(102%);
  transition: transform 0.38s var(--ease-out);
  overflow: hidden;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1rem clamp(1.25rem, 4vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background-color: var(--surface);
}

.drawer__brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink-900);
  text-decoration: none;
}

.drawer__logo {
  width: auto;
  height: 34px;
  max-width: 190px;
  object-fit: contain;
}

.drawer__wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-900);
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-900);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.drawer__close:hover {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
}

.drawer__close .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem clamp(1.25rem, 4vw, 1.75rem) 2rem;
  -webkit-overflow-scrolling: touch;
}

.drawer__foot {
  flex: none;
  padding: 1.25rem clamp(1.25rem, 4vw, 1.75rem) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background-color: var(--brand-950);
  color: rgba(255, 255, 255, 0.75);
}

.drawer__foot .btn {
  width: 100%;
}

.drawer__foot-actions {
  display: grid;
  gap: 0.75rem;
}

.drawer__contact {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.drawer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.drawer__contact a:hover {
  color: var(--gold-300);
}

.drawer__contact .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold-400);
}

.drawer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-menu__item {
  border-bottom: 1px solid var(--line);
}

.drawer-menu__row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
}

.drawer-menu__link {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 56px;
  padding-block: 0.75rem;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.drawer-menu__link:hover,
.drawer-menu__link[aria-current="page"] {
  color: var(--brand-700);
}

.drawer-menu__link[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 0.7rem;
  border-radius: 50%;
  background-color: var(--gold-500);
}

.drawer-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 46px;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    transform var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.drawer-menu__toggle .icon {
  width: 1rem;
  height: 1rem;
}

.drawer-menu__item.is-open .drawer-menu__toggle {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
  transform: rotate(180deg);
}

.drawer-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-out);
}

.drawer-menu__item.is-open .drawer-submenu {
  grid-template-rows: 1fr;
}

.drawer-submenu__inner {
  overflow: hidden;
}

.drawer-submenu__list {
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.drawer-submenu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-xs);
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.drawer-submenu__link:hover {
  background-color: var(--brand-050);
  color: var(--brand-700);
}

.drawer-submenu__link .icon {
  width: 1rem;
  height: 1rem;
  color: var(--gold-600);
}

.drawer__eyebrow {
  margin-bottom: 0.5rem;
  color: var(--gold-600);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ==========================================================================
   06. HERO, PAGE HERO & SECTION PRIMITIVES
   ========================================================================== */
/* Homepage hero ----------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(94svh, 920px);
  background-color: var(--brand-950);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(80% 90% at 78% 12%, rgba(201, 162, 39, 0.2), transparent 55%),
    linear-gradient(150deg, var(--brand-900), var(--brand-950));
}

.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  z-index: 1;
}

.hero__poster {
  z-index: 0;
}

/* Cinematic scrim keeps copy AA-legible over any footage */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(46, 4, 23, 0.72) 0%, rgba(46, 4, 23, 0.28) 34%, rgba(46, 4, 23, 0.62) 68%, rgba(46, 4, 23, 0.94) 100%),
    linear-gradient(105deg, rgba(46, 4, 23, 0.86) 0%, rgba(46, 4, 23, 0.34) 52%, rgba(46, 4, 23, 0.08) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + var(--utility-height) + clamp(3.5rem, 9vh, 7.5rem));
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero__content {
  max-width: 840px;
}

.hero__eyebrow {
  color: var(--gold-300);
}

.hero__title {
  margin-top: clamp(1rem, 2.2vh, 1.75rem);
  color: var(--white);
  font-size: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-300);
}

.hero__lede {
  margin-top: clamp(1.1rem, 2.4vh, 1.75rem);
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.0625rem, 0.6vw + 0.98rem, 1.25rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.75rem, 6vh, 4.5rem);
  padding-top: clamp(1.25rem, 3vh, 1.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 860px;
}

.hero-stat {
  padding-inline: clamp(0rem, 2vw, 2rem);
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-stat__label {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero--compact {
  min-height: min(78svh, 760px);
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 1.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
}

.hero__scroll:hover {
  color: var(--gold-300);
}

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-height) + var(--utility-height) + clamp(2.75rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(60% 70% at 92% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 72%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: var(--utility-height);
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 1;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.page-hero__inner--single {
  display: block;
  max-width: 900px;
}

.page-hero__content {
  max-width: 780px;
}

.page-hero__title {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-hero__lede {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  max-width: 58ch;
  color: var(--body);
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.1875rem);
  line-height: 1.72;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.page-hero__aside {
  justify-self: end;
  width: 100%;
  max-width: 400px;
}

.page-hero--dark {
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(201, 162, 39, 0.16), transparent 56%),
    linear-gradient(160deg, var(--brand-900), var(--brand-950));
  border-bottom-color: transparent;
  color: var(--on-dark);
}

.page-hero--dark::before {
  background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
}

.page-hero--dark .page-hero__title {
  color: var(--white);
}

.page-hero--dark .page-hero__lede {
  color: var(--on-dark);
}

.page-hero--dark .eyebrow {
  color: var(--gold-400);
}

.page-hero--center .page-hero__inner--single {
  margin-inline: auto;
  text-align: center;
}

.page-hero--center .page-hero__lede,
.page-hero--center .page-hero__actions {
  margin-inline: auto;
  justify-content: center;
}

.page-hero--center .eyebrow {
  justify-content: center;
}

.page-hero--compact {
  padding-top: calc(var(--header-height) + var(--utility-height) + clamp(2rem, 4vw, 3rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.page-hero--compact .page-hero__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.page-hero__aside-card {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-hero--dark .page-hero__aside-card {
  border-color: var(--on-dark-line);
  background-color: rgba(255, 255, 255, 0.06);
}

.page-hero__aside-title {
  margin: 0 0 0.9rem;
  font-size: var(--h4);
}

.page-hero__aside-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.page-hero__aside-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.page-hero__aside-card li .icon {
  margin-top: 0.3rem;
  color: var(--gold-600);
}

/* Section head ------------------------------------------------------------ */
.section-head {
  max-width: 760px;
}

.section-head__title {
  margin-top: 1rem;
}

.section-head__lede {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: var(--body);
  font-size: clamp(1rem, 0.3vw + 0.96rem, 1.125rem);
  line-height: 1.72;
}

.section--dark .section-head__lede {
  color: var(--on-dark);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .section-head__lede {
  margin-inline: auto;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: none;
}

.section-head--split .section-head__main {
  max-width: 680px;
}

.section-head__aside {
  flex: 0 0 auto;
  padding-bottom: 0.35rem;
}

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs {
  padding-top: calc(var(--header-height) + var(--utility-height) + 1.25rem);
}

.breadcrumbs--inset {
  padding-top: 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline: 0.35rem;
  transform: rotate(45deg);
  border-top: 1px solid var(--gold-600);
  border-right: 1px solid var(--gold-600);
}

.breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--brand-700);
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--ink-700);
  font-weight: 600;
}

/* Editorial media --------------------------------------------------------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 80% at 20% 10%, rgba(201, 162, 39, 0.24), transparent 60%),
    linear-gradient(150deg, var(--brand-100), var(--sand));
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.media-frame--4x5 {
  aspect-ratio: 4 / 5;
}

.media-frame--1x1 {
  aspect-ratio: 1 / 1;
}

.media-frame--16x10 {
  aspect-ratio: 16 / 10;
}

.media-frame--3x2 {
  aspect-ratio: 3 / 2;
}

.media-frame--hero {
  aspect-ratio: 16 / 9;
}

.media-frame:hover img {
  transform: scale(1.035);
}

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(100, 9, 53, 0.5);
}

.media-frame__placeholder .icon {
  width: 3rem;
  height: 3rem;
}

/* Editorial offset frame + floating accent card */
.editorial-media {
  position: relative;
  isolation: isolate;
}

.editorial-media__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.editorial-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 6;
}

.editorial-media::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  z-index: 0;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.editorial-media__caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background-color: rgba(46, 4, 23, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accent-card {
  position: absolute;
  right: clamp(-1rem, -1.5vw, -0.5rem);
  bottom: 2rem;
  z-index: 3;
  width: min(270px, 78%);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-xl);
}

.accent-card__value {
  display: block;
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.accent-card__label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.accent-card__rule {
  display: block;
  width: 40px;
  height: 2px;
  margin-block: 0.85rem;
  background-color: var(--gold-500);
}

.accent-card__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body);
}

/* Checklist --------------------------------------------------------------- */
.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-700);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.checklist .icon {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold-600);
}

.section--dark .checklist li {
  color: var(--on-dark);
}

.section--dark .checklist .icon {
  color: var(--gold-400);
}

.checklist--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2rem;
}

/* Editorial intro split --------------------------------------------------- */
.intro {
  overflow: visible;
}

.intro__body {
  max-width: 600px;
}

.intro__title {
  margin-top: 1rem;
}

.intro__text {
  margin-top: 1.35rem;
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.intro__text + .intro__text {
  margin-top: 1rem;
}

.intro__checklist {
  margin-top: 1.75rem;
}

.intro__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.intro__signature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.intro__signature .avatar {
  width: 2.75rem;
  height: 2.75rem;
}

.intro__signature-name {
  display: block;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.9375rem;
}

.intro__signature-role {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* ==========================================================================
   07. CARDS & CONTENT COMPONENTS
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card--flush:hover img {
  transform: scale(1.04);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--sand), var(--brand-100));
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--gold-500);
}

.card__title {
  margin-top: 0.65rem;
  font-size: var(--h4);
  line-height: 1.25;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--brand-700);
}

.card__text {
  margin-top: 0.65rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.35rem;
}

.card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-700);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.card__arrow .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.card:hover .card__arrow {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
  transform: rotate(-45deg);
}

/* Service card ------------------------------------------------------------ */
.service-card {
  overflow: hidden;
  min-height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  border: 1px solid rgba(100, 9, 53, 0.09);
  background-color: var(--brand-050);
  color: var(--brand-700);
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.service-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card:hover .service-card__icon {
  background-color: var(--brand-700);
  color: var(--gold-300);
}

.service-card__index {
  color: var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.service-card__title {
  margin-top: 1.35rem;
  font-size: clamp(1.2rem, 1.2vw, 1.4rem);
  line-height: 1.22;
}

.service-card__title a {
  color: inherit;
  text-decoration: none;
}

.service-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}

.service-card__text {
  margin-top: 0.7rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-card__features {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--ink-700);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.service-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-card__features .icon {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.2rem;
  color: var(--gold-600);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card__cta .icon {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform var(--dur) var(--ease-out);
}

.service-card:hover .service-card__cta .icon {
  transform: translateX(4px);
}

/* Dark "explore all" card */
.service-card--dark {
  border-color: transparent;
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(201, 162, 39, 0.22), transparent 55%),
    linear-gradient(160deg, var(--brand-800), var(--brand-950));
  color: var(--on-dark);
}

.service-card--dark:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-xl);
}

.service-card--dark .service-card__icon {
  border-color: var(--gold-line);
  background-color: rgba(201, 162, 39, 0.12);
  color: var(--gold-400);
}

.service-card--dark .service-card__index {
  color: rgba(255, 255, 255, 0.32);
}

.service-card--dark .service-card__title {
  color: var(--white);
}

.service-card--dark .service-card__text {
  color: var(--on-dark);
}

.service-card--dark .service-card__cta {
  color: var(--gold-300);
}

/* Feature list inside the dark card must not inherit the light-surface ink
   (--ink-700 on the burgundy gradient measured ~1.3:1). Mirror the
   .section--dark .checklist treatment: on-dark body text, gold-400 checks. */
.service-card--dark .service-card__features {
  border-top-color: var(--on-dark-line);
  color: var(--on-dark);
}

.service-card--dark .service-card__features .icon {
  color: var(--gold-400);
}

/* Loan card --------------------------------------------------------------- */
.loan-card {
  overflow: hidden;
}

.loan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.loan-card__title {
  margin-top: 1rem;
  font-size: clamp(1.2rem, 1.2vw, 1.4rem);
}

.loan-card__title a {
  color: inherit;
  text-decoration: none;
}

.loan-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}

.loan-card__text {
  margin-top: 0.55rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.loan-card__rate {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.loan-card__rate-value {
  display: block;
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.loan-card__rate-value small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.loan-card__rate-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.loan-card__facts {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.loan-card__facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--body);
  font-size: 0.8125rem;
}

.loan-card__facts span:first-child {
  color: var(--muted);
}

.loan-card__facts span:last-child {
  color: var(--ink-900);
  font-weight: 700;
  text-align: right;
}

.loan-card__cta {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Team card --------------------------------------------------------------- */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.team-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 70% at 20% 10%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-950));
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition:
    transform 1s var(--ease-out),
    filter 0.6s var(--ease-out);
}

.team-card:hover .team-card__media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.team-card__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
}

.team-card__badge {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(46, 4, 23, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.team-card__badge:hover {
  background-color: var(--gold-500);
  color: var(--brand-950);
}

.team-card__badge .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.team-card__name {
  font-size: var(--h4);
  line-height: 1.25;
}

.team-card__role {
  margin-top: 0.35rem;
  color: var(--gold-600);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.team-card__bio {
  margin-top: 0.65rem;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.section--dark .team-card__bio {
  color: var(--on-dark);
}

.section--dark .team-card__name {
  color: var(--white);
}

/* Article card ------------------------------------------------------------ */
.article-card {
  overflow: hidden;
}

.article-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--sand), var(--brand-100));
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.article-card:hover .article-card__media img {
  transform: scale(1.045);
}

.article-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.34rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(250, 247, 241, 0.94);
  color: var(--brand-700);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.article-card__date {
  color: var(--muted);
}

.article-card__title {
  margin-top: 0.7rem;
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  line-height: 1.28;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}

.article-card__excerpt {
  margin-top: 0.7rem;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.article-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-card__read .icon {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform var(--dur) var(--ease-out);
}

.article-card:hover .article-card__read .icon {
  transform: translateX(4px);
}

.article-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.article-card--featured .article-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}

.article-card--featured .card__body,
.article-card--featured .article-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 3.4vw, 3rem);
}

.article-card--featured .article-card__title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.14;
}

/* Value / pillar card ----------------------------------------------------- */
.value-card {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out);
}

.value-card:hover {
  border-color: var(--gold-500);
}

.section--dark .value-card {
  border-top-color: var(--on-dark-line);
}

.section--dark .value-card:hover {
  border-top-color: var(--gold-400);
}

.value-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.value-card__index {
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.section--dark .value-card__index {
  color: var(--gold-400);
}

.value-card__icon {
  color: var(--brand-700);
}

.section--dark .value-card__icon {
  color: var(--gold-400);
}

.value-card__icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.value-card__title {
  margin-top: 1.35rem;
  font-size: clamp(1.2rem, 1.3vw, 1.4rem);
  line-height: 1.24;
}

.value-card__text {
  margin-top: 0.7rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.68;
}

.section--dark .value-card__text {
  color: var(--on-dark);
}

.value-card--boxed {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.66);
}

/* Simple feature item used in overview columns */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item__icon {
  flex: none;
  color: var(--gold-600);
}

/* Testimonial quote card (used standalone and inside the slider) ---------- */
.quote {
  position: relative;
  padding-left: clamp(1.75rem, 4vw, 3.25rem);
}

.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
}

.quote__mark {
  color: var(--gold-500);
}

.quote__mark .icon {
  width: 2rem;
  height: 2rem;
}

.quote__text {
  margin-top: 1.1rem;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.36;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.quote__author-name {
  display: block;
  color: var(--ink-900);
  font-size: 0.9375rem;
  font-weight: 700;
}

.quote__author-role {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.quote__stars {
  display: inline-flex;
  gap: 0.2rem;
  margin-top: 0.75rem;
  color: var(--gold-500);
}

.quote__stars .icon {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
  stroke-width: 0;
}

.section--dark .quote__text,
.section--dark .quote__author-name {
  color: var(--white);
}

.section--dark .quote::before {
  background: linear-gradient(180deg, var(--gold-400), transparent);
}

/* ==========================================================================
   08. STATS, PROCESS & ACCORDIONS
   ========================================================================== */
/* Numbers band ------------------------------------------------------------ */
.stats-band {
  border-block: 1px solid var(--line);
  background-color: var(--sand);
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.stat-block {
  padding-inline: clamp(1rem, 2.5vw, 2.5rem);
}

.stat-block:first-child {
  padding-left: 0;
}

.stat-block + .stat-block {
  border-left: 1px solid var(--line);
}

.stat-block__value {
  display: block;
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: var(--numeral);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.stat-block__value--gold {
  color: var(--gold-600);
}

.stat-block__label {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink-900);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}

.stat-block__note {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.stats-band--dark {
  border-block-color: transparent;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(201, 162, 39, 0.14), transparent 60%),
    var(--brand-950);
}

.stats-band--dark .stat-block + .stat-block {
  border-left-color: var(--on-dark-line);
}

.stats-band--dark .stat-block__value {
  color: var(--white);
}

.stats-band--dark .stat-block__value--gold {
  color: var(--gold-400);
}

.stats-band--dark .stat-block__label {
  color: rgba(255, 255, 255, 0.72);
}

.stats-band--dark .stat-block__note {
  color: var(--on-dark-muted);
}

.stats-band--surface {
  background-color: var(--surface);
}

/* Process / approach ------------------------------------------------------ */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process::before {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 1.65rem;
  right: calc(25% - 1.65rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-line), var(--line) 70%, transparent);
}

.process__step {
  position: relative;
  counter-increment: process;
}

.process__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background-color: var(--ivory);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.process__step:hover .process__number {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--gold-300);
}

.process__title {
  margin-top: 1.35rem;
  font-size: clamp(1.1rem, 1.1vw, 1.25rem);
  line-height: 1.28;
}

.process__text {
  margin-top: 0.6rem;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 32ch;
}

.process--dark .process__number {
  background-color: var(--brand-950);
  border-color: var(--gold-line);
  color: var(--gold-300);
}

.process--dark .process__title {
  color: var(--white);
}

.process--dark .process__text {
  color: var(--on-dark);
}

.process--dark::before {
  background: linear-gradient(90deg, var(--gold-line), var(--on-dark-line) 70%, transparent);
}

/* Vertical timeline variant */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 2.25rem;
  list-style: none;
}

/* The global [role="list"] reset has the same specificity as .timeline and
   would otherwise remove the gutter that the line and markers rely on. */
.timeline[role="list"] {
  padding: 0 0 0 2.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  bottom: 0.4rem;
  left: calc(0.34rem - 0.5px);
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-line) 45%, var(--line));
}

.timeline__item::before {
  box-shadow: 0 0 0 3px var(--ivory);
}

.timeline__item {
  position: relative;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* Stop the rail at the last marker instead of letting it dangle past the
   final milestone. The mask sits behind the text and over the rail only. */
.timeline__item:last-child::after {
  content: "";
  position: absolute;
  left: calc(-2.25rem + 0.34rem - 1px);
  top: 1.05rem;
  bottom: -0.6rem;
  width: 5px;
  background: var(--ivory);
  pointer-events: none;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: calc(-2.25rem + 0.34rem - 4px);
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  background-color: var(--ivory);
}

.timeline__year {
  display: block;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.timeline__title {
  margin-top: 0.3rem;
  font-size: var(--h4);
}

.timeline__text {
  margin-top: 0.45rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Accordion --------------------------------------------------------------- */
.accordion {
  border-top: 1px solid var(--line);
  margin: 0;
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__heading {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 64px;
  padding: 1.15rem 0;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.05vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
  text-align: left;
  transition: color var(--dur) var(--ease-out);
}

.accordion__trigger:hover {
  color: var(--brand-700);
}

.accordion__trigger:focus-visible {
  outline-offset: 4px;
}

.accordion__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand-700);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform 0.34s var(--ease-out);
}

.accordion__icon .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.34s var(--ease-out);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon .icon {
  transform: rotate(180deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel-inner {
  overflow: hidden;
}

.accordion__content {
  max-width: 72ch;
  padding: 0.15rem 4rem 1.65rem 0;
  color: var(--body);
  font-size: 0.975rem;
  line-height: 1.75;
}

.accordion__content > * + * {
  margin-top: 0.75rem;
}

.accordion__content a {
  color: var(--brand-700);
  font-weight: 600;
}

.accordion--dark {
  border-top-color: var(--on-dark-line);
}

.accordion--dark .accordion__item {
  border-bottom-color: var(--on-dark-line);
}

.accordion--dark .accordion__trigger {
  color: var(--white);
}

.accordion--dark .accordion__trigger:hover {
  color: var(--gold-300);
}

.accordion--dark .accordion__icon {
  border-color: var(--on-dark-line);
  color: var(--gold-300);
}

.accordion--dark .accordion__trigger[aria-expanded="true"] .accordion__icon {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--brand-950);
}

.accordion--dark .accordion__content {
  color: var(--on-dark);
}

/* No-JS: reveal all accordion content so nothing is lost */
.no-js .accordion__panel {
  grid-template-rows: 1fr;
}

/* Filter chips row -------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.filter-bar__label {
  margin-right: 0.25rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-bar__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8125rem;
}

.insights-grid [hidden],
.insights-grid .is-filtered-out {
  display: none !important;
}

/* ==========================================================================
   09. FORMS, CAPTCHA & CALCULATOR
   ========================================================================== */
.form {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-900);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.field__required {
  color: var(--brand-600);
}

.field__optional {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.field__control {
  position: relative;
  display: block;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition:
    border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23640935' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

.input::placeholder,
.textarea::placeholder {
  color: #9a908a;
  opacity: 1;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.28);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.field--error .input,
.field--error .select,
.field--error .textarea {
  border-color: var(--danger);
}

.field--error .input:focus,
.field--error .select:focus,
.field--error .textarea:focus {
  box-shadow: 0 0 0 3px rgba(164, 38, 44, 0.2);
}

.field__hint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.field__error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
}

.field__error .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

/* Checkbox / consent */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background-color: var(--surface);
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.checkbox input[type="checkbox"]:checked {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
}

.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.checkbox a {
  color: var(--brand-700);
  font-weight: 600;
}

/* Honeypot — visually hidden but not display:none so bots fill it */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Form status messages */
.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: flex;
}

.form-status .icon {
  margin-top: 0.15rem;
}

.form-status--success {
  border-color: rgba(14, 107, 92, 0.32);
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.form-status--error {
  border-color: rgba(164, 38, 44, 0.3);
  background-color: #fbeaea;
  color: #8a1f24;
}

.form-status--info {
  border-color: rgba(100, 9, 53, 0.22);
  background-color: var(--brand-050);
  color: var(--brand-700);
}

/* CAPTCHA widget */
.captcha {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(251, 240, 244, 0.7), rgba(250, 247, 241, 0.7));
}

.captcha__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.captcha__head .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.captcha__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.captcha__question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--brand-950);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.captcha__equals {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.captcha__answer {
  width: 6.5rem;
  min-height: 48px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink-900);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition:
    border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.captcha__answer:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.28);
  outline: 2px solid transparent;
}

.captcha__refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.captcha__refresh:hover {
  border-color: var(--brand-700);
  background-color: var(--brand-700);
  color: var(--white);
}

.captcha__refresh .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.captcha__refresh.is-loading .icon {
  animation: btn-spin 0.8s linear infinite;
}

.captcha__note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Loan calculator --------------------------------------------------------- */
.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.calculator__form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.calculator__title {
  font-size: var(--h4);
}

.calculator__sub {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.calc-field {
  margin-top: 1.5rem;
}

.calc-field__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.calc-field__label {
  color: var(--ink-900);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.calc-field__value {
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.calc-field__range {
  width: 100%;
  height: 26px;
  margin: 0;
  background: transparent;
  accent-color: var(--brand-700);
  cursor: pointer;
}

.calc-field__range:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
  border-radius: var(--radius-pill);
}

.calc-field__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.calc-field__hint {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.calculator__results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(201, 162, 39, 0.2), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-950));
  color: var(--on-dark);
}

.calculator__results-label {
  color: var(--gold-300);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calculator__monthly {
  display: block;
  margin-top: 0.75rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.calculator__monthly small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.calculator__breakdown {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--on-dark-line);
}

.calculator__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--on-dark);
}

.calculator__row strong {
  color: var(--white);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.calculator__note {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* ==========================================================================
   10. TABLES, ALERTS, PAGINATION, EMPTY STATES
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.55;
}

.table caption {
  padding: 1rem 1.25rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: left;
  caption-side: top;
}

.table th,
.table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
}

.table thead th {
  background-color: var(--sand);
  color: var(--ink-900);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.table tbody tr:hover td {
  background-color: var(--brand-050);
}

.table strong {
  color: var(--ink-900);
}

.table--dark {
  background-color: transparent;
  color: var(--on-dark);
}

.table--dark thead th {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--gold-300);
}

.table--dark tbody tr + tr td {
  border-top-color: var(--on-dark-line);
}

.table--dark tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.04);
}

.table--dark strong {
  color: var(--white);
}

/* Alerts ------------------------------------------------------------------ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.6;
}

.alert .icon {
  margin-top: 0.15rem;
  flex: none;
}

.alert a {
  color: inherit;
  font-weight: 700;
}

.alert--info {
  border-color: rgba(100, 9, 53, 0.22);
  background-color: var(--brand-050);
  color: var(--brand-800);
}

.alert--success {
  border-color: rgba(14, 107, 92, 0.3);
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.alert--warning {
  border-color: rgba(138, 90, 0, 0.3);
  background-color: #fbf3e2;
  color: #6d4800;
}

.alert--error {
  border-color: rgba(164, 38, 44, 0.28);
  background-color: #fbeaea;
  color: #8a1f24;
}

/* Pagination -------------------------------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink-700);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.pagination__link:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}

.pagination__link[aria-current="page"] {
  border-color: var(--brand-700);
  background-color: var(--brand-700);
  color: var(--white);
}

.pagination__link[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.pagination__link .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* Empty state ------------------------------------------------------------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  text-align: center;
}

.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: var(--brand-050);
  color: var(--brand-600);
}

.empty-state__title {
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: var(--h4);
}

.empty-state__text {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================================
   11. TESTIMONIALS SLIDER
   ========================================================================== */
.testimonial-slider {
  position: relative;
}

.testimonial-slider__viewport {
  overflow: hidden;
}

.testimonial-slider__track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-block: 0.5rem;
}

.testimonial-slide__inner {
  max-width: 900px;
  margin-inline: auto;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.section--dark .slider-controls,
.slider-controls--dark {
  border-top-color: var(--on-dark-line);
}

.slider-arrows {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background-color: transparent;
  color: var(--brand-700);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.slider-btn:hover {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
}

.slider-btn:active {
  transform: scale(0.96);
}

.slider-btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.section--dark .slider-btn,
.slider-controls--dark .slider-btn {
  border-color: var(--on-dark-line);
  color: var(--gold-300);
}

.section--dark .slider-btn:hover,
.slider-controls--dark .slider-btn:hover {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--brand-950);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: var(--line-strong);
  transition:
    width 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}

.slider-dot::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.slider-dot:hover {
  background-color: var(--gold-600);
}

.slider-dot[aria-current="true"] {
  width: 30px;
  background-color: var(--gold-500);
}

.section--dark .slider-dot,
.slider-controls--dark .slider-dot {
  background-color: rgba(255, 255, 255, 0.28);
}

.section--dark .slider-dot[aria-current="true"],
.slider-controls--dark .slider-dot[aria-current="true"] {
  background-color: var(--gold-400);
}

/* Make the dot hit target 44px without visually enlarging it */
.slider-dot {
  position: relative;
}

.slider-dot::before {
  content: "";
  position: absolute;
  inset: -18px;
}

.slider-pause {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slider-pause .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.section--dark .slider-pause,
.slider-controls--dark .slider-pause {
  color: var(--on-dark-muted);
}

/* No-JS: lay all quotes out in a readable grid */
.no-js .testimonial-slider__viewport {
  overflow: visible;
}

.no-js .testimonial-slider__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.no-js .slider-controls {
  display: none;
}

/* ==========================================================================
   12. CTA BAND, FOOTER & BACK-TO-TOP
   ========================================================================== */
/* Spacing helpers --------------------------------------------------------- */
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--split {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head + .section-head {
  margin-top: 1.5rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.insights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(201, 162, 39, 0.2), transparent 58%),
    radial-gradient(50% 70% at 4% 100%, rgba(154, 31, 94, 0.34), transparent 62%),
    linear-gradient(150deg, var(--brand-900), var(--brand-950));
  color: var(--on-dark);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 18%, var(--gold-line) 82%, transparent);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.cta-band__title {
  margin-top: 1rem;
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.cta-band__text {
  margin-top: 1.1rem;
  max-width: 54ch;
  color: var(--on-dark);
  font-size: 1.0625rem;
  line-height: 1.72;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-band__aside {
  justify-self: end;
  width: 100%;
  max-width: 360px;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--gold-line);
}

.cta-band__contact {
  display: grid;
  gap: 1.15rem;
}

.cta-band__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--on-dark);
  font-size: 0.9375rem;
  text-decoration: none;
}

a.cta-band__contact-row:hover {
  color: var(--gold-300);
}

.cta-band__contact-row .icon {
  margin-top: 0.2rem;
  color: var(--gold-400);
}

.cta-band__contact-label {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-band__contact-value {
  display: block;
  margin-top: 0.2rem;
  color: var(--white);
  font-weight: 600;
}

.cta-band--light {
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(201, 162, 39, 0.16), transparent 58%),
    var(--sand);
  color: var(--body);
}

.cta-band--light::before {
  background: var(--line);
}

.cta-band--light .cta-band__title {
  color: var(--ink-900);
}

.cta-band--light .cta-band__text {
  color: var(--body);
}

.cta-band--light .cta-band__aside {
  border-left-color: var(--line);
}

.cta-band--light .cta-band__contact-row,
.cta-band--light .cta-band__contact-value {
  color: var(--ink-900);
}

.cta-band--light .cta-band__contact-label {
  color: var(--muted);
}

.cta-band--light .cta-band__contact-row .icon {
  color: var(--gold-600);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  background:
    radial-gradient(52% 70% at 92% 0%, rgba(201, 162, 39, 0.08), transparent 60%),
    var(--brand-950);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
}

.footer-main {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  width: auto;
  height: 40px;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 1.35rem;
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 1.35rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.footer-wordmark span {
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-brand__blurb {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.875rem;
  line-height: 1.72;
}

.footer-contact {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.5rem;
}

.footer-contact__row {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 34px;
  padding-block: 0.2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8375rem;
  text-decoration: none;
}

.footer-contact__row:hover {
  color: var(--gold-300);
}

.footer-contact__row .icon {
  margin-top: 0.22rem;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold-400);
}

.footer-contact__label {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact__value {
  display: block;
  margin-top: 0.1rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1.1rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-pill);
  color: var(--gold-300);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.footer-whatsapp:hover {
  border-color: var(--gold-500);
  background-color: var(--gold-500);
  color: var(--brand-950);
}

.footer-whatsapp .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    border-color var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.footer-social:hover {
  border-color: var(--gold-500);
  background-color: rgba(201, 162, 39, 0.12);
  color: var(--gold-300);
}

.footer-social .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.footer-col__title {
  margin: 0 0 1.15rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col__list {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-block: 0.12rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8625rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.footer-col__link:hover {
  color: var(--gold-300);
  transform: translateX(2px);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.75rem;
}

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.775rem;
  line-height: 1.6;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}

.footer-legal__links a:hover {
  color: var(--gold-300);
}

.footer-disclaimer {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  line-height: 1.7;
  max-width: 118ch;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.6);
}

.footer-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-to-top:hover {
  color: var(--gold-300);
}

.footer-to-top .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* Back to top ------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background-color: var(--brand-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--dur) var(--ease-out),
    visibility var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--brand-950);
}

.back-to-top .icon {
  width: 1.15rem;
  height: 1.15rem;
  transform: rotate(-90deg);
}

/* ==========================================================================
   13. REVEAL MOTION, 404 & PRINT
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="left"] {
  transform: translateX(-32px);
}

.js [data-reveal="right"] {
  transform: translateX(32px);
}

.js [data-reveal="zoom"] {
  transform: scale(0.96);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Hero content appears immediately — never fade the LCP element */
.hero [data-reveal],
.hero [data-reveal] .is-revealed {
  opacity: 1;
  transform: none;
}

/* 404 --------------------------------------------------------------------- */
.error-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(78vh, 820px);
  padding-block: calc(var(--header-height) + var(--utility-height) + 4rem) 5rem;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 10%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--sand));
  text-align: center;
}

.error-page__inner {
  max-width: 640px;
}

.error-page__code {
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 11rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.05em;
  opacity: 0.92;
}

.error-page__title {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 400;
}

.error-page__text {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--body);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.error-page__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.error-page__links a:hover {
  color: var(--brand-700);
}

/* Correct shell spacing: the sticky header is in flow, so content only
   needs an offset when a transparent (absolutely positioned) header is used. */
.page-hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

body.has-transparent-header .page-hero {
  padding-top: calc(var(--header-height) + var(--utility-height) + clamp(2.5rem, 5vw, 4.5rem));
}

.page-hero::before {
  top: 0;
}

.breadcrumbs {
  padding-top: 1.5rem;
  padding-bottom: 0.25rem;
}

body.has-transparent-header .breadcrumbs {
  padding-top: calc(var(--header-height) + var(--utility-height) + 1.25rem);
}

.page-hero .breadcrumbs {
  padding-top: 0;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__link {
    padding-inline: 0.6rem;
    font-size: 0.8625rem;
  }

  .nav__link::after {
    left: 0.6rem;
    right: 0.6rem;
  }

  .navbar__logo {
    height: 38px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .navbar__nav {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .navbar__actions .btn--primary {
    display: none;
  }

  .navbar__divider {
    display: none;
  }

  .utility-bar__item--hours,
  .utility-bar__item--email {
    display: none;
  }

  .utility-bar__portal {
    margin-left: auto;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-block {
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem);
  }

  .stat-block:nth-child(1),
  .stat-block:nth-child(2) {
    padding-top: 0;
  }

  .stat-block:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-block:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stats-band--dark .stat-block:nth-child(3),
  .stats-band--dark .stat-block:nth-child(4) {
    border-top-color: var(--on-dark-line);
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .process::before {
    display: none;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .cta-band__aside {
    justify-self: start;
    max-width: 520px;
    padding-left: 0;
    padding-top: 1.75rem;
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .cta-band--light .cta-band__aside {
    border-top-color: var(--line);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split--wide-right {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 5vw, 3.5rem);
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .page-hero__aside {
    justify-self: start;
    max-width: 540px;
  }

  .editorial-media {
    max-width: 540px;
  }

  .article-card--featured {
    grid-template-columns: 1fr;
  }

  .article-card--featured .article-card__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .calculator {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(90svh, 860px);
  }

  .section-head--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --text-base: 1rem;
    --gutter: 1.25rem;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.85rem;
  }

  .process__text {
    max-width: none;
  }

  .process__number {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 0.9rem;
  }

  .stats-band__grid {
    grid-template-columns: 1fr;
  }

  .stat-block,
  .stat-block:nth-child(1),
  .stat-block:nth-child(2) {
    padding: 1.5rem 0;
    border-left: 0;
  }

  .stat-block + .stat-block,
  .stat-block:nth-child(3),
  .stat-block:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stats-band--dark .stat-block + .stat-block {
    border-top-color: var(--on-dark-line);
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    padding: 0.95rem 0;
  }

  .hero-stat:first-child {
    padding-top: 0;
  }

  .hero-stat + .hero-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stat__value {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .slider-controls {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .checklist--columns {
    grid-template-columns: 1fr;
  }

  .footer-legal__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero__inner--single {
    max-width: none;
  }

  .quote {
    padding-left: 1.35rem;
  }

  .captcha__question {
    min-width: 6.5rem;
    font-size: 1.1rem;
    padding-inline: 0.9rem;
  }

  .editorial-media::before {
    inset: 1rem -1rem -1rem 1rem;
  }

  .accent-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 320px;
    margin: -2.5rem auto 0;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 0;
  }

  .hero__inner {
    padding-top: calc(var(--header-height) + var(--utility-height) + 3.25rem);
    padding-bottom: 2.5rem;
  }

  .hero__actions,
  .page-hero__actions,
  .cta-band__actions,
  .error-page__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
  }

  .hero__actions .btn,
  .page-hero__actions .btn,
  .cta-band__actions .btn,
  .error-page__actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .navbar__logo {
    height: 34px;
  }

  .utility-bar {
    font-size: 0.7rem;
  }

  .utility-bar__item + .utility-bar__item::before {
    margin-inline: 0.75rem;
  }

  .article-card__footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .table th,
  .table td {
    padding: 0.8rem 0.9rem;
  }

  .accordion__content {
    padding-right: 1rem;
    font-size: 0.9375rem;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
  }

  .form-panel,
  .captcha {
    padding-inline: 1rem;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 1rem;
  }

  .hero-stat__label {
    font-size: 0.625rem;
  }

  .drawer__panel {
    width: 100vw;
  }

  .navbar__logo {
    height: 30px;
    max-width: 160px;
  }
}

/* A little extra breathing room under sticky header anchors */
[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* Print ------------------------------------------------------------------- */
@media print {
  @page {
    margin: 18mm 14mm;
  }

  html {
    font-size: 11pt;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .site-header,
  .site-footer,
  .back-to-top,
  .skip-link,
  .drawer,
  .slider-controls,
  .cta-band,
  .hero__video,
  .hero__poster,
  .breadcrumbs,
  .filter-bar,
  .no-print {
    display: none !important;
  }

  .hero,
  .page-hero,
  .section,
  .section--dark,
  .stats-band {
    background: #fff !important;
    color: #000 !important;
    min-height: 0 !important;
    padding-block: 1.25rem !important;
  }

  .hero__title,
  h1,
  h2,
  h3,
  h4,
  .section--dark h2,
  .page-hero__title {
    color: #000 !important;
  }

  .hero__inner {
    padding-top: 0 !important;
  }

  .card,
  .value-card,
  .article-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  .accordion__panel {
    grid-template-rows: 1fr !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__video {
    display: none;
  }

  .hero__poster {
    display: block;
  }

  .media-frame img,
  .card__media img,
  .article-card__media img,
  .team-card__media img {
    transition: none;
    transform: none !important;
  }
}


/* ==========================================================================
   SUPPLEMENTARY UTILITIES (shell + form panels + slider)
   ========================================================================== */
body.drawer-open {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider__viewport {
  touch-action: pan-y;
}

.form-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-panel__head {
  margin-bottom: 1.5rem;
}

.form-panel__title {
  font-size: var(--h3);
}

.form-panel__note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-actions .btn {
  min-width: 190px;
}

.form-legal {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.form-status[tabindex="-1"] {
  outline: none;
}

.captcha--unavailable .captcha__question {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
}

.slider-pause__label {
  display: inline;
}

/* Simple definition list used in aside cards and detail pages */
.detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.detail-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.detail-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list__label {
  color: var(--muted);
}

.detail-list__value {
  color: var(--ink-900);
  font-weight: 700;
  text-align: right;
}

.section--dark .detail-list__row {
  border-bottom-color: var(--on-dark-line);
}

.section--dark .detail-list__label {
  color: var(--on-dark-muted);
}

.section--dark .detail-list__value {
  color: var(--white);
}

/* Focus ring inside dark sections needs a light inner edge */
.section--dark .btn:focus-visible,
.hero .btn:focus-visible,
.cta-band .btn:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--gold-400);
  outline-offset: 3px;
}

/* ==========================================================================
   COMPONENT + SHELL PATCHES (brand assets, reveal wrappers, hero/footer motifs)
   ========================================================================== */
.reveal-item {
  display: flex;
  min-width: 0;
}

.reveal-item > * {
  width: 100%;
}

.navbar__logo {
  height: 44px;
}

.footer-logo {
  height: 46px;
}

.navbar__wordmark--light {
  display: none;
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.35rem;
}

.footer-brand__link .footer-logo,
.footer-brand__link .footer-wordmark {
  margin-bottom: 0;
}

.page-hero--after-crumbs {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

body.has-transparent-header .page-hero--after-crumbs {
  padding-top: calc(var(--header-height) + var(--utility-height) + 1.75rem);
}

.page-hero__media {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.page-hero__media .media-frame {
  aspect-ratio: 4 / 5;
}

.drawer__hours {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.drawer__hours .icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.2rem;
  color: var(--gold-400);
}

.drawer__tagline {
  margin-top: 1rem;
  color: rgba(201, 162, 39, 0.78);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-line);
}

.service-card__cta-button {
  margin-top: auto;
  align-self: flex-start;
}

.service-card--dark .service-card__text {
  margin-bottom: 1.75rem;
}

.section-head__actions {
  margin-top: 1.25rem;
}

.section-head--dark .section-head__lede {
  color: var(--on-dark);
}

.pagination__list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Gold skyline motif — used on dark hero fallback and footer (asset supplied
   by the brand agent at assets/brand/skyline-motif.svg). */
.hero__media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 42%;
  background: url("/assets/brand/skyline-motif.svg") bottom center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.hero__media--video::before {
  opacity: 0.12;
}

.site-footer {
  isolation: isolate;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 260px;
  background: url("/assets/brand/skyline-motif.svg") bottom center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FINAL POLISH — transparent header CTA, accordion +/− icons, back-to-top
   ========================================================================== */
.site-header--transparent:not(.is-stuck) .navbar__cta {
  background-color: var(--gold-500);
  color: var(--brand-950);
  box-shadow: inset 0 -2px 0 rgba(46, 4, 23, 0.28), var(--shadow-md);
}

.site-header--transparent:not(.is-stuck) .navbar__cta:hover {
  background-color: var(--gold-400);
  color: var(--brand-950);
}

.site-header--transparent:not(.is-stuck) .navbar__cta:focus-visible {
  outline-color: var(--white);
}

.accordion__icon-plus,
.accordion__icon-minus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.accordion__icon-minus {
  display: none;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon-plus {
  display: none;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon-minus {
  display: inline-flex;
}

.accordion__icon .icon {
  transition: none;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon .icon {
  transform: none;
}

.back-to-top .icon {
  transform: none;
}

/* Keep portrait faces centred in the 4:5 card crop */
.team-card__media img {
  object-position: center 20%;
}

.quote__photo {
  object-position: center 25%;
}

/* Hero video should never letterbox */
.hero__video {
  object-position: center center;
}
/*
   Gold #C9A227 / #A98544 fail 4.5:1 for small text on ivory, so small gold text
   is replaced by burgundy while gold remains the accent for rules, icons and
   large display numerals (which pass the 3:1 large-text threshold).
   ========================================================================== */
.eyebrow,
.eyebrow--center {
  color: var(--brand-700);
}

.eyebrow::before,
.eyebrow--center::after {
  background-color: var(--gold-500);
  opacity: 1;
}

.section--dark .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--gold-400);
}

.section--dark .eyebrow::before,
.section--dark .eyebrow--center::after,
.hero .eyebrow::before,
.cta-band .eyebrow::before {
  background-color: var(--gold-400);
}

.gold,
.navbar__wordmark span,
.team-card__role,
.value-card__index,
.timeline__year,
.drawer__eyebrow,
.intro__signature-role,
.article-card__read,
.loan-card__rate-label {
  color: var(--brand-700);
}

.section--dark .gold,
.section--dark .value-card__index,
.cta-band .gold {
  color: var(--gold-400);
}

/* Buttons/links in dark bands */
.section--dark .link-arrow,
.cta-band .link-arrow {
  color: var(--gold-300);
}

/* Footer low-alpha text lifted to AA */
.footer-contact__label,
.footer-contact__row .footer-contact__label {
  color: rgba(255, 255, 255, 0.62);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.62);
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.78);
}

.footer-legal__inner {
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal__links a {
  color: rgba(255, 255, 255, 0.66);
}

/* Dark-section quote metadata */
.section--dark .quote__author-role,
.quote--on-dark .quote__author-role {
  color: var(--on-dark-muted);
}

.section--dark .quote__photo {
  border-color: var(--on-dark-line);
}

/* Input placeholders must remain legible */
.input::placeholder,
.textarea::placeholder {
  color: #7b716b;
}

/* Testimonial pause label inherits AA colours */
.section--dark .slider-pause {
  color: rgba(255, 255, 255, 0.72);
}

/* Small gold kickers inside dark cards keep gold but at accessible large sizes */
.footer-whatsapp {
  color: var(--gold-300);
}

/* Screen-reader-only focus target for the main landmark */
.site-main:focus {
  outline: none;
}

/* Utility bar text contrast bump */
.utility-bar {
  color: rgba(255, 255, 255, 0.82);
}

.utility-bar__link {
  color: rgba(255, 255, 255, 0.85);
}


/* No-JavaScript fallback navigation (visible only without JS) */
.nojs-nav {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: var(--space-2) 0;
}
.nojs-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nojs-nav a {
  color: var(--brand-700);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
}
.nojs-nav a:hover { text-decoration: underline; }
