:root {
  color-scheme: light;
  --ink: #202720;
  --muted: #677167;
  --accent: #2d684d;
  --line: #dce3dc;
  --paper: #f7f8f4;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  width: min(100% - 48px, 980px);
  min-height: 100svh;
  margin: 0 auto;
}

.topline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.topline-label, .eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.intro {
  width: min(100%, 690px);
  margin: auto 0;
  padding: 86px 0 100px;
}

.eyebrow { margin: 0 0 18px; }

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.02;
}

.period { color: var(--accent); }

.lead {
  margin: 26px 0 12px;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -.025em;
}

.description {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
  padding: 14px 18px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--white);
  background: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.contact:hover { color: var(--accent); background: transparent; }
.contact:focus-visible { outline: 3px solid #9bbba8; outline-offset: 4px; }
.arrow { font-size: 18px; line-height: 1; }
.email-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 540px) {
  .page { width: min(100% - 36px, 980px); }
  .topline { padding: 24px 0; }
  .intro { padding: 70px 0 78px; }
  .footer { flex-direction: column; gap: 4px; }
}

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