/* ============================================================
   mypropfolio - Shared Stylesheet
   Reference: newgenre.studio
   Fonts: Outfit (display) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --color-text:         #0A0A0A;
  --color-text-muted:   #6B6B6B;
  --color-text-white:   #FFFFFF;
  --color-bg:           #FFFFFF;
  --color-bg-dark:      #0A0A0A;
  --color-bg-warm:      #F5F3F0;
  --color-bg-grey:      #F0EFED;
  --color-border:       rgba(10, 10, 10, 0.12);
  --color-border-dark:  rgba(255, 255, 255, 0.12);
  --font-display:       'Outfit', sans-serif;
  --font-body:          'Inter', sans-serif;
  --max-width:          1280px;
  --nav-height:         68px;
  --radius:             0px;
  --ease-out:           cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: #FAFAFA;
  overflow-x: hidden;
  transition: background-color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* Every section paints its own background so it never goes transparent
   over the body's scroll-driven background-color transition.
   data-bg attribute values are used as explicit backgrounds via attribute selectors. */
.section, .section-sm, .section-warm, .section-grey, .gallery-section,
.cta-section, .site-footer, .hero, .page-hero, .ticker-section,
.problem-section, .partnership-section {
  position: relative;
  z-index: 1;
}

/* ── CTA background art ─────────────────────────────────────── */
.cta-bg-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

/* Explicit section backgrounds — keyed to each section's data-bg value */
[data-bg="#FFFFFF"]  { background: #FFFFFF; }
[data-bg="#FAFAFA"]  { background: #FAFAFA; }
[data-bg="#F5F3F0"]  { background: #F5F3F0; }
[data-bg="#F0EFED"]  { background: #F0EFED; }
[data-bg="#CC1F28"]  { background: #CC1F28; }
[data-bg="#0A0A0A"]  { background: #0A0A0A; }

.section        { padding: 120px 0; }
.section-sm     { padding: 80px 0; }
.section-dark   { color: var(--color-text-white); }
.section-warm   { background: #F5F3F0; }
.section-grey   { background: #F0EFED; }

@media (max-width: 768px) {
  .container    { padding: 0 24px; }
  .section      { padding: 64px 0; }
  .section-sm   { padding: 48px 0; }
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.display-xl {
  font-size: clamp(48px, 7.5vw, 108px);
  letter-spacing: -0.04em;
}

.display-lg {
  font-size: clamp(36px, 4.5vw, 68px);
  letter-spacing: -0.035em;
}

.display-md {
  font-size: clamp(26px, 2.8vw, 44px);
  letter-spacing: -0.03em;
}

.text-muted   { color: var(--color-text-muted); }
.text-label   { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
}

.site-nav {
  --nav-glass: rgba(255, 255, 255, 0.88);
}

.site-nav.scrolled {
  background: var(--nav-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-brand .nav-logo-img {
  height: 24px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text);
  flex-shrink: 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-links a.active { text-decoration: underline; text-underline-offset: 4px; }

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--color-text);
  color: var(--color-text-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.nav-cta:hover { opacity: 0.8; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 99;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 48px;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-mobile-overlay.open {
  opacity: 1;
}

.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.nav-mobile-overlay a:hover { opacity: 1; }

.nav-mobile-overlay .nav-cta-mobile {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--color-text);
  color: #FFFFFF;
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-overlay { display: flex; }
  .nav-mobile-overlay.open { display: flex; }
}

@media (min-width: 769px) {
  .nav-mobile-overlay { display: none !important; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Hero background image with blur */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(6px);
  transform: scale(1.04); /* prevent blur edge fringing */
}

/* Soft white overlay so text stays readable */
.hero-bg-blur {
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 250, 0.62);
}

/* ── Hero typography treatment ────────────────────────────── */
/* Accent word: muted warm brown — visible but not loud */
.hero-accent {
  font-style: normal;
  color: #7A6548;
}

/* ── Cycling word animation ────────────────────────────────── */
/*
  .hero-cycler        — inline-block clip container, fixed height to prevent layout shift
  .hero-cycler-track  — the vertical strip that slides up through the words
  .hc-word            — each individual word, full height of container
  .hc-final           — "viewings": receives underline + shimmer after landing
*/
.hero-cycler {
  display: inline-block;
  overflow: hidden;
  /*
    Clip window tall enough for ascenders + descenders.
    1.25em gives full cap height + descender room (g, y, p etc.)
    Aligned to the text baseline via vertical-align.
  */
  height: 1.25em;
  vertical-align: text-bottom;
  min-width: 6.3ch; /* JS will override with measured value */
  position: relative;
}

.hero-cycler-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0%);
  transition: transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.hc-word {
  display: block;
  color: #7A6548;
  height: 1.25em;
  line-height: 1.25;
  white-space: nowrap;
  font-style: normal;
}

/* Final word "viewings" — underline that draws in after landing */
.hc-final {
  position: relative;
}

.hc-final::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.06em;
  width: 100%;
  height: 0.04em;
  background: #7A6548;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Class added by JS once "viewings" has settled */
.hero-cycler.is-final .hc-final::after {
  transform: scaleX(1);
}

/* Subtle shimmer sweep across "viewings" once landed */
.hc-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(122, 101, 72, 0.12) 50%,
    transparent 65%
  );
  transform: translateX(-110%);
  pointer-events: none;
}

.hero-cycler.is-final .hc-final::before {
  animation: hcShimmer 0.9s 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes hcShimmer {
  to { transform: translateX(110%); }
}

/* Hover: subtle underline movement on "viewings" */
.hero-cycler.is-final:hover .hc-final::after {
  transform: scaleX(0.7);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Reduced motion: skip animation, show only final word */
@media (prefers-reduced-motion: reduce) {
  .hero-cycler-track {
    transition: none;
    transform: translateY(calc(-2 * 1.25em)) !important; /* jump to "viewings" */
  }
  .hc-final::after {
    transform: scaleX(1);
    transition: none;
  }
  .hc-final::before {
    display: none;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-headline {
  max-width: 900px;
  color: #050505;
}

.hero-sub {
  font-size: 17px;
  color: #5F5F5F;
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--color-text);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.75; }

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.6;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-secondary:hover { opacity: 1; }

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #FFFFFF;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-white:hover { opacity: 0.85; }
.btn-white:active { transform: translateY(1px); }

/* ── Ticker ────────────────────────────────────────────────── */
.ticker-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  overflow: hidden;
  background: #FAFAFA; /* always stays off-white, not affected by scroll bg */
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.ticker-item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
}

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

/* ── Problem section (dark) ────────────────────────────────── */
/* ── Problem section ───────────────────────────────────────── */
.problem-section {
  color: rgba(255,255,255,0.92);
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Two-column grid */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.problem-left {
  display: flex;
  flex-direction: column;
}

.problem-headline {
  color: rgba(255,255,255,0.95);
  margin-bottom: 56px;
}

/* Emphasised phrase */
.problem-emphasis {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
}

/* Numbered pain points */
.problem-points {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 48px;
}

.problem-point {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  align-items: start;
}

.problem-point p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin: 0;
}

.problem-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  padding-top: 3px;
  font-family: var(--font-display);
}

/* Closing line */
.problem-closing {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  font-style: italic;
  margin: 0;
}

/* RIGHT — stacked listing cards */
.problem-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Portal mockup visual (right side of problem section) ──── */
.portal-mockup-wrap {
  position: relative;
  width: 100%;
}

/* Ghost copies stacked behind */
.portal-page {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}

.portal-ghost-1,
.portal-ghost-2 {
  position: absolute;
  left: 0; right: 0;
  padding: 8px;
}

.portal-ghost-1 {
  top: -10px;
  opacity: 0.4;
  transform: translateY(-8px) scale(0.985);
  z-index: 1;
}

.portal-ghost-2 {
  top: -20px;
  opacity: 0.2;
  transform: translateY(-16px) scale(0.97);
  z-index: 0;
}

.portal-ghost-1 .pm-gallery,
.portal-ghost-2 .pm-gallery {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.portal-ghost-1 .pm-gallery-main,
.portal-ghost-2 .pm-gallery-main {
  flex: 3;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.portal-ghost-1 .pm-gallery-thumbs,
.portal-ghost-2 .pm-gallery-thumbs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.portal-ghost-1 .pm-gallery-thumbs div,
.portal-ghost-2 .pm-gallery-thumbs div {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}

.portal-ghost-1 .pm-content,
.portal-ghost-2 .pm-content {
  padding: 6px 0;
}

.portal-ghost-1 .pm-title,
.portal-ghost-2 .pm-title {
  height: 6px;
  width: 60%;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  margin-bottom: 6px;
}

.portal-ghost-1 .pm-price,
.portal-ghost-2 .pm-price {
  height: 5px;
  width: 35%;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

/* Front detailed mockup */
.portal-front {
  position: relative;
  z-index: 2;
  padding: 10px;
  margin-top: 24px;
}

/* Shared line style */
.pm-line {
  height: 7px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
}

/* Nav bar */
.pm-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 8px;
}

.pm-nav-logo {
  width: 40px;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  flex-shrink: 0;
}

.pm-nav-links {
  display: flex;
  gap: 6px;
  flex: 1;
}

.pm-nav-link {
  height: 6px;
  width: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.pm-nav-link-wide { width: 40px; }

.pm-nav-btn {
  width: 36px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Gallery */
.pm-gallery {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.pm-gallery-main {
  flex: 3;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pm-gallery-thumbs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pm-thumb {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pm-thumb-last {
  position: relative;
}

.pm-thumb-last::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
}

/* Hatching for image placeholders */
.pm-gallery-hatch {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 10px
  );
}

/* Body: main col + agent card */
.pm-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.pm-main-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Title block */
.pm-title-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pm-line-title  { width: 70%; height: 9px; background: rgba(255,255,255,0.22); }
.pm-line-addr   { width: 50%; height: 6px; }
.pm-line-price  { width: 38%; height: 10px; background: rgba(255,255,255,0.2); }

/* Specs */
.pm-specs {
  display: flex;
  gap: 10px;
}

.pm-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.pm-spec-icon {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.pm-spec-label {
  width: 20px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

/* Description */
.pm-desc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-line-full { width: 100%; }
.pm-line-3q   { width: 72%; }

/* Agent card */
.pm-agent-card {
  width: 88px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 3px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.pm-agent-top {
  display: flex;
  gap: 5px;
  align-items: center;
}

.pm-agent-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.pm-agent-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.pm-line-name   { width: 100%; height: 5px; background: rgba(255,255,255,0.18); }
.pm-line-agency { width: 80%; height: 4px; }

.pm-agent-btn {
  height: 14px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}

.pm-agent-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Label */
.portal-label {
  text-align: center;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .problem-right {
    order: -1;
  }

  .pm-agent-card { display: none; }
  .pm-specs { gap: 6px; }
}

/* ── Solution ──────────────────────────────────────────────── */
/* ── 3D Tilt Cards (solution section) ──────────────────────── */
.tilt-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.tilt-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 12;
  cursor: default;
  will-change: transform;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}

/* Background photo */
.tilt-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 0.4s ease;
}

.tilt-card:hover .tilt-card-bg {
  transform: scale(1.12);
}

/* Gradient overlay — soft top vignette + stronger behind text area */
.tilt-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(0,0,0,0.38) 0%,
      rgba(0,0,0,0.12) 45%,
      rgba(0,0,0,0.06) 100%
    );
  border-radius: 20px;
}

/* Content layer — sits above image */
.tilt-card-inner {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(30px);
}

/* Glassmorphism header — darker tint, stronger blur, defined border */
.tilt-card-header {
  background: rgba(20, 20, 20, 0.40);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 4px 24px rgba(0,0,0,0.18);
}

.tilt-card-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.tilt-card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.tilt-card-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.20);
}

/* Pagination dots */
.tilt-card-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-bottom: 4px;
}

.tilt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

.tilt-dot-active {
  background: #fff;
}

@media (max-width: 768px) {
  .tilt-cards-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Gallery Carousel (sample listings) ─────────────────────── */
.gallery-section {
  overflow: hidden;
}

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.gallery-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 10, 10, 0.18);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0A0A0A;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.gallery-btn:hover {
  background: #0A0A0A;
  border-color: #0A0A0A;
  color: #fff;
}

.gallery-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-btn:disabled:hover {
  background: transparent;
  border-color: rgba(10, 10, 10, 0.18);
  color: #0A0A0A;
}

.gallery-track-outer {
  /* bleed to viewport edges */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: clamp(24px, 5vw, calc((100vw - 1200px) / 2 + 24px));
  padding-right: clamp(24px, 5vw, calc((100vw - 1200px) / 2 + 24px));
  box-sizing: border-box;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; scroll-behavior: auto; }

.gallery-card {
  flex: 0 0 clamp(280px, 38vw, 452px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

.gallery-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #E8E6E2;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 24px 28px 28px;
}

.gallery-card-type {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.gallery-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #4A4A4A;
  margin-bottom: 20px;
}

.gallery-card-link {
  font-size: 14px;
  font-weight: 500;
  color: #0A0A0A;
  text-decoration: none;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(10,10,10,0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.gallery-card-link:hover {
  border-color: #0A0A0A;
}

@media (max-width: 768px) {
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .gallery-card {
    flex: 0 0 80vw;
  }
}

/* ── Steps ─────────────────────────────────────────────────── */
.steps-section {}

.steps-list {
  margin-top: 72px;
  border-top: 1px solid var(--color-border);
}

.step-item {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding-top: 6px;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.step-body {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 400px;
}

@media (max-width: 768px) {
  .step-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }
}

/* ── Partnership strip ─────────────────────────────────────── */
/* ── Agent Why section ─────────────────────────────────────── */
.agent-why-section {
  background: #0A0A0A;
  padding: 96px 0;
}

.agent-why-header {
  margin-bottom: 64px;
}

.agent-why-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.agent-why-header .display-lg {
  color: #FFFFFF;
}

.agent-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.agent-why-card {
  background: #0A0A0A;
  padding: 40px 32px;
  transition: background 0.3s ease;
}

.agent-why-card:hover {
  background: #141414;
}

.agent-why-icon {
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.agent-why-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.agent-why-body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.agent-why-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.agent-why-stat {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.agent-why-stat-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-right: 6px;
}

.agent-why-divider {
  color: rgba(255,255,255,0.15);
  font-size: 20px;
}

@media (max-width: 1024px) {
  .agent-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .agent-why-grid { grid-template-columns: 1fr; }
  .agent-why-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .agent-why-divider { display: none; }
}

/* ── Partnership section ────────────────────────────────────── */
.partnership-section {
  background: #F0EFED;
  position: relative;
  z-index: 1;
}

.partnership-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.partnership-text {}

.partnership-text p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-top: 12px;
  max-width: 420px;
}

.partnership-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.partnership-link:hover { opacity: 1; }

@media (max-width: 768px) {
  .partnership-inner { flex-direction: column; align-items: flex-start; }
}

/* ── CTA dark section ──────────────────────────────────────── */
.cta-section {
  color: var(--color-text-white);
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-section .display-lg {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  margin-bottom: 52px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Primary: white fill */
.cta-section .btn-white {
  background: #FFFFFF;
  color: #0A0A0A;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta-section .btn-white:hover {
  background: #F5EDE0;
  opacity: 1;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: rgba(255, 255, 255, 0.75);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #FAFAFA; /* explicit — prevents dark body bg bleeding in from CTA section */
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  padding: 64px 0 48px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {}

.footer-brand .tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-links-group a:hover { opacity: 1; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-contact a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-partner {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-partner a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-partner a:hover { opacity: 1; }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Scroll Reveal (body text, cards, etc.) ────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Line Reveal (newgenre headline animation) ─────────────── */
/*
   Usage:
   <div class="line-reveal">
     <div class="line-clip"><span class="line">First line of text</span></div>
     <div class="line-clip"><span class="line" style="transition-delay:0.1s">Second line</span></div>
   </div>
*/
.line-clip {
  display: block;
  overflow: hidden;
  margin-left: -6px;
  padding-left: 6px;
  /* Room for descenders (g, p, y) and punctuation below baseline */
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.line-clip .line {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}

.line-reveal.visible .line-clip .line {
  transform: translateY(0);
}

/* Stagger delays for multi-line reveals */
.line-clip:nth-child(1) .line { transition-delay: 0s; }
.line-clip:nth-child(2) .line { transition-delay: 0.09s; }
.line-clip:nth-child(3) .line { transition-delay: 0.18s; }
.line-clip:nth-child(4) .line { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .line-clip .line {
    transform: none;
    transition: none;
  }
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-border);
}

/* Page hero with background image — same treatment as homepage hero */
.page-hero.hero-with-bg {
  position: relative;
  overflow: hidden;
}

.page-hero.hero-with-bg .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero.hero-with-bg .hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(6px);
  transform: scale(1.04);
}

.page-hero.hero-with-bg .hero-bg-blur {
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 250, 0.62);
}

.page-hero.hero-with-bg .container {
  position: relative;
  z-index: 1;
}

.page-hero .display-lg {
  max-width: 700px;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 460px;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ── Filter Tabs (Templates page) ──────────────────────────── */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  opacity: 0.6;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
}

.filter-tab:hover { opacity: 1; border-color: var(--color-text); }

.filter-tab.active {
  background: var(--color-text);
  color: #FFFFFF;
  border-color: var(--color-text);
  opacity: 1;
}

/* ── Pricing Toggle ─────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-border);
  width: fit-content;
  margin-bottom: 64px;
}

.pricing-toggle button {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.5;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
}

.pricing-toggle button.active {
  background: var(--color-text);
  color: #FFFFFF;
  opacity: 1;
}

/* ── Pricing Cards ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: oklch(87% 0.006 250);
  outline: 1px solid oklch(87% 0.006 250);
}

.pricing-card {
  background: var(--color-bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-card.featured {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
}

.pricing-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.pricing-card.featured .pricing-card-label { opacity: 0.5; color: #fff; }

.pricing-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card-price span {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0;
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card-features li {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-card.featured .pricing-card-features li { color: rgba(255,255,255,0.6); }

.pricing-card-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Property type table — replaced by inline styles in pricing.html ── */

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--color-border);
  margin-top: 64px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: left;
  gap: 24px;
  background: transparent;
  border: none;
  color: var(--color-text);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 28px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--color-border);
  margin-top: 64px;
}

.contact-option {
  background: var(--color-bg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-option h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-option p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-text-muted); opacity: 0.5; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--color-text); }

.form-field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 13px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-option { padding: 40px 28px; }
}

/* ── Steps page (how it works) ─────────────────────────────── */
.hiw-steps { margin-top: 80px; }

.hiw-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.hiw-step:first-child { border-top: 1px solid var(--color-border); }

.hiw-step-content {}

.hiw-step-verb {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.hiw-step-body {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 420px;
}

.hiw-step-visual {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hiw-step-visual-placeholder {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .hiw-step {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0;
  }
  .hiw-step-visual { aspect-ratio: 16/9; }
}

/* ── Inclusions checklist ──────────────────────────────────── */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-border);
  margin-top: 56px;
}

.inclusion-item {
  background: var(--color-bg-warm);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.inclusion-check {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.inclusion-check::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transform: rotate(-45deg) translateY(-1px);
}

.inclusion-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}

.inclusion-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.inclusion-text span { color: var(--color-text-muted); font-size: 14px; }

@media (max-width: 768px) {
  .inclusions-grid { grid-template-columns: 1fr; }
}

/* ── Agent panel (default visible) ───────────────────────── */
#agent-pricing { display: block; }

/* ── Agency panel ─────────────────────────────────────────── */
.agency-panel {
  display: none;
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: 56px;
  margin-top: 2px;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.agency-panel.visible { display: grid; }

.agency-panel h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.agency-panel p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.65; }

.agency-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.agency-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.agency-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .agency-panel { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* ── Utility ──────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
