/* Javed Properties: component styles on top of Tailwind utilities */
:root {
  --navy: #0C2448;
  --gold: #B4903C;
  --gold-600: #8C6A2B;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
h1, h2 { text-wrap: balance; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Nav */
.nav-link { display: block; padding: .5rem 1rem; border-radius: 999px; color: var(--navy); transition: background .2s var(--ease); }
.nav-link:hover, .nav-link.is-active { background: var(--navy); color: #fff; }

/* Buttons */
.btn-gold, .btn-navy {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s;
}
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #c6a250; box-shadow: 0 10px 24px -10px rgba(180,144,60,.8); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-gold:active, .btn-navy:active { transform: scale(.97); }

.chip {
  min-height: 44px; padding: .5rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s;
}
.chip:hover, .chip[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }

.hero-pattern {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(180,144,60,.28), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px);
}

/* Form */
.field-label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 700; color: var(--navy); }
.field {
  width: 100%; height: 48px; padding: 0 .9rem; border-radius: .9rem; font-size: 16px;
  background: #F6F4EE; border: 1px solid transparent; color: #1A2233; transition: border-color .2s, background .2s;
}
.field:hover { border-color: rgba(12,36,72,.2); }
.field:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(180,144,60,.25); }
.field[aria-invalid="true"] { border-color: #B91C1C; background: #FEF2F2; }
.field-error { margin-top: .35rem; font-size: .875rem; color: #B91C1C; font-weight: 600; }

.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: #F6F4EE; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .875rem; color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); }

/* Headings */
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .75rem; }
.section-title { font-family: var(--font-heading); font-weight: 600; color: var(--navy); font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.15; }

/* Feature cards */
.feature-card { border-radius: 1.5rem; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(12,36,72,.06); transition: transform .3s var(--ease), box-shadow .3s; }
.feature-card img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(12,36,72,.45); }
.feature-card:hover img { transform: scale(1.04); }
.feature-body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem 1.25rem; }
.feature-body h3 { font-weight: 700; color: var(--navy); }
.feature-body p { font-size: .875rem; color: var(--text-muted); }
.price-pill { white-space: nowrap; font-weight: 800; font-size: .875rem; padding: .35rem .8rem; border-radius: 999px; background: #FAF5EA; color: var(--gold-600); font-variant-numeric: tabular-nums; }

/* Metrics */
.metric { padding: 0 1rem; }
.metric dt { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.metric dd { margin-top: .25rem; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

/* Area list */
.area-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; min-height: 56px; border-radius: 1rem; border: 1px solid rgba(12,36,72,.1); background: #FBF9F4; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.area-btn:hover, .area-btn[aria-pressed="true"] { border-color: var(--gold); background: #FAF5EA; }
.area-btn strong { color: var(--navy); }
.area-btn small { display: block; color: var(--text-muted); }

/* Help list */
.help-item { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem 0; }
.help-item h3 { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.help-item p { margin-top: .35rem; color: var(--text-muted); font-size: .95rem; }
.help-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: var(--gold); }
.help-icon svg, .arrow-btn svg { width: 22px; height: 22px; }
.arrow-btn { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(12,36,72,.2); color: var(--navy); align-self: center; transition: background .2s, color .2s, transform .2s var(--ease); }
.arrow-btn:hover { background: var(--navy); color: #fff; transform: translateX(3px); }

/* Listing cards */
.listing { display: flex; flex-direction: column; border-radius: 1.5rem; overflow: hidden; background: #FBF9F4; border: 1px solid rgba(12,36,72,.08); transition: transform .3s var(--ease), box-shadow .3s; }
.listing:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(12,36,72,.45); }
.listing-media { position: relative; overflow: hidden; }
.listing-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.listing:hover .listing-media img { transform: scale(1.04); }
.tag { position: absolute; top: 1rem; left: 1rem; padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: #fff; color: var(--navy); }
.tag.rent { background: var(--navy); color: #fff; }
.tag-new { position: absolute; top: 1rem; right: 1rem; padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--gold); color: var(--navy-900); }
.listing-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.specs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .875rem; color: var(--text-muted); font-weight: 600; }
.specs span { display: inline-flex; align-items: center; gap: .35rem; }
.specs svg { width: 16px; height: 16px; color: var(--gold-600); }
.listing h3 { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.listing-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .6rem; border-top: 1px solid rgba(12,36,72,.08); }
.listing .price { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.listing .loc { font-size: .875rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; }
.inquire { min-height: 40px; padding: .45rem .95rem; border-radius: 999px; font-size: .875rem; font-weight: 700; background: var(--navy); color: #fff; white-space: nowrap; transition: background .2s; }
.inquire:hover { background: var(--gold); color: var(--navy-900); }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem; border-radius: 1.5rem; background: #fff; border: 1px solid rgba(12,36,72,.08); }
.quote-card blockquote { color: rgba(26,34,51,.8); line-height: 1.7; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: .8rem; }
.quote-card strong { color: var(--navy); }
.quote-card small { color: var(--text-muted); }
.stars { height: 18px; width: 100px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 0l2.9 6 6.6.6-5 4.4 1.5 6.5L10 14l-6 3.5L5.5 11l-5-4.4L7.1 6z'/%3E%3C/svg%3E") repeat-x left / 20px 18px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 0l2.9 6 6.6.6-5 4.4 1.5 6.5L10 14l-6 3.5L5.5 11l-5-4.4L7.1 6z'/%3E%3C/svg%3E") repeat-x left / 20px 18px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: var(--gold); font-weight: 800; font-size: .875rem; }

.tick { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a33' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Map marker */
.jp-marker { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); border: 3px solid var(--gold); box-shadow: 0 6px 14px rgba(12,36,72,.4); }
.leaflet-popup-content { font-family: Manrope, sans-serif; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ HERO (animated) ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero-ambient img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(40px) saturate(1.3); opacity: 0; transform: scale(1.1); transition: opacity 1.4s var(--ease); }
.hero-ambient img.is-active { opacity: .45; }
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(100deg, #071731 0%, rgba(7,23,49,.92) 40%, rgba(7,23,49,.55) 75%, rgba(7,23,49,.75) 100%),
  linear-gradient(to top, #071731 0%, transparent 35%); }
.hero-grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-a { width: 420px; height: 420px; right: 8%; top: -120px; background: rgba(180,144,60,.45); animation: drift 14s ease-in-out infinite alternate; }
.orb-b { width: 360px; height: 360px; left: -120px; bottom: -80px; background: rgba(40,90,170,.45); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

/* Entrance */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-in { opacity: 0; transform: translateY(28px); animation: heroIn .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.hero h1 .hero-in { display: inline-block; transform: translateY(105%); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.text-shimmer { background: linear-gradient(90deg, #D9BD7A 0%, #F4E2B0 25%, #B4903C 50%, #F4E2B0 75%, #D9BD7A 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: heroIn .9s var(--ease) forwards, shimmer 6s linear infinite; animation-delay: var(--d), 1.2s; }
@keyframes shimmer { to { background-position: -200% center; } }

/* Rotating word */
.rotator { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; color: #D9BD7A; }
.rotator-track { display: flex; flex-direction: column; animation: rotateWords 10s cubic-bezier(.76,0,.24,1) infinite 1.4s; }
.rotator-track span { display: block; height: 1.1em; line-height: 1.1em; }
@keyframes rotateWords {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.1em); }
  50%, 70% { transform: translateY(-2.2em); }
  75%, 95% { transform: translateY(-3.3em); }
  100% { transform: translateY(-4.4em); }
}

.live-dot { position: relative; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: #34D399; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34D399; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4s ease-in-out 2s infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-ghost { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }

.trust-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #071731; background: var(--navy-700); color: #D9BD7A; font-size: .75rem; font-weight: 800; }

/* Deck */
.deck { position: relative; aspect-ratio: 4 / 5; perspective: 1400px; }
.deck-card { position: absolute; inset: 0; margin: 0; border-radius: 2rem; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.12);
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s; transform: translate3d(14%, 4%, -160px) rotate(6deg); opacity: 0; filter: brightness(.6); }
.deck-card img { width: 100%; height: 100%; object-fit: cover; }
.deck-card.is-active { transform: none; opacity: 1; filter: none; z-index: 3; }
.deck-card.is-active img { animation: kenburns 7s ease-out both; }
.deck-card.is-next { transform: translate3d(9%, 3%, -80px) rotate(4deg); opacity: .7; z-index: 2; }
.deck-card.is-prev { transform: translate3d(-6%, 2%, -120px) rotate(-4deg); opacity: 0; z-index: 1; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.float-card { position: absolute; z-index: 5; display: flex; flex-direction: column; padding: .9rem 1.1rem; border-radius: 1.1rem; color: #fff;
  background: rgba(12,36,72,.55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.float-a { left: -1.75rem; bottom: 2.5rem; min-width: 210px; animation: bob 6s ease-in-out infinite; }
.float-b { right: -1.25rem; top: 2rem; flex-direction: row; align-items: center; gap: .65rem; animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float-a [data-slide-title], .float-a [data-slide-price] { transition: opacity .3s; }
.float-a.swap [data-slide-title], .float-a.swap [data-slide-price] { opacity: 0; }

.dot { position: relative; width: 28px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.2); cursor: pointer; transition: width .4s var(--ease); }
.dot::before { content: ""; position: absolute; inset: -12px 0; }
.dot.is-active { width: 56px; }
.dot i { position: absolute; inset: 0; border-radius: inherit; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.dot.is-active i { animation: fill var(--slide-ms, 6000ms) linear forwards; }
.hero.paused .dot.is-active i { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.deck-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); transition: background .2s, color .2s; }
.deck-btn:hover { background: #fff; color: var(--navy); }
.deck-btn svg { width: 18px; height: 18px; }


@media (max-width: 640px) {
  .float-a { left: .75rem; bottom: .75rem; min-width: 0; }
  .float-b { right: .75rem; top: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in, .hero h1 .hero-in { opacity: 1; transform: none; animation: none; }
  .text-shimmer { animation: none; }
  .rotator-track, .orb, .float-card, .btn-glow::after, .live-dot::after, .deck-card.is-active img { animation: none !important; }
}

.tag.upcoming { background: var(--gold); color: var(--navy-900); }

.tag.sold { background: #166534; color: #fff; }
.listing.is-sold .listing-media img { filter: saturate(.85); }

#featured .tag-new, .tag-photos { display: inline-flex; align-items: center; gap: .3rem; }
.tag-photos svg { width: 14px; height: 14px; }

/* Buttons never wrap their label */
.btn-gold, .btn-navy, .btn-ghost, .btn-outline { white-space: nowrap; }

/* Card location row */
.listing .loc { display: flex; align-items: center; gap: .6rem; font-size: .875rem; }
.loc-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #FAF5EA; color: var(--gold-600); }
.loc-ic svg { width: 16px; height: 16px; }
.loc-area { display: block; font-weight: 700; color: var(--navy); line-height: 1.3; }
.loc-city { display: block; font-size: .75rem; color: var(--text-muted); line-height: 1.3; }

/* Sold: diagonal gold ribbon on cards, gold pill elsewhere */
.card-ribbon { position: absolute; top: 1.15rem; left: -2.4rem; z-index: 2; width: 9.5rem; padding: .38rem 0; text-align: center; transform: rotate(-35deg); font-family: var(--font-heading); font-weight: 700; font-size: .875rem; letter-spacing: .25em; text-transform: uppercase; color: var(--navy-900); background: linear-gradient(90deg, #B4903C, #E8CF8A, #B4903C); box-shadow: 0 8px 18px -8px rgba(0,0,0,.55); pointer-events: none; }
.tag.sold { background: linear-gradient(90deg, #B4903C, #E3C77F); color: var(--navy-900); }

/* ============ UPCOMING PROJECTS ============ */
.projects .orb-a { right: auto; left: 55%; top: -160px; }
.text-shimmer-static { background: linear-gradient(90deg, #D9BD7A, #F4E2B0, #B4903C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.project { display: grid; overflow: hidden; border-radius: 2rem; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
@media (min-width: 1024px) { .project { grid-template-columns: 7fr 5fr; } .project.is-flip .project-media { order: 2; } }
.project-media { position: relative; display: block; min-height: 280px; overflow: hidden; }
@media (min-width: 1024px) { .project-media { min-height: 460px; } }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project-media img { transform: scale(1.05); }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,23,49,.55), transparent 45%); }
.project-badge { position: absolute; left: 1.25rem; top: 1.25rem; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px; font-size: .875rem; font-weight: 800; color: var(--navy-900); background: linear-gradient(90deg, #B4903C, #E8CF8A); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.project-badge .live-dot, .project-badge .live-dot::after { margin-left: 0; background: var(--navy-900); }
.project-info { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .project-info { padding: 3rem; } }
.project-chips { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.project-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; font-size: .875rem; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.project-chips svg { width: 16px; height: 16px; color: #D9BD7A; }
.project-facts { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.project-facts > div { padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.project-facts dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.project-facts dd { margin-top: .3rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; }
.projects .btn-ghost svg, .project .btn-ghost svg { width: 16px; height: 16px; }
.project-empty { padding: 3rem 2rem; text-align: center; border-radius: 2rem; border: 1px dashed rgba(255,255,255,.25); background: rgba(255,255,255,.04); }

/* Upcoming projects: roomier on phones */
@media (max-width: 639px) {
  .projects { padding-top: 4rem; padding-bottom: 4rem; }
  .projects #listings-title { font-size: 2rem; }
  .project { border-radius: 1.5rem; }
  .project-media { min-height: 220px; }
  .project-badge { left: .85rem; top: .85rem; font-size: .75rem; padding: .35rem .8rem .35rem .65rem; }
  .project-info { padding: 1.5rem 1.25rem 1.5rem; }
  .project-info h3 { font-size: 1.5rem; }
  .project-chips { margin-top: 1.1rem; gap: .4rem .9rem; }
  .project-chips li { padding: 0; background: none; border: 0; font-size: .875rem; color: rgba(255,255,255,.85); }
  .project-facts { margin-top: 1.25rem; gap: .6rem; }
  .project-facts > div { padding: .75rem .85rem; }
  .project-facts dd { font-size: .98rem; }
  .project-info > .mt-8 { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .project-info > .mt-8 > a { justify-content: center; }
}

/* Shimmer placeholder behind photos while they load */
.listing-media, .sold-tile, .hd-tile, .project-media, .deck-card {
  background: linear-gradient(100deg, #E9E4D8 30%, #F5F1E8 50%, #E9E4D8 70%) 0 0 / 220% 100%; animation: imgShimmer 1.4s linear infinite; }
.project-media, .deck-card { background-image: linear-gradient(100deg, #12305C 30%, #1C3E70 50%, #12305C 70%); }
@keyframes imgShimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .listing-media, .sold-tile, .hd-tile, .project-media, .deck-card { animation: none; } }


/* ============ QA fixes ============ */
:root { --font-heading: 'Playfair Display', Georgia, serif; --font-body: 'Manrope', system-ui, -apple-system, sans-serif; --gold-text: #8C6A2B; }
body, button, input, select, textarea, optgroup { font-family: var(--font-body); }
h1, h2, h3, h4, .section-title, .font-display { font-family: var(--font-heading); text-transform: none; letter-spacing: normal; }
.section-title { font-weight: 600; }

/* Hero is visible on first paint: no delayed fade-ins */
.hero-in, .hero h1 .hero-in { opacity: 1; transform: none; animation: none; }
html.js .hero-in { animation: heroQuick .3s ease-out both; }
@keyframes heroQuick { from { transform: translateY(8px); } }
/* Scroll reveals only hide content when JS is running */
.reveal { opacity: 1; transform: none; }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); }

/* One label style for every small section label */
.eyebrow, .sold-kicker, .eyebrow-pill { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow-dark, .projects .eyebrow, .eyebrow-pill { color: #D9BD7A; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: .6rem; }
.project-info > p:first-child { font-size: .875rem; font-weight: 600; letter-spacing: .08em; }

/* Testimonial avatar: quote mark until real photos are added (supports <img> too) */
.avatar svg { width: 20px; height: 20px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Tap targets */
.inquire { min-height: 44px; display: inline-flex; align-items: center; }
.dot::before { inset: -19px 0; }
@media (max-width: 767px) { footer a { display: inline-flex; align-items: center; min-height: 44px; } }

/* Floating WhatsApp: respect the safe area and step aside near the contact form */
#waFloat { bottom: calc(1.25rem + env(safe-area-inset-bottom)); transition: opacity .25s, transform .25s; }
#waFloat.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
@media (max-width: 639px) { #contact { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); } }

/* Possession link when no date is set */
.project-facts dd a { color: #E3C77F; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }


/* ============ UI review v1 ============ */
:root {
  --navy: #0C2448; --navy-900: #071731; --navy-700: #163566;
  --gold: #B4903C; --gold-600: #8C6A2B; --gold-300: #D9BD7A; --gold-200: #E8CF8A;
  --cream: #FBF9F4; --surface: #FFFFFF; --text: #1A2233; --text-muted: #4A5568;
  --radius-card: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(12,36,72,.06), 0 4px 12px -6px rgba(12,36,72,.18);
  --shadow-md: 0 20px 40px -24px rgba(12,36,72,.45);
  --shadow-lg: 0 40px 80px -40px rgba(12,36,72,.6);
}
.text-muted { color: var(--text-muted); }

/* T3 section titles a step above card titles */
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); }
/* T4 readable card + testimonial body */
.listing-body p, .quote-card blockquote, .sold-info p, .project-info p { line-height: 1.6; }
.quote-card blockquote { font-family: var(--font-heading); font-style: italic; font-size: 1.125rem; color: var(--text); }  /* T5 */
/* T6 price stays on one line */
.project-facts { grid-template-columns: 1.25fr 1fr; }
.project-facts dd, .listing .price { white-space: nowrap; }

/* C4 buttons: gold hover darkens with white text; light button for the hero */
.btn-gold:hover { background: var(--gold-600); color: #fff; }
.btn-light { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; background: #fff; color: var(--navy); transition: background .2s, transform .2s; position: relative; overflow: hidden; }
.btn-light:hover { background: var(--gold-200); }
.btn-light svg { width: 16px; height: 16px; }

/* C5 one radius + elevation scale */
.listing, .quote-card, .project, .sold-feature, .feature-card, .hd-card { border-radius: var(--radius-card); }
.listing:hover, .feature-card:hover { box-shadow: var(--shadow-md); }
.project { box-shadow: var(--shadow-lg); }
.quote-card { box-shadow: var(--shadow-sm); }

/* Trust strip */
.trust-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold-300); }
.trust-ic svg { width: 18px; height: 18px; }


/* B3 hero caption card: solid enough to read, never an empty blur */
.float-card { background: rgba(7,23,49,.86); }
.float-a { min-height: 0; }

/* Progress bar */
.progress { margin-top: 1.5rem; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.progress-head b { font-family: var(--font-heading); font-size: 1.125rem; color: var(--navy); }
.progress-track { margin-top: .5rem; height: 10px; border-radius: 999px; background: rgba(12,36,72,.1); overflow: hidden; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-600), var(--gold-200)); }
.progress.is-dark .progress-head { color: rgba(255,255,255,.75); }
.progress.is-dark .progress-head b { color: #fff; }
.progress.is-dark .progress-track { background: rgba(255,255,255,.14); }

/* Map: muted tiles + shorter */
#leafletMap { height: 360px !important; }
#leafletMap .leaflet-tile-pane { filter: grayscale(.85) contrast(.92) brightness(1.04); }


/* UI review v2: card body text 15-16px */
.listing-body p, .listing .loc, .project-info p, .sold-info p, .hd-features li, .quote-card figcaption { font-size: 1rem; line-height: 1.6; }
.specs, .project-chips li, .sold-trust li, .trust-list li { font-size: .9375rem; }
.loc-area { font-size: 1rem; }
.loc-city { font-size: .875rem; }
.listing h3 { font-size: 1.125rem; }

/* WhatsApp button keeps clear of map credits: credits sit bottom-left, button bottom-right with an inset */
#waFloat { right: max(1.25rem, env(safe-area-inset-right)); }
.leaflet-bottom.leaflet-left .leaflet-control-attribution { margin: 0 0 .5rem .5rem; border-radius: 6px; }

/* v1.3 - Upcoming Projects: light section, navy card */
#listings {
  color: var(--text);
  background-color: #EEF2F7;
  background-image:
    linear-gradient(rgba(12,36,72,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,36,72,.035) 1px, transparent 1px),
    linear-gradient(180deg, #EEF2F7 0%, #F7F9FC 60%, #FFFFFF 100%);
  background-size: 32px 32px, 32px 32px, auto;
  padding-top: 7rem; /* room for the floating trust card */
}
#listings::after { /* soft fade over the grid at the bottom */
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0), #FFFFFF);
  pointer-events: none; z-index: 0;
}
#listings > * { position: relative; z-index: 1; }
#listings h2 { color: var(--navy); }
#listings h2 .text-shimmer-static { background: none; color: var(--gold-600); -webkit-text-fill-color: var(--gold-600); }
#listings p.mb-4 { background: #fff; border-color: rgba(12,36,72,.12); color: var(--gold-600); }
#listings .btn-ghost { color: var(--navy); background: #fff; border-color: rgba(12,36,72,.2); backdrop-filter: none; }
#listings .btn-ghost:hover { border-color: var(--navy); }
#listings .project .btn-ghost { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); }
#listings .project .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }
#listings .project { background: var(--navy); color: #fff; box-shadow: 0 40px 80px -40px rgba(12,36,72,.6); }
#listings .project-empty { color: var(--navy); border-color: rgba(12,36,72,.2); background: #fff; }



/* v1.4 - trust points as the footer row of the search card */
.search-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin: 1.5rem -1.75rem -1.75rem; padding: 1rem 1.75rem;
  background: #F7F9FC; border-top: 1px solid rgba(12,36,72,.08); border-radius: 0 0 1.5rem 1.5rem;
  list-style: none; font-size: .875rem; font-weight: 600; color: var(--navy);
}
.search-trust li { display: flex; align-items: center; gap: .6rem; }
.search-trust .trust-ic { width: 32px; height: 32px; flex: none; }
@media (max-width: 1023px) { .search-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) and (max-width: 1279px) { .search-trust { grid-template-columns: repeat(4, 1fr); } }

/* v1.4 - hero leaves room for the card; Projects starts right at the hero edge */
.hero { padding-bottom: 7rem; }
.hero > .relative.grid { padding-bottom: 1rem; }
#searchSection { margin-bottom: calc(-1 * var(--search-overlap, 0px)); }
#listings { padding-top: calc(var(--search-overlap, 0px) + 4rem); }

/* v1.4.1 - phones: compact search bar + status chips, filters in a bottom sheet */
.m-search { display: none; }
@media (max-width: 639px) {
  .hero { padding-bottom: 4.5rem; }
  #searchSection { margin-top: -3rem; }
  #searchForm { padding: 1rem; }
  #searchForm > .mb-5 { display: none; }
  .m-search { display: block; }
  .m-bar { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 56px; padding: .5rem .5rem .5rem 1rem; border-radius: 999px; text-align: left;
    background: #F3F5F9; border: 1px solid rgba(12,36,72,.1); color: var(--navy); }
  .m-bar-ic svg { width: 20px; height: 20px; color: var(--navy); }
  .m-bar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .m-bar b { font-size: 15px; }
  .m-bar small { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-filt { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; }
  .m-filt svg { width: 18px; height: 18px; }
  .m-chips { display: flex; gap: .5rem; margin-top: .75rem; }
  .m-chips button { flex: 1; min-height: 44px; padding: 0 .5rem; border-radius: 999px; font-size: 13px; font-weight: 600;
    border: 1px solid rgba(12,36,72,.15); background: #fff; color: var(--navy); transition: background .2s, color .2s; }
  .m-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .search-trust { grid-template-columns: 1fr 1fr; gap: .5rem .75rem; margin: 1rem -1rem -1rem; padding: .75rem 1rem; font-size: 12px; line-height: 1.25; }
  .search-trust .trust-ic { width: 24px; height: 24px; }
  .search-trust .trust-ic svg { width: 13px; height: 13px; }
}

/* Sheet */
#filterSheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 90dvh; border: 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  border-radius: 1.5rem 1.5rem 0 0; background: #fff; box-shadow: 0 -20px 40px -10px rgba(0,0,0,.3); animation: sheet-up .28s var(--ease); }
#filterSheet::backdrop { background: rgba(7,23,49,.55); }
#filterSheet .sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; margin-bottom: 1rem; }
#filterSheet .sheet-grip { position: absolute; left: 50%; top: -.25rem; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(12,36,72,.2); }
#filterSheet .sheet-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy); background: #F3F5F9; }
#filterSheet .sheet-close svg { width: 18px; height: 18px; }
#filterSheet .grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
#filterSheet .grid > :last-child { grid-column: 1 / -1; }
#filterSheet select { height: 44px; font-size: 16px; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { #filterSheet { animation: none; } }
body.sheet-open #waFloat { visibility: hidden; }


/* ============ v2.0 All Houses page ============ */
.hs-hero { padding: 2rem 0 2.25rem; }
@media (min-width: 640px) { .hs-hero { padding: 3rem 0 3.25rem; } }

.hs-toolbar { position: sticky; top: 68px; z-index: 20; background: #fff; border-bottom: 1px solid rgba(12,36,72,.08); box-shadow: 0 10px 24px -20px rgba(12,36,72,.55); padding: .9rem 0; }
.hs-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.status-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.status-tabs button { min-height: 44px; padding: 0 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; border: 1px solid rgba(12,36,72,.15); background: #fff; color: var(--navy); transition: background .2s, color .2s; }
.status-tabs button span { margin-left: .35rem; font-size: .75rem; padding: .1rem .45rem; border-radius: 999px; background: rgba(12,36,72,.08); }
.status-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.status-tabs button[aria-pressed="true"] span { background: rgba(255,255,255,.18); }
.status-tabs button.is-empty:not([aria-pressed="true"]) { opacity: .55; }
.hs-filters-btn { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; font-weight: 700; color: var(--navy); border: 1px solid rgba(12,36,72,.2); background: #fff; }
.hs-filters-btn svg { width: 18px; height: 18px; }
.hs-filters-btn span, .hs-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-size: .75rem; font-weight: 800; }
.hs-filters-btn span[hidden], .hs-badge[hidden] { display: none; }
.hs-pill { display: none !important; }
.hs-selects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: .9rem; }
.hs-apply { display: none; }
.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .75rem; }
.active-chips[hidden] { display: none; }
.active-label { font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.active-chip { display: inline-flex; align-items: center; gap: .25rem; padding-left: .85rem; border-radius: 999px; background: #EEF2F8; color: var(--navy); font-size: .875rem; font-weight: 600; }
.active-chip button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: .8rem; color: var(--navy); }
.active-chip button:hover { background: rgba(12,36,72,.1); }
.active-clear { min-height: 36px; padding: 0 .5rem; font-size: .875rem; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.results-count { font-size: 1.125rem; color: var(--navy); }
.results-count b { font-family: var(--font-heading); font-size: 1.35rem; margin-right: .3rem; }
.results-sort { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.results-sort select { width: auto; height: 44px; padding-right: 2rem; font-size: 16px; }

.hs-results { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.hs-results[hidden] { display: none; }
@media (min-width: 640px) { .hs-results { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .hs-results.many { grid-template-columns: repeat(3, 1fr); } }
.sold-divider { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 1.25rem; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.sold-divider::before, .sold-divider::after { content: ""; flex: 1; height: 1px; background: rgba(12,36,72,.15); }
.sold-divider[hidden] { display: none; }
#soldResults .listing-media img { filter: saturate(.8) brightness(.96); }

/* Compact, fully clickable card */
.hs-card { position: relative; }
.hs-card .listing-media img { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .hs-card .listing-media img { aspect-ratio: 16 / 10; } }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.hs-card:has(.card-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.card-specs { font-size: .9375rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sold, .listing .price { white-space: nowrap; }
.card-sold { font-size: .9375rem; font-weight: 700; color: var(--text-muted); }
.hs-card .listing-body { gap: .5rem; padding: 1rem 1.15rem 1.15rem; }
.hs-card:hover h3 a { color: var(--gold-600); }

/* Skeleton loading cards */
.skel-card { border-radius: var(--radius-card); background: #fff; border: 1px solid rgba(12,36,72,.08); overflow: hidden; padding-bottom: 1rem; }
.skel-photo { aspect-ratio: 16 / 10; }
.skel-line { height: 12px; border-radius: 6px; margin: .85rem 1.15rem 0; }
.skel-photo, .skel-line { background: linear-gradient(100deg, #ECE8DF 30%, #F6F3EC 50%, #ECE8DF 70%) 0 0 / 220% 100%; animation: imgShimmer 1.4s linear infinite; }
@media (prefers-reduced-motion: reduce) { .skel-photo, .skel-line { animation: none; } }

/* Bottom CTA band */
.hs-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem; border-radius: var(--radius-card); background: var(--navy); background-image: radial-gradient(40rem 16rem at 90% -20%, rgba(180,144,60,.35), transparent 60%); }

/* Tablet: chips + "Filters (n)"; filters in the sheet */
@media (max-width: 1023px) {
  .hs-filters-btn { display: inline-flex; }
  .hs-selects { grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 0; }
  #filterSheet .hs-apply { display: block; grid-column: 1 / -1; }
  #filterSheet select { height: 44px; font-size: 16px; }
}
/* Phone: pill + chips row stick (~110px) */
@media (max-width: 639px) {
  .hs-toolbar { padding: .6rem 0 .5rem; }
  .hs-pill { display: flex !important; min-height: 48px !important; }
  .hs-pill .m-bar-text b { font-size: 14px; }
  .hs-filters-btn { display: none; }
  .hs-badge { flex: none; }
  .status-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin: .5rem -1rem 0; padding: 0 1rem .1rem; scrollbar-width: none; }
  .status-tabs::-webkit-scrollbar { display: none; }
  .status-tabs button { flex: none; scroll-snap-align: start; padding: 0 .85rem; font-size: .875rem; }
  .results-head { gap: .5rem; }
  .results-sort { font-size: 0; }
  .results-sort select { font-size: 15px; }
  .hs-cta { padding: 1.5rem; }
}

/* v2.0 phone tightening: toolbar <=120px, card <=420px, first photo above ~450px */
@media (max-width: 639px) {
  .hs-hero { padding: 1.25rem 0 1.5rem; }
  .hs-hero h1 { font-size: 1.75rem; margin-top: .4rem; }
  .hs-toolbar { padding: .45rem 0 .4rem; }
  .hs-pill { min-height: 44px !important; padding-top: .25rem !important; padding-bottom: .25rem !important; }
  .hs-pill .m-filt { width: 36px; height: 36px; }
  .status-tabs { margin-top: .4rem; }
  .hs-card .listing-body { gap: .35rem; padding: .8rem 1rem .9rem; }
  .hs-card h3 { font-size: 1.05rem; }
  .hs-card .loc-ic { width: 26px; height: 26px; border-radius: 8px; }
  .hs-card .listing-foot { padding-top: .45rem; }
  .hs-card .inquire { min-height: 44px; padding: 0 .9rem; }
}
@media (max-width: 639px) {
  .hs-card .loc-area, .hs-card .loc-city { display: inline; }
  .hs-card .loc-city { font-size: .875rem; }
  .hs-card .loc-city::before { content: ", "; }
}

/* Hero "Now booking" chip - one line, tappable */
.hero-chip { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: .6rem; max-width: 100%;
  min-height: 44px; padding: .5rem .9rem .5rem .8rem; border-radius: 999px; white-space: nowrap;
  font-size: .875rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero-chip:hover { background: rgba(255,255,255,.14); border-color: rgba(227,199,127,.5); }
.hero-chip:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.hero-chip .live-dot { flex: none; margin-left: 0; }
.hc-tag { flex: none; color: var(--gold-300); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hc-sep { flex: none; width: 1px; height: 16px; background: rgba(255,255,255,.25); }
.hc-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.92); font-weight: 500; }
.hc-text b { color: #fff; font-weight: 700; }
.hc-arrow { flex: none; color: var(--gold-300); transition: transform .2s; }
.hero-chip:hover .hc-arrow { transform: translateX(3px); }
.hc-area { display: none; }
@media (min-width: 768px) { .hc-area { display: inline; } }
@media (prefers-reduced-motion: reduce) { .hc-arrow { transition: none; } }
/* chip must be able to shrink inside the hero grid column */
.hero .grid > * { min-width: 0; }
@media (max-width: 359px) {
  .hero-chip { gap: .45rem; padding: .5rem .75rem .5rem .65rem; font-size: .8125rem; }
  .hc-tag { font-size: .66rem; letter-spacing: .06em; }
}
