:root {
  --bg: #f6f1e8;
  --paper: #fffdfa;
  --paper-2: #f4ede2;
  --ink: #18202b;
  --muted: #5f6774;
  --line: #ddd2c2;
  --navy: #223246;
  --gold: #9c7642;
  --gold-soft: #d8bd95;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f4ed 0%, #f4eee4 100%);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #f7f1e7;
  font-size: 0.95rem;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 50, 70, 0.08);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 76px;
  height: auto;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.02rem;
  color: var(--navy);
}

.brand-text small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  color: var(--navy);
}

.hero {
  padding: 48px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 430px);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.76rem;
}

h1, h2, h3 {
  margin: 0;
  font-family: 'Libre Baskerville', serif;
  line-height: 1.18;
  color: var(--navy);
}

h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 10ch; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 10px; }

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 18px 0 0;
}

.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--navy);
  color: #fff;
}
.button-secondary {
  border: 1px solid rgba(34, 50, 70, 0.18);
  color: var(--navy);
  background: rgba(255,255,255,0.72);
}


.hero-media {
  background: linear-gradient(180deg, #e8dcc7, #e1d1b8);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(33, 41, 54, 0.14);
}
.hero-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
}

.section { padding: 68px 0; }
.section-profile {
  padding-top: 26px;
}
.section-alt {
  background: rgba(255,253,250,0.78);
  border-top: 1px solid rgba(34, 50, 70, 0.06);
  border-bottom: 1px solid rgba(34, 50, 70, 0.06);
}

.content-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: start;
}

.profile-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(34, 50, 70, 0.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(25, 31, 42, 0.06);
}

.profile-label {
  padding-right: 12px;
}

.profile-text {
  border-left: 1px solid rgba(34, 50, 70, 0.08);
  padding-left: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.services-grid article,
.contact-box {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(34, 50, 70, 0.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(25, 31, 42, 0.05);
}

.services-grid p,
.contact-box p,
.content-grid p,
.footer-grid p {
  color: var(--muted);
}

.site-footer {
  background: var(--navy);
  color: #f7f1e7;
}
.footer-grid {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 18px;
}

.legal-page {
  padding: 72px 0 96px;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
}
.legal-card p,
.legal-card li { color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .contact-panel,
  .services-grid,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-text {
    border-left: 0;
    border-top: 1px solid rgba(34, 50, 70, 0.08);
    padding-left: 0;
    padding-top: 22px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner,
  .footer-grid {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }
  .nav-links { display: none; }
  .hero-grid { gap: 28px; }
  h1 { max-width: none; }
  .section, .legal-page { padding: 52px 0; }
}
