:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --band: #eee7dc;
  --ink: #2e2228;
  --muted: #62545a;
  --wine: #401f2e;
  --accent: #78552e;
  --gold: #dfba80;
  --line: #d6c8bb;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 5rem, 70rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .75rem; z-index: 2; transform: translateY(-200%); padding: .55rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }

.masthead {
  min-height: 6.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { font: 500 1.31rem/1.2 var(--display); text-decoration: none; white-space: nowrap; }
.wordmark span { display: block; margin-top: .35rem; color: var(--accent); font: 600 .62rem/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.masthead nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem clamp(.85rem, 3vw, 2.2rem); }
.masthead nav a { font-size: .86rem; font-weight: 600; text-decoration: none; }
.masthead nav a:hover, .footer a:hover { text-decoration: underline; }
.masthead .nav-contact { border: 1px solid var(--line); padding: .45rem .9rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(1.8rem, 5vw, 5.5rem); padding-block: clamp(4rem, 8vw, 7.4rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--accent); font-size: .71rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: .4rem; height: .4rem; flex: none; transform: rotate(45deg); background: currentColor; }
.hero h1 { margin-top: 1rem; color: var(--wine); font-size: clamp(3.45rem, 7vw, 6.25rem); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 em { font-weight: inherit; }
.intro { max-width: 32rem; margin-top: 1.65rem; color: var(--muted); font-size: clamp(1.01rem, 1.5vw, 1.16rem); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; margin-top: 1.65rem; padding: .65rem 1.3rem; border: 1px solid var(--wine); background: var(--wine); color: var(--paper); text-decoration: none; font-size: .9rem; font-weight: 600; }
.button:hover { background: #592d40; }
.hero-art { display: grid; place-items: center; min-width: 0; aspect-ratio: 1; border: 1px solid var(--line); background: radial-gradient(circle, #f0e7d7, #f6f2e9 73%); }
.hero-art svg { width: 86%; max-width: 24rem; color: var(--accent); stroke: currentColor; stroke-width: .85; }
.seal-center { fill: var(--wine); stroke: none; }
.seal-star { fill: var(--gold); stroke: none; }
.seal-dot { fill: var(--accent); stroke: none; }

.service-band { padding-block: clamp(3rem, 6vw, 5.4rem); background: var(--band); }
.service-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 6.5rem); }
h2 { color: var(--wine); font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; }
.eyebrow + h2 { margin-top: .75rem; }
.section-intro { margin-top: 1.15rem; max-width: 24rem; color: var(--muted); }
.service { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .75rem; border-top: 1px solid var(--line); padding-block: 1.15rem; }
.service:last-child { border-bottom: 1px solid var(--line); }
.number { padding-top: .16rem; color: var(--accent); font-size: .8rem; font-weight: 600; }
h3 { font-size: clamp(1.32rem, 2.4vw, 1.7rem); }
.service p:not(.number), .steps p { color: var(--muted); margin-top: .45rem; }

.specialties-intro { max-width: 43rem; }
.specialties-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.specialty { border-top: 1px solid var(--line); padding-top: 1rem; }
.specialty h3 {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
  font-size: clamp(1.32rem, 2vw, 1.55rem);
}
.specialty-glyph {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.specialty p { margin-top: .65rem; color: var(--muted); }
.specialty .specialty-resources { font-size: .875rem; }
@media (min-width: 36rem) {
  .specialties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .specialties-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specialty h3 { min-height: 3.4em; }
}

.process { padding-block: clamp(3rem, 6vw, 5.4rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; padding: 0; list-style-position: inside; }
.steps li { border-top: 1px solid var(--line); padding-top: .85rem; }
.steps li::marker { color: var(--accent); font-weight: 600; }
.steps h3 { margin-top: .35rem; }

.contact { background: var(--wine); color: var(--paper); text-align: center; }
.contact-inner { padding-block: clamp(3.5rem, 7vw, 6rem); }
.contact .eyebrow { justify-content: center; color: var(--gold); }
.contact h2 { color: var(--paper); }
.contact h2 + p { margin-top: 1rem; color: #eadbe0; }
.contact .button { background: var(--paper); color: var(--wine); border-color: var(--paper); }
.contact .button:hover { background: #f0dcc1; }
.contact .button:focus-visible { outline-color: var(--gold); }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; padding-block: 1.35rem; font-size: .82rem; color: var(--muted); }

@media (max-width: 52rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .hero h1 { font-size: clamp(2.8rem, 7.2vw, 4.4rem); }
  .service-layout { gap: 2rem; }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { min-height: 0; padding-block: 1rem; flex-wrap: wrap; }
  .hero, .service-layout, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 3rem; gap: 1.8rem; }
  .hero-art { width: min(100%, 16rem); justify-self: center; }
  .service { grid-template-columns: 1.7rem minmax(0, 1fr); }
  .steps { gap: 1.15rem; }
  .contact h2 br { display: none; }
}
