/* ============================================
   Braehill Lodge — Modern creative landing
   ============================================ */

body.home {
  --ink: #121014;
  --ink-muted: #5a5560;
  --paper: #f4f3f0;
  --paper-2: #ebe9e4;
  --panel: #1a1520;
  --accent: #6e4a9e;
  --accent-soft: #c4a8e8;
  --line: rgba(18, 16, 20, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Sora", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

body.home main {
  padding-top: 0;
}

body.home .font-logo,
body.home .logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header */
body.home #header.header-over-hero {
  background: transparent;
  backdrop-filter: none;
}

body.home #header.header-over-hero .logo,
body.home #header.header-over-hero .nav-link,
body.home #header.header-over-hero .mobile-menu-btn {
  color: #fff;
}

body.home #header.header-over-hero .nav-link::after {
  background: var(--accent-soft);
}

body.home #header.header-over-hero .nav-cta {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  padding: 0.55rem 1.1rem;
  box-shadow: none;
}

body.home #header.header-over-hero .nav-cta:hover {
  background: #fff;
  color: var(--ink) !important;
  transform: none;
}

body.home #header.header-over-hero.header-scrolled {
  background: rgba(244, 243, 240, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

body.home #header.header-over-hero.header-scrolled .logo,
body.home #header.header-over-hero.header-scrolled .nav-link,
body.home #header.header-over-hero.header-scrolled .mobile-menu-btn {
  color: var(--ink);
}

body.home #header.header-over-hero.header-scrolled .nav-cta {
  background: var(--ink);
  color: #fff !important;
  border-color: var(--ink);
}

/* ========== HERO — full-bleed photography ========== */
.hx {
  position: relative;
  min-height: 100svh;
  max-height: 58rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hx-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hx-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.35s ease;
  filter: saturate(1.04) contrast(1.02);
  z-index: 0;
}

.hx-slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: hxKen 7.2s ease-out forwards;
}

@keyframes hxKen {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hx-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(12, 10, 14, 0.72) 0%,
      rgba(12, 10, 14, 0.48) 38%,
      rgba(12, 10, 14, 0.18) 62%,
      rgba(12, 10, 14, 0.08) 100%
    ),
    linear-gradient(
      to top,
      rgba(12, 10, 14, 0.55) 0%,
      transparent 42%
    );
}

.hx-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 2.75rem));
  margin-inline: auto;
  padding: 7.5rem 0 6.25rem;
}

.hx-copy {
  max-width: 38rem;
}

.hx-brand {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 7.2vw, 5.35rem);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  row-gap: 0;
}

/* Whole words only — never split letters mid-word */
.hx-word {
  display: inline-block;
  white-space: nowrap;
}

.hx-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.9rem;
  color: #fff;
  letter-spacing: -0.015em;
  max-width: 28rem;
}

.hx-sub {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 32rem;
}

.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.hx-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.32), transparent 48%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hx-btn:hover::after {
  opacity: 1;
}

.hx-btn-fill {
  background: #fff;
  color: var(--ink);
}

.hx-btn-fill:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.hx-btn-line {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.hx-btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Entrance — block rises, not letter scramble */
@media (prefers-reduced-motion: no-preference) {
  .hx:not(.is-ready) .hx-copy > * {
    opacity: 0;
    transform: translateY(1.35rem);
  }

  .hx.is-ready .hx-copy > * {
    animation: hxRise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hx.is-ready .hx-brand { animation-delay: 0.12s; }
  .hx.is-ready .hx-headline { animation-delay: 0.28s; }
  .hx.is-ready .hx-sub { animation-delay: 0.42s; }
  .hx.is-ready .hx-actions { animation-delay: 0.56s; }
}

@keyframes hxRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hx-chrome {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  pointer-events: none;
}

.hx-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hx-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  transform-origin: left;
}

.hx.is-playing .hx-progress-bar {
  animation: progressRun 7s linear forwards;
}

@keyframes progressRun {
  from { width: 0%; }
  to { width: 100%; }
}

.hx-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  width: min(1120px, calc(100% - 2.75rem));
  margin: 0 auto 1.15rem;
  pointer-events: auto;
}

.hx-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.hx-dot.is-active {
  width: 1.85rem;
  background: #fff;
}

@media (max-width: 640px) {
  .hx {
    max-height: none;
    min-height: 92svh;
  }

  .hx-inner {
    padding: 5.5rem 0 4.75rem;
  }

  .hx-headline {
    max-width: none;
  }

  .hx-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hx-dots {
    justify-content: flex-start;
    margin-bottom: 0.85rem;
  }

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

/* ========== SHARED ========== */
.hm-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hm-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.hm-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hm-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.hm-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 34rem;
  margin: 1.25rem 0 0;
}

.hm-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 0.85rem;
}

.hm-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hm-reveal.is-visible .reveal-img {
  animation: imgReveal 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hm-reveal.is-visible .reveal-img:nth-child(2) { animation-delay: 0.12s; }
.hm-reveal.is-visible .reveal-img:nth-child(3) { animation-delay: 0.22s; }

@keyframes imgReveal {
  from {
    opacity: 0;
    clip-path: inset(12% 12% 12% 12%);
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

[data-stagger] > * {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-reveal.is-visible [data-stagger] > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.hm-reveal.is-visible [data-stagger] > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.hm-reveal.is-visible [data-stagger] > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.hm-reveal.is-visible [data-stagger] > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }
.hm-reveal.is-visible [data-stagger] > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: none; }

/* ========== INTRO / WELCOME ========== */
.hm-welcome {
  overflow: hidden;
}

.hm-intro {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hm-intro {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 3.25rem;
    align-items: stretch;
  }
}

.hm-intro-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0.5rem;
}

.hm-intro-copy .hm-title {
  max-width: 12ch;
}

.hm-intro-copy .hm-lead {
  max-width: 34rem;
}

.hm-intro-copy > p:not(.hm-lead) {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 1rem 0 0;
  max-width: 36rem;
}

.hm-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}

.hm-intro-actions .hm-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0.95rem 1.55rem;
  background: var(--ink);
  color: #f6f4f1;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hm-intro-actions .hm-btn-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
  color: #fff;
}

.hm-intro-actions .hm-link {
  margin-top: 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.hm-intro-actions .hm-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hm-intro-links {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
}

.hm-intro-links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.hm-intro-links a:hover {
  color: var(--accent);
}

/* Overlapping photo collage — fills the right column tightly */
.hm-intro-art {
  position: relative;
  min-height: 28rem;
  min-width: 0;
}

.hm-intro-main,
.hm-intro-accent {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.hm-intro-main {
  position: absolute;
  inset: 0 12% 0 0;
}

.hm-intro-accent {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(42%, 15rem);
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 50px rgba(18, 16, 20, 0.22);
  outline: 6px solid var(--paper);
  z-index: 2;
}

.hm-intro-main img,
.hm-intro-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-intro-art:hover .hm-intro-main img {
  transform: scale(1.03);
}

.hm-intro-art:hover .hm-intro-accent img {
  transform: scale(1.05);
}

@media (max-width: 959px) {
  .hm-intro-art {
    min-height: 22rem;
    order: -1;
  }

  .hm-intro-copy .hm-title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hm-intro-art {
    min-height: 18rem;
  }

  .hm-intro-main {
    inset: 0 0 18% 0;
  }

  .hm-intro-accent {
    width: 44%;
    bottom: 0;
    right: 4%;
  }
}

/* ========== MARQUEE ========== */
.hm-marquee {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
  padding: 1.15rem 0;
}

.hm-marquee:hover .hm-marquee-track {
  animation-play-state: paused;
}

.hm-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.hm-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  transition: color 0.3s ease;
}

.hm-marquee-track span:hover {
  color: var(--accent);
}

.hm-marquee-track span::after {
  content: "·";
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== CARE LIST ========== */
.hm-care {
  background: var(--panel);
  color: #f6f4f1;
}

.hm-care .hm-kicker { color: var(--accent-soft); }
.hm-care .hm-title { color: #f6f4f1; }
.hm-care .hm-lead { color: rgba(246, 244, 241, 0.62); }

.hm-care-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .hm-care-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: stretch;
  }
}

.hm-care-visual,
.hm-care-list {
  min-width: 0;
}

.hm-care-visual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: #000;
}

.hm-care-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1) translateX(4%);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(1.05);
}

.hm-care-visual img.is-on {
  opacity: 1;
  transform: scale(1) translateX(0);
}

.hm-care-item.is-active {
  background: linear-gradient(90deg, rgba(196, 168, 232, 0.08), transparent);
}

.hm-care-item.is-active .hm-care-name {
  color: var(--accent-soft);
}

.hm-care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(246, 244, 241, 0.15);
}

.hm-care-item {
  border-bottom: 1px solid rgba(246, 244, 241, 0.15);
}

.hm-care-item a {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.35rem 1rem;
  align-items: start;
  padding: 1.35rem 0;
  color: inherit;
  transition: padding-left 0.35s ease;
}

.hm-care-item a:hover,
.hm-care-item.is-active a {
  padding-left: 0.5rem;
}

.hm-care-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
  padding-top: 0.45rem;
}

.hm-care-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hm-care-desc {
  display: block;
  font-size: 0.92rem;
  color: rgba(246, 244, 241, 0.55);
  margin-top: 0.35rem;
  max-width: 28rem;
  line-height: 1.55;
}

.hm-care-arrow {
  font-size: 1.25rem;
  opacity: 0.4;
  padding-top: 0.35rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hm-care-item a:hover .hm-care-arrow,
.hm-care-item.is-active .hm-care-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ========== LIFE ========== */
.hm-life {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hm-life {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }
}

.hm-life > * {
  min-width: 0;
}

.hm-life-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hm-life-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.hm-life-photos:hover img {
  filter: brightness(0.92);
}

.hm-life-photos img:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
  z-index: 1;
  position: relative;
}

.hm-life-photos img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.hm-life .hm-link {
  margin-top: 1.75rem;
}

.hm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.hm-chip {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hm-chip:hover {
  transform: translateY(-3px);
  background: var(--panel);
  color: #fff;
  border-color: var(--panel);
}

/* ========== LOCAL ========== */
.hm-local {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hm-local-inner {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .hm-local-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 3rem;
  }
}

.hm-local-copy .hm-title {
  max-width: 16ch;
}

.hm-local-nap {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.hm-local-chips {
  margin-top: 0;
}

.hm-local .hm-intro-actions .hm-btn-dark {
  margin-top: 0;
}

.hm-local .hm-intro-actions {
  margin-top: 1.5rem;
}

.hm-local .hm-intro-actions .hm-link {
  margin-top: 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

/* ========== WHY ========== */
.hm-why-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 800px) {
  .hm-why-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.hm-why-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hm-why-row {
  display: grid;
  gap: 0.75rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .hm-why-row {
    grid-template-columns: 3.5rem minmax(9rem, 13rem) minmax(0, 1fr);
    align-items: baseline;
  }
}

.hm-why-row strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
}

.hm-why-row h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.hm-why-row p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========== QUOTE ========== */
.hm-quote {
  background:
    linear-gradient(120deg, rgba(26, 21, 32, 0.88), rgba(26, 21, 32, 0.7)),
    url("../img/lounge1.jpg") center / cover;
  color: #f6f4f1;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}

.hm-quote blockquote {
  margin: 0 auto;
  max-width: 40rem;
}

.hm-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.hm-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

/* ========== CTA ========== */
.hm-cta {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 860px) {
  .hm-cta {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0;
    background: var(--paper-2);
  }

  .hm-cta > div:first-child {
    padding: clamp(2.5rem, 5vw, 4rem);
  }
}

.hm-cta-visual {
  min-height: 16rem;
  background: url("../img/frontbuilding.jpg") center / cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@media (min-width: 860px) {
  .hm-cta-visual {
    min-height: 100%;
  }
}

.hm-cta:hover .hm-cta-visual {
  transform: scale(1.04);
}

.hm-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: #f6f4f1;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hm-btn-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
  color: #fff;
}

/* ========== FAQ ========== */
.hm-faq {
  background: var(--paper-2);
}

body.home .faq-list {
  max-width: 44rem;
  margin: 2.5rem auto 0;
}

body.home .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

body.home .faq-question {
  padding: 1.35rem 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
}

body.home .faq-question svg {
  color: var(--accent);
}

body.home .faq-answer p {
  padding: 0 0 1.35rem;
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .hx-copy > *,
  .hx.is-ready .hx-copy > *,
  .hx-slide,
  .hx-slide.is-active,
  .hx-progress-bar,
  .hm-marquee-track,
  .hm-reveal,
  .reveal-img,
  [data-stagger] > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hx.is-playing .hx-progress-bar {
    animation: none !important;
    width: 100%;
  }
}
