:root {
  --ink: #4b372b;
  --soft-ink: #755b48;
  --paper: #fff7e8;
  --paper-edge: #e7c998;
  --wash: #f5dec2;
  --clay: #c97853;
  --clay-dark: #8b4c35;
  --tea: #b77845;
  --green: #719f6a;
  --leaf: #80b979;
  --pink: #cf6f83;
  --blue: #8db4bd;
  --gold: #d8a84d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 239, 205, 0.95), transparent 30%),
    radial-gradient(circle at 90% 82%, rgba(221, 183, 126, 0.34), transparent 34%),
    #ead8bd;
  font-family: Georgia, "Times New Roman", serif;
}

.postcard {
  width: min(980px, 100%);
  padding: clamp(1.1rem, 3.2vw, 2.4rem);
  border: 2px solid var(--paper-edge);
  border-radius: 28px;
  background: linear-gradient(145deg, #fffaf0, var(--paper));
  box-shadow: 0 22px 52px rgba(88, 58, 33, 0.18);
}

.kicker {
  margin: 0 0 0.25rem;
  color: var(--soft-ink);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4.3rem);
  line-height: 0.95;
  font-weight: 500;
}

.scene {
  margin: 0;
  padding: clamp(0.25rem, 1.5vw, 0.75rem);
  border: 1px dashed rgba(117, 91, 72, 0.34);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.3);
}

svg {
  display: block;
  width: 100%;
  height: auto;
}

.paper { fill: var(--paper); stroke: var(--paper-edge); stroke-width: 3; }
.table { fill: none; stroke: rgba(117, 91, 72, 0.38); stroke-width: 7; stroke-linecap: round; }
.body, .lid { fill: var(--clay); stroke: var(--clay-dark); stroke-width: 6; }
.belly { fill: rgba(255, 247, 232, 0.25); stroke: rgba(139, 76, 53, 0.35); stroke-width: 3; }
.knob, .foot { fill: none; stroke: var(--clay-dark); stroke-width: 6; stroke-linecap: round; }
.handle, .spout, .steam { fill: none; stroke: var(--clay-dark); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.steam { stroke: rgba(141, 180, 189, 0.75); stroke-width: 8; }
.can-body { fill: var(--blue); stroke: #527982; stroke-width: 6; }
.can-top, .can-handle, .can-spout { fill: none; stroke: #527982; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.rose { fill: var(--blue); stroke: #527982; stroke-width: 5; }
.rose-hole { fill: #527982; }
.saucer { fill: var(--wash); stroke: var(--tea); stroke-width: 5; }
.pot { fill: var(--tea); stroke: #7e4b2e; stroke-width: 5; }
.stem { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; }
.leaf { fill: var(--leaf); stroke: var(--green); stroke-width: 4; }
.flower { fill: var(--pink); stroke: #9b475b; stroke-width: 3; }
.rain { fill: #78a9c1; stroke: #4f7f98; stroke-width: 2; }
.weather-line { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 9 13; }
.weather-dot { fill: var(--gold); }

.prose {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  text-align: center;
}

footer {
  color: rgba(75, 55, 43, 0.78);
  font: 0.95rem/1.4 system-ui, sans-serif;
  text-align: center;
}

@media (max-width: 560px) {
  body { padding: 0.75rem; }
  .postcard { border-radius: 18px; }
  .scene { border-radius: 16px; }
}

@media print {
  body {
    display: block;
    min-height: auto;
    padding: 0;
    background: white;
  }
  .postcard {
    box-shadow: none;
    border-color: #9c8060;
    page-break-inside: avoid;
  }
  footer { margin-top: 0.5rem; color: #555; }
}
