/* ============================================================
   Model Invest — Blind Teaser Landing
   Built on Schwarzbachtal Hideaway design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Brand */
  --olive:        #556B2F;
  --olive-700:    #3F4F22;
  --olive-900:    #2E3A1A;
  --olive-50:     #F0F2E6;
  --charcoal:     #36454F;
  --charcoal-900: #1B2126;
  --charcoal-700: #2A363F;
  --charcoal-300: #6B7882;
  --gold:         #DAA520;
  --gold-300:     #E6BD55;
  --gold-700:     #B98C16;
  --cream:        #FAF7F0;
  --paper:        #F4EFE3;
  --stone:        #E8E2D2;
  --white:        #FFFFFF;

  /* Type */
  --f-display: "Lora", "Baskerville", "Times New Roman", serif;
  --f-body:    "Merriweather", "Georgia", serif;
  --f-ui:      "Roboto", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --eyebrow: 0.78rem;
  --body: 1.0625rem;          /* 17px */
  --lede: 1.375rem;           /* 22px */
  --h-xl: clamp(2.5rem, 5.4vw, 5rem);
  --h-l:  clamp(2.25rem, 4.4vw, 3.75rem);
  --h-m:  clamp(1.5rem, 2.4vw, 2rem);
  --stat: clamp(2.25rem, 3.6vw, 3.25rem);

  /* Spacing & radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal-900);
  font-family: var(--f-body);
  font-size: var(--body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--olive-700); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--olive-900); }

::selection { background: var(--olive); color: var(--cream); }

/* ---------- Reusable ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

.eyebrow {
  font-family: var(--f-ui);
  font-size: var(--eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-300);
  margin: 0;
}
.eyebrow .gold-rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 10px 18px 9px;
  border: 1px solid rgba(250, 247, 240, 0.45);
  background: rgba(14, 19, 22, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
}
.badge::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--charcoal-900);
}

p { margin: 0; }

/* ---------- Top nav ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 28px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ---------- Wordmark + Model Invest mark ---------- */
.mi-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--f-display);
}
.mi-mark .mi-bullet {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.mi-mark .mi-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.mi-mark .mi-name em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-left: 0;
}
.mi-mark.lg .mi-name { font-size: 1.4rem; }
.mi-mark.lg .mi-bullet { width: 11px; height: 11px; }
.mi-mark .mi-tag {
  font-family: var(--f-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal-300);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid currentColor;
  border-color: rgba(54,69,79,0.25);
  align-self: center;
  transform: translateY(-2px);
}
.hero .mi-mark .mi-tag,
footer .mi-mark .mi-tag {
  color: rgba(250,247,240,0.55);
  border-color: rgba(250,247,240,0.25);
}
.nav .mi-mark .mi-name,
footer .mi-mark .mi-name { color: var(--cream); }
.nav .mi-mark .mi-tag { color: rgba(250,247,240,0.55); border-color: rgba(250,247,240,0.25); }

.nav-meta {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.7);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-meta .meta-text {
  display: inline-block;
}
.nav-meta .lang-pill {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(250, 247, 240, 0.35);
  border-radius: 2px;
  color: var(--cream);
}
@media (max-width: 760px) {
  .nav-meta .meta-text { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #1d2418;
  background-image:
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center 55%;
  filter: saturate(0.85) brightness(0.78);
  animation: kenburns 24s var(--ease) both;
}
@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,19,22,0.55) 0%, rgba(14,19,22,0.10) 28%, rgba(14,19,22,0.10) 55%, rgba(14,19,22,0.78) 100%),
    linear-gradient(90deg, rgba(14,19,22,0.42) 0%, rgba(14,19,22,0) 60%);
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 140px;
}
.hero-content .wrap {
  max-width: 1240px;
}
.hero-headline {
  font-size: var(--h-xl);
  line-height: 1.05;
  font-weight: 500;
  color: var(--cream);
  margin-top: 28px;
  letter-spacing: -0.02em;
}
.hero-headline .line1,
.hero-headline .line2 {
  display: block;
  white-space: nowrap;
}
.hero-headline .line2 {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-300);
  margin-top: 6px;
  font-size: 0.78em;
}
@media (max-width: 1100px) {
  .hero-headline .line1,
  .hero-headline .line2 { white-space: normal; }
}
.hero-sub {
  font-family: var(--f-body);
  font-size: var(--lede);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(250, 247, 240, 0.92);
  max-width: 38ch;
  margin-top: 32px;
}

/* Stat band — own light section beneath hero */
.stats {
  background: var(--paper);
  border-top: 1px solid rgba(54, 69, 79, 0.10);
  border-bottom: 1px solid rgba(54, 69, 79, 0.10);
  padding: 56px 0 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.stat-cell {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-cell + .stat-cell::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(54, 69, 79, 0.18);
}
.stat-num {
  font-family: var(--f-display);
  font-size: var(--stat);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-700);
  letter-spacing: -0.02em;
}
.stat-num .star {
  color: var(--gold-700);
  font-size: 0.7em;
  vertical-align: 0.18em;
  margin-left: 2px;
}
.stat-label {
  font-family: var(--f-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-300);
  margin-top: 0;
}

/* Wide-text variant (e.g. "Private"): number + label sit side-by-side
   on desktop, stack on mobile. */
.stat-cell.is-wide {
  flex-direction: row;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-cell.is-wide .stat-num {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
}
.stat-cell.is-wide .stat-label {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 880px) {
  .stats { padding: 40px 0 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-cell + .stat-cell::before { display: none; }
  .stat-cell.is-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------- Section: WHY ---------- */
.section {
  padding: 140px 0;
}
.section-head {
  max-width: 880px;
  margin-bottom: 84px;
}
.section-head .eyebrow { margin-bottom: 24px; }
.section-title {
  font-size: var(--h-l);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--charcoal-900);
  max-width: 22ch;
  text-wrap: balance;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  padding: 40px 36px 44px;
  border: 1px solid rgba(54, 69, 79, 0.10);
  position: relative;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 36px; right: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(54, 69, 79, 0.12);
}
.card-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gold-700);
  letter-spacing: 0.04em;
}
.card-icon {
  width: 44px;
  height: 44px;
  color: var(--gold-700);
  margin-bottom: 8px;
  display: block;
}
.card-icon svg { width: 100%; height: 100%; display: block; }
.card-title {
  font-family: var(--f-display);
  font-size: 1.65rem;
  line-height: 1.22;
  font-weight: 500;
  color: var(--charcoal-900);
  margin: 18px 0 16px;
  letter-spacing: -0.01em;
}
.card-body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

/* ---------- Section: LOCATION (dark olive panel) ---------- */
.location {
  background: var(--charcoal-900);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}
.location::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(85, 107, 47, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(85, 107, 47, 0.22) 0%, transparent 50%);
  pointer-events: none;
}
.location .wrap { position: relative; }
.location .section-title { color: var(--cream); }
.location .eyebrow { color: rgba(250, 247, 240, 0.65); }

.loc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; gap: 48px; }
}
.loc-intro {
  font-family: var(--f-body);
  font-size: var(--lede);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(250, 247, 240, 0.85);
  max-width: 36ch;
  margin-top: 32px;
}
.loc-attrs {
  display: flex;
  flex-direction: column;
}
.loc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(250, 247, 240, 0.18);
}
.loc-row:first-child { padding-top: 0; }
.loc-row:last-child { border-bottom: none; }
.loc-key {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.loc-val {
  font-family: var(--f-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-align: right;
  white-space: nowrap;
}

/* ---------- Section: FORM ---------- */
.form-section {
  background: var(--paper);
  padding: 140px 0 120px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas:
    "copy card"
    "meta card";
  gap: 56px 96px;
  align-items: start;
}
.form-copy { grid-area: copy; }
.form-card { grid-area: card; }
.form-meta { grid-area: meta; }
@media (max-width: 960px) {
  .form-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "card"
      "meta";
    gap: 40px;
  }
}
.form-copy .section-title { font-size: clamp(2rem, 3.4vw, 2.85rem); }
.form-sub {
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-top: 28px;
  max-width: 44ch;
}
.form-meta {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(54,69,79,0.18);
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  font-family: var(--f-ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-300);
}
.form-meta strong {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--olive-700);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 6px;
}

/* Form card */
.form-card {
  background: var(--white);
  padding: 56px 56px 48px;
  border: 1px solid rgba(54,69,79,0.10);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 56px; right: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
@media (max-width: 720px) {
  .form-card { padding: 36px 28px 32px; }
  .form-card::before { left: 28px; right: 28px; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  background: transparent;
}
.field.row .field { margin-bottom: 0; }

label {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-300);
}
label .req { color: var(--gold-700); margin-left: 4px; }

input[type="text"],
input[type="email"],
select {
  font-family: var(--f-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--charcoal-900);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(54,69,79,0.28);
  padding: 10px 0 12px;
  outline: none;
  border-radius: 0;
  transition: border-color 200ms var(--ease);
  width: 100%;
}
input:focus, select:focus {
  border-bottom-color: var(--olive);
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M4 6l4 4 4-4' stroke='%2336454F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
  padding-right: 28px;
}

button.submit {
  margin-top: 12px;
  width: 100%;
  font-family: var(--f-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--olive);
  border: 1px solid var(--olive);
  padding: 22px 24px;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
button.submit:hover { background: var(--olive-700); }
button.submit:active { transform: scale(0.995); background: var(--olive-900); }
button.submit .arrow {
  display: inline-block;
  transition: transform 240ms var(--ease);
}
button.submit:hover .arrow { transform: translateX(4px); }

.form-note {
  font-family: var(--f-ui);
  font-size: 0.78rem;
  color: var(--charcoal-300);
  margin-top: 22px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* Success state */
.success {
  display: none;
  text-align: center;
  padding: 30px 8px;
}
.success.show { display: block; }
.success .check {
  width: 56px; height: 56px;
  margin: 0 auto 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
}
.success-title {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--charcoal-900);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.success-body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 36ch;
  margin: 0 auto;
}

.form-card.submitted form { display: none; }
.form-card.submitted .success { display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--charcoal-900);
  color: rgba(250, 247, 240, 0.7);
  padding: 56px 0;
  font-family: var(--f-ui);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.foot-mark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
}
.foot-disclaimer {
  font-size: 0.78rem;
  color: rgba(250, 247, 240, 0.55);
  max-width: 880px;
  line-height: 1.7;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* Mobile tweaks */
@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .location, .form-section { padding: 88px 0; }
  .section-head { margin-bottom: 56px; }
  .nav { padding: 20px 0; }
  .form-meta { grid-template-columns: 1fr; }
  .mi-mark.lg .mi-name { font-size: 1.15rem; }
}
