:root {
  --porcelain: #fbfaf7;
  --vermilion: #b8321f;
  --ink: #1c1b1a;
  --jade: #8c9a92;
  --rule: color-mix(in srgb, var(--jade) 34%, var(--porcelain));
  --wrap: min(72rem, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
  --press: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  background: var(--porcelain);
}

body {
  position: relative;
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

::selection {
  background: color-mix(in srgb, var(--vermilion) 22%, var(--porcelain));
  color: var(--ink);
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 3;
  padding: 0.4rem 0.7rem;
  background: var(--porcelain);
  color: var(--ink);
  font-weight: 500;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.seal {
  width: 2.125rem;
  height: 2.125rem;
  display: block;
  flex: none;
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: -0.18em;
  background: var(--porcelain);
  box-shadow: 0 0 0 0.6rem var(--porcelain);
}

.nav {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--jade);
  text-decoration: none;
  background-color: var(--porcelain);
  background-image: linear-gradient(var(--vermilion), var(--vermilion));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  box-shadow: 0 0 0 0.55rem var(--porcelain);
}

.hero {
  padding-top: clamp(2.6rem, 7vh, 4.75rem);
  padding-bottom: clamp(2.6rem, 6vh, 4.25rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  background: var(--porcelain);
}

.field-frame {
  position: relative;
  height: 12.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) and (max-width: 1119px) {
  .field-frame {
    height: 16.5rem;
  }
}

.field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40rem;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.kicker {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  color: var(--jade);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.55rem, 9vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.composed {
  display: none;
}

.flow {
  display: block;
  text-wrap: balance;
}

.hero-rule {
  width: 4.75rem;
  height: 3px;
  margin-top: 1.7rem;
  background: var(--vermilion);
  transform-origin: left center;
}

.note {
  margin: 1.55rem 0 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.practice {
  padding-bottom: clamp(3.25rem, 7vh, 5.25rem);
}

h2 {
  margin: 0 0 1.15rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.practice-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding-top: 1.35rem;
}

.practice-grid > div + div {
  border-top: 1px solid var(--rule);
  margin-top: 1.55rem;
  padding-top: 1.35rem;
}

h3 {
  margin: 0 0 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

.practice p,
.contact p {
  margin: 0;
  text-wrap: pretty;
}

.practice p {
  max-width: 38ch;
}

.practice p + p {
  margin-top: 0.85rem;
}

.discretion {
  padding-bottom: clamp(3.25rem, 7vh, 4.75rem);
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.discretion p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.contact {
  padding-bottom: clamp(3.25rem, 7vh, 4.75rem);
}

.contact p {
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.contact p + p {
  margin-top: 0.85rem;
}

.mail {
  color: var(--ink);
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: var(--vermilion);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer {
  border-top: 1px solid var(--rule);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 0.4rem 0.6rem;
}

.footer-row p {
  margin: 0;
  font-weight: 500;
}

@media (min-width: 900px) {
  :root {
    --wrap: min(74rem, calc(100% - 6rem));
  }

  h1 {
    font-size: clamp(4.35rem, 5.7vw, 6.15rem);
    line-height: 0.94;
  }

  .composed {
    display: block;
  }

  .flow {
    display: none;
  }

  .line {
    display: block;
  }

  .line > span {
    display: block;
  }

  .practice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2.75rem;
    padding-top: 1.5rem;
  }

  .practice-grid > div + div {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .practice p {
    max-width: none;
  }
}

@media (min-width: 1120px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    column-gap: clamp(1.75rem, 3vw, 3.25rem);
    align-items: center;
    padding-top: clamp(3rem, 8vh, 5.25rem);
    padding-bottom: clamp(3rem, 7vh, 4.75rem);
  }

  h1 {
    font-size: clamp(3.5rem, 4.55vw, 4.5rem);
    line-height: 0.96;
  }

  .field-frame {
    height: 22rem;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .nav,
  .mail,
  .brand {
    transition:
      color 180ms var(--press),
      background-size 220ms var(--press),
      text-decoration-thickness 180ms var(--press),
      text-underline-offset 180ms var(--press),
      transform 120ms var(--press);
  }

  .nav:hover {
    color: var(--ink);
    background-size: 100% 1px;
  }

  .mail:hover {
    text-decoration-thickness: 2px;
    text-underline-offset: 0.24em;
  }

  .nav:active,
  .mail:active,
  .brand:active {
    transform: translateY(1px);
  }
}

html.is-settled .brand,
html.is-settled .composed .line > span,
html.is-settled .flow,
html.is-settled .hero-rule {
  opacity: 1;
}

html.is-settled .composed .line > span,
html.is-settled .flow {
  clip-path: none;
}

html.is-settled .hero-rule {
  transform: none;
}

html.is-pending:not(.is-settled) .composed .line > span,
html.is-pending:not(.is-settled) .flow {
  clip-path: inset(0 100% 0 0);
}

html.is-pending:not(.is-settled) .hero-rule {
  transform: scaleX(0);
}




@media (max-width: 420px) {
  .wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    margin-right: -0.14em;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.15rem 1.3rem;
    gap: 0.35rem;
  }
}
