:root {
  --bg: #e7eef8;
  --ink: #1b1a17;
  --line: rgba(27, 26, 23, 0.16);
  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Liberation Serif", Georgia, serif;
  --shell: 66rem;
  --measure: 34rem;
  --pad: clamp(1.25rem, 4.5vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #d4e3f6;
  color: var(--ink);
}

p,
h1,
h2,
address {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(27, 26, 23, 0.4);
  transition: text-decoration-color 160ms ease;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  padding: 0.4rem 0.7rem;
  background: var(--bg);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.shell {
  width: min(var(--shell), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.site-header {
  padding-top: clamp(1.35rem, 3vw, 2.15rem);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: 1.7rem;
  width: auto;
}

.wordmark:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.32em;
}

main {
  flex: 1 0 auto;
  padding-top: clamp(3.75rem, 10vh, 7rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

main:focus {
  outline: none;
}

.home main {
  padding-top: clamp(4.75rem, 14vh, 9.5rem);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 7.2vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.07em;
}

.studio {
  margin-top: 1.35rem;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.statement {
  max-width: 36rem;
  margin-top: clamp(3.25rem, 8vh, 5.25rem);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
  line-height: 1.35;
  font-weight: 400;
  text-wrap: balance;
}

.keep {
  white-space: nowrap;
}

.intro {
  max-width: var(--measure);
  margin-top: 1.5rem;
}

.more {
  margin-top: 2.25rem;
}

.page-title {
  margin-bottom: 2.15rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.prose p {
  max-width: var(--measure);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1.2rem;
}

.company {
  max-width: var(--measure);
  margin-top: clamp(3.25rem, 8vh, 4.75rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-style: normal;
  line-height: 1.7;
}

.invitation .email {
  margin-top: 2.35rem;
}

.detail + .detail {
  margin-top: clamp(2.75rem, 7vh, 4.25rem);
}

.detail h2 {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.detail address {
  font-style: normal;
  line-height: 1.7;
}

.policy .page-title {
  margin-bottom: 1.5rem;
}

.policy .preface {
  max-width: 36rem;
}

.policy h2 {
  margin-top: 2.65rem;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.policy p {
  max-width: 36rem;
}

.policy p + p {
  margin-top: 1rem;
}

.policy .dated {
  margin-top: 3rem;
  font-size: 0.875rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.site-footer a[aria-current="page"] {
  text-decoration-color: currentColor;
}

@media (min-width: 720px) {
  .hero h1 {
    letter-spacing: 0.13em;
  }
}

@media (max-width: 520px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
