:root {
  --cream: #f4ede3;
  --paper: rgba(255, 249, 241, 0.82);
  --ink: #1f1d1b;
  --muted: #62594f;
  --forest: #1f4b42;
  --forest-soft: #2c6055;
  --line: rgba(31, 29, 27, 0.1);
  --shadow: 0 24px 70px rgba(74, 54, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(196, 160, 107, 0.22), transparent 34%),
    linear-gradient(180deg, #f6efe6 0%, #efe3d2 52%, #f5ede3 100%);
}

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

.archive-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.hero,
.summary-card,
.capture__frame {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.eyebrow,
.card-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9f5a2f;
}

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  margin-top: 0.9rem;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.intro {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-soft) 100%);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.summary-card {
  padding: 1.3rem 1.25rem 1.4rem;
}

.summary-card h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.summary-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.capture {
  margin-top: 1.4rem;
}

.capture__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.capture__header h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.capture__header p {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.capture__frame {
  padding: 1rem;
}

.capture__frame img {
  border-radius: 20px;
  border: 1px solid rgba(31, 29, 27, 0.08);
}

@media (max-width: 900px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .capture__header {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .archive-shell {
    width: min(100% - 1rem, 1120px);
    padding: 1rem 0 2rem;
  }

  .hero,
  .summary-card,
  .capture__frame {
    border-radius: 22px;
  }

  .hero {
    padding: 1.5rem;
  }

  .capture__frame {
    padding: 0.65rem;
  }
}
