/* R&Co. Property — static microsite */

body.property-site {
  --property-ink: #111713;
  --property-copy: #384239;
  --property-bg: #f7f5ee;
  --property-card: #fffdf8;
  --property-muted: #72786f;
  --property-line: rgba(17, 23, 19, 0.13);
  --property-green: #2d4a3e;
  --property-green-2: #587263;
  --property-sand: #d9c8ac;
  --property-soft: #e8eeea;
  background:
    radial-gradient(900px 440px at 8% 0%, rgba(45, 74, 62, 0.12), transparent 62%),
    radial-gradient(680px 360px at 100% 12%, rgba(217, 200, 172, 0.26), transparent 64%),
    linear-gradient(180deg, #fbfaf5 0%, var(--property-bg) 100%);
  color: var(--property-ink);
}

body.property-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 23, 19, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 23, 19, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.property-site .site-header,
.property-site .site-header.is-scrolled {
  background: rgba(251, 250, 245, 0.94);
  border-bottom-color: rgba(17, 23, 19, 0.1);
}

.prop-current {
  color: var(--property-green) !important;
}

.prop-current::after {
  background: var(--property-green) !important;
  width: 60% !important;
}

.prop-main {
  padding-top: 78px;
}

.prop-tabs {
  position: sticky;
  top: 78px;
  z-index: 44;
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--property-line);
  box-shadow: 0 10px 34px rgba(17, 23, 19, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.prop-tabs__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 14px 0;
}

.prop-tab {
  min-height: 74px;
  padding: 14px 18px;
  border: 1px solid var(--property-line);
  background:
    linear-gradient(135deg, rgba(45, 74, 62, 0.08), transparent 45%),
    var(--property-card);
  color: var(--property-ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.prop-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 74, 62, 0.36);
  box-shadow: 0 14px 34px rgba(17, 23, 19, 0.08);
}

.prop-tab__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.prop-tab__sub {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--property-muted);
}

.prop-hero {
  padding: 54px 0 62px;
  border-bottom: 1px solid var(--property-line);
}

.prop-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.prop-kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--property-green);
}

.prop-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 760px;
}

.prop-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--property-copy);
  font-size: 17px;
  line-height: 1.68;
}

.prop-hero__media {
  display: grid;
  grid-template-columns: 1fr 38%;
  grid-template-rows: 56% 44%;
  gap: 10px;
  min-height: 470px;
}

.prop-shot {
  overflow: hidden;
  border: 1px solid var(--property-line);
  background: var(--property-green);
  box-shadow: 0 20px 52px rgba(17, 23, 19, 0.14);
}

.prop-shot--main {
  grid-row: 1 / -1;
}

.prop-shot img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.prop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--property-line);
  border-top: 1px solid var(--property-line);
  border-bottom: 1px solid var(--property-line);
}

.prop-stat {
  padding: 28px 34px;
  background: var(--property-card);
}

.prop-stat__value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  color: var(--property-green);
}

.prop-stat__label {
  margin-top: 10px;
  color: var(--property-muted);
  font-size: 13px;
  line-height: 1.45;
}

.prop-section {
  padding: 82px 0;
}

.prop-section--shade {
  background: #efe9dc;
  border-top: 1px solid var(--property-line);
  border-bottom: 1px solid var(--property-line);
}

.prop-section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 42px;
}

.prop-section__head .prop-kicker {
  margin: 0;
}

.prop-section__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.prop-prose {
  color: var(--property-copy);
  font-size: 16px;
  line-height: 1.72;
  max-width: 820px;
}

.prop-prose p {
  margin: 0 0 1.05em;
}

.prop-dev-layout {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.65fr);
  gap: 56px;
  align-items: start;
}

.prop-dev-image {
  border: 1px solid var(--property-line);
  border-radius: 2px;
  overflow: hidden;
}

.prop-dev-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .prop-dev-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .prop-dev-image {
    order: -1;
    max-height: 380px;
  }
}

.prop-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.prop-service {
  padding: 24px 22px;
  background:
    linear-gradient(135deg, rgba(45, 74, 62, 0.08), transparent 45%),
    var(--property-card);
  border: 1px solid var(--property-line);
  box-shadow: 0 12px 34px rgba(17, 23, 19, 0.055);
}

.prop-service__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.prop-service__text {
  margin: 10px 0 0;
  color: var(--property-copy);
  font-size: 14px;
  line-height: 1.6;
}

.prop-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.prop-project-grid--dev {
  grid-template-columns: repeat(2, 1fr);
}

.prop-project {
  overflow: hidden;
  background: var(--property-card);
  border: 1px solid var(--property-line);
  box-shadow: 0 16px 42px rgba(17, 23, 19, 0.07);
}

.prop-project__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--property-soft);
}

.prop-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s ease;
}

.prop-project:hover .prop-project__image img {
  transform: scale(1.035);
}

.prop-project__body {
  padding: 24px;
}

.prop-project__meta {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--property-green);
}

.prop-project__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.prop-project__text {
  margin: 12px 0 0;
  color: var(--property-copy);
  font-size: 14px;
  line-height: 1.6;
}

.prop-project__link {
  display: inline-flex;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--property-green);
  border-bottom: 1px solid rgba(45, 74, 62, 0.36);
  padding-bottom: 3px;
}

.prop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.prop-tag {
  padding: 6px 9px;
  border: 1px solid rgba(45, 74, 62, 0.18);
  background: var(--property-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--property-green);
}

.prop-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.prop-before-after--wide {
  grid-template-columns: repeat(3, 1fr);
}

.prop-before-after figure {
  margin: 0;
  border: 1px solid var(--property-line);
  background: var(--property-card);
}

.prop-before-after img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prop-before-after figcaption {
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--property-muted);
}

.prop-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 60px;
  border-bottom: 1px solid #000;
  background: #000;
  color: var(--paper);
}

.prop-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--detail-image);
  background-size: cover;
  background-position: center top;
  opacity: 0.34;
  pointer-events: none;
}

.prop-detail-hero .wrap {
  position: relative;
  z-index: 1;
}

.prop-detail-hero .prop-kicker,
.prop-detail-hero .prop-lead {
  color: rgba(250, 250, 247, 0.78);
}

.prop-detail-hero .prop-title {
  color: var(--paper);
}

.prop-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: start;
}

.prop-detail-card {
  padding: 26px;
  background: var(--property-card);
  border: 1px solid var(--property-line);
  box-shadow: 0 14px 38px rgba(17, 23, 19, 0.06);
}

.prop-detail-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.prop-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.prop-detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--property-line);
  color: var(--property-copy);
  font-size: 14px;
}

.prop-detail-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.prop-detail-list span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--property-muted);
}

.prop-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.prop-detail-gallery img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #eee8dc;
  border: 1px solid var(--property-line);
}

.prop-detail-gallery img:first-child {
  grid-row: auto;
  height: 340px;
}

.prop-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.prop-scope {
  padding: 20px;
  background: var(--property-card);
  border: 1px solid var(--property-line);
  box-shadow: 0 10px 28px rgba(17, 23, 19, 0.045);
}

.prop-scope h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.prop-scope p {
  margin: 9px 0 0;
  color: var(--property-copy);
  font-size: 14px;
  line-height: 1.58;
}

.prop-dev-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.prop-dev-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border: 1px solid var(--property-line);
  background: #eee8dc;
}

.prop-dev-gallery--before img {
  object-fit: contain;
}

.prop-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.prop-compare-card {
  background: var(--property-card);
  border: 1px solid var(--property-line);
  box-shadow: 0 14px 34px rgba(17, 23, 19, 0.055);
}

.prop-compare-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.prop-compare-card--before img {
  object-fit: contain;
  background: #eee8dc;
}

.prop-compare-card figcaption {
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--property-muted);
}

.prop-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 40px;
  border: 1px solid var(--property-line);
  background:
    repeating-linear-gradient(135deg, rgba(45, 74, 62, 0.06) 0 1px, transparent 1px 16px),
    var(--property-soft);
  text-align: center;
}

.prop-placeholder__inner {
  max-width: 560px;
}

.prop-placeholder h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.prop-placeholder p {
  margin: 14px 0 0;
  color: var(--property-copy);
}

.prop-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin: 24px 0 84px;
  padding: 34px 38px;
  border: 1px solid var(--property-line);
  background:
    linear-gradient(135deg, rgba(45, 74, 62, 0.1), transparent 42%),
    var(--property-card);
  box-shadow: 0 14px 38px rgba(17, 23, 19, 0.065);
}

.prop-cta p {
  margin: 0;
  color: var(--property-copy);
  max-width: 560px;
}

.prop-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid var(--property-green);
  background: var(--property-green);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prop-btn--ghost {
  background: transparent;
  color: var(--property-ink);
}

.prop-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .prop-stats,
  .prop-services,
  .prop-project-grid,
  .prop-project-grid--dev,
  .prop-before-after--wide,
  .prop-detail-gallery,
  .prop-scope-grid,
  .prop-dev-gallery,
  .prop-compare-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prop-hero__grid,
  .prop-section__head,
  .prop-detail-layout {
    grid-template-columns: 1fr;
  }

  .prop-detail-gallery img:first-child {
    grid-row: auto;
    height: 280px;
  }

  .prop-detail-gallery img {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .prop-main {
    padding-top: 126px;
  }

  .prop-tabs {
    top: 126px;
  }

  .prop-stats,
  .prop-services,
  .prop-project-grid,
  .prop-project-grid--dev,
  .prop-before-after,
  .prop-before-after--wide,
  .prop-detail-gallery,
  .prop-scope-grid,
  .prop-dev-gallery,
  .prop-compare-grid {
    grid-template-columns: 1fr;
  }

  .prop-hero__media {
    min-height: 320px;
  }
}
