/* CIMA — Tweak-driven variants (applied via body[data-*]) */

/* Card style: Editorial */
body[data-card="editorial"] .prop-card {
  background: transparent; border: none;
}
body[data-card="editorial"] .prop-card__media { aspect-ratio: 5/4; }
body[data-card="editorial"] .prop-card__body { padding: 18px 2px 8px; }
body[data-card="editorial"] .prop-card__meta { border-top: none; padding-top: 8px; }

/* Card style: Navy */
body[data-card="navy"] .prop-card {
  background: var(--navy); color: var(--bone); border: none;
}
body[data-card="navy"] .prop-card__price { color: var(--gold); }
body[data-card="navy"] .prop-card__title { color: var(--bone); }
body[data-card="navy"] .prop-card__meta { color: var(--warm); border-color: var(--line-dk); }
body[data-card="navy"] .prop-card__type { color: var(--gold); }

/* Density */
body[data-density="airy"] .section { padding: clamp(72px, 10vw, 160px) 0; }
body[data-density="compact"] .section { padding: clamp(40px, 5vw, 72px) 0; }

/* Hero style handled in home.html via CSS class + JS */

/* ------ Home hero variants ------ */
.hero {
  position: relative;
  overflow: hidden;
}

/* Editorial hero: full-bleed image with centered Playfair headline */
.hero--editorial {
  min-height: min(92vh, 900px);
  color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0;
}
.hero--editorial .hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero--editorial .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.3) 0%, rgba(13,27,42,0.6) 100%);
}
.hero--editorial .hero__inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 900px; padding: 0 24px;
}
.hero--editorial h1 {
  font-size: clamp(3rem, 7vw, 6rem); color: var(--bone);
}
.hero--editorial h1 em {
  font-style: italic; color: var(--gold); font-weight: 400;
}
.hero--editorial .hero__sub {
  max-width: 52ch; margin: 32px auto 40px; color: var(--warm);
  font-size: 1.0625rem; line-height: 1.7;
}
.hero--editorial .hero__ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Split hero */
.hero--split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.hero--split .hero__copy {
  padding: clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bone);
}
.hero--split .hero__media { background-size: cover; background-position: center; }
.hero--split h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.hero--split h1 em { color: var(--gold-dark); font-style: italic; font-weight: 400; }
.hero--split .hero__sub { margin: 24px 0 32px; color: var(--muted); max-width: 44ch; line-height: 1.7; }
.hero--split .hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero__media { min-height: 340px; }
}

/* Navy hero */
.hero--navy {
  background: var(--navy); color: var(--bone);
  padding: 140px 0 100px;
  position: relative;
}
.hero--navy .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.hero--navy h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--bone); }
.hero--navy h1 em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero--navy .hero__sub { color: var(--warm); max-width: 48ch; margin: 28px 0 36px; line-height: 1.7; }
.hero--navy .hero__preview {
  background: #fff; color: var(--navy);
  border-radius: 2px; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero--navy .hero__preview img { width: 100%; height: 340px; object-fit: cover; }
.hero--navy .hero__preview-body { padding: 24px 28px 28px; }
.hero--navy .hero__preview-body .price { font-family: var(--ff-display); font-size: 1.75rem; }
.hero--navy .hero__preview-body .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
@media (max-width: 900px) {
  .hero--navy .container { grid-template-columns: 1fr; }
}

/* Search bar pill for editorial hero */
.search-bar {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 0; margin-top: 40px; max-width: 720px; margin-inline: auto;
  background: rgba(246,244,241,0.12);
  border: 1px solid rgba(246,244,241,0.3);
  backdrop-filter: blur(12px);
  border-radius: 2px;
  overflow: hidden;
}
.search-bar__field {
  padding: 14px 18px; text-align: left;
  border-right: 1px solid rgba(246,244,241,0.2);
}
.search-bar__field:last-of-type { border-right: none; }
.search-bar__field label {
  display: block; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--warm); margin-bottom: 4px;
}
.search-bar__field select, .search-bar__field input {
  background: transparent; border: none; color: var(--bone);
  font-family: var(--ff-sans); font-size: 14px; padding: 0;
  width: 100%; appearance: none;
}
.search-bar__field select option { color: var(--navy); }
.search-bar__btn {
  background: var(--gold); color: var(--navy); border: none;
  padding: 0 28px; cursor: pointer; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; font-family: var(--ff-sans);
}
.search-bar__btn:hover { background: var(--gold-dark); }
@media (max-width: 720px) {
  .search-bar { grid-template-columns: 1fr; }
  .search-bar__field { border-right: none; border-bottom: 1px solid rgba(246,244,241,0.2); }
  .search-bar__btn { padding: 16px; }
}

/* ------ Services grid ------ */
.service {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.service:hover { border-color: var(--gold); transform: translateY(-2px); }
.service__ico {
  width: 56px; height: 56px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-dark);
  margin-bottom: 20px;
}
.service h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

/* ------ Team tile ------ */
.team-tile { text-align: left; }
.team-tile__photo {
  aspect-ratio: 4/5; overflow: hidden; border-radius: 2px;
  background: var(--warm); margin-bottom: 16px;
}
.team-tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-tile:hover .team-tile__photo img { transform: scale(1.04); }
.team-tile h4 { font-family: var(--ff-display); font-weight: 400; font-size: 1.25rem; letter-spacing: 0; }
.team-tile .role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin: 6px 0 8px; }
.team-tile p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ------ Article card ------ */
.art-card {
  background: transparent; display: flex; flex-direction: column;
  text-align: left; cursor: pointer;
}
.art-card__media {
  aspect-ratio: 3/2; overflow: hidden; margin-bottom: 20px;
  background: var(--warm);
}
.art-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.art-card:hover .art-card__media img { transform: scale(1.04); }
.art-card__meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.art-card h3 { font-size: 1.5rem; margin-bottom: 12px; line-height: 1.25; }
.art-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 18px; }
.art-card .art-card__more {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); margin-top: auto;
}
.art-card:hover h3 { color: var(--gold-dark); }

/* ------ CTA band ------ */
.cta-band {
  background: var(--navy); color: var(--bone);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
}
.cta-band__inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: center;
}
.cta-band h2 { color: var(--bone); }
.cta-band h2 em { color: var(--gold); font-style: italic; }
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* ------ Stat block ------ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 48px 0; border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk);
}
.stat__num { font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 3.25rem); color: var(--gold); line-height: 1; }
.stat__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm); margin-top: 10px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
