body {
  margin: 0;
  color: #222;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  background-color: #f7f5f1;
  background-image:
    linear-gradient(rgba(247, 245, 241, 0.92), rgba(247, 245, 241, 0.92)),
    url('background_boxes_soft.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.site-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.2rem 1.2rem 4rem;
}

.site-header {
  padding: 0.4rem 0 1rem;
  border-bottom: 1px solid rgba(34, 34, 34, 0.12);
}

.brand {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.86;
  margin-bottom: 0.45rem;
}

nav a {
  color: #222;
  text-decoration: none;
  margin-right: 1rem;
  font-size: 0.95rem;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

nav a:hover,
nav a:focus {
  text-decoration: underline;
  opacity: 1;
}

main {
  padding-top: 1rem;
}

section {
  max-width: 760px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 500;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: 2.1rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem;
}

.dense {
  margin-bottom: 1.4rem;
}

.tight {
  margin-bottom: 1.9rem;
}

.transitional {
  margin-bottom: 2.8rem;
}

.open {
  margin-bottom: 4.2rem;
}

.dashboard {
  margin: 1.4rem 0 4.6rem;
}

.packed-note {
  margin: 0.7rem 0 1.4rem;
}

.packed-note:nth-child(odd) {
  margin-left: 0.4rem;
}

.packed-note:nth-child(3n) {
  margin-left: 1.15rem;
  margin-bottom: 2rem;
}

.packed-note a {
  color: #222;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.packed-note a:hover,
.packed-note a:focus {
  text-decoration: underline;
  opacity: 0.84;
}

.packed-note .title {
  display: block;
  font-size: 1.12rem;
}

.packed-note .note {
  display: block;
  font-size: 0.95rem;
  opacity: 0.84;
}

.unpacked-lines p {
  margin: 0 0 0.45rem;
}

.contact-block {
  border-top: 1px solid rgba(34, 34, 34, 0.14);
  padding-top: 1.2rem;
  margin-top: 2.2rem;
  font-size: 0.96rem;
}

.policy {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.article-main {
  max-width: 780px;
  margin-top: 1.2rem;
}

.related {
  margin-top: 2.1rem;
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  padding-top: 1rem;
}

.related a,
.return-link a {
  color: #222;
  text-decoration: none;
}

.related a:hover,
.related a:focus,
.return-link a:hover,
.return-link a:focus {
  text-decoration: underline;
}

.return-link {
  margin-top: 1.4rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: #222;
  background-color: #f7f5f1;
  background-image:
    linear-gradient(rgba(247, 245, 241, 0.92), rgba(247, 245, 241, 0.92)),
    url("background_carpet_soft.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a {
  color: #2f2d2a;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 45, 42, 0.25);
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

header {
  padding: 2rem 5vw 1rem;
}

.site-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 0.9rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.95rem;
}

main {
  max-width: 860px;
  padding: 1rem 7vw 4rem;
}

section {
  margin: 2.5rem 0 5.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section:nth-of-type(2) {
  margin-left: 0.6rem;
}

section:nth-of-type(3) {
  margin-left: 2.2rem;
}

section:nth-of-type(4) {
  margin-left: 1rem;
}

section:nth-of-type(5) {
  margin-left: 3rem;
}

section:nth-of-type(6) {
  margin-left: 1.3rem;
}

h1,
h2 {
  line-height: 1.3;
  font-weight: 500;
}

h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 0.9rem;
}

p {
  margin: 0.85rem 0;
}

.trace-list {
  margin-top: 1.3rem;
}

.trace {
  margin: 0 0 1.6rem 0;
}

.trace:nth-child(2) {
  margin-left: 1.2rem;
  margin-bottom: 2.4rem;
}

.trace:nth-child(3) {
  margin-left: 0.4rem;
}

.trace:nth-child(4) {
  margin-left: 2rem;
  margin-bottom: 2.7rem;
}

.trace:nth-child(5) {
  margin-left: 0.9rem;
}

.trace:nth-child(6) {
  margin-left: 2.8rem;
  margin-bottom: 2.5rem;
}

.trace:nth-child(7) {
  margin-left: 0.2rem;
}

.trace:nth-child(8) {
  margin-left: 1.7rem;
}

.trace:nth-child(9) {
  margin-left: 0.8rem;
  margin-bottom: 2rem;
}

.trace a {
  border-bottom: none;
}

.trace .title {
  display: block;
  font-size: 1.06rem;
}

.trace .note {
  display: block;
  font-size: 0.92rem;
  opacity: 0.76;
}

.line-block p {
  margin: 0.3rem 0;
}

.meta-block {
  margin-top: 3.2rem;
  font-size: 0.96rem;
}

.related-links a {
  display: block;
  width: fit-content;
  margin: 0.5rem 0;
}

footer {
  margin: 2rem 7vw 3rem;
  font-size: 0.92rem;
  opacity: 0.75;
}
