:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #b9b9b9;
  --paper: #000000;
  --line: #343434;
  --accent: #ffffff;
  font-family:
    Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

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

.page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
}

.card {
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
  padding: 34px 20px;
  text-align: center;
}

.logo {
  width: min(100%, 360px);
  height: auto;
  margin-bottom: 8px;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tagline {
  margin: 0;
  max-width: 360px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.services {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.services span {
  display: inline-block;
  margin: 0 0.28em;
  color: var(--ink);
  font-size: 0.78em;
  opacity: 0.76;
}

.links {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 34px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.links a:focus-visible,
.links a:hover {
  border-color: var(--accent);
}

.links .primary-link {
  color: #000000;
  border-color: #ffffff;
  background: #ffffff;
}

.service-menu {
  width: 100%;
  margin-top: 30px;
  color: var(--muted);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 28px;
  margin-bottom: 28px;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.74);
}

.divider-art {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 28px;
  overflow: visible;
}

.divider-petal {
  fill: none;
  stroke: rgba(255, 255, 255, 0.74);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.divider-petal {
  stroke-width: 1.55;
}

.divider-petal.tall {
  stroke-width: 1.45;
}

.service-menu h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-groups {
  display: grid;
  gap: 16px;
  padding-bottom: 4px;
  text-align: left;
}

.service-groups article {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-groups article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-groups h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.35;
}

.service-groups p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 58px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.footer p {
  justify-self: center;
  max-width: 300px;
  margin: 0;
}

@media (max-width: 420px) {
  .page {
    padding: 18px;
  }

  .card {
    padding: 28px 0;
  }
}
