/* Paper/PDF layout only. The interactive screen design stays in styles.css. */
@page { margin: 12mm; }

@media print {
  :root { color-scheme: light; --gold: #765300; --text: #111; --muted: #444; --line: #bbb; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background: transparent !important;
    color: #111 !important;
    border-color: #bbb !important;
  }
  *::before, *::after { content: none !important; }
  html, body { width: auto; margin: 0; overflow: visible !important; scroll-behavior: auto; }
  body { font-size: 10pt; line-height: 1.45; }
  html.motion-ready [data-reveal] { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
  img { position: static !important; z-index: auto !important; max-width: 100% !important; opacity: 1 !important; visibility: visible !important; }
  svg { width: 7mm !important; height: 7mm !important; }
  p { font-size: 10pt !important; line-height: 1.45 !important; orphans: 3; widows: 3; }
  h1, h2, h3 { break-after: avoid; }
  figure, img, article { break-inside: avoid; }
  a { text-decoration: none; }
  .container { width: 100% !important; max-width: none !important; margin-inline: 0 !important; }
  .hero, .section, .gallery-section { position: static; margin: 0; padding: 5mm 0 !important; overflow: visible !important; break-inside: avoid; }
  .skip-link, .header-actions, .desktop-nav, .mobile-menu, .contact-overlay,
  .hero-atmosphere, .hero-crown, .hero-actions, .hero-bottom, .gold-line,
  .venue-skyline, .venue-nyc, .marquee-rule, .tower-mark, .photo-label,
  .contact-form-wrap, .text-link, .social-link-arrow, .mini-feature-icon,
  .marquee-foot span, .about-figure figcaption span { display: none !important; }

  /* One compact masthead; fixed navigation must never repeat over page content. */
  .site-header { position: static !important; border: 0; }
  .header-inner { min-height: 0; padding: 0; }
  .brand { gap: 3mm; }
  .crown { width: 12mm !important; height: 10mm !important; }
  .brand-wordmark { font-size: 18pt; line-height: .85; }
  .site-header::after { content: 'pages.lifeview.tech/officialderickgonzalez/' !important; display: block; margin-top: 2mm; font-size: 8pt; }

  /* Put photos and their captions in normal document flow, without overlays. */
  .hero { display: grid !important; grid-template-columns: 43mm minmax(0,1fr); align-items: center; gap: 7mm; min-height: 0 !important; isolation: auto; }
  .hero-photo { position: static; width: auto; height: 58mm; overflow: visible; z-index: auto; }
  .hero-photo img { width: 100%; height: 100%; object-fit: contain; }
  .hero-inner { display: block; min-height: 0 !important; padding: 0 !important; }
  .hero-copy { display: block; width: 100%; margin: 0; }
  .hero-heading { padding: 0; }
  .hero-eyebrow { display: block; margin: 0 0 3mm; font-size: 8pt; letter-spacing: .08em; white-space: normal; }
  .hero-title { font-size: 34pt; line-height: .9; }
  .hero-roles { margin: 3mm 0 0; font-size: 9pt !important; letter-spacing: .02em; white-space: normal; }
  .hero-roles span { margin-inline: 1mm; }
  .hero-description { max-width: none; margin: 3mm 0 0; }
  .section-kicker { margin: 0 0 3mm; gap: 2mm; font-size: 8pt !important; letter-spacing: .08em; }
  .section-title { font-size: 23pt; line-height: 1.05; }
  .about-grid { display: grid; grid-template-columns: minmax(0,1fr) 46mm; align-items: start; gap: 7mm; }
  .about-lead { margin: 3mm 0; font-size: 11pt !important; line-height: 1.4 !important; }
  .body-copy p { margin: 0 0 2.5mm; }
  .about-image-frame { height: auto; aspect-ratio: auto; padding: 0; border: 0; }
  .about-image-frame img { width: 100%; height: auto; object-fit: contain; }
  .about-figure figcaption { display: block; padding: 2mm 0 0; font-size: 7pt; letter-spacing: .06em; text-align: center; }

  .marquee-heading { display: block; margin: 0 0 4mm; break-after: avoid; }
  .marquee-heading h2 { margin-top: 2mm; font-size: 20pt; line-height: 1.1; letter-spacing: .05em; }
  .marquee-heading h2, .section-title em { color: #765300 !important; }
  .marquee-overline { font-size: 7pt; letter-spacing: .12em; }
  .marquee-foot { display: block; margin: 3mm 0 0; font-size: 7pt !important; letter-spacing: .06em; }
  .venues-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3mm; height: auto; margin: 0 0 4mm; mask-image: none; -webkit-mask-image: none; }
  .venue-photo { height: auto; aspect-ratio: 3 / 2; margin: 0 !important; clip-path: none !important; }
  .venue-photo img { object-fit: contain; }
  .venues-rail { grid-template-columns: repeat(6,minmax(0,1fr)); padding: 2mm 0; break-inside: avoid; }
  .venues-rail .venue { min-height: 0; padding: 2mm; gap: 0; border: 0 !important; border-right: .5pt solid #bbb !important; }
  .venues-rail .venue:last-child { border-right: 0 !important; }
  .venues-rail .venue .venue-name, .venues-rail .venue:last-child .venue-name { font-size: 13pt; line-height: 1.05; }

  .credits-rail { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 2mm 0; break-inside: avoid; }
  .credits-rail .credit-card { min-height: 0; padding: 2mm; gap: 2mm; border: 0 !important; border-right: .5pt solid #bbb !important; }
  .credits-rail .credit-card:last-child { border-right: 0 !important; }
  .credits-rail .credit-card h3 { padding: 0; font-size: 18pt; line-height: 1; }
  .credits-rail .credit-card .credit-adult { font-size: 13pt; }
  .credits-rail .credit-card p { font-size: 8pt !important; letter-spacing: 0; }
  .credits-stage { margin-top: 3mm; }
  .credits-stage-heading { margin: 0 0 3mm; font-size: 9pt; letter-spacing: .12em; }
  .credits-stage-heading::before, .credits-stage-heading::after { content: '' !important; border-top: .5pt solid #aaa; }
  .credits-photos { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3mm; }
  .credit-photo img { object-fit: contain; }

  .projects-layout { grid-template-columns: 50mm minmax(0,1fr); gap: 5mm; }
  .projects-layout .projects-grid { grid-template-rows: repeat(3,auto); align-content: start; gap: 3mm; }
  .projects-layout .project-card { border: .5pt solid #bbb; border-radius: 0; }
  .projects-layout .project-feature { display: block; min-height: 0; height: auto; aspect-ratio: auto; padding: 2mm; isolation: auto; }
  .project-feature > img { width: 100%; height: 65mm; object-fit: contain; }
  .project-feature-copy { padding-top: 2mm; }
  .projects-layout .project-feature h3 { font-size: 15pt; line-height: 1.05; }
  .projects-layout .project-feature h3 em { font-size: 20pt; }
  .projects-layout .project-feature p { margin-top: 2mm; font-size: 8.5pt !important; }
  .projects-layout .project-row { grid-template-columns: 8mm minmax(0,1fr); min-height: 0; padding: 3mm; gap: 3mm; }
  .projects-layout .project-row .project-icon { width: 8mm; height: 8mm; padding: 0; border: 0; }
  .projects-layout .project-row .project-icon svg { width: 8mm !important; height: 8mm !important; }
  .projects-layout .project-row h3 { font-size: 13pt; }
  .projects-layout .project-row p { margin-top: 2mm; font-size: 9pt !important; }

  .media-layout { grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 5mm; }
  .media-layout .media-rail { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,auto); padding: 0; gap: 3mm; break-inside: avoid; }
  .media-layout .media-item { min-height: 0; padding: 3mm; gap: 2mm; border: .5pt solid #bbb; border-radius: 0; }
  .media-item-number { display: none; }
  .media-layout .media-symbol { height: 7mm; margin: 0; }
  .media-layout .media-item h3 { font-size: 15pt; line-height: 1; }
  .media-layout .media-item p { margin: 0; font-size: 8pt !important; letter-spacing: .02em; }
  .media-photo { display: block; min-height: 0; height: auto; padding: 0; border: 0; isolation: auto; }
  .media-photo > img { width: 100%; height: 68mm; object-fit: contain; }
  .media-photo figcaption { padding-top: 2mm; }
  .media-photo-kicker { font-size: 7pt; }
  .media-photo-title { margin-top: 2mm; font-size: 15pt; line-height: 1.05; }
  .media-photo figcaption p { margin-top: 2mm; font-size: 8pt !important; letter-spacing: .04em; }
  .more-grid { grid-template-columns: 46mm minmax(0,1fr); align-items: start; gap: 7mm; }
  .more-visual { width: 100%; max-width: none; height: 65mm; border: 0; }
  .more-visual img { width: 100%; height: 100%; object-fit: contain; }
  .more-copy h2 { font-size: 23pt; line-height: 1.05; }
  .more-body > p:not(.section-kicker) { margin-top: 3mm; max-width: none; }
  .feature-divider { margin: 3mm 0; }
  .mini-feature { margin-bottom: 3mm; }
  .mini-feature h3 { margin: 0 0 1mm; font-size: 11pt; }
  .mini-feature p { font-size: 9pt !important; }

  /* Keep both gallery rows visible without clipping or animation on paper. */
  .gallery-header { display:block; margin-bottom:4mm; }
  .gallery-header p { margin:2mm 0 0; }
  .gallery-rows { display:grid; gap:3mm; }
  .gallery-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); aspect-ratio:auto; height:30mm; padding:0; gap:3mm; break-inside:avoid; }
  .gallery-row-secondary { grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; margin:0; height:26mm; }
  .strip-photo { display:block; height:100%; margin:0; clip-path:none; }
  .strip-photo img { width:100%; height:100%; object-fit:contain; }

  .contact-section { break-after: avoid; }
  .contact-grid { display: block; }
  .contact-title { display: flex; gap: .25em; margin: 0; font-size: 22pt; line-height: 1.05; }
  .contact-title br { display: none; }
  .contact-copy > p:not(.section-kicker) { max-width: none; margin: 3mm 0; }
  .social-links { display: flex; flex-wrap: wrap; max-width: none; gap: 6mm; }
  .social-links a { display: block; min-height: 0; padding: 0; border: 0; }
  .social-links .social-icon { display: none; }
  .social-links strong { font-size: 8pt; }
  .social-links small { margin-top: 1mm; font-size: 9pt; }
  .social-links a::after { content: attr(href) !important; display: block; margin-top: 1mm; font-size: 8pt; overflow-wrap: anywhere; }
  .site-footer { break-inside: avoid; padding: 3mm 0 0 !important; border-top: .5pt solid #bbb; }
  .footer-inner { min-height: 0; padding: 0; gap: 4mm; font-size: 7pt; letter-spacing: .04em; }
}


@media print {
  .more-section { break-inside: auto; }
  .more-rows { gap: 6mm; }
  .more-rows .more-grid { grid-template-columns: 46mm minmax(0,1fr); break-inside: avoid; gap: 7mm; }
  .more-rows .more-grid-secondary { grid-template-columns: minmax(0,1fr) 46mm; padding-top: 5mm; }
  .more-grid-secondary .more-visual { order: initial; }
  .more-rows .more-visual { height: 65mm; max-width: none; }
  .more-project-title { font-size: 23pt; }
  .more-rows .mini-feature h4 { font-size: 11pt; margin-bottom: 1mm; }
  .credit-detail { font-size: 7pt; margin-top: 1mm; }
  .media-listen { display: none; }
}

/* Version 2 paper layout: three deliberate groups on Letter and A4.
   Keep these rules scoped to print so viewport layouts and motion are untouched. */
@media print {
  @page { margin: 12mm; }
  body { font-size: 9.5pt; line-height: 1.45; }
  p { font-size: 9.5pt !important; line-height: 1.45 !important; }
  h1, h2, h3, h4, p, figure { margin-block-start: 0; }
  .hero, .section, .gallery-section { padding: 4mm 0 !important; }
  .section-kicker { font-size: 7.5pt !important; letter-spacing: .09em; margin-bottom: 2.5mm; }
  .section-title, .more-copy h2, .more-project-title { font-size: 22pt; line-height: 1 !important; letter-spacing: 0; }
  .section-title em, .contact-title em { color: #765300 !important; }
  .section-title em { margin-inline: .08em; }
  .marquee-heading { margin-bottom: 3mm; }
  .marquee-heading h2 { font-size: 19pt; letter-spacing: .035em; line-height: 1.1; margin: 2mm 0 0; }
  .marquee-overline { font-size: 6.5pt; letter-spacing: .12em; }
  .mobile-caption-break { display: none !important; }

  /* Identity, biography and venues stay together on the opening page. */
  .site-header { padding-bottom: 3mm; border-bottom: .6pt solid #bbb; }
  .header-inner { justify-content: flex-start; }
  .brand-wordmark { font-size: 17pt; }
  .site-header::after { font-size: 7pt; letter-spacing: .02em; margin-top: 2mm; }
  .hero { grid-template-columns: 37mm minmax(0,1fr); gap: 6mm; padding-block: 5mm !important; }
  .hero-photo { height: 52mm; overflow: hidden; }
  .hero-photo img { height: 52mm; object-fit: cover; object-position: center top; }
  .hero-title { font-size: 34pt; line-height: .9; }
  .hero-eyebrow { font-size: 7.5pt; margin-bottom: 3mm; }
  .hero-roles { font-size: 9pt !important; line-height: 1.4 !important; letter-spacing: .05em; }
  .hero-description { margin-top: 3mm; }
  .about-section { border-top: .6pt solid #bbb; }
  .about-grid { grid-template-columns: minmax(0,1fr) 43mm; gap: 6mm; }
  .about-lead { font-size: 10pt !important; margin: 3mm 0; }
  .body-copy p { margin-bottom: 2.5mm; }
  .about-figure { margin: 0; align-self: start; }
  .about-image-frame { height: 47mm; overflow: hidden; }
  .about-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
  .about-figure figcaption { font-size: 6.5pt; line-height: 1.4; }
  .venues-section { padding-top: 5mm !important; }
  .venues-photos { height: 32mm; margin-bottom: 3mm; }
  .venue-photo { height: 32mm; aspect-ratio: auto; }
  .venue-photo img { height: 100%; object-fit: cover; }
  .venues-rail { padding-block: 1.5mm; }
  .venues-rail .venue { padding: 1.5mm 2mm; }
  .venues-rail .venue .venue-name, .venues-rail .venue:last-child .venue-name { font-size: 11pt; }
  .marquee-foot { font-size: 6pt !important; margin-top: 2mm; }

  /* Credits and experience form the second page, with larger useful photos. */
  .credits-section, .media-section { break-before: page; page-break-before: always; }
  .more-rows { gap: 5mm; }
  .more-rows .more-grid { grid-template-columns: 45mm minmax(0,1fr); gap: 6mm; align-items: center; }
  .more-rows .more-visual { height: auto; margin: 0; overflow: visible; }
  .more-rows .more-visual-boombox img { width: 100%; height: 64mm; object-fit: cover; object-position: 50% 22%; }
  .more-rows .more-grid-secondary { grid-template-columns: minmax(0,1fr) 75mm; padding-top: 5mm; gap: 6mm; }
  .more-rows .more-visual-brown-sugar img { width: 100%; height: auto; object-fit: contain; }
  .more-rows .photo-label { position: static !important; display: block !important; padding: 2mm 0 0; font-size: 6.5pt; letter-spacing: .08em; text-align: center; }
  .more-body > p:not(.section-kicker) { margin-top: 3mm; }
  .feature-divider { margin-block: 3mm; }
  .more-rows .mini-feature { display: block; margin: 0; }
  .more-rows .mini-feature h4 { font-size: 10pt; }
  .more-rows .mini-feature p { font-size: 9pt !important; }
  .credits-section { margin-top: 4mm; padding-top: 5mm !important; border-top: .6pt solid #bbb; }
  .credits-rail .credit-card { padding: 2mm 2.5mm; gap: 2mm; }
  .credits-rail .credit-card h3 { font-size: 17pt; }
  .credits-rail .credit-card .credit-adult { font-size: 12.5pt; }
  .credits-rail .credit-card p { font-size: 7.5pt !important; line-height: 1.4 !important; }
  .credit-detail { font-size: 6.5pt; }
  .credit-detail [aria-hidden] { display: none; }
  .credits-stage { margin-top: 4mm; }
  .credits-photos { gap: 2.5mm; }
  .credit-photo { height: 32mm; aspect-ratio: auto; }
  .credit-photo img { width: 100%; height: 100%; object-fit: cover; }

  /* A compact media panel leaves space for legible, evenly sized gallery photos. */
  .media-layout { grid-template-columns: minmax(0,1fr) 44mm; gap: 6mm; align-items: start; }
  .media-layout .media-rail { grid-template-rows: repeat(2,28mm); gap: 2.5mm; }
  .media-layout .media-item { display: grid; grid-template-columns: 7mm minmax(0,1fr); align-content: center; align-items: center; column-gap: 2mm; row-gap: 2mm; padding: 3mm; }
  .media-layout .media-symbol { grid-column: 1; grid-row: 1; height: 7mm; margin: 0; }
  .media-layout .media-symbol svg { width: 6mm !important; height: 6mm !important; }
  .media-layout .media-item h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 15pt; }
  .media-layout .media-item p { grid-column: 2; margin: 0; font-size: 7pt !important; }
  .media-photo { border: 0; }
  .media-photo > img { height: 60mm; width: 100%; object-fit: cover; object-position: 50% 45%; }
  .media-photo figcaption { display: none; }
  .gallery-section { margin-top: 2mm; border-top: .6pt solid #bbb; }
  .gallery-header { margin-bottom: 3mm; }
  .gallery-header p { margin: 2mm 0 0; }
  .gallery-header .section-kicker { display: none; }
  .gallery-header .section-title { font-size: 21pt; margin-bottom: 2mm; }
  .gallery-header > p:last-child { font-size: 8pt !important; }
  .gallery-rows { gap: 3mm; }
  .gallery-row { height: 41mm; gap: 2.5mm; }
  .strip-photo { width: 100%; margin: 0; }
  .strip-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, center); }
  .gallery-row-secondary { width: 40%; height: 37mm; margin-inline: auto; gap: 2.5mm; }

  /* Paper needs a clear way back to booking, rather than an empty form. */
  .contact-section { margin-top: 2mm; padding-top: 3mm !important; border-top: .6pt solid #bbb; }
  .contact-copy > .section-kicker { display: none; }
  .contact-title { display: block; font-size: 20pt; word-spacing: .1em; }
  .contact-title br { display: none; }
  .contact-title em { margin-left: .18em; }
  .contact-copy > p:not(.section-kicker) { margin: 2mm 0; font-size: 8pt !important; }
  .social-links { gap: 7mm; }
  .social-links a { border: 0; }
  .social-links strong { font-size: 7pt; letter-spacing: .1em; }
  .social-links small { font-size: 8pt; margin-top: 1mm; }
  .social-links a::after { display: none; }
  .print-booking-link { display: block !important; margin: 0 0 2.5mm; font-size: 8pt; overflow-wrap: anywhere; }
  .print-booking-link strong { font-size: 7pt; letter-spacing: .08em; }
  .print-booking-link a { text-decoration: underline; text-underline-offset: 2px; }
  .site-footer { margin-top: 2mm; padding-top: 2mm !important; }
  .footer-inner { font-size: 6pt; letter-spacing: .02em; }
}
