@import url('./template-sady-noire-20260814a.css');

:root {
  --noire-ink: #171a17;
  --noire-paper: #f1ece3;
  --noire-paper-deep: #e5dccf;
  --noire-sage: #304039;
  --noire-wine: #571f2a;
  --noire-clay: #c6aa8d;
  --noire-brass: #b48a50;
  --noire-line: rgb(23 26 23 / 16%);
  --noire-shadow: 0 32px 90px rgb(30 20 12 / 14%);
}

html {
  background: var(--noire-paper);
}

body.noire-editorial {
  background: var(--noire-paper);
  color: var(--noire-ink);
}

body.noire-editorial::before {
  background:
    radial-gradient(circle at 8% 16%, rgb(180 138 80 / 12%), transparent 24%),
    radial-gradient(circle at 92% 52%, rgb(87 31 42 / 8%), transparent 24%);
  mix-blend-mode: multiply;
  opacity: 0.72;
}

body.noire-editorial::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  position: fixed;
  z-index: 2000;
}

.noire-scroll-progress {
  background: var(--noire-brass);
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 3200;
}

.noire-ambient-orb {
  background: radial-gradient(circle, rgb(180 138 80 / 16%), transparent 66%);
  border-radius: 50%;
  height: 36rem;
  left: var(--pointer-x, 50%);
  pointer-events: none;
  position: fixed;
  top: var(--pointer-y, 50%);
  transform: translate(-50%, -50%);
  transition: left 900ms cubic-bezier(.2, .8, .2, 1), top 900ms cubic-bezier(.2, .8, .2, 1);
  width: 36rem;
  z-index: -1;
}

.nav-shell {
  background: rgb(245 239 229 / 88%);
  border: 1px solid rgb(23 26 23 / 14%);
  border-radius: 4px;
  box-shadow: 0 16px 50px rgb(24 20 15 / 9%);
  color: var(--noire-ink);
  height: 68px;
  padding-left: 24px;
  top: 22px;
}

.nav-shell::before {
  animation: none;
  background: linear-gradient(90deg, var(--noire-wine), var(--noire-brass));
  bottom: -1px;
  height: 2px;
  inset: auto 0 -1px;
  mask: none;
  opacity: 0.72;
  padding: 0;
}

.is-scrolled .nav-shell {
  background: rgb(245 239 229 / 96%);
  box-shadow: 0 18px 60px rgb(24 20 15 / 16%);
  top: 10px;
}

.nav-shell nav a,
.nav-phone {
  color: rgb(23 26 23 / 68%);
}

.nav-shell nav a:hover,
.nav-phone:hover {
  color: var(--noire-wine);
}

.nav-shell nav a::after {
  background: var(--noire-wine);
}

.nav-shell .logo-orbit {
  border-color: rgb(87 31 42 / 48%);
}

.nav-shell .logo-orbit::before {
  background: var(--noire-wine);
  box-shadow: 0 0 12px rgb(87 31 42 / 42%);
}

.nav-shell .logo-orbit i {
  background: var(--noire-brass);
}

.nav-shell .logo:hover .logo-word {
  color: var(--noire-wine);
}

.button {
  background: var(--noire-wine);
  border-color: var(--noire-wine);
  border-radius: 3px;
  color: #fffaf3;
  overflow: hidden;
  position: relative;
}

.button::before {
  background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 26%) 48%, transparent 72%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-130%);
  transition: transform 720ms cubic-bezier(.22, 1, .36, 1);
}

.button:hover {
  background: #6b2936;
  box-shadow: 0 14px 36px rgb(87 31 42 / 22%);
}

.button:hover::before {
  transform: translateX(130%);
}

.button-ghost {
  background: rgb(247 241 232 / 8%);
  border-color: rgb(247 241 232 / 38%);
  color: #fffaf3;
}

.button-ghost:hover {
  background: rgb(247 241 232 / 15%);
}

.hero {
  background: #161914;
  min-height: min(980px, 100svh);
}

.hero::before {
  background:
    linear-gradient(90deg, rgb(16 18 15 / 90%) 0%, rgb(16 18 15 / 66%) 43%, transparent 72%),
    linear-gradient(0deg, rgb(16 18 15 / 72%) 0%, transparent 46%);
  height: auto;
  inset: 0;
  width: auto;
  z-index: 1;
}

.hero::after {
  border: 1px solid rgb(244 237 226 / 20%);
  content: "";
  inset: 7.6rem 3.8rem 3rem;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-media {
  height: 100%;
  inset: 0;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgb(12 14 12 / 82%) 0%, rgb(12 14 12 / 44%) 46%, rgb(12 14 12 / 8%) 82%),
    linear-gradient(0deg, rgb(12 14 12 / 62%) 0%, transparent 48%);
}

.hero-media img {
  filter: saturate(0.78) sepia(0.06);
  object-position: center 52%;
  transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.08);
  transition: transform 180ms linear;
}

.hero-content {
  color: #f7f0e6;
  min-height: min(980px, 100svh);
  padding-top: clamp(12.5rem, 22vh, 15rem);
}

.hero-eyebrow {
  align-items: center;
  color: #d3b98f;
  display: flex;
  gap: 1rem;
}

.hero-eyebrow::before {
  background: #d3b98f;
  content: "";
  height: 1px;
  width: 3rem;
}

h1 {
  font-size: clamp(5.8rem, 9.2vw, 9.6rem);
  letter-spacing: -0.065em;
  line-height: 0.75;
  max-width: 860px;
  text-shadow: 0 12px 45px rgb(0 0 0 / 26%);
}

.hero-copy {
  color: rgb(247 240 230 / 78%);
  font-size: 0.95rem;
  margin-left: clamp(0rem, 18vw, 15rem);
  max-width: 520px;
}

.hero-actions {
  margin-left: clamp(0rem, 18vw, 15rem);
}

.metrics {
  border-color: rgb(247 240 230 / 22%);
  margin-top: clamp(4rem, 9vh, 7.3rem);
  max-width: 740px;
}

.metrics strong {
  font-size: 2.2rem;
}

.metrics span {
  color: rgb(247 240 230 / 62%);
}

.hero-note {
  background: rgb(245 239 229 / 90%);
  border: 0;
  border-radius: 3px;
  bottom: 3rem;
  color: var(--noire-ink);
  padding: 1.45rem 1.55rem;
  right: 3.8rem;
  transform: translate3d(var(--note-x, 0), var(--note-y, 0), 0);
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
  width: 270px;
}

.hero-note::before {
  background: var(--noire-wine);
  height: auto;
  inset: 0 auto 0 0;
  width: 3px;
}

.hero-note span,
.hero-note small {
  color: rgb(23 26 23 / 60%);
}

.availability {
  background: var(--noire-sage);
  border: 0;
  color: #f7f0e6;
  position: relative;
}

.availability::after {
  border: 1px solid rgb(247 240 230 / 15%);
  content: "";
  inset: 1.15rem;
  pointer-events: none;
  position: absolute;
}

.availability-inner {
  min-height: 280px;
  position: relative;
  z-index: 1;
}

.availability .eyebrow,
.availability-pulse {
  color: #d8be96;
}

.availability-pulse {
  background: #d8be96;
  box-shadow: 0 0 0 8px rgb(216 190 150 / 12%);
}

.availability h2 strong {
  color: #e0c7a1;
}

.availability-facts div {
  border-color: rgb(247 240 230 / 22%);
}

.availability-facts span {
  color: rgb(247 240 230 / 62%);
}

.availability .button-ghost {
  background: #f1ece3;
  border-color: #f1ece3;
  color: var(--noire-ink);
}

.availability-reminder {
  background: rgb(48 64 57 / 94%);
  border-color: rgb(216 190 150 / 48%);
  border-radius: 3px;
  color: #f7f0e6;
}

.availability-reminder-main small,
.availability-reminder-close {
  color: rgb(247 240 230 / 62%);
}

.section.collection {
  background: var(--noire-paper);
  color: var(--noire-ink);
  padding: 10rem max(4rem, calc((100vw - 1312px) / 2));
  width: 100%;
}

.collection .section-heading {
  align-items: start;
  border-top: 1px solid var(--noire-line);
  padding-top: 1.5rem;
}

.collection .section-heading h2 {
  font-size: clamp(4.2rem, 7vw, 7.3rem);
  line-height: 0.78;
}

.collection .section-heading > p,
.collection .property-body p,
.collection .filters legend,
.collection .filter-price span {
  color: rgb(23 26 23 / 58%);
}

.collection .eyebrow {
  color: var(--noire-wine);
}

.filters {
  background: rgb(255 252 247 / 58%);
  border: 1px solid var(--noire-line);
  border-radius: 3px;
  box-shadow: 0 18px 45px rgb(30 20 12 / 6%);
}

.filter-chips button {
  background: transparent;
  border-color: rgb(23 26 23 / 22%);
  color: var(--noire-ink);
}

.filter-chips button:hover {
  border-color: var(--noire-wine);
}

.filter-chips button.active {
  background: var(--noire-wine);
  border-color: var(--noire-wine);
  color: #fffaf3;
}

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

.property-card {
  background: #faf6ef;
  border: 1px solid var(--noire-line);
  border-radius: 3px;
  box-shadow: 0 10px 30px rgb(30 20 12 / 5%);
  color: var(--noire-ink);
  grid-column: span 4;
}

.property-card:nth-child(1) { grid-column: span 7; }
.property-card:nth-child(2) { grid-column: span 5; }
.property-card:nth-child(3) { grid-column: span 4; }
.property-card:nth-child(4) { grid-column: span 8; }
.property-card:nth-child(5),
.property-card:nth-child(6) { grid-column: span 6; }

.property-card:nth-child(1) .property-image,
.property-card:nth-child(4) .property-image {
  aspect-ratio: 1.82;
}

.property-card:nth-child(2) .property-image {
  aspect-ratio: 1.28;
}

.property-card:hover {
  border-color: rgb(87 31 42 / 48%);
  box-shadow: var(--noire-shadow);
  transform: translateY(-8px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.property-card::before {
  background: linear-gradient(90deg, transparent, var(--noire-wine), transparent);
}

.property-image img {
  transform: scale(1.01);
}

.property-card:hover .property-image img {
  transform: scale(1.065);
}

.property-badge,
.favorite {
  background: rgb(247 241 232 / 88%);
  border-color: rgb(23 26 23 / 20%);
  color: var(--noire-ink);
}

.favorite.is-favorite {
  background: var(--noire-wine);
  color: #fffaf3;
}

.gallery-progress button.active {
  background: #f3dcc0;
}

.property-price {
  border-color: var(--noire-line);
}

.property-request {
  border-color: rgb(87 31 42 / 36%);
  color: var(--noire-wine);
}

.property-request:hover {
  background: var(--noire-wine);
  color: #fffaf3;
}

.experience {
  border: 0;
  min-height: 980px;
}

.experience::before {
  background: linear-gradient(90deg, rgb(20 24 21 / 12%) 0%, rgb(20 24 21 / 40%) 52%, rgb(20 24 21 / 92%) 100%);
}

.experience::after {
  background:
    linear-gradient(0deg, rgb(19 23 20 / 88%) 0%, transparent 42%),
    linear-gradient(90deg, rgb(19 23 20 / 16%), transparent 50%);
}

.experience-photo img {
  filter: brightness(0.82) saturate(0.72) sepia(0.08);
  transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.08);
  transition: transform 180ms linear;
}

.experience-inner {
  color: #f7f0e6;
}

.experience .eyebrow,
.experience-statement {
  border-color: #d1ad79;
  color: #d1ad79;
}

.feature-list {
  background: rgb(241 236 227 / 92%);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 36px 100px rgb(0 0 0 / 28%);
  color: var(--noire-ink);
}

.feature {
  border-color: var(--noire-line);
}

.feature > span {
  color: var(--noire-wine);
}

.feature p {
  color: rgb(23 26 23 / 58%);
}

.editorial-break {
  background: var(--noire-wine);
  color: #f7f0e6;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 720px;
}

.editorial-image {
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
  min-height: 720px;
}

.editorial-image::after {
  background: linear-gradient(90deg, transparent 54%, var(--noire-wine) 100%);
}

.editorial-image img {
  filter: saturate(0.68) sepia(0.08);
  transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.08);
}

.editorial-image > span {
  color: #f7f0e6;
  left: 3rem;
}

.editorial-copy {
  max-width: 680px;
  padding-right: 7rem;
}

.editorial-number,
.editorial-copy .eyebrow {
  color: #d8be96;
}

.editorial-copy > p:last-child {
  color: rgb(247 240 230 / 68%);
}

.section.privileges {
  background: var(--noire-paper-deep);
  color: var(--noire-ink);
  padding: 10rem max(4rem, calc((100vw - 1312px) / 2));
  width: 100%;
}

.privileges::before {
  color: rgb(87 31 42 / 4%);
}

.privileges > .eyebrow {
  color: var(--noire-wine);
}

.privilege {
  background: transparent;
  border-color: rgb(23 26 23 / 20%);
  border-radius: 3px;
  color: var(--noire-ink);
}

.privilege:hover {
  border-color: var(--noire-wine);
}

.privilege.featured {
  background: var(--noire-sage);
  border-color: var(--noire-sage);
  color: #f7f0e6;
}

.privilege > span {
  color: var(--noire-wine);
}

.privilege.featured > span {
  color: #d8be96;
}

.privilege p {
  color: rgb(23 26 23 / 56%);
}

.privilege.featured p {
  color: rgb(247 240 230 / 68%);
}

.privilege-detail {
  background: #faf6ef;
  border-color: var(--noire-line);
  border-radius: 3px;
  color: var(--noire-ink);
}

.privilege-detail::before {
  background: linear-gradient(90deg, var(--noire-wine), var(--noire-brass), transparent);
  height: 3px;
}

.privilege-detail-number,
.privilege-detail .eyebrow {
  color: var(--noire-wine);
}

.privilege-detail-copy,
.privilege-facts span {
  color: rgb(23 26 23 / 62%);
}

.privilege-facts {
  border-color: var(--noire-line);
}

.privilege-facts span::before {
  background: var(--noire-wine);
}

.private-office {
  background: var(--noire-sage);
  color: #f7f0e6;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 690px;
}

.private-copy {
  border-left: 0;
  padding-left: 4rem;
  position: relative;
}

.private-copy::before {
  background: #d8be96;
  content: "";
  height: 4rem;
  left: 1.8rem;
  position: absolute;
  top: 0;
  width: 1px;
}

.private-copy .eyebrow {
  color: #d8be96;
}

.private-copy > p:not(.eyebrow) {
  color: rgb(247 240 230 / 66%);
}

.private-image {
  margin: 2.2rem 2.2rem 2.2rem 0;
  overflow: hidden;
}

.private-image::after {
  background: linear-gradient(90deg, var(--noire-sage), transparent 36%);
}

.private-image img {
  filter: saturate(0.72) sepia(0.06);
  transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.08);
}

.section.request {
  background: var(--noire-paper);
  color: var(--noire-ink);
  padding: 10rem max(4rem, calc((100vw - 1312px) / 2));
  position: relative;
  width: 100%;
}

.request::before {
  border: 1px solid var(--noire-line);
  content: "";
  inset: 3rem;
  pointer-events: none;
  position: absolute;
}

.request > * {
  position: relative;
  z-index: 1;
}

.request .eyebrow {
  color: var(--noire-wine);
}

.request-heading > p,
.request small,
.request-form label span {
  color: rgb(23 26 23 / 56%);
}

.request-form label {
  background: rgb(255 252 247 / 64%);
  border-color: var(--noire-line);
  border-radius: 3px;
}

.request-form input {
  color: var(--noire-ink);
}

footer {
  background: var(--noire-ink);
  border: 0;
  color: #f7f0e6;
  margin: 0;
  padding: 4.5rem max(4rem, calc((100vw - 1312px) / 2));
  width: 100%;
}

footer > div > span {
  color: #d8be96;
}

footer nav a,
footer small {
  color: rgb(247 240 230 / 54%);
}

.reveal {
  clip-path: inset(0 0 18% 0);
  opacity: 0;
  transform: translateY(34px);
  transition:
    clip-path 950ms cubic-bezier(.16, 1, .3, 1) var(--delay, 0ms),
    opacity 760ms cubic-bezier(.16, 1, .3, 1) var(--delay, 0ms),
    transform 950ms cubic-bezier(.16, 1, .3, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  clip-path: inset(0 0 0 0);
}

.noire-editorial section[data-noire-index]::marker {
  color: var(--noire-brass);
}

@media (max-width: 1050px) {
  .hero::after { inset-inline: 4vw; }
  .hero-note { right: 4vw; }
  .hero-copy,
  .hero-actions { margin-left: 8vw; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-card,
  .property-card:nth-child(n) { grid-column: auto; }
  .property-card:nth-child(n) .property-image { aspect-ratio: 1.45; }
  .section.collection,
  .section.privileges,
  .section.request,
  footer { padding-inline: 4vw; }
  .editorial-copy { padding-right: 4rem; }
}

@media (max-width: 700px) {
  body.noire-editorial::after { opacity: 0.025; }
  .noire-ambient-orb { display: none; }
  .nav-shell {
    background: rgb(245 239 229 / 92%);
    border-bottom: 1px solid rgb(23 26 23 / 16%);
    color: var(--noire-ink);
    height: 62px;
    padding-inline: 1rem;
  }
  .is-scrolled .nav-shell {
    background: rgb(245 239 229 / 96%);
  }
  .nav-shell nav {
    background: #f5efe5;
    border-color: rgb(23 26 23 / 16%);
  }
  .nav-shell nav a { color: var(--noire-ink); }
  .menu-toggle {
    background: var(--noire-wine);
    border-color: var(--noire-wine);
  }
  .hero {
    min-height: 760px;
  }
  .hero::after {
    inset: 5.5rem 1rem 1rem;
  }
  .hero-media { height: 760px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgb(12 14 12 / 18%) 8%, rgb(12 14 12 / 82%) 62%, rgb(12 14 12 / 96%) 100%);
  }
  .hero-content {
    min-height: 760px;
    padding: 8.8rem 1rem 2rem;
    width: 100%;
  }
  .hero-eyebrow::before { width: 1.5rem; }
  h1 {
    font-size: clamp(4.1rem, 19vw, 5.8rem);
    line-height: 0.78;
  }
  .hero-copy,
  .hero-actions { margin-left: 0; }
  .hero-actions { margin-top: 1.6rem; }
  .metrics {
    margin-top: 3.2rem;
    padding-top: 1.2rem;
  }
  .metrics strong { font-size: 1.45rem; }
  .availability::after { inset: 0.65rem; }
  .section.collection,
  .section.privileges,
  .section.request {
    padding: 6.5rem 1rem;
  }
  .collection .section-heading h2 {
    font-size: clamp(3.4rem, 17vw, 4.8rem);
  }
  .property-grid { grid-template-columns: 1fr; }
  .property-card:nth-child(n) .property-image { aspect-ratio: 1.3; }
  .experience { min-height: 980px; }
  .feature-list { border-radius: 3px; }
  .editorial-break { display: block; }
  .editorial-image {
    clip-path: none;
    min-height: 440px;
  }
  .editorial-image::after {
    background: linear-gradient(0deg, var(--noire-wine), transparent 62%);
  }
  .editorial-copy { padding: 3.5rem 1rem 5rem; }
  .privilege { border-radius: 3px; }
  .private-office { min-height: 0; }
  .private-copy { padding: 3.5rem 1rem 5rem; }
  .private-copy::before { display: none; }
  .private-image { margin: 1rem; }
  .request::before { inset: 1rem; }
  footer { padding: 4rem 1rem 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .noire-ambient-orb,
  .noire-scroll-progress { display: none; }
  .hero-media img,
  .experience-photo img,
  .editorial-image img,
  .private-image img {
    transform: scale(1.03) !important;
  }
  .reveal {
    clip-path: none;
  }
}
