:root {
  --crimson: #7A1922;
  --burgundy: #520E14;
  --ivory: #F7F3EA;
  --espresso: #171513;
  --navy: #0D192B;
  --brass: #A68446;
  --champagne: #D6BA82;
  --font-display: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --font-body: "Cormorant Garamond", Garamond, "Palatino Linotype", Palatino, serif;
  --font-label: "Cinzel", "Times New Roman", serif;
  --wide: 42rem;
  --page-pad: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--crimson); }

a:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--ivory);
  outline-color: var(--champagne);
}

/* --- Header --- */

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem var(--page-pad) 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
}

.nav a {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--espresso);
  padding: 0.55rem 0;
}

.nav a:hover { color: var(--crimson); }

/* --- Hero (ivory, matches the card front) --- */

.hero {
  text-align: center;
  padding: 1.5rem var(--page-pad) 3.75rem;
}

.seal-frame {
  display: block;
  width: min(200px, 58vw);
  margin: 0 auto 1.15rem;
}

@media (min-width: 600px) {
  .seal-frame { width: 260px; margin-bottom: 1.4rem; }
}

.seal {
  width: 100%;
  height: auto;
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 10vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso);
  font-optical-sizing: auto;
  white-space: nowrap;
}

.wordmark .wm { letter-spacing: 0.06em; }

.wordmark .amp {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.14em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--crimson);
  margin: 0 0.02em 0 0.06em;
  position: relative;
  top: 0.015em;
}

.rule {
  width: min(16rem, 58%);
  height: 1px;
  background: var(--crimson);
  margin: 1.05rem auto 0.8rem;
}

.tagline {
  margin: 0;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: clamp(0.62rem, 1.7vw, 0.78rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--crimson);
}

.lede {
  margin: 1.1rem 0 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  color: var(--espresso);
}

/* --- Shared section label --- */

.section-label {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
}

.section-label--dark { color: var(--brass); }

/* --- Services (navy, matches the card back) --- */

.services {
  background: var(--navy);
  color: var(--ivory);
  padding: 3.25rem var(--page-pad) 3.5rem;
}

.service-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--wide);
  counter-reset: service;
}

.service-list li {
  counter-increment: service;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  column-gap: 0.9rem;
  align-items: start;
  padding: 0.7rem 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.35;
  color: var(--ivory);
}

.service-list li::before {
  content: counter(service);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.95em;
  line-height: 1.35;
  color: var(--brass);
  letter-spacing: 0.04em;
}

@media (min-width: 600px) {
  .service-list li {
    grid-template-columns: 2.1rem 1fr;
    column-gap: 1.1rem;
    padding: 0.62rem 0;
  }
}

/* --- Team --- */

.team {
  padding: 3.5rem var(--page-pad) 2.5rem;
}

.team-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 64rem;
  display: grid;
  gap: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 720px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.75rem; }
}

.person h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--espresso);
}

.person .role {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  letter-spacing: 0.03em;
  color: var(--brass);
}

/* --- Contact --- */

.contact {
  padding: 1.5rem var(--page-pad) 4rem;
  text-align: center;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
}

.contact-lines a {
  color: var(--espresso);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding: 0.25rem 0 0.1rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.contact-lines a:hover {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}

.contact-lines .dot { display: none; color: var(--brass); }

@media (min-width: 600px) {
  .contact-lines {
    flex-direction: row;
    justify-content: center;
    gap: 0.85rem;
  }
  .contact-lines .dot { display: inline; }
  .contact-lines a { min-height: 0; }
}

/* --- Footer --- */

.site-footer {
  background: var(--navy);
  color: var(--champagne);
  text-align: center;
  padding: 1.35rem var(--page-pad);
}

.site-footer p {
  margin: 0;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
