/* Harvest Coast — project-specific composition over the shared Clear Glass system. */
/* Source: live Beyond Bounds Redux typography and theme color option. */
body.doex-harvest-coast { --theme-accent: #d64300; --content-accent: #dd3333; }
.harvest-coast-page .project-context h3,
.harvest-coast-page #heading-fish,
.harvest-coast-page .credits-copy h4 { color: var(--content-accent); }
.harvest-coast-page [hidden] { display: none !important; }
.harvest-coast-page .chapter-navigation { margin-right: 90px; }
.harvest-coast-page .hero { height: clamp(650px, 53vw, 820px); }
.harvest-coast-page .hero-art { left: 23%; top: 0; width: 87%; height: 100%; object-fit: cover; object-position: 48% center; mask-image: linear-gradient(90deg, transparent, #000 27%); }
.harvest-coast-page .hero-video { opacity: 0; transition: opacity .7s ease; }
.harvest-coast-page .hero-video.is-playing { opacity: 1; }
.harvest-coast-page .hero-shade { background: linear-gradient(90deg, #0a0a0a 2%, #0a0a0af2 21%, #0a0a0a96 40%, #0a0a0a08 77%), linear-gradient(0deg, #0a0a0a 1%, #0a0a0a33 23%, transparent 63%, #0a0a0a59); }
.harvest-coast-page .hero-copy { max-width: 620px; }
.harvest-coast-page .hero h1 { font-size: clamp(82px, 8.7vw, 134px); }
.harvest-coast-page .hero-tagline { color: #d4d4d4; }
.harvest-coast-page .motion-toggle { position: absolute; right: var(--edge); bottom: 43px; width: 40px; height: 40px; border-radius: 50%; background: #12121280; backdrop-filter: blur(10px); color: #ccc; }
.harvest-coast-page .motion-toggle .icon { width: 17px; height: 17px; }
.harvest-coast-page .inline-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #101010; }
.harvest-coast-page .video-credit { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #8f8f8f; margin-top: 11px; line-height: 1.5; }
.harvest-coast-page .overview-grid { align-items: center; }
.harvest-coast-page .overview-facts { grid-template-columns: 1.2fr 1fr .9fr .8fr; }
.harvest-coast-page .gallery-hint { display: inline-flex; align-items: center; gap: 9px; color: #858585; font-size: 12px; white-space: nowrap; padding-bottom: 3px; }
.harvest-coast-page .gallery-hint .icon { width: 15px; height: 15px; }
.harvest-coast-page .gallery-stage { aspect-ratio: 2.2; background: #101010; cursor: zoom-in; }
.harvest-coast-page .gallery-stage > img { object-fit: contain; object-position: center; }
.harvest-coast-page .media-snapshot { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #101010; pointer-events: none; }
.harvest-coast-page .image-trigger { cursor: zoom-in; }
.harvest-coast-page .image-trigger > img { transition: transform .24s ease, filter .24s ease; }
@media (hover:hover) {
  .harvest-coast-page .image-trigger:hover > img { transform: scale(1.018); filter: brightness(1.06); }
}
.harvest-coast-page .process-card:last-child > .image-surface > img { object-position: 54% center; }
.harvest-coast-page .iteration-grid .detail-image > img { object-fit: contain; background: #131313; }
.harvest-coast-page .technical-intro > h2 { max-width: 700px; }
.harvest-coast-page .technical-intro > p { max-width: 335px; }
.harvest-coast-page .swarm-grid, .harvest-coast-page .ambience-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.harvest-coast-page .detail-media figcaption strong { display: block; color: #d4d4d4; font-size: 15px; font-weight: 500; margin: 14px 0 5px; line-height: 1.4; }
.harvest-coast-page .swarm-grid .image-surface { aspect-ratio: 1.6; }
.harvest-coast-page .swarm-film { margin-top: 35px; }
.harvest-coast-page .swarm-film video { display: block; width: 100%; max-height: 610px; aspect-ratio: 16/8; object-fit: contain; background: #101010; border: 1px solid var(--line); border-radius: 12px; }
.harvest-coast-page .ocean-diagram { margin-top: 32px; }
.harvest-coast-page .ocean-diagram picture { display: block; aspect-ratio: 1280/620; }
.harvest-coast-page .ocean-diagram picture > img { width: 100%; height: 100%; object-fit: contain; }
.harvest-coast-page .ambience-grid .image-surface { aspect-ratio: 1.65; }
.harvest-coast-page .atmosphere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; }
.harvest-coast-page .atmosphere-item { min-width: 0; display: flex; flex-direction: column; }
.harvest-coast-page .atmosphere-copy { flex: 1; }
.harvest-coast-page .atmosphere-copy h4 { color: #e5e5e5; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; margin: 0 0 13px; }
.harvest-coast-page .atmosphere-copy p { font-size: 15px; line-height: 1.8; max-width: 65ch; }
.harvest-coast-page .atmosphere-item > .image-surface { margin-top: 22px; border: 1px solid var(--line); aspect-ratio: 1.85; }
.harvest-coast-page .atmosphere-item > .image-surface img { object-fit: contain; }
.harvest-coast-page .models-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.harvest-coast-page .models-copy > .icon { margin-bottom: 22px; }
.harvest-coast-page .models-copy h3 { font-size: clamp(30px,3.2vw,46px); margin: 0 0 24px; }
.harvest-coast-page .models-section figure .image-surface { aspect-ratio: 1.55; background: #101010; border: 1px solid var(--line); }
.harvest-coast-page .models-section figure img { object-fit: contain; }
.harvest-coast-page .models-section figcaption { font-size: 12px; color: #929292; margin-top: 10px; }
.harvest-coast-page .presentation-section .presentation-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 19px; }
.harvest-coast-page .presentation-gallery .image-surface { aspect-ratio: 1.12; }
.harvest-coast-page .presentation-gallery .image-surface img { object-fit: cover; }
.harvest-coast-page .credits-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.harvest-coast-page .credits-copy { display: grid; gap: 28px; }
.harvest-coast-page .credits-copy h4 { font-size: 16px; font-weight: 500; color: var(--content-accent); margin-bottom: 9px; }
.harvest-coast-page .credits-copy p { font-size: 14px; line-height: 1.8; max-width: 48ch; }
.harvest-coast-page .credits-copy p + p { margin-top: 10px; }
.harvest-coast-page .download-book { display: flex; align-items: center; gap: 14px; width: fit-content; border: 1px solid #ffffff29; background: #121212; border-radius: 9px; padding: 15px 17px; font-size: 14px; line-height: 1.5; }
.harvest-coast-page .download-book > .icon { width: 20px; height: 20px; color: #a3a3a3; }
.harvest-coast-page .download-book > .icon:last-child { width: 17px; height: 17px; margin-left: 18px; }
.harvest-coast-page .download-book small { display: block; color: #818181; font-size: 11px; margin-top: 2px; }
.harvest-coast-page .download-book:hover { border-color: #ffffff5c; }
.harvest-coast-page .project-poster { aspect-ratio: 1.46; border: 1px solid var(--line); }
.harvest-coast-page .project-poster img { object-fit: contain; }
.harvest-coast-page .image-dialog::backdrop { background: #060606ef; }
.harvest-coast-page #viewer-next .icon { transform: none; }
@media (max-width:1150px) {
  .harvest-coast-page .hero { height: 690px; }
  .harvest-coast-page .hero h1 { font-size: 100px; }
  .harvest-coast-page .models-section { gap: 35px; }
  .harvest-coast-page .credits-layout { gap: 40px; }
  .harvest-coast-page .swarm-grid, .harvest-coast-page .ambience-grid { gap: 18px; }
}
@media (max-width:850px) {
  .harvest-coast-page .hero { height: 640px; }
  .harvest-coast-page .hero h1 { font-size: 90px; }
  .harvest-coast-page .hero-art { left: 15%; width: 100%; }
  .harvest-coast-page .models-section { grid-template-columns: 1fr; gap: 27px; }
  .harvest-coast-page .models-copy h3 br { display: none; }
  .harvest-coast-page .models-copy .detail-body { max-width: 70ch; }
  .harvest-coast-page .presentation-section .presentation-gallery { grid-template-columns: 1fr 1fr; }
  .harvest-coast-page .credits-layout { gap: 28px; }
}
@media (max-width:650px) {
  /* The original theme's scrolled hamburger disc ends at y=89px on phones. */
  .harvest-coast-page .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 90px 49px; }
  .harvest-coast-page .site-header { height: 140px; margin-bottom: -140px; }
  .harvest-coast-page { --header: 140px; }
  .harvest-coast-page .chapter-navigation { grid-row: 2; gap: 12px; margin-right: 0; padding: 0; }
  .harvest-coast-page .chapter-navigation a { min-height: 44px; }
  .harvest-coast-page .hero { height: 695px; }
  .harvest-coast-page .hero h1 { font-size: clamp(68px,17.5vw,91px); }
  .harvest-coast-page .hero-inner { padding-top: 180px; padding-bottom: 28px; }
  .harvest-coast-page .hero-art { top: 154px; left: 0; width: 120%; height: 540px; object-fit: cover; object-position: 61% center; mask-image: linear-gradient(0deg,#000 68%,transparent); }
  .harvest-coast-page .hero-shade { background: linear-gradient(180deg,#0a0a0a 2%,#0a0a0ace 28%,#0a0a0a18 60%,#0a0a0a22 76%,#0a0a0a),linear-gradient(90deg,#0a0a0a85,transparent); }
  .harvest-coast-page .hero-tagline { font-size: 19px; max-width: 290px; }
  .harvest-coast-page .motion-toggle { bottom: 37px; right: 23px; }
  .harvest-coast-page .project-entry { gap: 22px; }
  .harvest-coast-page .overview-facts { grid-template-columns: 1.15fr 1fr .8fr .7fr; }
  .harvest-coast-page .overview-facts dd { font-size: 12px; }
  .harvest-coast-page .overview-facts dt { font-size: 11px; }
  .harvest-coast-page .gallery-hint { display: none; }
  .harvest-coast-page .gallery-stage { aspect-ratio: 1.65; }
  .harvest-coast-page .gallery-controls { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; }
  .harvest-coast-page .gallery-controls > .round-button { width: 44px; height: 44px; }
  .harvest-coast-page .gallery-thumbnails button { flex-basis: 73px; min-height: 44px; }
  .harvest-coast-page .gallery-caption { font-size: 12px; }
  .harvest-coast-page .swarm-grid, .harvest-coast-page .ambience-grid { grid-template-columns: 1fr; gap: 25px; }
  .harvest-coast-page .swarm-grid .image-surface, .harvest-coast-page .ambience-grid .image-surface { aspect-ratio: 1.7; }
  .harvest-coast-page .detail-media figcaption { font-size: 13px; }
  .harvest-coast-page .detail-media figcaption strong { font-size: 16px; margin-top: 11px; }
  .harvest-coast-page .swarm-film video { aspect-ratio: 16/9; }
  .harvest-coast-page .ocean-diagram picture { aspect-ratio: 600/1080; }
  .harvest-coast-page .atmosphere-grid { grid-template-columns: 1fr; gap: 32px; }
  .harvest-coast-page .atmosphere-item > .image-surface { margin-top: 16px; aspect-ratio: 1.65; }
  .harvest-coast-page .atmosphere-copy h4 { font-size: 20px; }
  .harvest-coast-page .atmosphere-copy p { font-size: 15px; }
  .harvest-coast-page .models-copy h3 { font-size: 33px; }
  .harvest-coast-page .presentation-section .presentation-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .harvest-coast-page .presentation-gallery .image-surface { aspect-ratio: .9; }
  .harvest-coast-page .credits-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width:370px) {
  .harvest-coast-page .hero-tagline { font-size: 17px; }
  .harvest-coast-page .motion-toggle { right: 17px; width: 35px; height: 35px; }
  .harvest-coast-page .project-entry { gap: 15px; padding-left: 15px; }
  .harvest-coast-page .overview-facts dd { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  .harvest-coast-page .image-trigger:hover > img { transform: none; }
}

/* Videos play inline; the separate action moves that native player into a dialog. */
.harvest-coast-page .video-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:18px; margin-top:10px; }
.harvest-coast-page .video-expand, .harvest-coast-page .video-actions .video-source-link { display:inline-flex; align-items:center; gap:7px; min-height:36px; margin:0; padding:0; border:0; background:none; color:var(--muted); font-size:12px; line-height:1.5; }
.harvest-coast-page .video-expand .icon { width:15px; height:15px; }
.harvest-coast-page .video-expand:hover, .harvest-coast-page .video-actions .video-source-link:hover { color:var(--text); }
.harvest-coast-page .video-placeholder { display:block; width:100%; background:#101010; border-radius:12px; }
.harvest-coast-page .video-dialog { position:fixed; inset:0; margin:auto; width:min(1260px,94vw); max-width:94vw; max-height:94svh; overflow:auto; padding:64px 24px 24px; border:1px solid #ffffff33; border-radius:12px; background:#111; color:var(--text); }
.harvest-coast-page .video-dialog::backdrop { background:#050505dc; backdrop-filter:blur(12px); }
.harvest-coast-page .video-dialog h2 { margin:0 0 18px; font-size:22px; line-height:1.3; }
.harvest-coast-page .video-dialog .dialog-close { top:12px; right:12px; width:44px; height:44px; }
.harvest-coast-page .video-viewer-stage > video { display:block; width:100%; height:auto; max-height:68svh; object-fit:contain; background:#080808; border:0; border-radius:8px; }
.harvest-coast-page .video-dialog .video-source-link { display:inline-block; color:var(--muted); font-size:12px; margin-top:14px; }
@media (max-width:650px) {
 .harvest-coast-page .video-dialog { padding:64px 14px 20px; }
 .harvest-coast-page .video-dialog h2 { font-size:19px; }
 .harvest-coast-page .video-expand, .harvest-coast-page .video-actions .video-source-link { min-height:44px; }
}
