:root {
  --bg: #ffffff;
  --paper: #f8f7f3;
  --ink: #1d2430;
  --muted: #697282;
  --line: #e4e0d8;
  --gold: #b9934b;
  --gold-soft: #f2e7cf;
  --blue: #2f5d7c;
  --rose: #a85d72;
  --shadow: 0 20px 60px rgba(32, 38, 50, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

.top-nav a,
.site-footer a {
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 46px 0 38px;
}

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

.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.primary-link,
.details-link,
.sign-card a,
.comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-link:hover,
.details-link:hover,
.sign-card a:hover,
.comment-form button:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--ink);
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.article-shell,
.signs-section,
.comments,
.quote-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 0;
}

.article-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.article-meta {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

.article-meta span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.article-meta strong {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.article {
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.article p:first-child::first-letter {
  float: left;
  padding-right: 10px;
  color: var(--gold);
  font-size: 4.3rem;
  line-height: 0.88;
}

.details-link {
  margin-top: 12px;
  background: #fff;
  color: var(--ink);
}

.details-link:hover {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 500;
}

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

.sign-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(32, 38, 50, 0.05);
}

.sign-card:nth-child(2) {
  background: #fbfcfc;
}

.sign-card:nth-child(3) {
  background: #fffaf8;
}

.sign-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.9rem;
}

.sign-card:nth-child(2) .sign-symbol {
  background: #e8f0f4;
  color: var(--blue);
}

.sign-card:nth-child(3) .sign-symbol {
  background: #f6e5e9;
  color: var(--rose);
}

.sign-card h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  line-height: 1.1;
}

.sign-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.sign-card a {
  min-height: 40px;
  padding-inline: 16px;
  background: #fff;
  color: var(--ink);
}

.sign-card a:hover {
  background: var(--ink);
  color: #fff;
}

.quote-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band blockquote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.55rem, 4vw, 3.1rem);
  line-height: 1.16;
  text-align: center;
}

.comments {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.comment-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.comment-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid #d2cec4;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: 1rem Arial, Helvetica, sans-serif;
}

.comment-form textarea {
  resize: vertical;
  min-height: 140px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 3px solid rgba(185, 147, 75, 0.22);
  border-color: var(--gold);
}

.comment-form button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

.comment-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.comment {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.comment strong {
  display: block;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.comment time {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

.comment p {
  margin: 0;
}

.empty-comments {
  margin: 0;
  padding: 20px;
  border: 1px dashed #d6d0c4;
  border-radius: 8px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .article-shell,
  .comments {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .article-meta {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .article-meta strong {
    margin-bottom: 0;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero,
  .article-shell,
  .signs-section,
  .comments,
  .quote-band,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .article-meta {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
