:root {
  --navy: #1b3550;
  --navy-deep: #12263b;
  --gold: #b98a3e;
  --gold-soft: #f3e8d2;
  --ink: #25303c;
  --muted: #5f6b78;
  --paper: #fbf8f3;
  --mist: #f3eee6;
  --line: #e6dfd3;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(27, 53, 80, 0.07);
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8edf3;
    --muted: #a6b2c0;
    --paper: #0b1829;
    --mist: #112338;
    --line: #22364f;
    --gold-soft: #2a2415;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --ink: #e8edf3;
  --muted: #a6b2c0;
  --paper: #0b1829;
  --mist: #112338;
  --line: #22364f;
  --gold-soft: #2a2415;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: inherit; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .nav-links a:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #c99a4d; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-text {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text small {
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(185, 138, 62, 0.20), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #f4f6f9;
  padding: clamp(64px, 10vw, 120px) 0;
}
.hero h1 { color: #ffffff; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: #c9d4e0; max-width: 34em; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero .btn-ghost { color: #ffffff; }
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 2rem;
}
.card-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.areas {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}
.areas li {
  padding-left: 1.1rem;
  position: relative;
  color: #ffffff;
}
.areas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.card-note { font-size: 0.92rem; color: #c9d4e0; margin: 0; }

/* About */
.about { padding: clamp(72px, 10vw, 124px) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.prose p { color: var(--muted); font-size: 1.05rem; }

/* Sections */
.section-head { max-width: 40em; margin-bottom: 2.5rem; }

/* Services */
.services {
  background: var(--mist);
  padding: clamp(72px, 10vw, 124px) 0;
}
.service-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service:hover { transform: translateY(-3px); border-color: var(--gold); }
.service p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Agent */
.agent { padding: clamp(72px, 10vw, 124px) 0; }
.agent-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.agent-visual {
  position: relative;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}
.agent-visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: 28px;
  opacity: 0.7;
  z-index: 0;
}
.agent-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.agent h2 { margin-bottom: 0.2em; }
.role { color: var(--gold); font-weight: 600; margin-bottom: 1.2em; }
.agent p { color: var(--muted); }
.agent a { color: var(--ink); font-weight: 600; }

/* Contact */
.contact {
  background: var(--navy);
  color: #e6ecf3;
  padding: clamp(72px, 10vw, 124px) 0;
}
.contact h2 { color: #ffffff; }
.contact .eyebrow { color: var(--gold); }
.contact p { color: #c9d4e0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 { color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: "Inter", Arial, sans-serif; }
.contact-card address { font-style: normal; color: #ffffff; margin-bottom: 1.2rem; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.2rem; }
.contact-card dt { font-weight: 700; color: var(--gold); }
.contact-card dd { margin: 0; color: #e6ecf3; }
.contact-card a { color: #ffffff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #8fa0b3;
  font-size: 0.9rem;
  padding: 28px 0;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 880px) {
  .hero-grid, .about-grid, .agent-grid, .contact-grid { grid-template-columns: 1fr; }
  .agent-visual { max-width: 360px; margin: 0 18px 18px 0; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn-small { display: none; }
  .brand-text { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .areas { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Articles */
.articles { padding: clamp(72px, 10vw, 124px) 0; background: var(--mist); }
.article-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.article-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.article-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.article-thumb {
  display: grid; place-items: center; height: 140px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.article-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; flex: 1; }
.article-meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.article-body h3 { margin: 0; font-size: 1.2rem; }
.article-summary { color: var(--muted); font-size: 0.96rem; flex: 1; }
.read-more { font-weight: 600; color: var(--ink); }
.more-link { margin: 2.2rem 0 0; font-weight: 600; }
.more-link a { text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(24px, 4vw, 48px); }
.articles-list { padding: 24px 0 clamp(72px, 10vw, 124px); }
.lead-in { font-size: 1.15rem; color: var(--muted); }
.article-page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--muted); text-decoration: none; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.article-content { margin-top: 2rem; }
.article-content h2 { font-size: 1.6rem; margin: 2em 0 0.5em; }
.article-content p, .article-content li, .article-content dd { color: var(--muted); font-size: 1.05rem; }
.article-content strong { color: var(--ink); }
.article-content ul { padding-left: 1.3rem; }
.article-content li { margin-bottom: 0.5em; }
.defs dt { font-weight: 700; color: var(--ink); margin-top: 1rem; }
.defs dd { margin: 0.1rem 0 0; }
.cta-box {
  margin: 3rem 0 1.5rem; padding: 2rem; border-radius: var(--radius);
  background: var(--gold-soft); border: 1px solid var(--line);
}
.cta-box h3 { margin-bottom: 0.3em; }
.cta-box p { color: var(--muted); }
.disclaimer { font-size: 0.88rem; color: var(--muted); }
.related { margin-top: 4rem; }
.related h2 { margin-bottom: 1.5rem; }
