/* luxury-v1 — tokens aligned with themes/luxury-v1/figma/src/styles/theme.css */
:root {
  --color-primary: #111111;
  --color-primary-hover: #2a2a2a;
  --color-secondary: #bfa37a;
  --color-secondary-hover: #a89168;
  --color-accent: #bfa37a;

  --color-background: #f5f3ef;
  --color-surface: #ffffff;
  --color-surface-alt: #edeae6;

  --color-text-primary: #111111;
  --color-text-secondary: #2a2a2a;
  --color-text-muted: #666666;
  --color-text-inverse: #f5f3ef;
  --color-text-accent: #bfa37a;

  --color-border: rgba(17, 17, 17, 0.1);
  --color-border-light: rgba(17, 17, 17, 0.05);
  --color-overlay-dark: rgba(17, 17, 17, 0.55);
  --color-overlay-heavy: rgba(17, 17, 17, 0.8);

  /* Catalog ids: playfair-display, source-sans-3, instrument-serif (platform/fonts) */
  --font-heading: var(--ms-font-heading, "Playfair Display", "Instrument Serif", serif);
  --font-display: var(--ms-font-heading, "Playfair Display", "Instrument Serif", serif);
  --font-body: var(--ms-font-body, "Source Sans 3", "Segoe UI", system-ui, sans-serif);
  /* Accent serif for prices/stats (Figma font-serif / ui-serif → Instrument Serif, not Georgia) */
  --font-accent: var(--ms-font-accent, "Instrument Serif", "Playfair Display", serif);

  --text-display: clamp(2.5rem, 5vw, 3.5rem);
  --text-h1: clamp(2.25rem, 4vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.5rem);
  --text-h3: 2rem;
  --text-h4: 1.5rem;
  --text-body-large: 1.25rem;
  --text-body: 1rem;
  --text-body-small: 0.875rem;
  --text-caption: 0.75rem;
  --text-label: 0.875rem;
  --text-button: 0.875rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  --line-height-tight: 1.1;
  --line-height-snug: 1.2;
  --line-height-loose: 1.7;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-wide: 0.1em;
  --letter-spacing-widest: 0.2em;

  --spacing-1: 0.5rem;
  --spacing-2: 1rem;
  --spacing-3: 1.5rem;
  --spacing-4: 2rem;
  --spacing-6: 3rem;
  --spacing-8: 4rem;
  --spacing-12: 6rem;
  --spacing-16: 8rem;

  --button-primary-bg: var(--color-surface);
  --button-primary-text: var(--color-primary);
  --button-primary-hover-bg: var(--color-accent);
  --button-primary-hover-text: var(--color-text-inverse);

  --max-width: 1400px;
  --header-height: 5.5rem;
  --radius: 0;

  /* Core SPA tokens (@mysites/slider, mortgage-calculator, …).
     Font stacks: style-manifest catalog ids resolve into --ms-font-* at render time. */
  --ms-color-primary: var(--color-accent);
  --ms-color-accent: var(--color-accent);
  --ms-color-surface: var(--color-surface);
  --ms-color-text: var(--color-text-primary);
  --ms-color-danger: #b91c1c;
  --ms-font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ms-font-heading: "Playfair Display", "Instrument Serif", serif;
  --ms-font-accent: "Instrument Serif", "Playfair Display", serif;
  --ms-radius-base: 0;
  --ms-space-unit: 0.25rem;
}

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

html { scroll-behavior: smooth; }

body.luxury-theme {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-loose);
  color: var(--color-text-secondary);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-snug);
  margin: 0 0 0.75rem;
}

h1 { font-size: var(--text-h1); line-height: var(--line-height-tight); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.lux-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-16) var(--spacing-4);
}

.lux-section__inner--narrow {
  max-width: 800px;
  text-align: center;
}

.lux-section__header { margin-bottom: var(--spacing-8); }

.lux-section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.lux-section__header--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-8);
}

.lux-section__footer-link {
  text-align: center;
  margin: var(--spacing-8) 0 0;
}

.lux-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-label);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.lux-eyebrow--on-dark { color: var(--color-accent); }

.lux-text-link {
  font-size: var(--text-label);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lux-text-link:hover { color: var(--color-primary); }

.lux-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lux-btn--primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
}

.lux-btn--primary:hover {
  background: var(--button-primary-hover-bg);
  color: var(--button-primary-hover-text);
}

.lux-btn--secondary {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}

.lux-btn--secondary:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

.lux-btn--dark {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.lux-btn--dark:hover {
  background: var(--color-primary-hover);
}

/* Header — transparent over hero at scroll top; cream bar when scrolled (matches Figma). */
.lux-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(0);
  color: var(--color-text-inverse);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.lux-header.is-solid,
.lux-header[data-transparent="false"] {
  background: rgba(245, 243, 239, 0.95);
  backdrop-filter: blur(8px);
  color: var(--color-text-primary);
  border-bottom-color: rgba(17, 17, 17, 0.1);
}

.lux-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--spacing-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-4);
  min-height: var(--header-height);
}

.lux-header__logo {
  position: relative;
  display: inline-block;
  min-height: 3.5rem;
}

.lux-header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.lux-header__logo-img {
  height: 3.5rem;
  width: auto;
  transition: opacity 0.3s ease;
}

.lux-header__logo-img--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.lux-header.is-solid .lux-header__logo-img--light,
.lux-header[data-transparent="false"] .lux-header__logo-img--light {
  opacity: 0;
}

.lux-header.is-solid .lux-header__logo-img--dark,
.lux-header[data-transparent="false"] .lux-header__logo-img--dark {
  opacity: 1;
}

.lux-header__nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.25rem;
}

.lux-header__nav-link,
.lux-header__cta {
  font-size: var(--text-label);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: color 0.2s ease;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.lux-header__nav-link:hover,
.lux-header__cta:hover,
.lux-header__nav-link.is-active { color: var(--color-accent); }

.lux-header__cta { display: none; }
.lux-header__nav-item { position: relative; }

.lux-header__nav-link--parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lux-header__chevron {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.lux-header__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  /* Hover bridge: padding (not margin) keeps the gap hoverable so the menu
     stays open while the pointer moves from the trigger into the panel. */
  margin: 0;
  padding: 1rem 0 0.5rem;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--color-text-inverse);
}

/* Visual panel sits below the bridge; pointer-events none so links receive clicks. */
.lux-header__dropdown::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  /* Over transparent hero: dark panel (Figma). Solid header swaps to light. */
  background: rgba(17, 17, 17, 0.95);
  border: 1px solid rgba(245, 243, 239, 0.1);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.2);
  backdrop-filter: blur(8px);
}

.lux-header.is-solid .lux-header__dropdown,
.lux-header[data-transparent="false"] .lux-header__dropdown {
  color: var(--color-text-primary);
}

.lux-header.is-solid .lux-header__dropdown::before,
.lux-header[data-transparent="false"] .lux-header__dropdown::before {
  background: #fff;
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

.lux-header__nav-item--has-dropdown:hover .lux-header__dropdown,
.lux-header__nav-item--has-dropdown:focus-within .lux-header__dropdown {
  display: block;
}

.lux-header__dropdown-link {
  display: block;
  padding: 0.9rem 1.5rem;
  transition: background 0.2s ease;
}

.lux-header__dropdown-link:hover {
  background: rgba(245, 243, 239, 0.1);
}

.lux-header.is-solid .lux-header__dropdown-link:hover,
.lux-header[data-transparent="false"] .lux-header__dropdown-link:hover {
  background: var(--color-background);
}

.lux-header__dropdown-label {
  display: block;
  font-weight: var(--font-weight-medium);
}

.lux-header__dropdown-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: normal;
  text-transform: none;
  opacity: 0.6;
}

.lux-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto; /* keep hamburger on the trailing edge on mobile */
  background: none;
  border: 0;
  padding: 0.5rem;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

/* Closed drawer must leave the flex row — otherwise space-between parks the toggle mid-header. */
.lux-header__nav {
  display: none;
}

.lux-header__hamburger,
.lux-header__hamburger::before,
.lux-header__hamburger::after {
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.lux-header__hamburger::before,
.lux-header__hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.lux-header__hamburger::before { top: -6px; }
.lux-header__hamburger::after { top: 6px; }

.lux-header__mobile-top,
.lux-header__mobile-cta,
.lux-header__backdrop { display: none; }

.lux-header.is-open .lux-header__backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  z-index: 998;
}

.lux-header.is-open .lux-header__nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85%, 28rem);
  background: var(--color-background);
  color: var(--color-text-primary);
  z-index: 999;
  padding: 0 0 2rem;
  overflow: auto;
}

.lux-header.is-open .lux-header__mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.lux-header__mobile-logo { height: 3rem; width: auto; }

.lux-header__close {
  background: none;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text-primary);
  cursor: pointer;
}

.lux-header.is-open .lux-header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.5rem;
}

.lux-header.is-open .lux-header__nav-item {
  border-bottom: 1px solid var(--color-border);
}

.lux-header.is-open .lux-header__nav-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 1rem 0;
  min-height: 3rem;
  align-items: center;
}

.lux-header.is-open .lux-header__dropdown {
  position: static;
  display: none;
  border: 0;
  box-shadow: none;
  background: transparent;
  margin: 0 0 0.5rem 1rem;
  padding: 0;
}

.lux-header.is-open .lux-header__dropdown::before {
  display: none;
}

.lux-header.is-open .lux-header__nav-item.is-expanded .lux-header__dropdown {
  display: block;
}

.lux-header.is-open .lux-header__mobile-cta {
  display: flex;
  margin: 1.5rem;
}

@media (min-width: 1024px) {
  .lux-header__toggle { display: none; }
  .lux-header__nav {
    display: block;
    margin-left: auto;
  }
  .lux-header__nav-list { display: flex; }
  .lux-header__cta { display: inline-block; }
  .lux-header.is-open .lux-header__nav {
    position: static;
    width: auto;
    background: transparent;
    color: inherit;
    padding: 0;
    overflow: visible;
    display: block;
  }
  .lux-header.is-open .lux-header__mobile-top,
  .lux-header.is-open .lux-header__mobile-cta,
  .lux-header.is-open .lux-header__backdrop { display: none; }
  .lux-header.is-open .lux-header__nav-list {
    flex-direction: row;
    padding: 0;
    gap: 2.25rem;
  }
  .lux-header.is-open .lux-header__nav-item { border: 0; }
  .lux-header.is-open .lux-header__nav-link {
    display: inline-flex;
    width: auto;
    padding: 0;
    min-height: 0;
  }
}

/* Footer */
.lux-footer {
  position: relative;
  z-index: 2;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  padding: 5rem var(--spacing-4) var(--spacing-6);
}

.lux-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.lux-footer__grid {
  display: grid;
  gap: var(--spacing-6);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-8);
}

@media (min-width: 768px) {
  .lux-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  }
}

.lux-footer__logo {
  height: 4rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.lux-footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.lux-footer__tagline {
  max-width: 25rem;
  margin-bottom: 1.5rem;
}

.lux-footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--color-text-primary);
}

.lux-footer__heading--follow { margin-top: 1.5rem; }

.lux-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lux-footer__links a,
.lux-footer__contact a {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.lux-footer__links a:hover,
.lux-footer__contact a:hover { color: var(--color-accent); }

.lux-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-label);
}

.lux-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.lux-footer__legal a:hover { color: var(--color-accent); }

/* Slider / hero */
.lux-slider,
.lux-slider__placeholder {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  overflow: hidden;
}

.lux-slider__bg,
.ms-slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.lux-slider__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
}

.lux-slider__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + 2rem) var(--spacing-4) var(--spacing-12);
  text-align: center;
  width: 100%;
}

.lux-slider__heading {
  font-size: var(--text-display);
  color: var(--color-text-inverse);
  margin-bottom: 1.25rem;
}

.lux-slider__lede {
  font-size: var(--text-body-large);
  color: rgba(245, 243, 239, 0.9);
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

/* Slider SPA replaces LCP markup with .ms-slider__layer--text; force mockup contrast on dark hero. */
.lux-slider .ms-slider__layer--text,
.lux-slider .ms-slider__font-title,
.lux-slider .ms-slider__font-sub {
  color: var(--color-text-inverse) !important;
}

.lux-slider .ms-slider__font-title {
  font-size: var(--text-display);
  font-family: var(--font-display);
  text-align: center;
  max-width: min(22ch, 92vw);
}

.lux-slider .ms-slider__font-sub {
  font-size: var(--text-body-large);
  color: rgba(245, 243, 239, 0.9) !important;
  max-width: 44rem;
  text-align: center;
}

.lux-slider .ms-slider__cta-actions,
.lux-slider .lux-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  pointer-events: auto;
}

/* Secondary CTA over hero: same frosted glass + shadow as slider arrows */
.lux-slider .lux-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.lux-slider .lux-btn--secondary:hover {
  background: var(--color-accent, #bfa37a);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-text-inverse);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Figma VideoHeroSlider arrows: frosted glass + soft lift, gold on hover */
.lux-slider .ms-slider__arrow {
  --ms-slider-nav-size: 3.5rem; /* w-14 / h-14 */
  width: var(--ms-slider-nav-size);
  height: var(--ms-slider-nav-size);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lux-slider .ms-slider__arrow--prev {
  left: 2rem;
}

.lux-slider .ms-slider__arrow--next {
  right: 2rem;
}

.lux-slider .ms-slider__arrow:hover {
  background: var(--color-accent, #bfa37a);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.lux-slider .ms-slider__arrow:focus-visible {
  outline: 2px solid var(--color-accent, #bfa37a);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .lux-slider .ms-slider__arrow {
    --ms-slider-nav-size: 2.75rem;
  }

  .lux-slider .ms-slider__arrow--prev {
    left: 0.75rem;
  }

  .lux-slider .ms-slider__arrow--next {
    right: 0.75rem;
  }
}

/* Mobile: absolute % layers collide when title wraps — flow-stack hero copy instead. */
@media (max-width: 767px) {
  /* Layers live in an absolute .ms-slider__layers host; pad that host, not the slide. */
  .lux-slider .ms-slider__layers {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    inset: 0;
    padding: calc(var(--header-height) + 1.25rem) 1.25rem 2.5rem;
  }

  .lux-slider .ms-slider__layer--text,
  .lux-slider .ms-slider__layer--html {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: 100%;
    margin: 0 0 1rem;
    text-align: center;
  }

  .lux-slider .ms-slider__font-title {
    font-size: clamp(1.85rem, 7.5vw, 2.75rem);
    max-width: 14ch;
    margin-bottom: 0.75rem;
  }

  .lux-slider .ms-slider__font-sub {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 28rem;
    margin-bottom: 1.25rem;
  }

  .lux-slider .ms-slider__cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 22rem);
    margin-top: 0.5rem;
  }

  .lux-slider .ms-slider__cta-actions .lux-btn {
    width: 100%;
    text-align: center;
  }
}

main#main {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 50vh;
}

/* Featured MLS cards — theme chrome around SPA card markup */
.lux-mls-featured .mls-spa-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 1rem;
}

.lux-mls-featured .mls-spa-listing-card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, rgba(17, 17, 17, 0.08));
  padding: 1.25rem 1.5rem;
  min-height: 7rem;
}

.lux-mls-featured .mls-spa-listing-card__address {
  font-family: var(--font-heading);
  font-size: var(--text-h3, 1.25rem);
  margin-bottom: 0.5rem;
}

.lux-mls-featured .mls-spa-listing-card__price {
  font-family: var(--font-accent);
}

.lux-mls-featured .mls-spa-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--color-text-muted, #6b6560);
  font-size: 0.9rem;
}

.lux-mls-community .mls-spa-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted, #6b6560);
}

.lux-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.lux-hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) var(--spacing-4) var(--spacing-12);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
}

.lux-hero--has-media {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lux-hero--home {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-height) + 2rem) var(--spacing-4) var(--spacing-12);
}

.lux-hero--home .lux-hero__media {
  opacity: 0.6;
}

.lux-hero--align-start {
  text-align: left;
  justify-content: flex-start;
}

.lux-hero--align-start .lux-hero__inner {
  margin-left: 0;
  margin-right: auto;
  max-width: 700px;
  width: 100%;
}

.lux-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.lux-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
}

.lux-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.lux-hero__title {
  color: var(--color-text-inverse);
  font-family: var(--font-display);
}
.lux-hero__subtitle {
  color: rgba(245, 243, 239, 0.85);
  font-size: var(--text-body-large);
  font-family: var(--font-body);
}

.lux-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.lux-hero--align-start .lux-hero__actions {
  justify-content: flex-start;
}

/* Content panel + pillars */
.lux-content-panel { background: var(--color-background); }
.lux-content-panel--surface { background: var(--color-surface); }

.lux-content-panel--cta,
.lux-content-panel--dark {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.lux-content-panel--cta .lux-content-panel__title,
.lux-content-panel--dark .lux-content-panel__title {
  color: var(--color-text-inverse);
}

.lux-content-panel--cta .lux-content-panel__body,
.lux-content-panel--dark .lux-content-panel__body {
  color: rgba(245, 243, 239, 0.8);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.lux-content-panel__body {
  max-width: 48rem;
  font-size: var(--text-body-large);
}

.lux-content-panel__actions { margin-top: var(--spacing-4); }

.lux-pillars {
  display: grid;
  gap: var(--spacing-8);
  margin-top: var(--spacing-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .lux-pillars { grid-template-columns: repeat(3, 1fr); }
  .lux-pillars--cols-2 { grid-template-columns: repeat(2, 1fr); }
}

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

.lux-pillars--services .lux-pillars__item {
  text-align: left;
}

.lux-pillars__rule {
  width: 3rem;
  height: 1px;
  margin: 0 0 2rem;
  background: var(--color-accent);
  transition: width 0.4s ease;
}

.lux-pillars--services .lux-pillars__item:hover .lux-pillars__rule {
  width: 6rem;
}

.lux-pillars__num {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--color-accent);
}

/* MLS shells */
.lux-mls-featured { background: var(--color-surface); }

.lux-mls-featured .lux-section__header--center,
.lux-mls-featured .lux-section__header {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* MLS search — Figma PropertySearch dark hero + white shell */
.lux-mls-search__hero {
  position: relative;
  padding: calc(var(--header-height) + 5rem) var(--spacing-4) var(--spacing-12);
  background: var(--color-primary) center / cover no-repeat;
  color: var(--color-text-inverse);
  text-align: center;
}

.lux-mls-search__hero--solid .lux-mls-search__overlay {
  background: transparent;
}

.lux-mls-search__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-heavy);
}

.lux-mls-search__content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.lux-mls-search__intro {
  margin-bottom: var(--spacing-8);
}

.lux-mls-search__title {
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-tight);
  margin: 0 0 1.5rem;
}

.lux-mls-search__subtitle {
  color: rgba(245, 243, 239, 0.8);
  font-size: var(--text-body-large);
  line-height: var(--line-height-loose);
  max-width: 42rem;
  margin: 0 auto;
}

.lux-mls-search__shell {
  background: var(--color-surface);
  color: var(--color-text-primary);
  padding: var(--spacing-3);
  text-align: left;
}

@media (min-width: 768px) {
  .lux-mls-search__shell { padding: var(--spacing-6); }
}

.lux-mls-search__spa,
.lux-mls-featured__spa { min-height: 12rem; }

/* Testimonials */
.lux-testimonials { background: var(--color-background); }

.lux-testimonials__grid {
  display: grid;
  gap: var(--spacing-6);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .lux-testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.lux-testimonials__item {
  margin: 0;
  padding: var(--spacing-4) 0 0;
  border-top: 1px solid var(--color-accent);
}

.lux-testimonials__quote {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  quotes: none;
}

.lux-testimonials__cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: var(--text-label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.lux-testimonials__photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* User info */
.lux-user-info { background: var(--color-background); }

.lux-user-info__grid {
  display: grid;
  gap: var(--spacing-8);
  align-items: center;
}

@media (min-width: 900px) {
  .lux-user-info__grid { grid-template-columns: 1fr 1.1fr; }
}

.lux-user-info__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-surface-alt);
}

.lux-user-info__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-4);
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.lux-user-info__stat-value {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.lux-user-info__stat-label {
  font-size: var(--text-caption);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin: 0;
}

.lux-user-info__meta {
  list-style: none;
  margin: var(--spacing-4) 0;
  padding: 0;
}

.lux-user-info__meta a:hover { color: var(--color-accent); }

/* Contact bar */
.lux-contact-bar {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.lux-contact-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-4);
  justify-content: center;
  padding-block: var(--spacing-4);
}

.lux-contact-bar__item {
  font-size: var(--text-label);
  letter-spacing: 0.04em;
}

/* Forms — Figma Contact consultation form */
.lux-form-builder {
  background: var(--color-surface);
  padding: var(--spacing-12) 0;
}

.lux-form-builder__inner { max-width: 40rem; }

.lux-form-builder--start .lux-form-builder__inner { margin-left: 0; margin-right: auto; }
.lux-form-builder--center .lux-form-builder__inner { margin: 0 auto; }

.lux-section__header--start {
  text-align: left;
  align-items: flex-start;
}

.lux-form-builder__lede {
  color: var(--color-text-secondary);
  font-size: var(--text-body-large);
  line-height: var(--line-height-loose);
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.lux-form {
  display: grid;
  gap: 2rem;
  margin-top: var(--spacing-6);
}

.lux-form__row,
.lux-form__field { display: grid; gap: 0.75rem; }

.lux-form__row--split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .lux-form__row--split { grid-template-columns: 1fr 1fr; }
}

.lux-form label {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-primary);
}

.lux-form input,
.lux-form textarea,
.lux-form select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font: inherit;
  color: var(--color-text-primary);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.lux-form input:focus,
.lux-form textarea:focus,
.lux-form select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.lux-form__actions { margin-top: 0.5rem; }

.lux-form .lux-btn--dark {
  min-width: 14rem;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.form-disclaimer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-4) var(--spacing-4);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.lux-spacer { width: 100%; }

/* Roster — grid (directory) + feature (Figma Team alternating) */
.lux-roster {
  background: var(--color-surface);
  padding: var(--spacing-12) 0;
}

.lux-roster--feature { background: var(--color-surface); }

.lux-roster--grid {
  background: var(--color-background);
}

.lux-roster__list {
  display: grid;
  gap: var(--spacing-8);
}

.lux-roster--grid .lux-roster__list {
  gap: var(--spacing-6);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .lux-roster--grid .lux-roster__list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .lux-roster--grid .lux-roster__list { grid-template-columns: repeat(3, 1fr); }
}

.lux-roster--grid .lux-roster__card {
  background: var(--color-surface);
  transition: box-shadow 0.3s ease;
}

.lux-roster--grid .lux-roster__card:hover {
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.lux-roster--feature .lux-roster__list {
  gap: var(--spacing-16);
}

.lux-roster--feature .lux-roster__card {
  display: grid;
  gap: var(--spacing-8);
  align-items: center;
}

@media (min-width: 900px) {
  .lux-roster--feature .lux-roster__card {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
  }

  .lux-roster--feature .lux-roster__card--reverse .lux-roster__media { order: 2; }
  .lux-roster--feature .lux-roster__card--reverse .lux-roster__body { order: 1; }
}

.lux-roster__media { min-width: 0; }

.lux-roster__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-surface-alt);
  display: block;
}

.lux-roster--feature .lux-roster__photo {
  aspect-ratio: auto;
  min-height: 28rem;
  max-height: 38rem;
}

.lux-roster__photo--placeholder {
  background: var(--color-surface-alt);
  min-height: 16rem;
}

.lux-roster--grid .lux-roster__body { padding: var(--spacing-4); }

.lux-roster--grid .lux-roster__photo {
  aspect-ratio: 4 / 5;
  min-height: 18rem;
  transition: transform 0.5s ease;
}

.lux-roster--grid .lux-roster__card:hover .lux-roster__photo {
  transform: scale(1.03);
}

.lux-roster--grid .lux-roster__media {
  overflow: hidden;
  background: var(--color-primary);
}

.lux-roster__name {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-regular);
  margin: 0 0 0.5rem;
}

.lux-roster--feature .lux-roster__name {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.lux-roster__title {
  font-size: var(--text-label);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
}

.lux-roster--feature .lux-roster__title {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.lux-roster__caption {
  color: var(--color-text-secondary);
  font-size: var(--text-body-large);
  line-height: var(--line-height-loose);
  margin: 0 0 1.5rem;
}

.lux-roster--grid .lux-roster__caption {
  font-size: var(--text-body-small);
  color: var(--color-text-muted);
}

.lux-roster__specialties { margin-bottom: 1.5rem; }

.lux-roster__specialties-label {
  font-size: var(--text-caption);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin: 0 0 0.75rem;
}

.lux-roster__specialty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lux-roster__specialty-list li {
  padding: 0.5rem 1rem;
  background: var(--color-background);
  font-size: var(--text-body-small);
  color: var(--color-text-primary);
}

.lux-roster__meta,
.lux-roster__social {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: var(--text-body-small);
}

.lux-roster__meta a,
.lux-roster__social a {
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.lux-roster__meta a:hover,
.lux-roster__social a:hover { color: var(--color-accent); }

.lux-roster__social {
  grid-auto-flow: column;
  justify-content: start;
  gap: 1.25rem;
  margin-top: 1rem;
}

.lux-roster__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.lux-roster__action {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease;
}

.lux-roster__action:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* Photo gallery / collection */
.lux-photo-gallery,
.lux-photo-collection { background: var(--color-background); }

.lux-photo-gallery__grid,
.lux-photo-collection__grid {
  display: grid;
  gap: var(--spacing-3);
  grid-template-columns: repeat(var(--lux-gallery-cols, 2), minmax(0, 1fr));
}

.lux-photo-collection__grid {
  grid-template-columns: repeat(var(--lux-collection-cols, 3), minmax(0, 1fr));
}

.lux-photo-gallery__item,
.lux-photo-collection__item { margin: 0; }

.lux-photo-gallery__item img,
.lux-photo-collection__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-surface-alt);
}

.lux-photo-gallery__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.lux-photo-gallery__item figcaption,
.lux-photo-collection__item figcaption {
  margin-top: 0.5rem;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.lux-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-overlay-heavy);
  padding: var(--spacing-4);
}

.lux-lightbox[hidden] { display: none; }

.lux-lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
}

.lux-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: var(--color-text-inverse);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Video */
.lux-video { background: var(--color-surface); }

.lux-video__embed {
  position: relative;
  width: 100%;
  background: var(--color-primary);
}

.lux-video__embed--16by9 { aspect-ratio: 16 / 9; }
.lux-video__embed--4by3 { aspect-ratio: 4 / 3; }

.lux-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lux-video--sm .lux-video__embed { max-width: 560px; margin: 0 auto; }
.lux-video--md .lux-video__embed { max-width: 800px; margin: 0 auto; }
.lux-video--lg .lux-video__embed { max-width: 1000px; margin: 0 auto; }

.lux-video__placeholder {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--spacing-8);
  border: 1px solid var(--color-border);
}

/* Location map */
.lux-location-map { background: var(--color-surface); }

.lux-location-map__layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  min-height: var(--lux-map-min-height, 360px);
}

.lux-location-map--mapLeftPanelRight .lux-location-map__layout,
.lux-location-map--mapRightPanelLeft .lux-location-map__layout {
  flex-direction: column;
}

@media (min-width: 900px) {
  .lux-location-map--mapLeftPanelRight .lux-location-map__layout,
  .lux-location-map--mapRightPanelLeft .lux-location-map__layout {
    flex-direction: row;
    align-items: stretch;
  }

  .lux-location-map--mapRightPanelLeft .lux-location-map__layout {
    flex-direction: row-reverse;
  }

  .lux-location-map--mapLeftPanelRight .lux-location-map__map-pane,
  .lux-location-map--mapRightPanelLeft .lux-location-map__map-pane {
    flex: 0 0 calc(var(--lux-map-percent, 60) * 1%);
  }

  .lux-location-map--mapLeftPanelRight .lux-location-map__panel,
  .lux-location-map--mapRightPanelLeft .lux-location-map__panel {
    flex: 1;
  }
}

.lux-location-map--mapBottomPanelTop .lux-location-map__layout {
  flex-direction: column-reverse;
}

.lux-location-map__container,
.lux-location-map__container iframe {
  width: 100%;
  min-height: var(--lux-map-min-height, 360px);
  border: 0;
  background: var(--color-surface-alt);
}

.lux-location-map__panel {
  display: flex;
  align-items: center;
  padding: var(--spacing-4);
  background: var(--color-background);
}

.lux-location-map__placeholder {
  padding: var(--spacing-6);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* Pages grid */
.lux-pages-grid { background: var(--color-background); }

.lux-pages-grid__grid {
  display: grid;
  gap: var(--spacing-4);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .lux-pages-grid__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .lux-pages-grid__grid { grid-template-columns: repeat(3, 1fr); }
}

.lux-pages-grid__item {
  display: block;
  background: var(--color-surface);
  transition: color 0.2s ease;
}

.lux-pages-grid__item:hover { color: var(--color-accent); }

.lux-pages-grid__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-surface-alt);
}

.lux-pages-grid__title {
  display: block;
  padding: 1.25rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

/* Scheduler / CMA / community / registration */
.lux-scheduler,
.lux-cma-report,
.lux-mls-community { background: var(--color-surface); }

/* Legal / system content pages (fixed header clearance) */
.legal-content-page {
  padding: calc(var(--header-height) + 3rem) var(--spacing-4) var(--spacing-12);
  max-width: 48rem;
  margin: 0 auto;
}

.legal-content-page h1 {
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-6);
}

.legal-body {
  font-size: var(--text-body);
  line-height: 1.7;
}

.legal-body p + p {
  margin-top: var(--spacing-4);
}

.lux-scheduler__spa,
.lux-cma-report__spa,
.lux-mls-community__spa { min-height: 16rem; }

.lux-scheduler__placeholder {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--spacing-6);
}

.lux-mls-registration__hero {
  position: relative;
  padding: calc(var(--header-height) + 3rem) var(--spacing-4) var(--spacing-8);
  background: var(--color-primary) center / cover no-repeat;
  background-image: var(--lux-mls-reg-bg, none);
  color: var(--color-text-inverse);
  text-align: center;
}

.lux-mls-registration__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-heavy);
}

.lux-mls-registration__panel {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.lux-mls-registration__panel h2 { color: var(--color-text-inverse); }

.lux-mls-registration__lede {
  color: rgba(245, 243, 239, 0.85);
  font-size: var(--text-body-large);
  margin-bottom: var(--spacing-6);
}

.lux-mls-registration__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.lux-mls-registration__spa { min-height: 4rem; }

/* Mortgage calculator — theme chrome over @mysites/mortgage-calculator */
.lux-mortgage.ms-mortgage-host,
.lux-mortgage .ms-mortgage {
  --ms-mc-accent: var(--color-accent);
  --ms-mc-surface: var(--color-surface);
  --ms-mc-text: var(--color-text-primary);
  --ms-mc-muted: var(--color-text-muted);
  --ms-mc-border: var(--color-border);
  --ms-mc-radius: 0;
  --ms-mc-font: var(--font-body);
  background: var(--color-background);
}

.lux-mortgage .ms-mortgage__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-tight);
}

.lux-mortgage .ms-mortgage__eyebrow {
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-text-accent);
}

.lux-mortgage .ms-mortgage__controls,
.lux-mortgage .ms-mortgage__results {
  background: var(--color-surface);
}

.lux-mortgage .ms-mortgage__cta {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  font-size: var(--text-button);
}

/* Blog collection — Figma BlogPage */
.lux-blog-hero {
  padding: calc(var(--header-height) + 5rem) var(--spacing-4) var(--spacing-12);
  background: var(--color-background);
}

.lux-blog-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-tight);
  max-width: 56rem;
  margin: 0 0 2rem;
}

.lux-blog-hero__lede {
  max-width: 44rem;
  font-size: var(--text-body-large);
  line-height: var(--line-height-loose);
  color: var(--color-text-secondary);
  margin: 0;
}

.lux-blog-featured {
  padding: var(--spacing-6) 0 var(--spacing-8);
  background: var(--color-surface);
}

.lux-blog-featured__grid {
  display: grid;
  gap: var(--spacing-8);
  align-items: center;
  margin-top: var(--spacing-4);
}

@media (min-width: 900px) {
  .lux-blog-featured__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
  }
}

.lux-blog-featured__media {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-surface-alt);
  aspect-ratio: 3 / 2;
}

.lux-blog-featured__media img,
.lux-blog-featured__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-blog-featured__category {
  font-size: var(--text-caption);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.lux-blog-featured__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-regular);
  margin: 0 0 1rem;
}

.lux-blog-featured__title a { color: inherit; }

.lux-blog-featured__excerpt {
  color: var(--color-text-secondary);
  line-height: var(--line-height-loose);
  margin: 0 0 1.5rem;
}

.lux-blog-featured__meta {
  display: flex;
  gap: 1rem;
  font-size: var(--text-body-small);
  color: var(--color-text-secondary);
}

.lux-blog-recent {
  padding: var(--spacing-12) 0;
  background: var(--color-background);
}

.lux-blog-recent__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-regular);
  margin: 0 0 var(--spacing-8);
}

.lux-blog-recent__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--spacing-6);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .lux-blog-recent__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .lux-blog-recent__grid { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-8); }
}

.lux-blog-card {
  background: var(--color-surface);
  height: 100%;
}

.lux-blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.lux-blog-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.lux-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.lux-blog-card__link:hover .lux-blog-card__media img {
  transform: scale(1.05);
}

.lux-blog-card__body { padding: var(--spacing-4); }

.lux-blog-card__category {
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.lux-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: var(--font-weight-regular);
  margin: 0 0 0.75rem;
}

.lux-blog-card__excerpt {
  color: var(--color-text-secondary);
  font-size: var(--text-body-small);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.lux-blog-card time,
.lux-blog-card__meta {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.lux-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.lux-blog-empty {
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--spacing-8) 0;
}

/* Header Contact — Figma single nav link treatment */
.lux-header__mobile-cta {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  justify-content: center;
}

.lux-header__nav-link[href="/contact"] {
  letter-spacing: var(--letter-spacing-wide);
}
