:root {
  --cream: #fdfcf8;
  --ink: #2e2b27;
  --sage: #7c8f76;
  --sage-ink: #5f7359;
  --blush: #d8a7a0;
  --blush-ink: #9c5f58;
  --line: #e4ded2;
  --muted: #6f6a60;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 143, 118, 0.55);
}

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

.atelier-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.logo {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.logo a {
  border: 0;
}

.logo span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
}

.links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.links a {
  border: 0;
}

.links .current {
  color: var(--sage-ink);
  border-bottom: 1px solid var(--sage);
}

.page-width {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: end;
  padding: 78px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--sage-ink);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8.4vw, 108px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 560px;
  margin: 0 0 1em;
  color: #4d4942;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.hero-actions a {
  border-bottom: 1px solid var(--sage);
}

.hero-art {
  position: relative;
  min-height: 430px;
  border-radius: 46% 46% 3px 3px / 26% 26% 3px 3px;
  background:
    radial-gradient(circle at 72% 22%, rgba(253, 252, 248, 0.5) 0 13%, transparent 13.5%),
    radial-gradient(circle at 30% 72%, rgba(124, 143, 118, 0.55) 0 18%, transparent 18.5%),
    linear-gradient(148deg, var(--blush) 0%, #f0d6c8 45%, #c6cfb9 72%, var(--sage) 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 43, 39, 0.08);
}

.hero-art::after {
  content: "Seasonal study no. 14 — late autumn";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(253, 252, 248, 0.82);
  color: #4a443b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-head span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  background: #fbf9f3;
}

.service-card .number {
  display: block;
  margin-bottom: 24px;
  color: var(--blush-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0 0 14px;
  color: #565149;
  font-size: 14px;
}

.service-card a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.notes li {
  margin: 0;
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.notes li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.notes .month {
  display: block;
  margin-bottom: 10px;
  color: var(--sage-ink);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.notes p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 40px;
}

.journal-card {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.journal-card .date {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.journal-card p {
  margin: 0 0 12px;
  color: #565149;
  font-size: 14px;
}

.journal-card a {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.journal-all {
  margin: 26px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-band {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.quote-band blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.quote-band cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-head {
  max-width: 760px;
  padding: 70px 0 46px;
}

.page-head h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-head p {
  max-width: 600px;
  margin: 0;
  color: #4d4942;
  font-size: 17px;
}

.page-body {
  max-width: 720px;
  padding-bottom: 26px;
}

.page-body h2 {
  margin: 42px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-body h3 {
  margin: 32px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.page-body p {
  margin: 0 0 1.1em;
}

.page-body blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--blush);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.55;
}

.page-body ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.page-body li {
  margin: 0.3em 0;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list > li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.service-list h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.service-list p {
  margin: 0 0 0.8em;
}

.investment {
  color: var(--sage-ink);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.visit-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fbf9f3;
}

.visit-grid h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.visit-grid p {
  margin: 0;
  font-size: 15px;
}

.article-head {
  max-width: 740px;
  padding: 70px 0 36px;
}

.article-head .date {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-head h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.6vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-head p {
  max-width: 620px;
  margin: 0;
  color: #4d4942;
  font-size: 17px;
}

.article-body {
  max-width: 720px;
  padding-bottom: 24px;
}

.article-body p {
  margin: 0 0 1.15em;
}

.article-body h2 {
  margin: 38px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--blush);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.55;
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 720px;
  margin-top: 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.atelier-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 30px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.atelier-footer p {
  margin: 0;
}

.lost-page {
  max-width: 720px;
  padding: 90px 0 80px;
}

.lost-page .error-code {
  margin: 0 0 10px;
  color: var(--blush-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-style: italic;
  line-height: 1;
}

.lost-page h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lost-page p {
  margin: 0 0 1.1em;
  color: #4d4942;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 52px;
  }

  .hero-art {
    min-height: 300px;
    max-width: 420px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .service-list > li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .atelier-header,
  .page-width,
  .atelier-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .atelier-header {
    display: block;
  }

  .links {
    margin-top: 16px;
  }

  .links ul {
    gap: 6px 18px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .hero p,
  .page-head p,
  .article-head p,
  .section-head h2 {
    font-size: 16px;
  }

  .notes {
    grid-template-columns: 1fr;
  }

  .notes li,
  .notes li + li {
    padding: 18px 0;
    border-left: 0;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .quote-band blockquote {
    font-size: 22px;
  }

  .kicker,
  .logo span,
  .section-head span,
  .notes .month,
  .journal-card .date,
  .article-head .date,
  .atelier-footer,
  .article-foot,
  .service-card a,
  .service-card .number,
  .hero-actions,
  .journal-card a,
  .quote-band cite,
  .error-links,
  .service-list .investment {
    font-size: 14px;
  }

  .hero-art::after {
    display: none;
  }

  .journal-all {
    font-size: 14px;
  }

  .kicker {
    letter-spacing: 0.08em;
  }

  .section-head {
    display: block;
  }

  .section-head span {
    display: block;
    margin-top: 6px;
  }
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  border: 1px solid var(--sage);
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
}

.skip-to-content:focus {
  top: 12px;
}

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

#main-content:focus {
  outline: none;
}
