@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #0d0c0a;
  --bg-raised: #16140f;
  --bg-card: #1b1812;
  --line: #33301f;
  --line-soft: #26231a;
  --gold: #c9a24b;
  --gold-bright: #e2c27a;
  --brass: #a9895a;
  --ink: #f3ede0;
  --ink-dim: #b8b19f;
  --ink-faint: #85806f;
  --success: #7fae7a;
  --danger: #c86a5a;
  --radius: 10px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { color: var(--ink-dim); margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
  display: inline-block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-name span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}
.nav-links a { text-decoration: none; color: var(--ink-dim); transition: color 0.15s; }
.nav-links a:hover { color: var(--gold-bright); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--brass));
  color: #1a1608;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* --- Hero --- */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 162, 75, 0.14), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.hero .lede {
  max-width: 620px;
  margin: 0 auto 2em;
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Sections --- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-raised); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3em; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 0.5em; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.4em;
}

.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg));
  border-top: 1px solid var(--line-soft);
}

/* --- Forms --- */
.form-shell {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-row .hint { font-size: 0.78rem; color: var(--ink-faint); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-group label {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: var(--ink-dim);
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 500;
}
.radio-group input { accent-color: var(--gold); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { margin-top: 4px; accent-color: var(--gold); }
.checkbox-row label { font-size: 0.85rem; color: var(--ink-dim); margin-bottom: 0; }

.form-msg { font-size: 0.88rem; padding: 12px 14px; border-radius: 6px; margin-bottom: 18px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: rgba(200, 106, 90, 0.12); color: #e0958a; border: 1px solid rgba(200, 106, 90, 0.3); }
.form-msg.ok { background: rgba(127, 174, 122, 0.12); color: #a3cf9d; border: 1px solid rgba(127, 174, 122, 0.3); }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.footer-links { margin-top: 14px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* --- Listing cards (portal) --- */
.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.listing-card .body { padding: 20px; }
.listing-card .price { color: var(--gold-bright); font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.listing-card .suburb { color: var(--ink-faint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

/* --- Admin table --- */
.admin-shell { padding: 30px 0 80px; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); cursor: pointer; font-size: 0.88rem; font-weight: 600;
}
.admin-tab.active { border-color: var(--gold); color: var(--gold-bright); background: rgba(201,162,75,0.08); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
th { color: var(--ink-faint); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }
td { color: var(--ink-dim); }
.table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 6px; }
.pill-btn { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-dim); font-size: 0.78rem; cursor: pointer; }
.pill-btn:hover { border-color: var(--gold); color: var(--gold-bright); }
.admin-login { max-width: 400px; margin: 100px auto; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
}
