/* =====================================================
   HOMES WE BUILD — coverflow showcase (homepage)
   Dark, classic-luxury theme to match the site
   (espresso + gold + Cormorant Garamond). Scoped .hs-*.
   ===================================================== */
.hs-showcase {
  --hs-ink:   #F4F1EA;                 /* warm white */
  --hs-gold:  #d4b483;                 /* readable gold on dark */
  --hs-muted: rgba(244, 241, 234, 0.55);
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 720px;
  overflow: hidden;
  background: #14110d;
  font-family: 'Jost', sans-serif;
  color: var(--hs-ink);
  cursor: grab;
  touch-action: pan-y;
}
.hs-showcase.grabbing { cursor: grabbing; }

/* deep, warm espresso wash with a soft gold glow up top */
.hs-wash {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 55% at 50% -6%, rgba(184,150,90,0.22) 0%, transparent 60%),
    radial-gradient(120% 90% at 50% 120%, rgba(0,0,0,0.5) 0%, transparent 60%),
    linear-gradient(165deg, #1a150f 0%, #100d0a 55%, #15110c 100%);
}
/* soft top-center gold halo (replaces the old sun) */
.hs-suncore {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(28% 20% at 50% 4%, rgba(212,180,131,0.16) 0%, transparent 70%);
}
.hs-rays { display: none; }
.hs-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(130% 120% at 50% 38%, transparent 52%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 24%, transparent 60%, rgba(0,0,0,0.45) 100%);
}

/* giant ghost name behind */
.hs-ghostwrap {
  position: absolute; inset-inline: 0; top: 50%; z-index: 2;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none; height: 0;
}
.hs-ghost {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(72px, 20vw, 300px);
  font-weight: 600; line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,180,131,0.10);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(.5,.02,.2,1);
}

/* counter top-right */
.hs-counter {
  position: absolute; top: 30px; right: 38px; z-index: 60;
  display: flex; align-items: baseline; gap: 7px;
  font-family: 'Cormorant Garamond', serif;
}
.hs-counter .hs-cur { font-size: 26px; color: var(--hs-ink); }
.hs-counter .hs-tot { font-size: 14px; color: var(--hs-muted); letter-spacing: 0.06em; }

/* section label top-left (replaces logo) */
.hs-label {
  position: absolute; top: 32px; left: 38px; z-index: 60;
  font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
  font-weight: 500; color: var(--hs-muted);
}
.hs-label b { color: var(--hs-gold); font-weight: 600; }

/* coverflow */
.hs-flow { position: absolute; inset: 0; z-index: 10; perspective: 1900px; }
.hs-card {
  position: absolute; top: 50%; left: 50%;
  width: min(53vw, 860px); aspect-ratio: 3 / 2;
  margin-top: calc(min(53vw, 860px) / -3);
  margin-left: calc(min(53vw, 860px) / -2);
  transform-origin: center center;
  border-radius: 5px; overflow: hidden; background: #0d0b09;
  box-shadow: 0 50px 110px -35px rgba(0,0,0,0.9);
  will-change: transform, opacity, filter;
  transition: transform 760ms cubic-bezier(.5,.02,.2,1), opacity 760ms ease, filter 760ms ease, box-shadow 760ms ease;
  cursor: pointer;
}
.hs-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-card .hs-frame {
  position: absolute; inset: 0; border-radius: 5px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.hs-card.active { box-shadow: 0 60px 130px -40px rgba(0,0,0,0.95); cursor: default; }
.hs-card.active .hs-frame { box-shadow: inset 0 0 0 1px rgba(212,180,131,0.55); }

/* meta bottom-left */
.hs-meta { position: absolute; bottom: 46px; left: 38px; z-index: 60; max-width: 480px; }
.hs-meta::before {
  content: ''; position: absolute; z-index: -1;
  left: -46px; right: -120px; top: -40px; bottom: -56px;
  background: radial-gradient(78% 96% at 22% 60%, rgba(10,8,6,0.85) 0%, rgba(10,8,6,0.45) 46%, transparent 74%);
  filter: blur(8px); pointer-events: none;
}
.hs-meta-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; min-height: 14px; }
.hs-style-tag { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600; color: var(--hs-gold); }
.hs-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500; line-height: 0.96; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--hs-ink);
}
.hs-specs { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 13px; color: var(--hs-muted); letter-spacing: 0.04em; }
.hs-specs b { color: var(--hs-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hs-specs .hs-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--hs-muted); opacity: 0.7; }

/* price */
.hs-price { display: flex; flex-direction: column; gap: 3px; margin-bottom: 26px; }
.hs-price-label { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hs-muted); }
.hs-price-val {
  font-family: 'Cormorant Garamond', serif; font-size: 34px; line-height: 1;
  color: var(--hs-ink); font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.hs-price-val .hs-from { color: var(--hs-gold); font-size: 0.55em; letter-spacing: 0.08em; margin-right: 6px; vertical-align: 2px; }

.hs-controls { display: flex; align-items: center; gap: 14px; }
.hs-nav {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(244,241,234,0.28); background: transparent; color: var(--hs-ink);
  display: grid; place-items: center; cursor: pointer; font-size: 22px; line-height: 1;
  font-family: 'Cormorant Garamond', serif;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.hs-nav:hover { transform: scale(1.07); background: rgba(244,241,234,0.08); border-color: rgba(244,241,234,0.55); }
.hs-cta {
  margin-left: 8px; padding: 16px 30px; border-radius: 4px;
  background: var(--hs-gold); color: #1a150f;
  font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  transition: transform 200ms ease, filter 200ms ease;
}
.hs-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* discover bottom-right */
.hs-discover {
  position: absolute; bottom: 56px; right: 38px; z-index: 60;
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--hs-ink);
  font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1; opacity: 0.92;
  transition: opacity 200ms ease, gap 250ms ease;
}
.hs-discover:hover { opacity: 1; gap: 22px; }
.hs-discover .hs-arr { color: var(--hs-gold); font-size: 0.8em; }

/* progress dashes */
.hs-dashes { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; gap: 10px; }
.hs-dash { width: 38px; height: 2px; border: 0; padding: 0; cursor: pointer; background: rgba(244,241,234,0.20); position: relative; overflow: hidden; border-radius: 2px; }
.hs-dash .hs-dfill { position: absolute; inset: 0; width: 0%; background: var(--hs-gold); transition: width 300ms ease; }
.hs-dash.active .hs-dfill { width: 100%; }

/* grain */
.hs-grain {
  position: absolute; inset: 0; z-index: 55; pointer-events: none; opacity: 0.10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* =====================================================
   "What We Do" services — dark luxury, flows from showcase
   ===================================================== */
.section-luxe {
  position: relative;
  background:
    radial-gradient(58% 42% at 50% 0%, rgba(212,180,131,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #14110d 0%, #100d0a 55%, #15110c 100%);
  color: #F4F1EA;
}
.section-luxe .section-label { color: #d4b483; }
.section-luxe .section-title { color: #F4F1EA; }
.section-luxe .section-subtitle { color: rgba(244, 241, 234, 0.62); }
/* hairline gold accent under the heading for a refined top-of-page feel */
.section-luxe .text-center .section-title::after {
  content: '';
  display: block;
  width: 56px; height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, #d4b483, #b8965a);
  border-radius: 2px;
}
/* subtle film grain to match the showcase texture */
.section-luxe::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.section-luxe > .container { position: relative; z-index: 1; }

/* Our Story — readable on dark */
.section-luxe .about-text p { color: rgba(244, 241, 234, 0.72); }
.section-luxe .license-badge {
  background: rgba(244, 241, 234, 0.06);
  border-left-color: #d4b483;
  color: rgba(244, 241, 234, 0.88);
}
.section-luxe .about-img-float { box-shadow: 0 30px 70px -28px rgba(0,0,0,0.8); }

/* Instagram — frame the feed cleanly on dark */
.section-luxe .instagram-feed-wrap {
  border: 1px solid rgba(244, 241, 234, 0.12);
  box-shadow: 0 34px 80px -34px rgba(0,0,0,0.75);
}
/* left-aligned gold accent under the Our Story heading */
.section-luxe .about-text .section-title::after {
  content: '';
  display: block;
  width: 56px; height: 2px;
  margin: 20px 0 0;
  background: linear-gradient(90deg, #d4b483, #b8965a);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .hs-showcase { height: auto; min-height: 0; padding: 64px 0 56px; }
  .hs-counter { top: 22px; right: 22px; }
  .hs-label { top: 22px; left: 22px; }
  .hs-flow { position: relative; height: 56vw; min-height: 280px; margin-top: 70px; }
  .hs-card { width: 80vw; margin-left: -40vw; margin-top: 0; top: 0; }
  .hs-meta { position: relative; bottom: auto; left: 0; padding: 28px 22px 0; max-width: 100%; }
  .hs-meta::before { display: none; }
  .hs-discover { display: none; }
  .hs-ghost { display: none; }
}
