/* ==========================================================================
   Portfolio + Contact — ogroup-inspired editorial layouts
   Brand language: Bodoni Moda + Inter / ink + gold + cream
   ========================================================================== */

/* =========================================
   PROPERTY PORTFOLIO / LISTINGS
   ========================================= */

.portfolio-hero {
  position: relative;
  padding: clamp(60px, 12vh, 140px) 0 clamp(40px, 6vh, 80px);
  overflow: hidden;
}

.portfolio-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.portfolio-hero__eyebrow-line {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.portfolio-hero__eyebrow-line::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.portfolio-hero__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.portfolio-hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0 0 24px;
  text-transform: none;
  display: block; font-variation-settings: 'opsz' 48; }

.portfolio-hero__title b {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
}

.portfolio-hero__lede {
  font-family: var(--body);
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--cream-dim);
  max-width: 56ch;
  margin: 32px 0 0;
  line-height: 1.6;
}

.portfolio-hero__lede strong {
  color: var(--cream);
  font-weight: 500;
}

/* Decorative L-bracket like ogroup's red corner accent — in gold for Avenew */
.portfolio-hero::before {
  content: "";
  position: absolute;
  top: clamp(40px, 8vh, 100px);
  left: 0;
  width: clamp(120px, 16vw, 220px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(188, 165, 115, 0.5) 30%, var(--gold));
  pointer-events: none;
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  top: clamp(40px, 8vh, 100px);
  left: clamp(120px, 16vw, 220px);
  width: 1px;
  height: clamp(80px, 14vh, 180px);
  background: linear-gradient(to bottom, var(--gold), transparent);
  pointer-events: none;
}

/* =========================================
   SEARCH BAR — ogroup-style horizontal row
   ========================================= */

.portfolio-search {
  background: rgba(188, 165, 115, 0.04);
  border-top: 1px solid rgba(188, 165, 115, 0.18);
  border-bottom: 1px solid rgba(188, 165, 115, 0.18);
  padding: clamp(24px, 3vh, 36px) 0;
  margin: clamp(40px, 6vh, 80px) 0 clamp(24px, 4vh, 48px);
}

.portfolio-search__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Replace the old .search-filters grid with horizontal bar */
.portfolio-search .search-filters,
.portfolio-search .search-filters-row-2 {
  display: grid;
  gap: 0;
  margin-bottom: 0;
  border: none;
  padding: 0;
  background: transparent;
}

.portfolio-search .search-filters {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.portfolio-search .search-filters-row-2 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .portfolio-search .search-filters,
  .portfolio-search .search-filters-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .portfolio-search .search-filters,
  .portfolio-search .search-filters-row-2 {
    grid-template-columns: 1fr;
  }
}

.portfolio-search .form-field {
  border: none;
  border-right: 1px solid rgba(188, 165, 115, 0.15);
  padding: 6px 24px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portfolio-search .form-field:last-child {
  border-right: none;
}

@media (max-width: 900px) {
  .portfolio-search .form-field {
    border-right: none;
    border-bottom: 1px solid rgba(188, 165, 115, 0.12);
    padding: 12px 0;
  }
}

.portfolio-search .form-field label {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.portfolio-search .form-field input,
.portfolio-search .form-field select {
  background: transparent;
  border: none;
  padding: 4px 0;
  font-family: var(--body);
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.portfolio-search .form-field input::placeholder {
  color: rgba(242, 234, 223, 0.32);
}

.portfolio-search .form-field input:focus,
.portfolio-search .form-field select:focus {
  color: var(--gold);
}

/* Status chips refined */
.portfolio-meta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.portfolio-meta__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.portfolio-meta__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-meta .lens-toggle {
  display: flex;
  gap: 0;
  border: 1px solid rgba(188, 165, 115, 0.28);
  border-radius: 999px;
  padding: 4px;
  margin: 0;
}

.portfolio-meta .lens-toggle button {
  background: transparent;
  border: none;
  padding: 8px 20px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.portfolio-meta .lens-toggle button::after {
  content: none;
}

.portfolio-meta .lens-toggle button.active {
  background: var(--gold);
  color: var(--ink);
}

.portfolio-meta .lens-toggle button:hover:not(.active) {
  color: var(--gold);
}

.portfolio-meta .status-chips {
  display: flex;
  gap: 8px;
  margin: 0;
}

.portfolio-meta .status-chip {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 18px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.portfolio-meta .status-chip::before,
.portfolio-meta .status-chip::after {
  content: none;
}

.portfolio-meta .status-chip:hover {
  color: var(--gold);
}

.portfolio-meta .status-chip.active {
  border-color: rgba(188, 165, 115, 0.4);
  color: var(--gold);
}

.portfolio-results-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(188, 165, 115, 0.12);
}

.portfolio-results-bar .results-count {
  font-family: var(--body);
  font-size: 13px;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}

.portfolio-results-bar .results-count b {
  color: var(--gold);
  font-weight: 600;
}

.portfolio-results-bar .sort-control {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.portfolio-results-bar .sort-control select {
  background: transparent;
  border: 1px solid rgba(188, 165, 115, 0.3);
  padding: 8px 14px;
  font-family: var(--body);
  font-size: 12px;
  color: var(--cream);
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: none;
  outline: none;
}

/* =========================================
   LISTING CARDS — bigger, more editorial
   ========================================= */

.listings-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(48px, 8vh, 96px);
}

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

.listing-card {
  position: relative;
  display: block;
  background: rgba(14, 28, 27, 0.5);
  border: 1px solid rgba(188, 165, 115, 0.08);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.55s ease;
  isolation: isolate;
  aspect-ratio: 4 / 3;
}

.listing-card:hover {
  transform: translateY(-6px) scale(1.005);
  border-color: rgba(188, 165, 115, 0.4);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(188, 165, 115, 0.1);
}

.listing-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: rgba(14, 28, 27, 0.8);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing-card:hover .listing-card__photo {
  transform: scale(1.05);
}

.listing-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5, 5, 5, 0.2) 0%,
      transparent 25%,
      rgba(5, 5, 5, 0.55) 70%,
      rgba(5, 5, 5, 0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

.listing-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #B7142A;
  color: #FFFFFF;
  padding: 6px 14px 7px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 3;
  line-height: 1;
}

.listing-card__badge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #B7142A;
}

.listing-card__avenew {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--gold);
  padding: 6px 14px 7px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid rgba(188, 165, 115, 0.55);
  border-radius: 2px;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1;
}

.listing-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 26px 26px;
  z-index: 2;
}

.listing-card__price {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 14px;
  font-variant-numeric: lining-nums tabular-nums;
}

.listing-card__addr {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(242, 234, 223, 0.88);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.listing-card__addr br + * {
  color: rgba(242, 234, 223, 0.55);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.listing-card__specs {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(188, 165, 115, 0.18);
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.listing-card__specs b {
  color: var(--cream);
  font-weight: 700;
  margin-right: 2px;
}

/* =========================================
   CONTACT PAGE — ogroup-inspired layout
   ========================================= */

.contact-hero-v2 {
  position: relative;
  min-height: clamp(560px, 75vh, 760px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
}

@media (max-width: 900px) {
  .contact-hero-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.contact-hero-v2__left {
  position: relative;
  padding: clamp(60px, 10vh, 140px) clamp(28px, 5vw, 80px) clamp(60px, 8vh, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.contact-hero-v2__eyebrow-line {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.contact-hero-v2__eyebrow-line::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.contact-hero-v2__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-hero-v2__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0 0 24px; font-variation-settings: 'opsz' 48; }

.contact-hero-v2__title b {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  display: block;
}

.contact-hero-v2__lede {
  font-family: var(--body);
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--cream-dim);
  max-width: 44ch;
  line-height: 1.65;
  margin: 0;
}

.contact-hero-v2__lede strong {
  color: var(--cream);
  font-weight: 500;
}

/* RIGHT: Big Miami skyline photo */
.contact-hero-v2__photo {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1506966953602-c20cc11f75e3?w=2400&q=85&fm=jpg');
  background-size: cover;
  background-position: center;
  min-height: clamp(360px, 60vh, 760px);
}

.contact-hero-v2__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 5, 5, 0.5) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.4) 100%);
  pointer-events: none;
}

/* Vertical "GET IN TOUCH" accent on the photo edge */
.contact-hero-v2__vertical {
  position: absolute;
  top: 50%;
  left: 24px;
  transform-origin: 0 50%;
  transform: rotate(-90deg) translateY(-50%);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(60px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(188, 165, 115, 0.16);
  z-index: 3;
  pointer-events: none;
  text-transform: uppercase;
  mix-blend-mode: screen;
}

@media (max-width: 900px) {
  .contact-hero-v2__vertical {
    display: none;
  }
}

/* =========================================
   CONTACT FORM SECTION — ogroup style
   ========================================= */

.contact-section-v2 {
  position: relative;
  padding: clamp(60px, 10vh, 140px) 0;
  background: var(--ink);
}

.contact-section-v2__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
}

@media (max-width: 900px) {
  .contact-section-v2__inner {
    grid-template-columns: 1fr;
  }
}

.contact-form-v2 {
  position: relative;
}

.contact-form-v2__head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-form-v2__bar {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-top: 14px;
  flex-shrink: 0;
}

.contact-form-v2__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-form-v2__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0 0 14px;
}

.contact-form-v2__title b {
  color: var(--gold);
  font-style: italic;
}

.contact-form-v2__sub {
  font-family: var(--body);
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 52ch;
}

/* Line-style inputs like ogroup */
.contact-form-v2 .form-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-form-v2 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 560px) {
  .contact-form-v2 .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.contact-form-v2 .form-field {
  position: relative;
  border: none;
  background: transparent;
  padding: 22px 0 14px;
  border-bottom: 1px solid rgba(188, 165, 115, 0.22);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s ease;
}

.contact-form-v2 .form-field:hover,
.contact-form-v2 .form-field:focus-within {
  border-bottom-color: var(--gold);
}

.contact-form-v2 .form-field label {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.contact-form-v2 .form-field input,
.contact-form-v2 .form-field select,
.contact-form-v2 .form-field textarea {
  background: transparent;
  border: none;
  padding: 4px 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--cream);
  font-weight: 500;
  outline: none;
  width: 100%;
  resize: vertical;
}

.contact-form-v2 .form-field textarea {
  min-height: 100px;
  font-size: 15px;
  line-height: 1.5;
}

.contact-form-v2 .form-field input::placeholder,
.contact-form-v2 .form-field textarea::placeholder {
  color: rgba(242, 234, 223, 0.3);
}

.contact-form-v2 .form-block .btn {
  margin-top: 36px;
  align-self: flex-start;
}

.contact-form-v2 .lead-success {
  margin-top: 24px;
}

/* Right column — direct lines, hours, social */
.contact-side-v2 {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.contact-side-v2__block-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-side-v2__block-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.contact-method-v2 {
  padding: 18px 0;
  border-bottom: 1px solid rgba(188, 165, 115, 0.1);
}

.contact-method-v2:last-of-type {
  border-bottom: none;
}

.contact-method-v2__label {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-method-v2__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact-method-v2__value a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method-v2__value a:hover {
  color: var(--gold);
}

.contact-hours-v2 {
  font-family: var(--body);
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.9;
}

.contact-hours-v2 strong {
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* =========================================
   OFFICES STRIP — photo cards with overlay
   ========================================= */

.offices-strip {
  position: relative;
  background: var(--ink-2);
  padding: 0;
  isolation: isolate;
}

.offices-strip__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(36px, 6vh, 64px);
  text-align: left;
}

.offices-strip__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.offices-strip__eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.offices-strip__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin: 0 0 16px; font-variation-settings: 'opsz' 48; }

.offices-strip__title b {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
}

.offices-strip__sub {
  font-family: var(--body);
  font-size: clamp(14px, 1vw, 16px);
  color: var(--cream-dim);
  max-width: 56ch;
  line-height: 1.6;
}

.offices-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

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

@media (max-width: 560px) {
  .offices-strip__grid {
    grid-template-columns: 1fr;
  }
}

.office-photo-card {
  position: relative;
  display: block;
  text-decoration: none;
  aspect-ratio: 3 / 4;
  background-color: rgba(14, 28, 27, 0.9);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.office-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5, 5, 5, 0.2) 0%,
    rgba(5, 5, 5, 0.4) 50%,
    rgba(5, 5, 5, 0.85) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.office-photo-card:hover {
  transform: scale(1.015);
}

.office-photo-card:hover::before {
  background: linear-gradient(to bottom,
    rgba(5, 5, 5, 0.1) 0%,
    rgba(5, 5, 5, 0.3) 50%,
    rgba(5, 5, 5, 0.75) 100%);
}

/* Photos match each office's hero page + locations.html (synced source of truth) */
.office-photo-card--brickell {
  background-image:
    url('https://images.unsplash.com/photo-1535498730771-e735b998cd64?w=1600&q=85&fm=jpg');
}
.office-photo-card--doral {
  background-image:
    url('https://images.unsplash.com/photo-1742498626135-67a7d3501eff?w=1600&q=85&fm=jpg');
}
.office-photo-card--coral-gables {
  background-image:
    url('https://images.unsplash.com/photo-1704236600122-56a1401023d3?w=1600&q=85&fm=jpg');
}
.office-photo-card--sunset {
  background-image:
    url('https://images.unsplash.com/photo-1596215660442-bad9dbfb42b7?w=1600&q=85&fm=jpg');
}

.office-photo-card__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
}

.office-photo-card__phone {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.office-photo-card__phone-rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 16px;
}

.office-photo-card__city {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.office-photo-card__addr {
  font-family: var(--body);
  font-size: 12px;
  color: var(--cream-dim);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* =========================================
   Misc listings page elements
   ========================================= */

.portfolio-search .form-field--wide {
  /* The city input spans 1.4fr already via grid */
}

.pagination {
  max-width: var(--container);
  margin: clamp(40px, 6vh, 64px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.pagination button {
  background: transparent;
  border: 1px solid rgba(188, 165, 115, 0.3);
  color: var(--cream);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  min-width: 44px;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(188, 165, 115, 0.04);
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination__info {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0 18px;
}

.idx-disclaimer {
  max-width: var(--container);
  margin: clamp(40px, 6vh, 64px) auto 0;
  padding: 24px var(--gutter);
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(242, 234, 223, 0.32);
  border-top: 1px solid rgba(188, 165, 115, 0.08);
}

/* Hide the page-hero default styling on listings page since we use portfolio-hero now */
body[data-page="listings"] .page-hero {
  display: none;
}

/* =========================================================================
   ★ GLOW UPGRADE PASS — flow, glow, cinematic depth
   ========================================================================= */

/* ===== Hero ambient gold gradients ===== */

.portfolio-hero,
.contact-hero-v2 {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(188, 165, 115, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 70%, rgba(188, 165, 115, 0.04) 0%, transparent 65%),
    var(--ink);
}

/* Curved arc decoration like ogroup's wine-glass mark, peeking subtly */
.portfolio-hero::before,
.contact-hero-v2::before {
  content: "";
  position: absolute;
  top: -20%;
  left: auto;
  right: -10%;
  width: 70vw;
  height: 140vh;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'><defs><radialGradient id='g' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='%23BCA573' stop-opacity='0.04'/><stop offset='50%' stop-color='%23BCA573' stop-opacity='0.015'/><stop offset='100%' stop-color='%23BCA573' stop-opacity='0'/></radialGradient></defs><circle cx='400' cy='400' r='350' fill='url(%23g)'/><path d='M 80 400 a 320 320 0 1 0 640 0 a 320 320 0 1 0 -640 0' fill='none' stroke='%23BCA573' stroke-width='0.5' stroke-opacity='0.08'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  z-index: 0;
  pointer-events: none;
}

.portfolio-hero__inner,
.contact-hero-v2__left {
  position: relative;
  z-index: 1;
}

/* Override the old portfolio-hero::before that was the L-bracket line */
.portfolio-hero::before {
  /* Already set above */
}

.portfolio-hero::after {
  display: none;
}

/* New L-bracket as inner div */
.portfolio-hero__inner::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: clamp(160px, 22vw, 300px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(188, 165, 115, 0.6) 30%, var(--gold));
  pointer-events: none;
}

.portfolio-hero__inner::after {
  content: "";
  position: absolute;
  top: -20px;
  left: clamp(160px, 22vw, 300px);
  width: 1px;
  height: clamp(100px, 16vh, 200px);
  background: linear-gradient(to bottom, var(--gold), transparent);
  pointer-events: none;
}

/* ===== Bigger, more cinematic headlines ===== */

.portfolio-hero__title {
  font-size: clamp(24px, 2.8vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.contact-hero-v2__title {
  font-size: clamp(26px, 3vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

/* ===== Vertical accent — MUCH bigger and more visible ===== */

.contact-hero-v2__vertical {
  font-size: clamp(120px, 16vw, 240px);
  color: rgba(188, 165, 115, 0.22);
  letter-spacing: -0.05em;
  font-weight: 800;
  font-style: italic;
  left: 32px;
  text-shadow: 0 0 60px rgba(188, 165, 115, 0.1);
}

@media (max-width: 1200px) {
  .contact-hero-v2__vertical {
    font-size: clamp(100px, 14vw, 180px);
    color: rgba(188, 165, 115, 0.18);
  }
}

/* ===== LISTING CARDS — rounded, glowy, lifted ===== */

.listing-card {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 28, 27, 0.7) 0%, rgba(5, 5, 5, 0.85) 100%);
  border: 1px solid rgba(188, 165, 115, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.listing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(188, 165, 115, 0.5);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(188, 165, 115, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.listing-card__photo {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Wrap the photo content so we can scale ::before inside */
.listing-card__photo {
  position: relative;
}

.listing-card:hover .listing-card__photo {
  /* Slight zoom effect via background-position */
}

.listing-card__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.listing-card:hover .listing-card__photo::before {
  transform: scale(1.06);
}

/* Card badge upgrade — bigger, with subtle glow */
.listing-card__badge {
  padding: 8px 16px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(188, 165, 115, 0.25);
}

.listing-card__avenew {
  padding: 8px 16px;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  backdrop-filter: blur(8px);
  border-radius: 4px;
}

/* Price gets a thin gold underline beneath it */
.listing-card__price {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.listing-card__price::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

/* ===== OFFICE PHOTO CARDS — rounded, glowy on hover ===== */

.offices-strip__grid {
  gap: clamp(12px, 1.5vw, 20px);
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto clamp(60px, 8vh, 100px);
}

.office-photo-card {
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s ease;
}

.office-photo-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(188, 165, 115, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* "View office" pill that fades in on hover */
.office-photo-card__inner::after {
  content: "View office →";
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px;
  border: 1px solid rgba(188, 165, 115, 0.5);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(6px);
}

.office-photo-card:hover .office-photo-card__inner::after {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACT FORM — line inputs with luminous focus ===== */

.contact-form-v2 .form-field input:focus,
.contact-form-v2 .form-field select:focus,
.contact-form-v2 .form-field textarea:focus {
  color: var(--cream);
}

.contact-form-v2 .form-field {
  position: relative;
}

.contact-form-v2 .form-field::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(188, 165, 115, 0.4);
  z-index: 1;
}

.contact-form-v2 .form-field:focus-within::after {
  width: 100%;
}

/* ===== BUTTONS — gold glow shadow + expanding arrow ===== */

.contact-form-v2 .form-block .btn {
  position: relative;
  padding: 18px 36px 18px 28px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition:
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s ease,
    padding-right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 16px rgba(188, 165, 115, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-form-v2 .form-block .btn::after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.contact-form-v2 .form-block .btn:hover {
  padding-right: 52px;
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(188, 165, 115, 0.35),
    0 0 60px rgba(188, 165, 115, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-form-v2 .form-block .btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}

/* ===== PRESS LOGOS STRIP — placeholder for trust signals ===== */

.press-strip {
  position: relative;
  padding: clamp(40px, 6vh, 64px) 0;
  border-top: 1px solid rgba(188, 165, 115, 0.08);
  border-bottom: 1px solid rgba(188, 165, 115, 0.08);
  background: rgba(14, 28, 27, 0.4);
  isolation: isolate;
}

.press-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.press-strip__eyebrow {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}

.press-strip__eyebrow::before,
.press-strip__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.press-strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  opacity: 0.5;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(12px, 1.4vw, 18px);
  letter-spacing: 0.06em;
  color: var(--cream-dim);
}

.press-strip__logo {
  padding: 8px 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.4s ease;
  white-space: nowrap;
}

.press-strip__logo:hover {
  opacity: 1;
}

/* ===== Contact hero photo — brighter treatment ===== */

.contact-hero-v2__photo {
  overflow: hidden;
}

.contact-hero-v2__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease-out;
  z-index: 0;
}

.contact-hero-v2__photo::after {
  background:
    linear-gradient(to right, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.15) 35%, transparent 60%),
    linear-gradient(to bottom, transparent 30%, rgba(5, 5, 5, 0.5) 100%);
  z-index: 1;
}

.contact-hero-v2__photo .contact-hero-v2__vertical {
  z-index: 2;
}

/* ===== Status chips on listings — more punch ===== */

.portfolio-meta .status-chip {
  padding: 10px 20px;
  transition:
    all 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s ease;
}

.portfolio-meta .status-chip.active {
  border-color: var(--gold);
  background: rgba(188, 165, 115, 0.08);
  box-shadow: 0 0 24px rgba(188, 165, 115, 0.15);
}

.portfolio-meta .lens-toggle button.active {
  box-shadow: 0 4px 16px rgba(188, 165, 115, 0.3);
}

/* ===== Section breathing — much more dramatic ===== */

.contact-section-v2 {
  padding: clamp(80px, 14vh, 200px) 0;
}

.offices-strip {
  margin-top: clamp(40px, 6vh, 80px);
  position: relative;
}

.offices-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(60px, 8vh, 100px);
  background: linear-gradient(to bottom, transparent, var(--gold));
  z-index: 2;
}

.offices-strip::after {
  content: "";
  position: absolute;
  top: clamp(60px, 8vh, 100px);
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink-2);
  z-index: 2;
}

.offices-strip__head {
  padding-top: clamp(80px, 12vh, 140px);
}

/* ===== Portfolio search bar — luminous focus ===== */

.portfolio-search {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(188, 165, 115, 0.05) 0%, transparent 70%),
    rgba(188, 165, 115, 0.02);
}

.portfolio-search .form-field {
  transition: background 0.4s ease;
}

.portfolio-search .form-field:focus-within {
  background: rgba(188, 165, 115, 0.03);
}

/* ===== Brighter hero placeholder photo for contact ===== */
/* (handled via background-image URL above) */

/* ===== Smooth section reveal on scroll ===== */

.portfolio-hero__title,
.contact-hero-v2__title,
.offices-strip__title {
  opacity: 0;
  transform: translateY(40px);
  animation: heroRise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.portfolio-hero__lede,
.contact-hero-v2__lede {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.portfolio-hero__eyebrow-line,
.contact-hero-v2__eyebrow-line {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.1s forwards;
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Stagger the hero on listings */
body[data-page="listings"] .portfolio-hero__lede {
  animation-delay: 0.5s;
}


.press-strip__sep {
  color: rgba(188, 165, 115, 0.3);
  font-size: 14px;
  font-family: var(--body);
  font-weight: 300;
}

@media (max-width: 720px) {
  .press-strip__sep {
    display: none;
  }
}

/* ==========================================================================
   LISTING CARD — Gold hover overlay (slides up from bottom)
   Attention-grabbing reveal of property info on hover
   ========================================================================== */

.listing-card__hover-panel {
  position: absolute;
  inset: auto 0 0 0;
  background:
    linear-gradient(to top,
      var(--gold) 0%,
      rgba(188, 165, 115, 0.97) 60%,
      rgba(188, 165, 115, 0.85) 85%,
      rgba(188, 165, 115, 0) 100%);
  padding: 60px 24px 22px;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  color: var(--ink);
  pointer-events: none;
}

.listing-card:hover .listing-card__hover-panel {
  transform: translateY(0);
}

.listing-card__hover-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}

.listing-card__hover-addr {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(5, 5, 5, 0.88);
  line-height: 1.4;
  margin-bottom: 14px;
  max-width: 30ch;
}

.listing-card__hover-cta {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(5, 5, 5, 0.28);
}

.listing-card__hover-cta::after {
  content: "→";
  margin-left: auto;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-card__hover-cta::after {
  transform: translateX(4px);
}

/* When hover panel shows, the AVENEW badge stays visible but the ACTIVE/SOLD/RENT badge dims so it doesn't clash with the gold panel */
.listing-card:hover .listing-card__badge {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* The bottom of the photo gets a slight darken on hover so the overlay reads cleaner */
.listing-card__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0);
  transition: background 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.listing-card:hover .listing-card__photo::before {
  background: rgba(5, 5, 5, 0.12);
}

/* ==========================================================================
   GOLD HOVER PANEL — propagated to lf-card (home) and office-card (offices)
   ========================================================================== */

.lf-card,
.office-card {
  position: relative;
}

.lf-card__photo,
.office-card__media {
  position: relative;
  overflow: hidden;
}

.lf-card__hover-panel,
.office-card__hover-panel {
  position: absolute;
  inset: auto 0 0 0;
  background:
    linear-gradient(to top,
      var(--gold) 0%,
      rgba(188, 165, 115, 0.97) 60%,
      rgba(188, 165, 115, 0.85) 85%,
      rgba(188, 165, 115, 0) 100%);
  padding: 60px 22px 20px;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  color: var(--ink);
  pointer-events: none;
}

.lf-card:hover .lf-card__hover-panel,
.office-card:hover .office-card__hover-panel {
  transform: translateY(0);
}

.lf-card__hover-price,
.office-card__hover-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}

.lf-card__hover-addr,
.office-card__hover-addr {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(5, 5, 5, 0.88);
  line-height: 1.4;
  margin-bottom: 12px;
  max-width: 30ch;
}

.lf-card__hover-cta,
.office-card__hover-cta {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(5, 5, 5, 0.28);
}

.lf-card__hover-cta::after,
.office-card__hover-cta::after {
  content: "→";
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.4s ease;
}

.lf-card:hover .lf-card__hover-cta::after,
.office-card:hover .office-card__hover-cta::after {
  transform: translateX(4px);
}

.lf-card:hover .lf-card__badge,
.office-card:hover .office-card__badge {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   FEATURED BAND + RECENTLY SOLD BAND
   Editorial luxury sections — top-tier active properties + closed transactions
   ========================================================================== */

.featured-band,
.sold-band {
  padding: 100px 0 80px 0;
  position: relative;
}

.featured-band {
  background: linear-gradient(180deg, transparent 0%, rgba(188, 165, 115, 0.025) 50%, transparent 100%);
}

.sold-band {
  padding-top: 120px;
  border-top: 1px solid rgba(188, 165, 115, 0.12);
  margin-top: 40px;
}

.featured-band__inner,
.sold-band__inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.featured-band__header,
.sold-band__header {
  margin-bottom: 56px;
  max-width: 720px;
}

/* L-bracket eyebrow line, mirroring the page-hero style */
.featured-band__eyebrow-line,
.sold-band__eyebrow-line {
  position: relative;
  padding-left: 88px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  min-height: 18px;
}

.featured-band__eyebrow-line::before,
.sold-band__eyebrow-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 72px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(188, 165, 115, 0.8));
}

.featured-band__eyebrow-line::after,
.sold-band__eyebrow-line::after {
  content: "";
  position: absolute;
  left: 71px;
  top: 50%;
  width: 1px;
  height: 14px;
  background: var(--gold);
  transform: translateY(-50%);
}

.featured-band__eyebrow,
.sold-band__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.featured-band__title,
.sold-band__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin-bottom: 18px;
}

.featured-band__lede,
.sold-band__lede {
  font-family: var(--body);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 56ch;
}

.featured-band__grid,
.sold-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.featured-band__loading,
.sold-band__loading {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--cream-dim);
  font-family: var(--body);
  font-size: 14px;
}

/* The big featured card — different from standard listing card.
   Editorial: portrait aspect 4:5, photo dominant, price overlaid bottom-left in HUGE Bodoni Moda */
.featured-card,
.sold-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: 4px;
  cursor: pointer;
}

.featured-card__photo,
.sold-card__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-card__photo,
.sold-card:hover .sold-card__photo {
  transform: scale(1.06);
}

.featured-card__overlay,
.sold-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(5, 5, 5, 0.85) 0%,
      rgba(5, 5, 5, 0.55) 30%,
      rgba(5, 5, 5, 0.1) 60%,
      transparent 100%);
  z-index: 1;
}

.featured-card__rank,
.sold-card__rank {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-card__rank::before,
.sold-card__rank::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.sold-card__rank {
  color: rgba(242, 234, 223, 0.7);
}

.sold-card__rank::before {
  background: rgba(242, 234, 223, 0.4);
}

.sold-card__sold-tag {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 2px;
}

.featured-card__body,
.sold-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px 28px;
  z-index: 2;
}

.featured-card__price,
.sold-card__price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 8px;
}

.featured-card__price b,
.sold-card__price b {
  color: var(--gold);
  font-weight: 800;
}

.featured-card__addr,
.sold-card__addr {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(242, 234, 223, 0.85);
  line-height: 1.4;
  margin-bottom: 4px;
}

.featured-card__specs,
.sold-card__specs {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(242, 234, 223, 0.55);
}

.featured-card__cta,
.sold-card__cta {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(188, 165, 115, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: all 0.4s ease;
}

.featured-card:hover .featured-card__cta,
.sold-card:hover .sold-card__cta {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.1);
}

/* Mobile responsive */
@media (max-width: 980px) {
  .featured-band__grid,
  .sold-band__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-card,
  .sold-card {
    aspect-ratio: 3 / 4;
  }

  .featured-band,
  .sold-band {
    padding: 60px 0 50px;
  }

  .featured-band__header,
  .sold-band__header {
    margin-bottom: 36px;
  }
}
