:root {
  color-scheme: light;
  --ink: #281f21;
  --muted: #6d6063;
  --paper: #fffdf9;
  --surface: #ffffff;
  --soft: #f4ece7;
  --line: #ded1cc;
  --accent: #8b2f3f;
  --accent-dark: #64202d;
  --shadow: 0 18px 50px rgba(66, 38, 43, 0.10);
  --radius-large: 1.5rem;
  --radius-medium: 1rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(139, 47, 63, 0.08), transparent 28rem),
    var(--paper);
  line-height: 1.6;
}

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

a {
  color: var(--accent-dark);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(139, 47, 63, 0.35);
  outline-offset: 4px;
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(244, 236, 231, 0.94)),
    var(--surface);
}

.hero::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -7rem;
  bottom: -10rem;
  border: 2rem solid rgba(139, 47, 63, 0.08);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h3 {
  line-height: 1.25;
}

.hero__text {
  max-width: 43rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.button--primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 25px rgba(100, 32, 45, 0.18);
}

.button--primary:hover {
  background: var(--accent-dark);
}

.instructions,
.gallery-section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.instructions {
  border-bottom: 1px solid var(--line);
}

.request-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.request-steps li {
  display: flex;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.request-steps p,
.notice p,
.footer__inner p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-number {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-weight: 800;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.notice {
  padding: 1.4rem;
  border-radius: var(--radius-medium);
  background: var(--soft);
}

.notice h3 {
  margin-bottom: 0.4rem;
}

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

.image-count {
  margin-bottom: 0.25rem;
  color: var(--muted);
  white-space: nowrap;
}

.postcard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.postcard-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.postcard-card__heading {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.postcard-card__image-link {
  display: block;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: var(--soft);
}

.postcard-card__image {
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
  background: #e8dfdb;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-large);
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.65);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

.footer__inner a {
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .request-steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 1.25rem, 1120px);
  }

  .hero__inner {
    padding-block: 3.5rem;
  }

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

  .section-heading,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-count {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
