/* ============================================================
   Mineora — Design System
   Monochrome · Playfair Display + Epilogue
   ============================================================ */

:root {
  --black: #0A0A0A;
  --near-black: #1A1A1A;
  --charcoal: #4A4A4A;
  --mid-gray: #8A8A8A;
  --light-gray: #C8C8C8;
  --pale-gray: #E8E8E8;
  --off-white: #F5F5F5;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Epilogue', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1080px;
  --gutter: 32px;
  --section-padding: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
}

h1 {
  font-size: clamp(48px, 7vw, 80px);
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

em {
  font-style: italic;
}

p {
  color: var(--charcoal);
  margin-bottom: 16px;
}

p.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 640px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 24px;
  display: inline-block;
}

.data {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-padding) 0;
}

.divider {
  height: 1px;
  background: var(--pale-gray);
  margin: 0;
  border: 0;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  border-bottom: 1px solid var(--pale-gray);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
}

.site-nav a {
  font-size: 14px;
  color: var(--charcoal);
}

.site-nav a:hover {
  color: var(--black);
  opacity: 1;
}

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--near-black);
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
  opacity: 1;
}

.btn-text {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 4px 0;
  color: var(--black);
}

.btn-text:hover {
  opacity: 0.5;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--black);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 120px 0 100px;
}

.hero h1 em {
  color: var(--charcoal);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-meta .dot {
  width: 6px;
  height: 6px;
  background: var(--black);
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ============================================================
   Stats
   ============================================================ */

.stats {
  padding: 80px 0;
  border-top: 1px solid var(--pale-gray);
  border-bottom: 1px solid var(--pale-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--black);
}

.stat-label {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* ============================================================
   Portfolio Table
   ============================================================ */

.portfolio-intro {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.portfolio-intro p {
  max-width: 480px;
}

.property-table {
  width: 100%;
  border-top: 1px solid var(--pale-gray);
}

.property-row {
  display: grid;
  grid-template-columns: 2.4fr 1.4fr 1.4fr 1.2fr 1fr 0.4fr;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--pale-gray);
  align-items: center;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.property-row:hover {
  background: var(--off-white);
  opacity: 1;
}

.property-row.header {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  padding: 16px 8px;
  pointer-events: none;
}

.property-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-name strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--black);
}

.property-name span {
  font-size: 13px;
  color: var(--mid-gray);
}

.property-row .data {
  font-size: 14px;
  color: var(--charcoal);
}

.property-row .arrow {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--mid-gray);
  text-align: right;
  transition: transform 0.2s ease, color 0.2s ease;
}

.property-row:hover .arrow {
  transform: translateX(4px);
  color: var(--black);
}

.stage-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--pale-gray);
  border-radius: 2px;
  color: var(--charcoal);
}

/* Sold row & pill — non-interactive, visibly de-emphasized */
.property-row--sold {
  cursor: default;
  opacity: 0.55;
}

.property-row--sold:hover {
  background: transparent;
  opacity: 0.55;
}

.property-row--sold .arrow {
  visibility: hidden;
}

.stage-pill--sold {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  letter-spacing: 0.15em;
}

.portfolio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--mid-gray);
}

/* ============================================================
   Process
   ============================================================ */

.process {
  background: var(--off-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.process-step {
  border-top: 1px solid var(--light-gray);
  padding-top: 24px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.process-step p {
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   Why Us
   ============================================================ */

.why-us-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 64px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--pale-gray);
  border: 1px solid var(--pale-gray);
}

.why-item {
  background: var(--white);
  padding: 40px;
}

.why-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 24px;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-item p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  background: var(--black);
  color: var(--white);
  padding: 140px 0;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 72px);
  max-width: 720px;
}

.cta h2 em {
  color: var(--mid-gray);
}

.cta p {
  color: var(--light-gray);
  font-size: 17px;
  max-width: 520px;
  margin: 32px 0 48px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background: var(--off-white);
}

.cta-meta {
  margin-top: 32px;
  font-size: 13px;
  color: var(--mid-gray);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--pale-gray);
  padding: 64px 0 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--charcoal);
}

.footer-bottom {
  font-size: 13px;
  color: var(--mid-gray);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   Generic Page
   ============================================================ */

.page-header {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--pale-gray);
}

.page-header h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.page-content {
  padding: 80px 0 120px;
}

.page-content .prose {
  max-width: 680px;
}

.page-content .prose p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.page-content .prose h2 {
  margin-top: 56px;
  margin-bottom: 24px;
}

.page-content .prose h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}

/* ============================================================
   Password Gate
   ============================================================ */

.gate {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}

.gate-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.gate-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 32px;
}

.gate h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.gate p {
  font-size: 15px;
  color: var(--mid-gray);
  margin-bottom: 32px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gate-input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  width: 100%;
  text-align: center;
  letter-spacing: 0.05em;
  transition: border-color 0.2s ease;
}

.gate-input:focus {
  outline: none;
  border-color: var(--black);
}

.gate-error {
  font-size: 13px;
  color: var(--charcoal);
  min-height: 18px;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.gate-meta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--pale-gray);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ============================================================
   Acquisition Detail Page
   ============================================================ */

.acq-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--pale-gray);
}

.acq-back {
  font-size: 13px;
  color: var(--mid-gray);
  margin-bottom: 40px;
  display: inline-block;
}

.acq-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.acq-title h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 6vw, 72px);
}

.acq-title .location {
  font-size: 16px;
  color: var(--mid-gray);
  letter-spacing: 0.02em;
}

.acq-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 13px;
  color: var(--mid-gray);
}

.acq-meta-bar {
  padding: 32px 0;
  border-bottom: 1px solid var(--pale-gray);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.acq-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acq-meta-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.acq-meta-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--black);
  letter-spacing: -0.01em;
}

.acq-body {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
}

.acq-section {
  margin-bottom: 56px;
}

.acq-section:last-child {
  margin-bottom: 0;
}

.acq-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.acq-section p {
  line-height: 1.8;
}

.placeholder-box {
  border: 1px dashed var(--light-gray);
  padding: 32px;
  background: var(--off-white);
  color: var(--mid-gray);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0;
  border-radius: 4px;
}

.placeholder-box strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.acq-aside {
  position: sticky;
  top: 120px;
  align-self: start;
}

.aside-card {
  border: 1px solid var(--pale-gray);
  padding: 32px;
  margin-bottom: 24px;
}

.aside-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
}

.aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--pale-gray);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--charcoal);
}

.aside-list li:last-child {
  border-bottom: 0;
}

.aside-list .label {
  color: var(--mid-gray);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aside-cta {
  margin-top: 24px;
  text-align: center;
}

.aside-cta .btn {
  width: 100%;
}

/* ============================================================
   Contact Form
   ============================================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  max-width: 720px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row.full {
  grid-column: 1 / -1;
}

.form-row label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--light-gray);
  background: transparent;
  color: var(--black);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-bottom-color: var(--black);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-submit {
  margin-top: 16px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  margin-top: 64px;
  border-top: 1px solid var(--pale-gray);
}

.faq-item {
  border-bottom: 1px solid var(--pale-gray);
  padding: 32px 0;
}

.faq-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.faq-item p {
  margin-bottom: 0;
  max-width: 720px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .header-cta .btn-secondary {
    display: none;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-value {
    font-size: 44px;
  }

  .portfolio-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .property-row {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 24px 4px;
  }

  .property-row.header {
    display: none;
  }

  .property-row > *:not(.property-name):not(.arrow) {
    display: none;
  }

  .property-row .arrow {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-us-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .cta {
    padding: 80px 0;
  }

  .acq-title {
    grid-template-columns: 1fr;
  }

  .acq-status {
    align-items: flex-start;
  }

  .acq-meta-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .acq-body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .acq-aside {
    position: static;
  }

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

@media (max-width: 520px) {
  :root {
    --gutter: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .acq-meta-bar {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
