:root {
  --paper: #F8F3EA;
  --ink: #1A1612;
  --accent: #3D4F66;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 18px;
  line-height: 1.76;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

a {
  color: var(--accent);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.site-header {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  padding: 28px 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.wordmark,
nav,
.kicker,
.meta,
.price-line,
.social-links,
footer {
  font-family: "Inter", sans-serif;
}

.wordmark {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.76rem;
}

nav a {
  text-decoration: none;
}

.essay {
  width: min(100% - 40px, 66ch);
  margin-inline: auto;
}

.hero {
  padding: clamp(66px, 12vw, 142px) 0 clamp(54px, 9vw, 104px);
}

.kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 500;
  line-height: 1.16;
}

h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7vw, 5.1rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.62rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.meta {
  margin-bottom: 42px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.opening {
  max-width: 61ch;
  font-size: clamp(1.2rem, 2.3vw, 1.48rem);
  line-height: 1.65;
}

.opening::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-size: 4.35em;
  font-weight: 500;
  line-height: 0.73;
}

.quiet-mark {
  display: flex;
  gap: 5px;
  margin: 48px 0 0;
}

.quiet-mark span {
  display: block;
  width: 28px;
  border-top: 1px solid var(--ink);
}

.quiet-mark span:nth-child(2) {
  width: 14px;
}

.quiet-mark span:nth-child(3) {
  width: 7px;
}

.hours,
.prose,
.prices,
.contact {
  padding: clamp(52px, 9vw, 102px) 0;
  border-top: 1px solid var(--ink);
}

.hours p:not(.kicker),
.prose article p,
.prices p:not(.kicker):not(.price-line),
.contact address,
.contact-note {
  max-width: 61ch;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

.prose {
  padding-top: clamp(66px, 12vw, 142px);
}

.prose h1 {
  max-width: 17ch;
}

.prose article {
  margin-top: 60px;
}

.prose article h2 {
  margin-top: 65px;
}

.prose article h2:first-child {
  margin-top: 0;
}

blockquote {
  margin: 58px 0;
  padding: 25px 0 25px 26px;
  border-left: 2px solid var(--accent);
}

blockquote p {
  margin: 0;
  font-size: clamp(1.32rem, 2.5vw, 1.85rem);
  line-height: 1.42;
}

.closing-link {
  margin-top: 44px;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0 22px;
  padding: 17px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.82rem;
  line-height: 1.5;
}

.price-line strong {
  white-space: nowrap;
  font-weight: 600;
}

address {
  font-style: normal;
}

.contact-note {
  margin-top: 28px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  font-size: 0.75rem;
}

footer {
  width: min(100% - 40px, 66ch);
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--ink);
  font-size: 0.68rem;
  line-height: 1.65;
}

footer p {
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .site-header {
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
  }

  nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
  }

  .essay,
  footer {
    width: min(100% - 32px, 66ch);
  }

  h1 {
    font-size: clamp(2.28rem, 12vw, 3.6rem);
  }

  .price-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
