﻿:root {
  --ink: #050505;
  --night: #0d0d0d;
  --smoke: #171717;
  --bone: #f4eddf;
  --muted: #9a9489;
  --ember: #ff6b35;
  --acid: #d7ff4f;
  --violet: #8b5cf6;
  --line: rgba(244, 237, 223, 0.14);
  --line-strong: rgba(244, 237, 223, 0.28);
  --black-glass: rgba(5, 5, 5, 0.68);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(139, 92, 246, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(255, 107, 53, 0.2), transparent 30rem),
    linear-gradient(180deg, #050505 0%, #090909 44%, #050505 100%);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

#siteHeader {
  padding-top: 0.85rem;
}

#siteHeader nav {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#siteHeader.header-scrolled nav {
  width: calc(100% - 1.5rem);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--bone);
}

.brand-symbol {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(215, 255, 79, 0.18), rgba(255, 107, 53, 0.14));
  color: var(--acid);
  box-shadow: inset 0 0 22px rgba(215, 255, 79, 0.08);
}

.nav-orbit {
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 237, 223, 0.045);
  padding: 0.35rem;
  backdrop-filter: blur(18px);
}

.nav-link {
  position: relative;
  border-radius: 999px;
  padding: 0.8rem 1.05rem;
  color: rgba(244, 237, 223, 0.68);
  font-size: 0.83rem;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(244, 237, 223, 0.08);
  color: var(--bone);
}

.nav-link::after {
  position: absolute;
  left: 50%;
  bottom: 0.32rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--acid);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scale(0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.primary-action,
.secondary-action,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid rgba(215, 255, 79, 0.3);
  background: var(--acid);
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-cta:hover,
.primary-action:hover,
.submit-btn:hover {
  transform: translateY(-3px);
}

.menu-trigger {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 237, 223, 0.06);
  color: var(--bone);
  backdrop-filter: blur(16px);
}

.mobile-panel {
  display: none;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(5, 5, 5, 0.92);
  padding: 0.7rem;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(22px);
}

.mobile-panel:not(.hidden) {
  display: grid;
  gap: 0.2rem;
}

.mobile-link {
  display: block;
  border-radius: 1rem;
  padding: 1rem;
  color: rgba(244, 237, 223, 0.76);
  font-weight: 800;
}

.mobile-link:hover,
.mobile-link.accent {
  background: rgba(244, 237, 223, 0.08);
  color: var(--bone);
}

@media (min-width: 1024px) {
  .nav-orbit {
    display: flex !important;
  }

  .header-cta {
    display: inline-flex !important;
  }

  .menu-trigger,
  .mobile-panel,
  .mobile-panel:not(.hidden) {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .nav-orbit,
  .header-cta {
    display: none !important;
  }

  .menu-trigger {
    display: grid !important;
  }
}

.hero {
  isolation: isolate;
  background: #050505;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(244, 237, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 237, 223, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 34%, black, transparent 72%);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  right: 8vw;
  top: 12vh;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 107, 53, 0.2);
}

.hero-glow-two {
  left: -8rem;
  bottom: 12vh;
  width: 22rem;
  height: 22rem;
  background: rgba(139, 92, 246, 0.18);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(244, 237, 223, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker span {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(215, 255, 79, 0.32);
  border-radius: 999px;
  color: var(--acid);
  letter-spacing: 0;
}

.hero-title {
  margin-top: 1.5rem;
  max-width: 11ch;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4.8rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: var(--bone);
}

.agent-nameplate {
  display: inline-flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 1.6rem;
  border-bottom: 1px solid rgba(215, 255, 79, 0.3);
  padding-bottom: 0.7rem;
}

.agent-nameplate span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.agent-nameplate strong {
  color: var(--acid);
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.primary-action {
  background: var(--bone);
  padding: 1rem 1.35rem;
  color: var(--ink);
}

.primary-action:hover {
  background: var(--acid);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(244, 237, 223, 0.04);
  padding: 1rem 1.35rem;
  color: var(--bone);
}

.secondary-action:hover {
  border-color: rgba(215, 255, 79, 0.45);
  background: rgba(215, 255, 79, 0.08);
  transform: translateY(-3px);
}

.hero-gallery {
  min-height: 42rem;
}

.agent-hero {
  isolation: isolate;
}

.agent-portrait-card,
.agent-proof-card,
.agent-listing-peek {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(244, 237, 223, 0.05);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  will-change: transform;
}

.agent-portrait-card {
  inset: 0 8rem 1rem 3rem;
  border-radius: 42% 42% 2.2rem 2.2rem / 34% 34% 2.2rem 2.2rem;
}

.agent-portrait-card::before {
  position: absolute;
  inset: 1.1rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(244, 237, 223, 0.2);
  border-radius: inherit;
  content: "";
}

.agent-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.08) saturate(0.76) contrast(1.12) brightness(0.86);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.agent-portrait-card:hover img {
  filter: grayscale(0) saturate(0.92) contrast(1.1) brightness(0.94);
  transform: scale(1.04);
}

.agent-portrait-caption {
  position: absolute;
  inset: auto 1.3rem 1.3rem 1.3rem;
  z-index: 3;
  border: 1px solid rgba(244, 237, 223, 0.16);
  border-radius: 1.4rem;
  background: rgba(5, 5, 5, 0.68);
  padding: 1rem;
  backdrop-filter: blur(18px);
}

.agent-portrait-caption span,
.agent-listing-peek span {
  display: block;
  color: rgba(244, 237, 223, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agent-portrait-caption strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--bone);
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.agent-proof-card {
  right: 0;
  top: 8%;
  z-index: 4;
  width: min(18rem, 72vw);
  border-radius: 1.6rem;
  padding: 1.2rem;
}

.agent-proof-card p {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agent-proof-card strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--acid);
  font-family: 'Instrument Serif', serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 0.86;
}

.agent-proof-card span {
  display: block;
  margin-top: 0.9rem;
  color: rgba(244, 237, 223, 0.66);
  font-size: 0.92rem;
  line-height: 1.6;
}

.agent-listing-peek {
  right: 1rem;
  bottom: 2rem;
  z-index: 4;
  display: grid;
  width: min(22rem, 76vw);
  grid-template-columns: 6rem 1fr;
  gap: 0.9rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
}

.agent-listing-peek img {
  width: 6rem;
  height: 4.6rem;
  border-radius: 999px;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.12) brightness(0.85);
}

.agent-listing-peek strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--bone);
  font-size: 1rem;
}

.gallery-card,
.market-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(244, 237, 223, 0.05);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  will-change: transform;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.12) brightness(0.86);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.gallery-card:hover img {
  filter: saturate(0.95) contrast(1.14) brightness(0.95);
  transform: scale(1.06);
}

.gallery-card-main {
  inset: 1rem 4rem 2rem 6rem;
  border-radius: 42% 58% 48% 52% / 58% 37% 63% 42%;
}

.gallery-card-side {
  right: 0;
  bottom: 0;
  width: 38%;
  height: 42%;
  border-radius: 2rem;
  transform: rotate(4deg);
}

.gallery-caption {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(244, 237, 223, 0.16);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  padding: 0.8rem 1rem;
  color: var(--bone);
  backdrop-filter: blur(16px);
}

.gallery-caption span {
  color: rgba(244, 237, 223, 0.65);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-caption strong {
  color: var(--acid);
}

.market-card {
  left: 0;
  bottom: 8%;
  z-index: 2;
  width: min(16rem, 70vw);
  border-radius: 1.5rem;
  padding: 1.2rem;
}

.market-card p {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.market-card strong {
  display: block;
  margin-top: 0.65rem;
  font-family: 'Instrument Serif', serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 0.86;
  color: var(--acid);
}

.market-card span {
  display: block;
  margin-top: 0.9rem;
  color: rgba(244, 237, 223, 0.66);
  font-size: 0.92rem;
  line-height: 1.6;
}

.vertical-signature {
  position: absolute;
  right: 0.3rem;
  top: 10%;
  color: rgba(244, 237, 223, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.48em;
  text-orientation: mixed;
  writing-mode: vertical-rl;
}

.metric-tile {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.metric-tile strong {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.9;
}

.metric-tile span {
  max-width: 8rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.cred-strip {
  border-block: 1px solid var(--line);
  background: rgba(244, 237, 223, 0.035);
  padding: 1rem 0;
}

.cred-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(5, 5, 5, 0.48);
  padding: 1rem;
}

.cred-card svg {
  color: var(--acid);
}

.cred-card p {
  font-weight: 800;
}

.cred-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-space {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.section-head {
  display: grid;
  gap: 2rem;
}

.asymmetric-head {
  align-items: end;
}

.section-head h2,
.about-copy h2,
.sticky-copy h2,
.contact-art h2 {
  margin-top: 1rem;
  max-width: 12ch;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.centered-head {
  margin-inline: auto;
  max-width: 56rem;
  text-align: center;
}

.centered-head .kicker {
  margin-inline: auto;
}

.centered-head p:last-child {
  margin-inline: auto;
  margin-top: 1.25rem;
  max-width: 44rem;
  color: rgba(244, 237, 223, 0.62);
  font-size: 1.1rem;
  line-height: 1.8;
}

.properties-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(215, 255, 79, 0.08), transparent 28rem),
    #080808;
}

.properties-stage::before {
  position: absolute;
  inset: 3rem 2rem auto auto;
  width: 21rem;
  height: 21rem;
  border: 1px solid rgba(244, 237, 223, 0.09);
  border-radius: 50%;
  content: "";
}

.filter-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 237, 223, 0.035);
  padding: 0.85rem 1.05rem;
  color: rgba(244, 237, 223, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 79, 0.42);
  background: var(--acid);
  color: var(--ink);
}

.property-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.property-card {
  position: relative;
  grid-column: span 12;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(244, 237, 223, 0.045);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.property-card:hover {
  border-color: rgba(255, 107, 53, 0.42);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5);
}

.property-card.hidden-card {
  display: none;
}

.property-media {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.12) brightness(0.78);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.property-card:hover .property-media img {
  filter: saturate(0.94) contrast(1.1) brightness(0.88);
  transform: scale(1.06);
}

.property-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  border: 1px solid rgba(244, 237, 223, 0.22);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.6);
  padding: 0.65rem 0.9rem;
  color: var(--bone);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.property-body {
  padding: 1.25rem;
}

.property-index {
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.property-body h3 {
  margin-top: 0.5rem;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.property-body > p:not(.property-index) {
  margin-top: 1rem;
  color: rgba(244, 237, 223, 0.62);
  line-height: 1.75;
}

.property-body div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.property-body span {
  color: var(--muted);
  font-size: 0.88rem;
}

.property-body strong {
  color: var(--ember);
  font-size: 1.5rem;
}

.about-stage {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 107, 53, 0.1), transparent 30%),
    #050505;
}

.about-stage::after {
  position: absolute;
  right: -15vw;
  top: 12%;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(215, 255, 79, 0.14);
  border-radius: 50%;
  content: "";
}

.portrait-composition {
  position: relative;
  min-height: 42rem;
}

.portrait-composition img {
  position: absolute;
  inset: 0;
  width: 84%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 48% 52% 8% 8% / 42% 42% 10% 10%;
  filter: grayscale(0.1) saturate(0.65) contrast(1.12) brightness(0.86);
}

.portrait-composition::before {
  position: absolute;
  right: 0;
  bottom: 4rem;
  width: 42%;
  height: 46%;
  border: 1px solid rgba(215, 255, 79, 0.28);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(215, 255, 79, 0.16), rgba(139, 92, 246, 0.14));
  content: "";
}

.portrait-tag {
  position: absolute;
  right: 3rem;
  bottom: 6rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(5, 5, 5, 0.72);
  padding: 1rem 1.2rem;
  backdrop-filter: blur(18px);
}

.portrait-tag span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portrait-tag strong {
  display: block;
  margin-top: 0.3rem;
  font-family: 'Instrument Serif', serif;
  font-size: 2.5rem;
  font-weight: 400;
}

.about-copy {
  align-self: center;
}

.about-copy > p:not(.kicker) {
  margin-top: 1.6rem;
  max-width: 48rem;
  color: rgba(244, 237, 223, 0.66);
  font-size: 1.1rem;
  line-height: 1.9;
}

.about-bento {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about-bento div {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(244, 237, 223, 0.045);
  padding: 1.25rem;
}

.about-bento svg {
  color: var(--acid);
}

.about-bento h3 {
  margin-top: 1rem;
  font-weight: 900;
}

.about-bento p {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.services-stage {
  background:
    radial-gradient(circle at 85% 5%, rgba(139, 92, 246, 0.16), transparent 24rem),
    #0a0a0a;
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 255, 79, 0.1), transparent 12rem),
    rgba(244, 237, 223, 0.04);
  padding: 1.4rem;
  transition: border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.service-card::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 107, 53, 0.22);
  border-radius: 50%;
  content: "";
  transition: transform 0.35s ease;
}

.service-card:hover {
  border-color: rgba(215, 255, 79, 0.35);
  background: rgba(244, 237, 223, 0.065);
}

.service-card:hover::after {
  transform: scale(1.18);
}

.service-illustration {
  width: 4.2rem;
  height: 4.2rem;
  filter: saturate(0.8);
}

.service-card span {
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  color: rgba(244, 237, 223, 0.25);
  font-family: 'Instrument Serif', serif;
  font-size: 4rem;
  line-height: 1;
}

.service-card h3 {
  margin-top: 5rem;
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.service-card p {
  margin-top: 1rem;
  color: rgba(244, 237, 223, 0.62);
  line-height: 1.75;
}

.neighbourhood-stage {
  background:
    linear-gradient(180deg, #050505, #0a0a0a 44%, #050505);
}

.sticky-copy {
  align-self: start;
}

.sticky-copy p:not(.kicker) {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: rgba(244, 237, 223, 0.62);
  font-size: 1.05rem;
  line-height: 1.85;
}

.neighbourhood-grid {
  display: grid;
  gap: 1rem;
}

.neighbourhood-card {
  min-height: 18rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(244, 237, 223, 0.06), rgba(244, 237, 223, 0.02));
  padding: 1.4rem;
}

.neighbourhood-card:nth-child(2) {
  transform: translateY(2rem);
}

.neighbourhood-card svg {
  color: var(--ember);
}

.neighbourhood-card h3 {
  margin-top: 4rem;
  font-family: 'Instrument Serif', serif;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.neighbourhood-card p {
  margin-top: 1rem;
  color: rgba(244, 237, 223, 0.62);
  line-height: 1.75;
}

.testimonials-stage {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 255, 79, 0.08), transparent 28rem),
    #080808;
}

.testimonial-actions {
  display: flex;
  gap: 0.7rem;
}

.testimonial-control {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 237, 223, 0.045);
  color: var(--bone);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.testimonial-control:hover {
  transform: translateY(-2px);
  background: var(--acid);
  color: var(--ink);
}

.testimonial-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.2rem;
  background:
    linear-gradient(135deg, rgba(244, 237, 223, 0.07), rgba(139, 92, 246, 0.08));
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
}

.testimonial-card {
  display: grid;
  min-width: 100%;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 5vw, 4rem);
}

.testimonial-avatar {
  width: 7rem;
  height: 7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1);
}

.testimonial-card p {
  max-width: 58rem;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.testimonial-card strong {
  display: block;
  margin-top: 2rem;
  color: var(--acid);
}

.testimonial-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.contact-stage {
  background:
    linear-gradient(180deg, #050505 0%, #111 100%);
}

.contact-art,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(244, 237, 223, 0.045);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.32);
}

.contact-art {
  position: relative;
  display: flex;
  min-height: 44rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.23;
  filter: saturate(0.6) contrast(1.18) brightness(0.7);
}

.contact-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.2), transparent 18rem);
  content: "";
}

.contact-art > div {
  position: relative;
  z-index: 1;
}

.contact-art p:not(.kicker) {
  margin-top: 1.4rem;
  max-width: 38rem;
  color: rgba(244, 237, 223, 0.66);
  line-height: 1.85;
}

.contact-chips {
  display: grid;
  gap: 0.8rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
  padding: 0.9rem 1rem;
  color: var(--bone);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.contact-form {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(244, 237, 223, 0.55);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(5, 5, 5, 0.58);
  padding: 1rem 1.05rem;
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-input::placeholder {
  color: rgba(244, 237, 223, 0.34);
}

.form-input:focus {
  border-color: rgba(215, 255, 79, 0.46);
  background: rgba(5, 5, 5, 0.76);
  box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.08);
}

.submit-btn {
  margin-top: 1.15rem;
  width: 100%;
  background: var(--bone);
  padding: 1rem 1.35rem;
  color: var(--ink);
}

.submit-btn:hover {
  background: var(--acid);
}

#formStatus {
  margin-top: 1rem;
  border: 1px solid rgba(215, 255, 79, 0.24);
  border-radius: 1rem;
  background: rgba(215, 255, 79, 0.08);
  padding: 1rem;
  color: var(--acid);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.12), transparent 26rem),
    #050505;
  padding: 4rem 0 2rem;
}

.footer-wordmark {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4.4rem, 15vw, 15rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.09em;
  color: var(--bone);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
}

.footer-grid p {
  max-width: 28rem;
  color: rgba(244, 237, 223, 0.58);
  line-height: 1.8;
}

.footer-grid nav,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-grid nav a,
.footer-socials a,
.footer-return {
  display: inline-grid;
  min-height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 237, 223, 0.045);
  padding: 0 1rem;
  color: var(--bone);
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-socials a {
  width: 2.8rem;
  padding: 0;
}

.footer-socials iconify-icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  color: currentColor;
  font-size: 1.1rem;
}

.footer-grid nav a:hover,
.footer-socials a:hover,
.footer-return:hover {
  transform: translateY(-2px);
  background: var(--acid);
  color: var(--ink);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-powered {
  color: rgba(244, 237, 223, 0.58);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rise-estate-return {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.35rem;
  z-index: 40;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid rgba(215, 255, 79, 0.32);
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.back-to-top.hidden {
  display: none;
}

.back-to-top.grid {
  display: grid;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .rise-estate-return {
    right: 1rem;
    bottom: 1rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 5rem;
  }
}

.reveal {
  opacity: 0;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .about-bento,
  .service-grid,
  .neighbourhood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card {
    grid-template-columns: auto 1fr;
  }
}

@media (min-width: 1024px) {
  .asymmetric-head {
    grid-template-columns: 1fr auto;
  }

  .property-card {
    grid-column: span 4;
  }

  .featured-property {
    grid-column: span 6;
  }

  .featured-property .property-media {
    height: 26rem;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sticky-copy {
    position: sticky;
    top: 8rem;
  }

  .neighbourhood-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }
}

@media (max-width: 1023px) {
  .hero-gallery {
    min-height: 34rem;
  }

  .agent-portrait-card {
    inset: 0.5rem 4rem 1rem 1rem;
  }

  .agent-proof-card {
    right: 0.5rem;
    top: 1.5rem;
  }

  .agent-listing-peek {
    right: 1rem;
    bottom: 1.5rem;
  }

  .gallery-card-main {
    inset: 1rem 2rem 2rem 2rem;
  }

  .gallery-card-side {
    width: 42%;
  }
}

@media (max-width: 767px) {
  #siteHeader {
    padding-top: 0;
  }

  #siteHeader.header-scrolled nav {
    width: calc(100% - 0.75rem);
  }

  .hero-title {
    font-size: clamp(4.8rem, 22vw, 7rem);
  }

  .hero-gallery {
    min-height: 38rem;
  }

  .agent-nameplate {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .agent-portrait-card {
    inset: 0 0 8.5rem 0;
    border-radius: 999px 999px 2rem 2rem;
  }

  .agent-proof-card {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    width: 54%;
    padding: 1rem;
  }

  .agent-proof-card strong {
    font-size: 2.9rem;
  }

  .agent-proof-card span {
    font-size: 0.78rem;
  }

  .agent-listing-peek {
    right: 0;
    bottom: 0;
    width: 45%;
    grid-template-columns: 1fr;
    border-radius: 1.3rem;
    padding: 0.55rem;
  }

  .agent-listing-peek img {
    width: 100%;
    height: 4.8rem;
    border-radius: 1rem;
  }

  .agent-listing-peek span {
    font-size: 0.58rem;
  }

  .agent-listing-peek strong {
    font-size: 0.82rem;
  }

  .gallery-card-main {
    inset: 1rem 0.5rem 5rem 0.5rem;
  }

  .gallery-card-side {
    right: 0.5rem;
    bottom: 0.5rem;
    width: 48%;
    height: 38%;
  }

  .market-card {
    left: 0.5rem;
    bottom: 1rem;
    width: 52%;
  }

  .market-card strong {
    font-size: 3rem;
  }

  .vertical-signature {
    display: none;
  }

  .metric-tile {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-tile span {
    text-align: left;
  }

  .section-head h2,
  .about-copy h2,
  .sticky-copy h2,
  .contact-art h2 {
    font-size: clamp(3.8rem, 17vw, 5.6rem);
  }

  .portrait-composition {
    min-height: 34rem;
  }

  .portrait-composition img {
    width: 100%;
  }

  .portrait-composition::before {
    display: none;
  }

  .portrait-tag {
    right: 1rem;
    bottom: 1rem;
  }

  .neighbourhood-card:nth-child(2) {
    transform: none;
  }

  .testimonial-card p {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .footer-wordmark {
    font-size: clamp(4rem, 22vw, 7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
  }
}
