:root {
  --ivory: #f7f4ef;
  --paper: #fffdf9;
  --ink: #151515;
  --muted: #6f6a63;
  --amber: #c9922f;
  --rust: #b94a3a;
  --line: #ded8cf;
  --shadow: 0 14px 40px rgba(25, 22, 18, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(201,146,47,0.07), transparent 28rem),
    var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell {
  width: min(100% - 32px, 680px);
  margin: 0 auto;
  padding: 38px 0 28px;
}

.brand {
  text-align: center;
  margin-bottom: 28px;
}

.brand-logo {
  display: block;
  width: min(68vw, 330px);
  height: auto;
  margin: 0 auto 12px;
}

.tagline {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2.8vw, 1.28rem);
  font-style: italic;
  line-height: 1.5;
}

.link-stack {
  display: grid;
  gap: 14px;
}

.link-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 19px 20px 18px;
  box-shadow: 0 5px 0 rgba(21,21,21,0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--amber);
  outline: none;
}

.link-card.primary {
  border: 2px solid var(--amber);
  background: #fffaf1;
}

.link-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-subtitle {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.4;
}

.footer {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer a {
  text-underline-offset: 3px;
}

.page-card {
  background: rgba(255,253,249,0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.page-kicker {
  margin: 0 0 8px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-card p {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.72;
}

.signature {
  margin-top: 28px !important;
  color: var(--rust);
  font-style: italic;
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.contact-box {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-box a {
  font-weight: 800;
  color: var(--rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .site-shell { width: min(100% - 24px, 680px); padding-top: 24px; }
  .brand-logo { width: min(74vw, 300px); }
  .link-card { padding: 17px 17px 16px; }
}
