/* P5 Batch 1 industry pages */
.industry-page main p a:not(.btn), .industry-page main li a:not(.btn):not(.text-link), .industry-page main dd a:not(.btn), .industry-page main td a:not(.btn), .industry-page .beauty-format-specs a, .industry-page .education-track-meta a, .industry-page .education-handoff-bar a:not(.btn), .industry-page .fashion-ratio-item a, .industry-page .proof-note a, .industry-page .industry-card-links a, .industry-page .project-detail-link { display: inline-flex; align-items: center; min-height: 26px; padding-block: .18rem; text-decoration: underline; text-underline-offset: .2em; }
.industry-page .video-category { font-size: .75rem; }
.industry-hero-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; padding: 1rem; background: #17121e; border: 1px solid var(--line-dark); }
.industry-hero-pair img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1138; object-fit: cover; background: #0c0a10; }
.market-logo-card--dark { background: #141019; border-color: rgba(20, 16, 25, .28); }
.industry-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.industry-card-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; }
.industry-card-links a { color: #d6c5f7; }
.beauty-format-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.beauty-format-card { padding: 1.4rem; background: var(--paper); border: 1px solid var(--line-dark); border-top: 3px solid var(--accent); color: var(--ink); }
.beauty-format-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .65rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line-dark); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-deep); }
.beauty-format-card h3 { margin: 0 0 .5rem; font-size: 1.35rem; line-height: 1.2; }
.beauty-format-card p { margin: 0 0 .85rem; font-size: .9rem; line-height: 1.58; color: #4a434e; }
.beauty-format-specs { margin: 0; padding: .75rem 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: .4rem; font-size: .82rem; color: #4a434e; }
.beauty-format-specs strong { color: var(--ink); }
.education-intake-planner { margin-top: 2rem; border-top: 2px solid var(--ink); background: #e8e2d7; padding: 1.5rem; color: var(--ink); }
.education-track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.25rem; }
.education-track-card { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: space-between; }
.education-track-tag { display: inline-block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.education-track-card h3 { margin: 0 0 .5rem; font-size: 1.3rem; line-height: 1.22; }
.education-track-card p { margin: 0 0 .85rem; font-size: .88rem; line-height: 1.56; color: #4a434e; }
.education-track-meta { padding-top: .75rem; border-top: 1px solid var(--line-dark); font-size: .8rem; line-height: 1.5; color: #4a434e; }
.education-handoff-bar { margin-top: 1.25rem; padding: 1rem 1.2rem; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; font-size: .88rem; }
.education-handoff-bar a:not(.btn) { color: var(--accent-soft); }
.fashion-atelier-stage { display: grid; grid-template-columns: 1.08fr .92fr; gap: 1.5rem; margin-top: 2rem; align-items: stretch; }
.fashion-phenix-board { padding: 1.5rem; background: #0c0a10; border: 1px solid var(--line); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; }
.fashion-phenix-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: .85rem; margin: 1rem 0; align-items: stretch; }
.fashion-phenix-primary { margin: 0; padding: 1rem; background: #000; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; }
.fashion-phenix-primary img { width: 100%; max-width: 15rem; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.fashion-phenix-variants { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.fashion-phenix-swatch { margin: 0; padding: .65rem; height: 5.2rem; background: #000; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; }
.fashion-phenix-swatch--light { background: #fff; border-color: var(--line-dark); }
.fashion-phenix-swatch img { width: 100%; height: 3.6rem; object-fit: contain; }
.fashion-garment-ledger { padding: 1.5rem; background: #e8e2d7; border-top: 2px solid var(--ink); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.fashion-ratio-notes { display: grid; gap: .75rem; margin: 1rem 0; }
.fashion-ratio-item { padding: .85rem 1rem; background: var(--paper); border: 1px solid var(--line-dark); font-size: .86rem; line-height: 1.52; color: #4a434e; }
.fashion-ratio-item strong { display: block; margin-bottom: .2rem; color: var(--ink); font-size: .92rem; }
.industry-food-promo-band { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem; background: #141019; border: 1px solid var(--line); color: var(--paper); align-items: center; }
.industry-food-promo-copy h3 { margin: .35rem 0 .6rem; color: var(--paper); font-size: 1.4rem; line-height: 1.2; }
.industry-food-promo-copy p { color: #d7d0df; font-size: .92rem; line-height: 1.6; }
.industry-food-promo-copy a:not(.btn) { color: var(--accent-soft); }
.industry-video-grid--single { grid-template-columns: minmax(0, 22rem); justify-content: end; }
.industry-anatomy-table-wrap { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--line); background: #141019; }
.industry-spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.5; color: #e6dfee; text-align: left; }
.industry-spec-table caption { padding: .85rem 1.1rem; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-soft); background: #0c0a10; border-bottom: 1px solid var(--line); text-align: left; }
.industry-spec-table th, .industry-spec-table td { padding: .85rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.industry-spec-table thead th { font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-soft); background: rgba(255, 255, 255, .03); }
.industry-spec-table tbody th { color: var(--paper); font-weight: 600; width: 20%; }
.industry-editorial-note { margin-top: 1.25rem; padding: 1rem 1.2rem; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--accent); font-size: .86rem; line-height: 1.58; color: #d7d0df; }
.industry-editorial-note a { color: var(--accent-soft); }
.gadget-beat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.75rem; }
.gadget-beat-card { padding: 1.35rem; background: var(--paper); border: 1px solid var(--line-dark); border-top: 3px solid var(--accent); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.gadget-beat-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: .55rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-dark); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-deep); }
.gadget-beat-card h3 { margin: 0 0 .45rem; font-size: 1.28rem; line-height: 1.2; }
.gadget-beat-card p { margin: 0 0 .75rem; font-size: .88rem; line-height: 1.55; color: #4a434e; }
.gadget-beat-example { margin: 0; padding-top: .7rem; border-top: 1px solid var(--line-dark); font-size: .82rem; color: #4a434e; }
.gadget-beat-example strong { color: var(--ink); }
.gadget-glostar-feature { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem; background: #141019; border: 1px solid var(--line); color: var(--paper); align-items: center; }
.gadget-glostar-poster { margin: 0; }
.gadget-glostar-poster img { display: block; width: 100%; max-width: 14rem; height: auto; aspect-ratio: 480 / 852; border: 1px solid rgba(255, 255, 255, .14); }
.gadget-glostar-poster figcaption { margin-top: .45rem; font-size: .76rem; color: #b9afc6; }
.gadget-glostar-copy h3 { margin: .3rem 0 .6rem; font-size: 1.4rem; line-height: 1.2; color: var(--paper); }
.gadget-glostar-copy p { color: #d7d0df; font-size: .92rem; line-height: 1.6; }
.gadget-glostar-copy a:not(.btn) { color: var(--accent-soft); }

@media (max-width: 920px) {
  .industry-video-grid, .beauty-format-matrix, .education-track-grid, .gadget-beat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fashion-atelier-stage, .industry-food-promo-band, .industry-video-grid--single, .gadget-glostar-feature { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .industry-page .page-hero { padding: 4.4rem 0 .85rem; }
  .industry-page .section, .industry-page .cta-band { padding: 1.15rem 0; }
  .industry-page .content-grid, .industry-page .service-hero-grid, .industry-page .cta-inner { gap: .7rem; }
  .industry-page .section-head { margin-bottom: .65rem; gap: .4rem; }
  .industry-page .eyebrow { margin-bottom: .2rem; font-size: .75rem; }
  .industry-page .content-grid h2, .industry-page .section-head h2, .industry-page .service-cta-copy h2 { font-size: 1.48rem; line-height: 1.07; margin-bottom: .35rem; }
  .industry-page main h3 { font-size: 1.05rem; line-height: 1.14; margin: .5rem 0 .2rem; }
  .industry-page main p, .industry-page .lead { font-size: .8rem; line-height: 1.35; margin: 0 0 .38rem; }
  .industry-hero-pair { gap: .45rem; padding: .5rem; }
  .industry-hero-pair img { height: 10.5rem; aspect-ratio: auto; }
  .industry-page .service-hero-ledger, .industry-page .proof-note, .industry-page .service-cta-proof { padding: .55rem; margin-top: .5rem; }
  .industry-page .service-ledger-proof img { height: 3.65rem; }
  .industry-page .service-cta-proof img { max-height: 6.8rem; }
  .industry-page .service-meta-grid { margin-top: .6rem; padding-top: .5rem; gap: .38rem; font-size: .75rem; }
  .industry-page .service-audience-grid { margin: .4rem 0 .6rem; gap: .35rem; }
  .industry-page .service-audience-item { padding-top: .35rem; }
  .industry-page .service-audience-item p, .industry-page .deliverables li span, .beauty-format-card p, .beauty-format-specs, .education-track-card p, .education-track-meta, .fashion-ratio-item { font-size: .75rem; line-height: 1.28; }
  .industry-page .deliverables { margin: .38rem 0 .5rem; gap: 0 .5rem; }
  .industry-page .deliverables li { padding: .35rem 0; font-size: .78rem; line-height: 1.24; }
  .beauty-format-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .65rem; }
  .education-track-grid { grid-template-columns: 1fr; gap: .45rem; margin-top: .55rem; }
  .fashion-phenix-grid { grid-template-columns: .85fr 1.15fr; gap: .45rem; margin: .45rem 0; }
  .fashion-phenix-primary { padding: .45rem; }
  .fashion-phenix-primary img { max-width: 7rem; }
  .fashion-phenix-swatch { height: 3.2rem; padding: .3rem; }
  .fashion-phenix-swatch img { height: 2.2rem; }
  .beauty-format-card, .education-intake-planner, .education-track-card, .fashion-phenix-board, .fashion-garment-ledger, .fashion-ratio-item, .education-handoff-bar { padding: .55rem; }
  .fashion-atelier-stage, .education-intake-planner { margin-top: .65rem; gap: .6rem; }
  .fashion-ratio-notes { gap: .4rem; margin: .4rem 0; }
  .industry-page .market-logo-grid { margin-top: .5rem; gap: .38rem; }
  .industry-page .market-logo-card { padding: .3rem .5rem; }
  .industry-page .market-logo-card img { height: 2.1rem; }
  .industry-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .45rem; }
  .industry-video-grid .video-thumb { aspect-ratio: 16 / 10; }
  .industry-video-grid .video-card-body { padding: .4rem; }
  .industry-video-grid .video-card-body h3 { font-size: .84rem; line-height: 1.14; margin: .15rem 0; }
  .industry-video-grid .video-card-body p { font-size: .75rem; line-height: 1.24; margin-bottom: .2rem; }
  .industry-video-grid .video-category, .industry-card-links { font-size: .75rem; margin-bottom: .1rem; }
  .industry-card-links { margin-top: .2rem; padding-top: .2rem; }
  .industry-page .packaging-hero-boards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .industry-page .packaging-hero-card { padding: .35rem; gap: .3rem; }
  .industry-page .packaging-hero-card img { height: 5.5rem; width: 100%; object-fit: contain; }
  .industry-page .packaging-hero-card figcaption, .industry-page .packaging-hero-tag { font-size: .75rem; line-height: 1.22; }
  .industry-page .packaging-hero-card figcaption span:last-child { display: none; }
  .industry-page .packaging-study-header, .industry-page .packaging-primary-studies, .industry-page .packaging-range-board, .industry-food-promo-band { margin-top: .65rem; gap: .55rem; padding: .6rem; }
  .industry-page .packaging-study-card { padding: .6rem; gap: .4rem; }
  .industry-page .packaging-greenity-pair { gap: .4rem; margin: .35rem 0; }
  .industry-page .packaging-greenity-pair img, .industry-page .packaging-ridigama-frame img { height: 8.5rem; width: 100%; object-fit: contain; }
  .industry-page .packaging-range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .5rem; }
  .industry-page .packaging-sku-card { padding: .4rem; gap: .25rem; }
  .industry-page .packaging-sku-card img { height: 6.2rem; width: 100%; object-fit: contain; }
  .industry-page .packaging-sku-card figcaption { font-size: .75rem; line-height: 1.22; }
  .industry-page .packaging-integrity-note, .industry-editorial-note { margin-top: .5rem; padding: .5rem .65rem; font-size: .75rem; line-height: 1.3; }
  .industry-anatomy-table-wrap { margin-top: .6rem; }
  .industry-spec-table { font-size: .75rem; line-height: 1.28; }
  .industry-spec-table caption, .industry-spec-table th, .industry-spec-table td { padding: .4rem .45rem; }
  .gadget-beat-strip { grid-template-columns: 1fr; gap: .45rem; margin-top: .55rem; }
  .gadget-beat-card, .gadget-glostar-feature { padding: .55rem; }
  .gadget-beat-card p, .gadget-beat-example { font-size: .75rem; line-height: 1.28; }
  .gadget-glostar-feature { margin-top: .65rem; gap: .55rem; }
  .gadget-glostar-poster img { height: 8.5rem; width: 100%; object-fit: contain; }
  .industry-page .faq-list details { padding: .48rem 0; }
  .industry-page .faq-list summary { font-size: .9rem; line-height: 1.2; min-height: 28px; }
  .industry-page .faq-list details p { margin-top: .35rem; font-size: .76rem; line-height: 1.32; }
  .industry-page .site-footer { padding: 1.75rem 0 4.25rem; }
  .industry-page .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .65rem; }
  .industry-page .footer-grid > div:first-child { grid-column: 1 / -1; }
  .industry-page .footer-links { gap: .2rem; font-size: .78rem; }
  .industry-page .footer-bottom { margin-top: 1.25rem; padding-top: .75rem; }
  .auto-daya-frames { gap: .4rem; margin-top: .5rem; }
  .auto-daya-frames figure { padding: .35rem; }
  .auto-daya-frames figcaption { font-size: .75rem; line-height: 1.22; margin-top: .25rem; }
}
.auto-daya-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1rem; }
.auto-daya-frames figure { margin: 0; padding: .6rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.auto-daya-frames img { width: 100%; height: auto; border-radius: 8px; display: block; }
.auto-daya-frames figcaption { margin-top: .45rem; font-size: .8rem; line-height: 1.38; color: var(--muted); }

/* P6 QA: labels inside the dark food and fashion cards use the light accent (was 1.86:1 and 1.95:1). */
.industry-food-promo-band .packaging-study-kicker, .fashion-phenix-board .eyebrow { color: var(--accent-soft); }

/* Matched film and artwork frames */
.industry-page .packaging-hero-boards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industry-page .packaging-hero-card img { aspect-ratio: 4/5; }
.industry-page .industry-hero-pair {
  background: var(--ink);
  border-radius: var(--radius-frame);
}
.industry-page .industry-hero-pair :is(figure, a) { min-width: 0; }
.industry-page .industry-hero-pair img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: contain;
  max-height: clamp(12rem, 27vw, 21rem);
  border-radius: var(--radius-media);
}
.industry-page .industry-video-grid .video-thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius-media);
}
.industry-page .industry-video-grid .video-thumb :is(img, video) { object-fit: contain; }
.industry-page .market-logo-grid + .industry-video-grid { margin-top: clamp(1rem, 2.5vw, 2rem); }
.industry-page :is(.beauty-format-card, .education-intake-planner, .education-track-card, .fashion-phenix-board, .fashion-garment-ledger, .gadget-beat-card, .gadget-glostar-feature, .industry-editorial-note) {
  border-radius: var(--radius-frame);
}
.industry-page :is(.beauty-format-card, .education-track-card) { background: var(--surface-white); }
.industry-page .auto-daya-frames img { aspect-ratio: 16/9; object-fit: contain; background: var(--ink); }
.industry-page .section + .section-paper { border-top: 1px solid var(--line-dark); }

@media (max-width: 600px) {
  .industry-page .industry-hero-pair img { max-height: 10.5rem; }
  .industry-page .footer-title { margin-block: .5rem; }
  .industry-page .footer-social { margin-top: .35rem; }
}
