/* The photo and the following work share one continuous navy surface. */
body.hero-photo-page { background: var(--site-dark); }
body.hero-photo-page .opening { position: relative; overflow: hidden; background: var(--site-dark); }
body.hero-photo-page .hero { position: relative; isolation: isolate; min-height: 648px; padding-top: 64px; padding-bottom: 105px; }
body.hero-photo-page .hero-intro { position: relative; z-index: 3; }
body.hero-photo-page .hero h1 { font-size: clamp(42px, 4.4vw, 65px); line-height: 1.25; letter-spacing: -.015em; font-weight: 650; max-width: 1120px; color: var(--text-ink); text-wrap: balance; text-shadow: 0 2px 28px rgb(2 9 18 / 20%); }
body.hero-photo-page .hero h1 em { color: var(--accent-ink); }
body.hero-photo-page .hero-support { color: var(--text-secondary); margin: 27px 0 0; font-weight: 430; letter-spacing: -.025em; line-height: 1.85; font-size: 16px; word-break: keep-all; }
body.hero-photo-page .hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 24px; display: grid; place-items: center; width: 48px; height: 56px; transform: translateX(-50%); color: #c9def8; transition: color .18s ease; }
body.hero-photo-page .hero-scroll svg { width: 26px; height: 44px; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
body.hero-photo-page .hero-scroll-chevron { opacity: .45; }
body.hero-photo-page .hero-scroll-chevron + .hero-scroll-chevron { opacity: .85; }
body.hero-photo-page .hero-scroll[data-animated='true'] .hero-scroll-chevron { animation: hero-scroll-flow 2.8s cubic-bezier(.4,0,.2,1) infinite both; }
body.hero-photo-page .hero-scroll[data-animated='true'] .hero-scroll-chevron + .hero-scroll-chevron { animation-delay: .24s; }
body.hero-photo-page .hero-scroll:hover,
body.hero-photo-page .hero-scroll:focus-visible { color: #fff; }
body.hero-photo-page .hero-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@keyframes hero-scroll-flow {
  0% { opacity: 0; transform: translateY(-5px); }
  24% { opacity: .95; }
  48% { opacity: .65; }
  72%,100% { opacity: 0; transform: translateY(8px); }
}
body.hero-photo-page .hero-photo-scene { position: absolute; z-index: -1; top: -96px; bottom: 0; left: calc(50% - 50vw); width: 100vw; margin: 0; overflow: hidden; background: var(--site-dark); }
body.hero-photo-page .hero-photo-image,
body.hero-photo-page .hero-photo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
body.hero-photo-page .hero-photo-video { opacity: 0; pointer-events: none; }
body.hero-photo-page .hero-photo-scene[data-video-ready='true'] .hero-photo-video { opacity: 1; }
body.hero-photo-page .hero-photo-scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #07111e 0%, rgb(7 17 30 / 34%) 15%, transparent 42%), linear-gradient(90deg, rgb(4 13 24 / 58%) 0%, rgb(4 13 24 / 31%) 45%, rgb(4 13 24 / 5%) 78%); }
body.hero-photo-page .hero-video-toggle { position: absolute; z-index: 1; right: max(28px, calc((100vw - 1360px) / 2)); bottom: 28px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(224 236 255 / 35%); border-radius: 50%; color: #e5ecf8; background: rgb(4 13 24 / 45%); }
body.hero-photo-page .hero-video-toggle[hidden],
body.hero-photo-page .hero-video-pause,
body.hero-photo-page .hero-photo-scene[data-playing='true'] .hero-video-play { display: none; }
body.hero-photo-page .hero-photo-scene[data-playing='true'] .hero-video-pause { display: block; }
body.hero-photo-page .hero-video-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Shared reading and navigation rules; project artwork keeps its own expression. */
body.hero-photo-page .selected-work { padding-block: 72px 64px; scroll-margin-top: 0; }
body.hero-photo-page .work-heading { margin-bottom: 40px; }
body.hero-photo-page .work-heading h2 { font-size: 32px; font-weight: 600; line-height: 1.4; letter-spacing: -.045em; margin: 0; }
body.hero-photo-page .featured-case { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: 'identity visual' 'summary visual'; gap: 20px 64px; align-items: start; }
body.hero-photo-page .work-identity { min-width: 0; }
body.hero-photo-page .featured-case .work-identity { grid-area: identity; }
body.hero-photo-page .featured-case .work-summary { grid-area: summary; }
body.hero-photo-page .work-summary { min-width: 0; }
body.hero-photo-page .work-category { color: var(--accent-ink); font-size: 14px; font-weight: 600; line-height: 1.7; margin: 0 0 8px; }
body.hero-photo-page .work-identity h3 { font-size: 32px; font-weight: 600; line-height: 1.4; margin: 0; letter-spacing: -.045em; word-break: keep-all; }
body.hero-photo-page .work-lead { font-size: 22px; font-weight: 600; line-height: 1.5; margin: 0 0 16px; letter-spacing: -.035em; word-break: keep-all; }
body.hero-photo-page .work-description { color: var(--text-secondary); font-size: 16px; line-height: 1.85; letter-spacing: -.02em; max-width: 36em; margin: 0 0 24px; word-break: keep-all; }
body.hero-photo-page .work-open { align-self: flex-start; }
body.hero-photo-page .work-visual { width: 100%; min-width: 0; margin: 0; }
body.hero-photo-page .work-visual-team { grid-area: visual; align-self: center; padding: 24px; }
body.hero-photo-page .project-image { width: 100%; min-width: 0; aspect-ratio: 1.6; overflow: hidden; }
body.hero-photo-page .project-image img { display: block; width: 100%; height: auto; transition: transform .25s; }
body.hero-photo-page .supporting-case:hover img { transform: scale(1.015); }
body.hero-photo-page .supporting-work { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; margin-top: 64px; }
body.hero-photo-page .supporting-case { display: flex; flex-direction: column; min-width: 0; }
body.hero-photo-page .supporting-case .work-summary { display: flex; flex-direction: column; flex: 1; margin-top: 24px; }
body.hero-photo-page .supporting-case .work-identity { margin-bottom: 24px; }
body.hero-photo-page .supporting-case h3 { font-size: 28px; }
body.hero-photo-page .supporting-case .work-description { margin-bottom: 24px; }
body.hero-photo-page .supporting-case .work-open { margin-top: auto; }
body.hero-photo-page .portfolio-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; padding-block: 64px; border-block: 1px solid var(--line); }
body.hero-photo-page .portfolio-overview section { display: flex; flex-direction: column; align-items: flex-start; }
body.hero-photo-page .portfolio-overview h2 { font-size: 24px; line-height: 1.45; letter-spacing: -.04em; font-weight: 600; margin: 0 0 16px; word-break: keep-all; }
body.hero-photo-page .portfolio-overview p { font-size: 16px; line-height: 1.85; letter-spacing: -.02em; color: var(--text-secondary); max-width: 35em; margin: 0 0 24px; word-break: keep-all; }
body.hero-photo-page .portfolio-overview .text-link { margin-top: auto; }

@media (max-width:1199px) and (min-width:761px) {
  body.hero-photo-page .hero { min-height: 620px; padding-top: 56px; }
  body.hero-photo-page .hero h1 { font-size: clamp(39px,4.8vw,57px); }
  body.hero-photo-page .featured-case { column-gap: 40px; }
  body.hero-photo-page .supporting-work, body.hero-photo-page .portfolio-overview { gap: 40px; }
  body.hero-photo-page .featured-case h3 { font-size: 28px; }
  body.hero-photo-page .supporting-case h3 { font-size: 26px; }
}
@media (max-width:1000px) and (min-width:761px) {
  body.hero-photo-page .featured-case { grid-template-columns: minmax(0,1fr); grid-template-areas: 'identity' 'visual' 'summary'; gap: 24px; }
  body.hero-photo-page .featured-case .work-summary { max-width: 600px; }
  body.hero-photo-page .work-visual-team { max-width: 640px; }
}
@media (max-width:760px) {
  body.hero-photo-page .hero-scroll { bottom: 24px; }
  body.hero-photo-page .hero { min-height: clamp(620px,calc(100svh - 81px),760px); padding-top: 38px; padding-bottom: 110px; }
  body.hero-photo-page .hero h1 { font-size: clamp(27px,8.7vw,56px); line-height: 1.3; max-width: 620px; }
  body.hero-photo-page .hero-support { font-size: 14px; line-height: 1.85; margin-top: 22px; max-width: 430px; }
  body.hero-photo-page .hero-photo-scene { top: -81px; }
  body.hero-photo-page .hero-photo-image, body.hero-photo-page .hero-photo-video { top: auto; bottom: 0; width: 100%; height: auto; aspect-ratio: 941 / 1672; object-fit: cover; mask-image: linear-gradient(180deg,transparent 0%,#000 16%,#000 88%,transparent 100%); }
  body.hero-photo-page .hero-photo-scene::after { background: linear-gradient(180deg,#07111e 0%,rgb(7 17 30 / 75%) 32%,rgb(7 17 30 / 52%) 45%,transparent 62%),linear-gradient(0deg,#07111e 0%,rgb(7 17 30 / 20%) 15%,transparent 30%); }
  body.hero-photo-page .hero-video-toggle { right: 20px; bottom: 24px; }
  body.hero-photo-page .selected-work { padding-block: 48px; }
  body.hero-photo-page .work-heading { margin-bottom: 32px; }
  body.hero-photo-page .work-heading h2 { font-size: 26px; }
  body.hero-photo-page .featured-case { grid-template-columns: minmax(0,1fr); grid-template-areas: 'identity' 'visual' 'summary'; gap: 24px; }
  body.hero-photo-page .work-visual-team { padding: 16px 0; }
  body.hero-photo-page .work-identity h3 { font-size: 27px; }
  body.hero-photo-page .work-lead { font-size: 21px; }
  body.hero-photo-page .work-description { font-size: 16px; margin-bottom: 20px; }
  body.hero-photo-page .supporting-work { grid-template-columns: minmax(0,1fr); gap: 48px; margin-top: 48px; }
  body.hero-photo-page .supporting-case .work-identity { margin-bottom: 20px; }
  body.hero-photo-page .supporting-case .work-description { margin-bottom: 20px; }
  body.hero-photo-page .portfolio-overview { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 40px; }
  body.hero-photo-page .portfolio-overview section + section { border-top: 1px solid var(--line); padding-top: 32px; }
  body.hero-photo-page .portfolio-overview h2 { font-size: 23px; }
  body.hero-photo-page .portfolio-overview p { margin-bottom: 20px; }
}
@media (min-width:541px) and (max-width:760px) {
  body.hero-photo-page .hero-photo-image, body.hero-photo-page .hero-photo-video { top: 0; height: 100%; object-fit: cover; object-position: center 35%; }
}
@media (prefers-reduced-motion:reduce) {
  body.hero-photo-page .hero-photo-video, body.hero-photo-page .hero-video-toggle { display: none; }
  body.hero-photo-page .hero-scroll .hero-scroll-chevron,
  body.hero-photo-page .hero-scroll[data-animated='true'] .hero-scroll-chevron { animation: none; transform: none; }
}
