/* Our story page. Shared look in site.css.
   Layout "The letter" (picked 2026-10-28): Giulia tells the story herself, on a paper sheet in the
   middle, with two photo prints laid on the desk beside it (one under the sheet's edge, one over it).
   Text never sits on a photo. The letter comes first in the HTML, so a screen reader reads it before
   the photos; the grid places the prints either side. */

.letter-head { padding: clamp(2rem, 6vh, 4rem) var(--sc-gutter) 0; }
.letter-head h1 { margin: 0; font-size: clamp(4.4rem, 8.6vw, 9.5rem); }

/* The desk: print | letter | print */
.letter-desk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44rem) minmax(0, 1fr); align-items: start; padding: clamp(3rem, 6vw, 5rem) var(--sc-gutter) clamp(5rem, 9vw, 8rem); }

/* The sheet: light from above (a lighter top edge), shadow below. About 65 characters a line. */
.letter { grid-column: 2; grid-row: 1; position: relative; z-index: 1; padding: clamp(3rem, 5vw, 4.75rem) clamp(2.25rem, 5vw, 4.5rem); background: var(--paper); color: var(--paper-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 30px 60px -20px rgb(0 0 0 / 0.6), 0 8px 18px rgb(0 0 0 / 0.3); }
.letter p { margin: 0; font-size: 1.2rem; line-height: 1.75; }
.letter p + p { margin-top: 1.15em; }
.letter .sign { margin-top: 2.25rem; font-weight: 850; font-stretch: 62%; text-transform: uppercase; font-size: 3rem; line-height: 1; color: var(--accent-on-paper); }
.letter .who { margin-top: 0.6rem; font-size: var(--sc-t-sm); color: var(--paper-soft); }

/* The prints: white border, a written caption in the wider bottom margin, slightly turned */
.print { position: relative; margin: 0; padding: 0.6rem 0.6rem 2.6rem; background: #f6f2ea; box-shadow: 0 18px 36px -12px rgb(0 0 0 / 0.6); }
.print img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.print figcaption { position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.7rem; font-size: 0.8rem; color: var(--paper-soft); }
.print--a { grid-column: 1; grid-row: 1; justify-self: end; width: min(19rem, 90%); margin: 3rem -3rem 0 0; transform: rotate(-3deg); }
.print--b { grid-column: 3; grid-row: 1; align-self: end; width: min(17rem, 85%); margin: 0 0 4rem -2.5rem; transform: rotate(2.5deg); z-index: 2; }

/* The close: the one action, and the walk-in option next to it */
.letter-end { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 0 var(--sc-gutter) clamp(5rem, 9vw, 8rem); }
.letter-end p { margin: 0; color: var(--sc-ink-soft); }

/* ---- Tablet (1099px and narrower): no room beside the sheet, so one print sits on its top edge
   and the other on its bottom edge (still under and over it). ---- */
@media (max-width: 1099px) {
  .letter-desk { grid-template-columns: minmax(0, 44rem); justify-content: center; }
  .letter { grid-column: 1; grid-row: 2; }
  .print--a { grid-column: 1; grid-row: 1; justify-self: start; width: min(17rem, 46%); margin: 0 0 -3.5rem 1.5rem; }
  .print--b { grid-column: 1; grid-row: 3; justify-self: end; align-self: start; width: min(15rem, 42%); margin: -3rem 1.5rem 0 0; }
}

/* ---- Phone (640px and narrower) ---- */
@media (max-width: 640px) {
  .letter-head h1 { font-size: clamp(3.4rem, 14.5vw, 4.6rem); }
  .letter { padding: 2.5rem 1.5rem 2.25rem; }
  .letter p { font-size: 1.08rem; line-height: 1.7; }
  .letter .sign { font-size: 2.4rem; }
  .print--a { width: 54%; margin: 0 0 -2.5rem 0.5rem; }
  .print--b { width: 48%; margin: -2.25rem 0.5rem 0 0; }
  .print { padding: 0.45rem 0.45rem 2.2rem; }
  .print figcaption { bottom: 0.6rem; font-size: 0.75rem; }
}
