:root {
  --bg: #f1ece5;
  --bg-deep: #e2d7ca;
  --card: rgba(255, 249, 243, 0.9);
  --card-strong: rgba(255, 252, 248, 0.96);
  --text: #1f1714;
  --muted: #67544a;
  --line: rgba(31, 23, 20, 0.12);
  --shadow: 0 24px 80px rgba(36, 22, 18, 0.13);
  --accent: #b44e2e;
  --button: rgba(255, 255, 255, 0.74);
  --button-hover: rgba(255, 255, 255, 0.96);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(180, 78, 46, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(79, 45, 32, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 560px);
  padding: 32px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
}

.intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-image {
  position: relative;
  margin: 28px 0;
  display: grid;
  place-items: center;
  min-height: 172px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(33, 22, 17, 0.08);
  background:
    linear-gradient(140deg, rgba(180, 78, 46, 0.22), rgba(255, 255, 255, 0.42)),
    linear-gradient(220deg, rgba(53, 32, 24, 0.22), transparent 55%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 28%),
    radial-gradient(circle at 70% 65%, rgba(162, 71, 43, 0.2), transparent 30%);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 8px;
  background: var(--card-strong);
  border: 1px solid rgba(33, 22, 17, 0.1);
  box-shadow: 0 16px 40px rgba(56, 31, 19, 0.12);
}

.hero-mark span {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  color: var(--accent);
}

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

.link-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--button);
  border: 1px solid rgba(33, 22, 17, 0.08);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  background: var(--button-hover);
  border-color: rgba(162, 71, 43, 0.3);
  box-shadow: 0 16px 30px rgba(56, 31, 19, 0.1);
  outline: none;
}

.link-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.link-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.link-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

.link-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.featured {
  background:
    linear-gradient(135deg, rgba(180, 78, 46, 0.14), rgba(255, 255, 255, 0.88)),
    var(--button);
  border-color: rgba(180, 78, 46, 0.2);
}

.footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(33, 22, 17, 0.08);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .card {
    padding: 24px 18px 18px;
    border-radius: 16px;
  }

  .hero-image {
    min-height: 150px;
    margin: 22px 0;
  }

  .hero-mark {
    width: 92px;
    height: 92px;
  }
}
