/* Decorative finishes are kept separate from evidence and verification states. */
:root {
  --metal-silver: #bcc2c9;
  --metal-gold: #b2965b;
  --metal-gold-light: #e0cea3;
  --metal-ink: #171717;
  --metal-edge: linear-gradient(125deg, #aeb3bb, #f7f8fa 25%, #c3a973 51%, #f4f0e6 73%, #b0b5bc);
}

/* A quiet, letterspaced title above the main headline. */
.luxury-home .passport-kicker {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 24px;
  color: #806738;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-wrap: balance;
}
.luxury-home .passport-kicker::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, #9b7d43, #cdbb93 65%, transparent);
}
@media (max-width: 650px) {
  .luxury-home .passport-kicker {
    font-size: clamp(1rem, 4.35vw, 1.125rem);
    letter-spacing: .12em;
    margin-bottom: 22px;
  }
  .luxury-home .passport-kicker::after { width: 58px; margin-top: 12px; }
}
@media (forced-colors: active) {
  .luxury-home .passport-kicker { color: CanvasText; }
  .luxury-home .passport-kicker::after { background: CanvasText; }
}

/* Retain the existing black emblem, with a fine metal mount and a tiny facet. */
.brand-emblem {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(#fff, #fff) padding-box, var(--metal-edge) border-box;
  box-shadow: inset 0 0 0 2px #fff, 0 3px 9px #2834430b;
}
.brand-emblem::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: -4px;
  right: 7px;
  transform: rotate(45deg);
  background: conic-gradient(from 45deg, #fdfdff, #929aa7, #f7f9ff, #b9a16a, #fff);
  border: 1px solid #c2b899;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}
.site-header {
  border-bottom-color: #c7cbd0;
  box-shadow: 0 4px 18px #202c3a04;
}
.site-header .primary-nav .nav-buy {
  box-shadow: inset 0 0 0 1px var(--metal-gold), 0 2px 6px #0000000a;
}
.site-header .primary-nav a.active:not(.nav-buy)::after {
  background: linear-gradient(90deg, #846b38, #c5ad77, #846b38);
}

/* An inset silver-and-gold frame carries the Passport, without tinting imagery. */
.luxury-home .passport-home-visual {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 4px;
  background: linear-gradient(#fff, #fff) padding-box, var(--metal-edge) border-box;
  box-shadow: 0 20px 45px -25px #28344345, 0 3px 12px #00000006;
}
.luxury-home .passport-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: var(--metal-silver);
  background: linear-gradient(125deg, #fff 65%, #f6f7f9);
  box-shadow: inset 0 -1px 0 #fff;
}
.luxury-home .passport-cover .mini-label {
  color: #78613b;
}
.luxury-home .passport-cover .cover-link {
  color: #846b38;
}

/* Gold is reserved for the two main introductory actions. Ink stays readable. */
.luxury-home .passport-home-copy .actions > .btn:not(.secondary),
.home-access-panel .btn.light {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--metal-ink);
  border-color: #a38850;
  background: linear-gradient(115deg, #cfb77e 0%, #e0cea3 34%, #b89a5d 72%, #d9c390 100%);
  box-shadow: inset 0 1px 0 #fff8, inset 0 -1px 0 #8b6b3726, 0 5px 14px #6e57201a;
  text-shadow: 0 1px 0 #ffffff35;
}
.luxury-home .passport-home-copy .actions > .btn:not(.secondary):hover,
.home-access-panel .btn.light:hover {
  color: var(--metal-ink);
  border-color: #806a3c;
  box-shadow: inset 0 1px 0 #fffb, 0 7px 20px #6e572029;
}
.luxury-home .passport-home-copy .actions > .btn.secondary {
  border-color: var(--metal-silver);
  box-shadow: inset 0 1px 0 #fff, 0 3px 9px #27344308;
}
.home-access-panel {
  border: 1px solid #b2965b;
  box-shadow: inset 0 0 0 4px #111, inset 0 0 0 5px #a88e4f45, 0 14px 30px -20px #0006;
}
.home-access-panel .mini-label {
  color: var(--metal-gold-light);
}
.home-access-panel .access-benefits p > span {
  color: #cbb47d;
}

/* Silver defines the catalogue and access cards; status badges retain their colours. */
.live-card, .browse-property-card, .live-listing-card,
.subscription-account-card, .auth-card {
  border-color: var(--metal-silver);
  box-shadow: inset 0 1px 0 #fff, 0 7px 22px -15px #32405736;
}
.passport-metrics > div, .passport-category-grid article, .passport-stats {
  border-color: var(--metal-silver);
  box-shadow: inset 0 1px 0 #fff;
}
.home-discovery {
  border-color: var(--metal-silver);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px -20px #27344350;
}
.property-type-grid, .property-type-tile {
  border-color: #c7cbd1;
}
.site-footer {
  border-top-color: #b9bec5;
  box-shadow: inset 0 1px 0 #fff;
}

/* The small reflection is interaction-led and never runs on a timer. */
.luxury-home .passport-cover::before,
.luxury-home .passport-home-copy .actions > .btn:not(.secondary)::before,
.home-access-panel .btn.light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, #ffffff00 39%, #ffffff60 49%, #ffffff00 59%, transparent 68%);
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .live-card:hover, .browse-property-card:hover, .live-listing-card:hover {
    border-color: #939da8;
    box-shadow: inset 0 1px 0 #fff, 0 14px 32px -20px #27344350;
  }
  .property-type-tile:hover {
    background: linear-gradient(135deg, #fff, #f4f5f7);
    box-shadow: inset 0 -2px 0 #b2965b;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .luxury-home .passport-cover:hover::before,
  .luxury-home .passport-home-copy .actions > .btn:not(.secondary):hover::before,
  .home-access-panel .btn.light:hover::before {
    animation: metal-reflection 650ms ease-out 1;
  }
}
@keyframes metal-reflection {
  0% { transform: translateX(-130%); opacity: 0; }
  18% { opacity: .7; }
  80% { opacity: .45; }
  100% { transform: translateX(130%); opacity: 0; }
}
.luxury-home .passport-cover:focus-visible,
.luxury-home .passport-home-copy .actions > .btn:focus-visible,
.home-access-panel .btn.light:focus-visible,
.brand:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 5px;
}
.home-access-panel .btn.light:focus-visible { outline-color: #fff; }
@media (max-width: 650px) {
  .brand-emblem { padding: 3px; }
  .luxury-home .passport-home-visual { padding: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .luxury-home .passport-cover::before,
  .luxury-home .passport-home-copy .actions > .btn:not(.secondary)::before,
  .home-access-panel .btn.light::before { animation: none; display: none; }
}
@media (forced-colors: active) {
  .brand-emblem, .luxury-home .passport-home-visual, .luxury-home .passport-cover,
  .luxury-home .passport-home-copy .actions > .btn, .home-access-panel,
  .home-access-panel .btn.light, .site-header .primary-nav .nav-buy {
    background: Canvas;
    color: CanvasText;
    border: 1px solid CanvasText;
    box-shadow: none;
    text-shadow: none;
  }
  .brand-emblem::after, .luxury-home .passport-cover::before,
  .luxury-home .passport-home-copy .actions > .btn::before,
  .home-access-panel .btn.light::before { display: none; }
  .site-header .primary-nav a.active:not(.nav-buy)::after { background: CanvasText; }
}
