/* Maywood Enterprises — shared site styles
   Palette + type derived from the brand mark (gold/black, circuit-line accents). */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0908;
  --bg-raised: #141210;
  --bg-card: #17140f;
  --line: rgba(201, 162, 39, 0.22);
  --line-strong: rgba(201, 162, 39, 0.45);

  --gold: #c9a227;
  --gold-bright: #f0cf6b;
  --gold-soft: #e3c265;
  --gold-grad: linear-gradient(135deg, #f5d980 0%, #d9ac3b 45%, #a9791e 100%);

  --ink: #f3ede0;
  --ink-dim: #b9b2a2;
  --ink-faint: #7d7666;

  --accent: #5fd4e8;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --max-w: 1120px;
}

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

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(201, 162, 39, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(95, 212, 232, 0.05), transparent 55%);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }

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

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

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

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 40px; width: auto; display: block; }
.brand-word {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-word .sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--gold-bright) !important;
}
.nav-cta:hover { background: rgba(201, 162, 39, 0.1); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--gold-grad);
  color: #14110a;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(212, 168, 60, 0.5); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Cards / grid ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plain-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-dim);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

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

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 40px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.footer-links a:hover { color: var(--gold-soft); }
.footer-fine {
  color: var(--ink-faint);
  font-size: 0.78rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
