:root {
  --paper: #e7efea;
  --ink: #17211e;
  --quiet: #3e4f49;
  --green: #0e6a5c;
  --brass: #a67c3d;
  --line: #c5d2cb;
  --measure: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1,
h2,
h3,
.brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: var(--green);
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
}

.skip:focus {
  top: 1rem;
  z-index: 2;
}

.wrap {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin-inline: auto;
}

.bar {
  padding: 1.25rem 0 0.5rem;
}

.bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
}

.header-mail {
  text-underline-offset: 0.2em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(9rem, 14rem);
  align-items: center;
  gap: 2rem 3rem;
  padding: 3.25rem 0 3rem;
  border-bottom: 2px solid var(--brass);
}

h1 {
  font-size: clamp(4.5rem, 11vw, 7.5rem);
  line-height: 0.84;
  font-weight: 620;
}

.lede {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1.35rem;
  line-height: 1.4;
}

.formation {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--quiet);
}

.mail {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.lyre {
  margin: 0;
  justify-self: end;
  width: min(100%, 13.5rem);
  color: var(--ink);
}

.lyre svg {
  display: block;
  width: 100%;
  height: auto;
}

.string {
  stroke: var(--brass);
  stroke-linecap: round;
  opacity: 0;
  animation: string-in 0.45s ease forwards;
}

.string:nth-of-type(5) { animation-delay: 0.95s; }
.string:nth-of-type(6) { animation-delay: 1.05s; }
.string:nth-of-type(7) { animation-delay: 1.15s; }
.string:nth-of-type(8) { animation-delay: 1.25s; }
.string:nth-of-type(9) { animation-delay: 1.35s; }

.frame {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 1.15s ease forwards;
}

.frame:nth-of-type(2) { animation-delay: 0.12s; }
.frame:nth-of-type(3) { animation-delay: 0.28s; }
.frame:nth-of-type(4) { animation-delay: 0.4s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes string-in {
  to { opacity: 1; }
}

.block {
  padding: 4.5rem 0 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  max-width: 16ch;
}

.intro {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--quiet);
}

.practice {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 40rem);
  gap: 1rem 2.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.practice:first-of-type {
  margin-top: 2rem;
}

.practice h3 {
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 500;
}

.practice p {
  max-width: 62ch;
  padding-top: 0.25rem;
}

.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  margin: 2rem 0 0;
}

.scope div {
  padding: 1.15rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.scope dt {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scope dd {
  margin: 0.4rem 0 0;
  color: var(--quiet);
  max-width: 42ch;
}

.contact {
  padding-bottom: 1rem;
}

.contact .mail {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration-thickness: 1px;
}

footer {
  padding: 3rem 0 2.5rem;
}

footer p {
  color: var(--quiet);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lyre {
    justify-self: start;
    width: 7.5rem;
  }

  .practice,
  .scope {
    grid-template-columns: 1fr;
  }

  .scope {
    gap: 0;
  }

  h2 {
    max-width: none;
  }
}

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

  .frame,
  .string {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
