/* The printed programme shares its paper, ink and type with the guest activities. */
:root {
  --paper: #faf4e6;
  --ink: #243f35;
  --rose: #b3474f;
  --rule: #cfc6b1;
  --display: "Bookman Old Style", "Iowan Old Style", Georgia, serif;
  --sans: "Trebuchet MS", system-ui, sans-serif;
  --hand: "Segoe Print", "Comic Sans MS", cursive;
}
body { padding-right: 0; background-color: var(--paper); color: var(--ink); font-family: var(--sans); }
.header, .hero, .arcade-section { width: min(1180px, 90%); margin-inline: auto; }
.header {
  position: sticky; top: 0; z-index: 5; width: 100%; max-width: none; padding: 15px max(5%,calc((100% - 1180px)/2));
  background: var(--paper);
  border-bottom: 1px solid var(--rule); justify-content: flex-start; gap: 32px;
}
html { scroll-padding-top: 90px; }
.programme-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: bold 20px/1.1 var(--display); letter-spacing: -.8px; }
.brand-stamp {
  display: grid; place-items: center; width: 47px; height: 43px; background: var(--ink); color: var(--paper);
  font: bold italic 25px/1 Georgia, serif; letter-spacing: -3px; padding-right: 3px; transform: rotate(-7deg);
  clip-path: polygon(50% 0,59% 7%,70% 3%,75% 13%,87% 13%,88% 24%,98% 30%,95% 41%,100% 50%,94% 60%,98% 70%,87% 75%,87% 87%,76% 88%,70% 98%,60% 94%,50% 100%,40% 94%,30% 98%,24% 88%,13% 87%,12% 76%,2% 70%,6% 60%,0 50%,6% 40%,2% 30%,12% 24%,13% 13%,24% 12%,30% 2%,41% 7%);
}
.header nav { margin-left: auto; gap: clamp(15px,2.8vw,38px); font: 700 14px/1.3 var(--sans); }
.header nav a:hover, #guide-nav summary:hover { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
#guide-nav { position: relative; }
#guide-nav summary { cursor: pointer; list-style: none; }
#guide-nav summary::-webkit-details-marker { display: none; }
#guide-nav summary::after { content: "⌄"; margin-left: 6px; }
.guide-links { position: absolute; top: calc(100% + 12px); right: -6px; width: 215px; background: #fffaf0; padding: 8px; border: 1px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); z-index: 5; }
.guide-links a { display: block; padding: 9px 12px; }
.guide-links a:hover { background: #eee9d7; }
.header .nav-rsvp, .arcade-jump {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none;
  background: #234738; color: #fffbed; padding: 10px 20px; border: 1px solid #213c31; border-radius: 5px;
  box-shadow: 2px 3px 0 #aaa68b; font: 700 14px/1.4 var(--sans); transform: none;
}
.header .nav-rsvp:hover, .arcade-jump:hover { background: #345b47; }
.hero { padding: 37px 0 35px; grid-template-columns: .92fr 1.08fr; gap: clamp(24px,5vw,80px); max-width: none; }
.hero .eyebrow, .section .eyebrow, .guest-file .section-heading .eyebrow {
  font: 800 11px/1.5 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: #754548;
}
.invitation-label { margin: 0 0 13px; display: flex; align-items: center; gap: 11px; }
.invitation-label::before { content: ""; width: 32px; border-top: 2px solid var(--rose); }
.hero h1 { width: fit-content; position: relative; margin: 0; color: var(--ink); font: 900 clamp(72px,7.8vw,117px)/.85 var(--display); letter-spacing: -.085em; filter: none; }
.hero h1 .name { color: var(--ink); transform: none; }
.hero h1 .amp { color: var(--rose); font: italic .65em/.85 Georgia, serif; transform: rotate(-7deg); margin-left: 1px; }
.hero h1 .jade { margin-left: 0; }
.heart-sketch { display: inline-block; margin-left: .25em; vertical-align: .16em; color: var(--rose); transform: rotate(16deg); font: 500 .50em/1 var(--hand); }
.hero .marrying { display: table; margin: 10px 0 9px; font: 700 clamp(23px,2.2vw,32px)/1.35 var(--hand); color: var(--rose); transform: rotate(-3deg); }
.hero-description { margin: 16px 0 20px; max-width: 445px; color: #4e584c; font: 16px/1.55 var(--sans); }
.hero-links { gap: 20px; margin: 0; justify-content: flex-start; }
.hero-links a:not(.arcade-jump) { font: 700 14px/1.4 var(--sans); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-links .arcade-jump { padding: 12px 18px; }
#hero-bird { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; background: #fff6df; color: var(--ink); border: 1px solid #6a7967; border-radius: 5px; box-shadow: 2px 3px 0 #c7bea3; font: 700 14px/1.4 var(--sans); }
#hero-bird span { color: var(--rose); font-size: 12px; }
#hero-bird:hover { background: #f5e9ca; }
.arcade-jump span { color: #f4c458; font-size: 18px; line-height: 1; }
.hero-art {
  width: 96%; margin: 4px auto; padding: 11px 11px 4px; border: 1px solid #c5bda9; background: #fffdf3;
  box-shadow: 3px 6px 0 #b3a68d4a, 0 7px 20px #79643512; transform: rotate(2deg);
}
.hero-art .couple-button { border-radius: 0; box-shadow: none; }
.hero-art .couple-button img { aspect-ratio: 1.68; min-height: 0; width: 100%; height: auto; object-fit: cover; object-position: center 53%; }
.hero-art .budget-sticker { right: -15px; top: -18px; font: 800 17px/1.04 var(--sans); border: 1px dashed #917536; outline: 4px solid #f4cf66; background: #f4cf66; color: #4c4024; box-shadow: none; padding: 12px 10px; }
.budget-sticker strong { font-size: 12px; } .budget-sticker small { margin-top: 3px; }
.hero-art .tape-one { left: 13%; width: 90px; height: 23px; background: repeating-linear-gradient(90deg,#dfcb9299 0 3px,#e5d39f99 3px 6px); }
.photo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 5px 6px; }
.photo-foot .art-caption { margin: 0; font: bold clamp(13px,1.2vw,19px)/1.45 var(--hand); }
.photo-foot .squish-note { font: 12px/1.2 var(--hand); margin: 0; color: #75565a; }
.crayon-band { min-height: 40px; gap: clamp(20px,4vw,60px); padding: 8px 18px; background: #264b3c; clip-path: none; font: 700 10px/1.45 var(--sans); text-transform: uppercase; }
.crayon-band b { font-size: 16px; line-height: 1; }
.section:not(.arcade-section) { max-width: 1180px; padding: clamp(45px,6vw,80px) 3%; }
.section-heading h2, .section h2, .guest-file h2, .closing h2 { font: 800 clamp(33px,3.8vw,55px)/1.03 var(--display); letter-spacing: -.066em; color: var(--ink); }
.section-heading h2 span, .section h2 span, .guest-file h2 span { font-style: italic; color: var(--rose); }
.section-heading>p:last-child { margin-inline: auto; }
.guest-table { border-block: 1px solid var(--rule); }
.guest-portraits { gap: 12px; }
.guest-portraits button { font: 700 13px/1.35 var(--sans); }
.look-card h3, .paper-card h3, .order-slip h3, .cinema-lobby h3, #report-entries h3, .dress-fitting h3 { font-family: var(--display); letter-spacing: -.045em; }
.look-card { box-shadow: 2px 3px 0 #d8cfb8; }
.cinema-lobby { max-width: 1020px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.cinema-lobby > div { padding: 16px 20px; background: #f9f4e4; border-top: 3px solid #415f47; }
.cinema-lobby h3 { margin: 0; font-size: 23px; }
.cinema-lobby p { margin: 3px 0 10px; font: 14px/1.5 var(--sans); }
.cinema-lobby .replay-bird { margin: 4px 0; font: bold 14px/1.5 var(--sans); }
.cinema-lobby .clown-dock { margin: 0; justify-content: flex-start; }
.guest-file .clip-rail { position: relative; inset: auto; transform: none; width: fit-content; margin: 18px auto; z-index: 1; }
.guest-file .clip-toggle { display: block; float: none; background: #fff9e8; border: 1px solid var(--ink); border-radius: 4px; padding: 7px 14px; color: var(--ink); font: bold 13px/1.45 var(--sans); margin: auto; }
.guest-file .clip-stack { display: none; }
.guest-file .clip-rail.expanded .clip-stack { display: flex; position: static; gap: 8px; width: auto; margin-top: 8px; }
.guest-file .clip-tab { width: 80px; }
.guest-file #inspection-start { display: block; margin-inline: auto; }
@media(max-width: 900px) {
  .hero { gap: 20px; }
  .header { gap: 18px; }
  .guest-portraits { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media(max-width: 760px) {
  .header { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 10px 5% 0; }
  .programme-brand { font-size: 18px; gap: 8px; }
  .brand-stamp { width: 37px; height: 35px; font-size: 20px; }
  .header .nav-rsvp { padding: 6px 12px; grid-column: 2; grid-row: 1; }
  .header nav { display: flex; width: 100%; order: 0; flex-wrap: nowrap; grid-column: 1/-1; justify-content: space-between; padding: 6px 2px 10px; }
  .hero { display: grid; grid-template-columns: 1fr; padding: 27px 0 24px; gap: 24px; text-align: left; }
  .hero-copy { text-align: left; } .hero h1 { font-size: clamp(65px,12vw,90px); }
  .hero h1 br { display: none; } .hero h1 .amp { margin: 0 .16em 0 .04em; }
  .hero h1 .heart-sketch { display: none; }
  .hero .marrying { margin: 7px 0 10px; } .hero-description { margin: 12px 0 15px; }
  .hero-art { width: min(94%,480px); max-width: none; margin: 0 auto; }
  .hero-art .budget-sticker { right: -4px; }
  .hero-links { justify-content: flex-start; }
  .hero-links { display: grid; grid-template-columns: repeat(2,minmax(0,max-content)); gap: 12px 9px; align-items: stretch; }
  .hero-links a[href="#masterplan"] { grid-column: 1/-1; justify-self: start; }
  .hero-links .arcade-jump, #hero-bird { font-size: clamp(12px,3.2vw,14px); padding: 10px 12px; gap: 6px; }
  .crayon-band { flex-direction: row; flex-wrap: wrap; min-height: auto; gap: 4px 14px; padding: 10px; font-size: 9px; }
  .crayon-band b { display: none; } .crayon-band span:last-child { width: 100%; text-align: center; color: #f2d897; }
  .section:not(.arcade-section) { padding-inline: 5%; } .cinema-lobby { grid-template-columns: 1fr; }
  html { scroll-padding-top: 108px; }
}
@media(max-width: 365px) { .hero h1 { font-size: 54px; } .hero .eyebrow { letter-spacing: .12em; } }
@media(max-width: 760px) {
  .header { gap: 0; padding-top: 6px; }
  .programme-brand { min-height: 44px; font-size: clamp(15px,4.2vw,18px); }
  .brand-stamp { flex-shrink: 0; }
  .header .nav-rsvp { min-height: 44px; align-items: center; }
  .header nav { padding: 0; }
  .header nav>a, #guide-nav summary { display: flex; align-items: center; min-height: 44px; }
  .guide-links { top: calc(100% + 2px); right: 0; max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .guide-links a { min-height: 44px; display: flex; align-items: center; }
  .photo-foot { gap: 12px; align-items: baseline; }
  .photo-foot .art-caption { text-align: left; text-wrap: pretty; }
  .photo-foot .squish-note { flex: 0 0 auto; }
  #rsvp-form #guest { font-size: 16px; }
  .look-filters button, .look-card button, .food-answer, .exam-choice { min-height: 44px; }
  .section-heading h2, .arcade-heading h2 { text-wrap: balance; }
}
@media(max-height: 480px) and (orientation: landscape) {
  .header { position: relative; } html { scroll-padding-top: 12px; }
}
@media print { #wedding-report.section { padding: 0; max-width: none; } #wedding-report .report-paper { background: white; } }
