:root {
  --ink: #1B1230;
  --paper: #F1EDF8;
  --muted: #5A4E73;
  --orange: #FF5A1F;
  --magenta: #D81B7A;
  --violet: #5B2BE0;
  --rule: #CFC6E3;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 64px);
  --measure: 62ch;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); text-underline-offset: 0.2em; }
a:hover { color: var(--magenta); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 10;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--gutter);
  max-width: 1280px;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }

.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--orange); color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 96px) var(--gutter) clamp(64px, 9vw, 128px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero-copy { position: relative; z-index: 1; }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 78%;
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 36px;
}

.button {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--orange);
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--ink); color: var(--paper); }

/* The one memorable thing: the rings */
.rings {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 43% 50%;
  animation: settle 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes settle {
  from { transform: scale(0.55) rotate(-24deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

/* Sections */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(20px, 4vw, 64px);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.services { margin: 0; }
.services > div {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--rule);
}
.services > div:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.services dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.25;
  margin: 0 0 8px;
}
.services dd {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted);
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.contact-line {
  font-size: 1.3125rem;
  margin: 0 0 12px;
  grid-column: 2;
}
.email {
  grid-column: 2;
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
.email:hover { color: var(--magenta); text-decoration-color: var(--magenta); }

.contact { row-gap: 0; }
.contact h2 { grid-row: 1 / span 2; }

/* Footer */
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-footer p { margin: 0; }

/* Small screens */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .rings { max-width: 440px; margin: 0 auto; order: -1; }
  .section { grid-template-columns: 1fr; gap: 20px; }
  .contact-line, .email { grid-column: 1; }
  .contact h2 { grid-row: auto; }
  .site-header nav { gap: 18px; }
}

@media (max-width: 420px) {
  .site-header { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings { animation: none; }
  .button { transition: none; }
}
