* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #050505;
  color: #f7f2ff;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 26px;
}

.hero {
  min-height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 45vw);
  align-items: stretch;
  border: 1px solid rgba(197, 151, 255, 0.28);
  background: #0b0b0f;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 28px;
  color: #cba7ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 8ch;
  color: #d9c0ff;
  font-family: "Apple Chancery", "Snell Roundhand", "Bradley Hand", "Segoe Script", cursive;
  font-size: clamp(62px, 9vw, 142px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin: 34px 0 0;
  color: #eee7f8;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.35;
}

.signature {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  border-top: 1px solid rgba(197, 151, 255, 0.28);
  border-bottom: 1px solid rgba(197, 151, 255, 0.28);
  padding: 16px 0;
}

.signature img {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border: 1px solid rgba(197, 151, 255, 0.38);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 32%;
}

.signature p {
  margin: 0;
}

.signature-name {
  color: #d9c0ff;
  font-family: "Apple Chancery", "Snell Roundhand", "Bradley Hand", "Segoe Script", cursive;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.signature-title {
  margin-top: 6px;
  color: #b884ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cba7ff;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: #d9c0ff;
  color: #050505;
}

.button.secondary {
  background: #050505;
  color: #f7f2ff;
}

.hero-image {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #171019;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 54px);
  object-fit: cover;
  object-position: 58% center;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(197, 151, 255, 0.28);
  border-top: 0;
  background: #000000;
  color: #f7f2ff;
}

.details p {
  min-height: 82px;
  display: flex;
  align-items: center;
  margin: 0;
  border-right: 1px solid rgba(197, 151, 255, 0.24);
  padding: 18px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.details p:last-child {
  border-right: 0;
}

.sales {
  border: 1px solid rgba(197, 151, 255, 0.28);
  border-top: 0;
  background: #ffffff;
  color: #070707;
  padding: clamp(34px, 6vw, 78px);
}

.sales-heading {
  max-width: 820px;
}

.sales-heading h2 {
  margin: 0;
  color: #6d22b8;
  font-family: "Apple Chancery", "Snell Roundhand", "Bradley Hand", "Segoe Script", cursive;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.sales-heading p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: #242026;
  font-size: 18px;
  line-height: 1.5;
}

.sales-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid rgba(109, 34, 184, 0.22);
  border-bottom: 1px solid rgba(109, 34, 184, 0.22);
}

.sales-stats article {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(109, 34, 184, 0.22);
  padding: 22px 28px;
}

.sales-stats article:last-child {
  border-right: 0;
}

.sales-stats strong {
  color: #6d22b8;
  font-family: "Apple Chancery", "Snell Roundhand", "Bradley Hand", "Segoe Script", cursive;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.sales-stats span {
  margin-top: 10px;
  color: #6d22b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.portfolio-toolbar p {
  margin: 0;
  color: #352d3f;
  font-size: 14px;
  line-height: 1.45;
}

.portfolio-filters {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid rgba(109, 34, 184, 0.26);
}

.filter {
  min-width: 84px;
  height: 42px;
  border: 0;
  border-right: 1px solid rgba(109, 34, 184, 0.26);
  background: transparent;
  color: #6d22b8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter:last-child {
  border-right: 0;
}

.filter.is-active {
  background: #6d22b8;
  color: #ffffff;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: rgba(109, 34, 184, 0.18);
  border: 1px solid rgba(109, 34, 184, 0.18);
}

.address-card {
  min-height: 132px;
  background: #0a0a0c;
  padding: 18px;
}

.address-card p {
  margin: 10px 0 0;
  color: #f8f6fb;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.sale-price {
  display: block;
  color: #d9c0ff;
  font-family: "Apple Chancery", "Snell Roundhand", "Bradley Hand", "Segoe Script", cursive;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
}

.sale-type {
  display: block;
  margin-top: 14px;
  color: #b884ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .page-shell {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 60vh;
    padding: 38px 24px;
  }

  h1 {
    max-width: 7ch;
    font-size: clamp(56px, 18vw, 90px);
  }

  .intro {
    font-size: 18px;
  }

  .signature {
    gap: 14px;
    margin-top: 24px;
  }

  .signature img {
    width: 64px;
    height: 64px;
  }

  .signature-name {
    font-size: 34px;
  }

  .signature-title {
    font-size: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-image img {
    min-height: 440px;
    object-position: 58% center;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .details p {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 242, 234, 0.2);
    padding: 16px 24px;
  }

  .details p:last-child {
    border-bottom: 0;
  }

  .sales {
    padding: 36px 24px;
  }

  .sales-heading p:last-child {
    font-size: 16px;
  }

  .sales-stats,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .sales-stats article {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 21, 21, 0.14);
    padding: 20px 0;
  }

  .sales-stats article:last-child {
    border-bottom: 0;
  }

  .portfolio-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-filters {
    width: 100%;
  }

  .filter {
    min-width: 0;
    flex: 1 1 0;
  }

  .address-card {
    min-height: 96px;
  }
}
