/* Hot Off the Press: the page reads like one long newspaper. The header is a front page (hero.html); every
   section is a story under a heavy rule instead of a boxed card; nothing tilts. Phones read one column; from
   900px the stories sit side by side in ruled columns, like a broadsheet. Colors and fonts come from vars.css. */

/* ---------- front page ---------- */
.press-front{max-width:calc(1180px + 2 * max(18px, env(safe-area-inset-left,0px) + 12px)); margin:0 auto; padding:14px max(18px, env(safe-area-inset-right,0px) + 12px) 0 max(18px, env(safe-area-inset-left,0px) + 12px); color:var(--ink)}
.press-ear{display:flex; justify-content:space-between; gap:10px; font:600 10px/1.3 var(--f-caps); letter-spacing:.1em; text-transform:uppercase; border-bottom:1px solid var(--ink); padding-bottom:6px}
.press-mast{margin:0; padding:12px 0 8px; text-align:center; font:400 min(9.4vw, 112px)/1 var(--f-script); letter-spacing:-.01em; white-space:nowrap}
.press-dateline{display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px 10px; font:500 12px/1.3 var(--f-caps); letter-spacing:.06em; text-transform:uppercase;
  border-top:3px double var(--ink); border-bottom:1px solid var(--ink); padding:6px 0 5px}
.press-dateline span:last-child{margin-left:auto; text-align:right}   /* on a narrow phone the place drops under the date, still on the right */
.press-title{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
.press-lead{padding:20px 0 4px; text-align:center}
.press-head{font:400 clamp(30px, 8.6vw, 64px)/1.06 var(--f-script); margin:0 auto 10px; max-width:16ch}
.press-deck{font:italic 400 clamp(17px, 4.4vw, 22px)/1.35 var(--f-body); color:var(--soft); margin:0 auto 10px; max-width:40ch; text-wrap:balance}
.press-byline{font:600 12px/1.3 var(--f-caps); letter-spacing:.12em; text-transform:uppercase; color:var(--soft); margin:0 0 16px}
.press-photo{margin:0 auto; max-width:760px; text-align:left}
.press-print{display:block; border:1px solid var(--ink); padding:4px; background:var(--paper)}
.press-print img{display:block; width:100%; aspect-ratio:3 / 2; object-fit:cover; filter:grayscale(1) contrast(1.08)}
.press-photo figcaption{font:italic 13px/1.4 var(--f-body); color:var(--soft); padding:6px 0 0}

/* ---------- the page: no borders at the edges, a wider column ---------- */
.stripes{display:none}
main{padding-left:max(18px, env(safe-area-inset-left,0px) + 12px); padding-right:max(18px, env(safe-area-inset-right,0px) + 12px)}
.col{max-width:1180px}

/* ---------- every section is a story under a heavy rule ---------- */
section{padding-block:28px 6px}
.card{padding:14px 0 6px; text-align:left; border-top:3px solid var(--ink)}
.card::before{display:none}
.sec-title{font:400 clamp(30px, 8vw, 40px)/1.08 var(--f-script); margin:2px 0 8px}
.lede{max-width:none; margin:0 0 18px; color:var(--ink); font-size:18px; line-height:1.55}
.card > .caps:first-child{color:var(--accent); font-size:11px; letter-spacing:.16em; margin:0 0 2px}
.btns{justify-content:flex-start}
.btn{border-radius:0; font-size:12.5px; letter-spacing:.14em}
.btn.solid{min-width:0}
.field, .lbl{text-align:left}
input[type=text], input[type=date], select, textarea{border-radius:0; background:rgba(var(--card-rgb),.7)}
.chip, .seg, .prompt, .heart, .rsvp-pick, .maps-pick, .toast{border-radius:0}
#rsvp form, .rsvp-got, .maps-pick, .wx, .link-btn{margin-left:0; margin-right:0}
.prompts{justify-content:flex-start}
/* story photos (theme.json pieces): the column's width, above the headline, like a paper's */
.piece, .piece.l{width:100%; max-width:560px; margin:0 0 12px}
.piece.at-end{margin-top:16px}
.log, .log::before, .yourpart li a{border-radius:0}

/* the invitation is the lead story's facts box, under the front page */
.invite{text-align:left; padding-top:18px}
.invite .who-for{color:var(--accent); font-size:12px; letter-spacing:.14em}
.honoree{font:400 clamp(30px, 8vw, 40px)/1.1 var(--f-script); margin:4px 0 8px}
.invite .rule{display:none}
.log{margin:18px 0 0; max-width:none; background:transparent; border:0; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); padding:10px 0}
.log::before{display:none}
.log-h{justify-content:flex-start}
.log-rule{display:none}
.count{margin:6px 0 4px; max-width:420px}
.count div{border-left:1px solid rgba(var(--ink-rgb),.3)}
.yourpart{justify-content:flex-start; margin:16px 0 0; max-width:none}
.yourpart li a{border-style:solid}

/* letters to the editor: straight, ruled, no tape */
.note{--tilt:0deg !important; --nudge:0px !important; --w:100% !important; --ml:0 !important; box-shadow:none; border-radius:0; border:0; border-top:1px solid var(--ink); background:transparent}
.note::after{display:none}

/* ---------- broadsheet columns from 900px ---------- */
@media (min-width:900px){
  .press-lead{display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); gap:0 32px; text-align:left; align-items:start}
  .press-head, .press-deck{margin-left:0; max-width:none}
  .press-photo{grid-column:2; grid-row:1 / span 3; margin:0}
  .col{display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:0 32px; align-items:start}
  .col > section{grid-column:span 3}
  .col > #arrival{grid-column:1 / -1}
}
/* the big screen: a letter landing over the front page comes in on its own clipping of newsprint */
#tv .tv-arrive .note{padding:18px 26px 20px; background:var(--card) url(../art/paper.jpg) repeat; background-size:520px;
  box-shadow:0 22px 50px -24px rgba(var(--shadow-rgb),.6)}
