.gallery-section { background: #efeee5; color: #1b2119; }
.gallery-section p { color: #5b6555; }
.gallery-section .section-label { color: #626a5b; border-color: #b5bcaa; }
.gallery-section h2, .gallery-section h3 { color: #1b2119; }
.gallery-section .muted-heading { color: #79826f; }
.gallery-intro { max-width: 1000px; font-size: 13px; line-height: 1.9; }
.gallery-disclosure { border-left: 2px solid #c56a36; margin-block: 26px 32px; padding: 2px 0 2px 20px; max-width: 1050px; }
.gallery-disclosure > strong { font-size: 12px; }
.gallery-disclosure > p { font-size: 11px; line-height: 1.9; margin-top: 9px; }
.result-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.result-card { background: #faf9f3; border: 1px solid #c9cdbf; display: flex; flex-direction: column; min-width: 0; }
.story-photo { display: block; color: #f2f3e9; background: #181c18; border-bottom: 1px solid #c9cdbf; }
.story-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.photo-action { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 8px; letter-spacing: .08em; padding: 12px 20px; color: #bec6b6; }
.photo-action > span { color: #ffb983; letter-spacing: 0; font-size: 9px; }
.story-photo:hover .photo-action > span { text-decoration: underline; }
.story-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.story-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.gallery-section .story-kicker { color: #888e80; font-size: 7px; letter-spacing: .13em; font-weight: 700; }
.story-heading h3 { font-size: 20px; margin-top: 6px; }
.story-duration { display: block; flex-shrink: 0; font-size: 7px; letter-spacing: .06em; font-weight: 700; padding: 7px 9px; color: #505e47; border: 1px solid #bec8b2; background: #eef1e7; }
.gallery-section .story-result { font-family: var(--display); font-size: 34px; line-height: 1.4; color: #a75728; margin-top: 18px; }
.story-result > span { display: block; font-family: var(--body); font-size: 10px; color: #747d6b; margin-top: 4px; }
.story-summary { font-size: 12px; margin-top: 17px; line-height: 1.9; }
.story-context { font-size: 10px; line-height: 1.9; margin-top: 16px; padding-top: 14px; border-top: 1px solid #d4d8cb; }
.story-context strong { font-weight: 700; color: #424d3b; }
.story-source { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 20px; font-size: 10px; font-weight: 700; color: #8f4c26; }
.story-source:hover { text-decoration: underline; }
.gallery-rights { font-size: 9px; line-height: 1.9; margin-top: 24px; max-width: 1050px; }
.gallery-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 38px; padding-top: 30px; border-top: 1px solid #b5bcaa; }
.gallery-cta h3 { font-family: var(--display); font-size: 30px; font-weight: 500; }
.gallery-cta p { font-size: 11px; max-width: 580px; margin-top: 9px; }
.gallery-cta .button { flex-shrink: 0; font-size: 9px; }
.gallery-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; border: 1px solid #737b66; padding: 0; background: #191d18; color: #eee; }
.gallery-dialog::backdrop { background: #000d; backdrop-filter: blur(4px); }
.gallery-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 21px; }
.gallery-dialog-header > h2 { font-family: var(--body); font-size: 15px; letter-spacing: 0; line-height: 1.6; }
.gallery-close { display: grid; place-items: center; width: 36px; height: 36px; background: transparent; border: 1px solid #616c54; font-size: 27px; line-height: 1; flex-shrink: 0; }
.gallery-image-frame { background: #070907; padding: 16px; }
.gallery-image-frame > img { display: block; max-width: 100%; max-height: 62dvh; width: auto; height: auto; margin-inline: auto; object-fit: contain; }
.gallery-dialog-footer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 25px; padding: 20px; }
.gallery-paging { display: flex; align-items: center; gap: 13px; }
.gallery-paging button { width: 38px; height: 36px; border: 1px solid #647157; background: transparent; font-size: 20px; }
.gallery-paging > span { font-size: 10px; min-width: 36px; text-align: center; color: #c5cdbb; }
.gallery-dialog-footer > p { font-size: 10px; line-height: 1.8; }
.gallery-dialog-footer > a { grid-column: 2; font-size: 10px; color: #ffb983; justify-self: start; }
@media (max-width: 1000px) {
  .story-body { padding: 22px; }
  .story-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .gallery-cta { gap: 25px; }
  .gallery-cta .button { font-size: 8px; }
}
@media (min-width: 851px) and (max-width: 1000px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .header-inner { height: 74px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 7px; justify-content: center; width: 38px; height: 40px; background: transparent; border: 0; padding: 8px; }
  .menu-toggle > span { width: 100%; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 700px) {
  .result-gallery { grid-template-columns: 1fr; gap: 23px; }
  .story-heading { flex-direction: row; align-items: center; gap: 10px; }
  .story-heading h3 { font-size: 19px; }
  .story-duration { font-size: 6px; padding: 7px; }
  .story-body { padding: 21px; }
  .gallery-cta { flex-direction: column; align-items: flex-start; gap: 23px; }
  .gallery-cta .button { font-size: 8px; padding-inline: 17px; }
  .gallery-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .gallery-dialog-header { padding: 15px; }
  .gallery-dialog-header > h2 { font-size: 13px; }
  .gallery-image-frame { padding: 7px; }
  .gallery-dialog-footer { grid-template-columns: 1fr; padding: 17px; gap: 15px; }
  .gallery-dialog-footer > a { grid-column: 1; }
  .gallery-image-frame > img { max-height: 50dvh; }
}
@media (max-width: 370px) {
  .story-heading { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle > span { transition: none; }
}
