/* =========================================================
   3GS Luxury Property — Design Tokens
   Palette: ink charcoal-navy, warm ivory, aged brass, deep ember
   Type: Fraunces (display) + Inter (body/utility)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #0c0c0d;
  --ink-soft: #17171a;
  --ink-line: rgba(241, 236, 227, 0.14);
  --slate: #3a4048;
  --ivory: #f1ece3;
  --ivory-dim: #e4ddd0;
  --paper: #faf8f4;
  --brass: #c9a227;
  --brass-bright: #f0c75e;
  --ember: #8a5a3c;
  --success: #6b8f71;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

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

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-bright);
  font-weight: 600;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  color: var(--ivory);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.3; }

p { margin: 0; }

.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ivory-dim);
  max-width: 46ch;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 24, 28, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  height: 40px;
  width: 40px;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 8px;
  flex-shrink: 0;
}

footer .brand-mark {
  height: 48px;
  width: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory-dim);
}

.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--brass-bright); }

.nav-cta {
  border: 1px solid var(--brass);
  padding: 10px 20px;
  border-radius: var(--radius);
  color: var(--ivory) !important;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.nav-cta:hover { background: var(--brass); color: var(--ink) !important; }

.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--ink-line);
    color: var(--ivory);
    padding: 8px 12px;
    border-radius: var(--radius);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-bright); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--ink-line);
  color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Sections ---------- */

section { padding: 108px 0; }
@media (max-width: 780px) { section { padding: 72px 0; } }

.section-ink { background: var(--ink); }
.section-soft { background: var(--ink-soft); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .eyebrow { color: var(--ember); }
.section-paper h1, .section-paper h2, .section-paper h3 { color: var(--ink); }
.section-paper .lede { color: var(--slate); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { margin-top: 10px; }

/* ---------- Divider / rule ---------- */

.rule {
  border: none;
  border-top: 1px solid var(--ink-line);
  margin: 0;
}

.rule-paper { border-top: 1px solid rgba(20,24,28,0.14); }

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  padding: 56px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-bright);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  color: var(--ivory-dim);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--brass-bright); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 12.5px;
  color: var(--slate);
  color: #6b7078;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  color: var(--ivory-dim);
}
.tag-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}
