/* Photographic, atmospheric direction. Page-owned; no external dependencies. */
.disney-guide {
  --park-night: var(--surface-navy);
  --park-paper: #faf8f5;
  --park-gold: #e5c158;
  --park-ease: cubic-bezier(.22, 1, .36, 1);
}
.disney-guide .page-hero {
  min-height: 680px; height: auto;
  padding: 155px max(48px, calc((100vw - 1200px) / 2)) 120px;
  justify-content: flex-start; isolation: isolate;
}
.disney-guide .page-hero__img { left: 43%; }
.disney-guide .page-hero__img img { filter: none; object-position: 35% 40%; }
.disney-guide .page-hero__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--park-night), transparent 55%);
}
.disney-guide .page-hero__content { width: 52%; padding: 0; text-align: left; max-width: 650px; }
.disney-guide .page-hero__content::before { display: none; }
.disney-guide .page-hero__title { font-size: clamp(2.8rem, calc(4.5vw * var(--text-scale)), 4.3rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 36px; }
.guide-daylinks { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-daylink { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 22px; min-height: 50px; border: 1px solid var(--on-dark); border-radius: 28px; background: var(--park-paper); color: var(--surface-navy); font-size: 1rem; font-weight: 600; text-decoration: none; transition: background .25s, transform .25s; }
.guide-daylink--second { background: var(--park-night); color: var(--on-dark); }
.guide-daylink:hover { transform: translateY(-2px); background: var(--on-dark); color: var(--surface-navy); }
.guide-daylink:focus-visible { outline: 3px solid var(--park-gold); outline-offset: 5px; }
.disney-guide .intro-section { padding-top: 60px; }
.guide-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 30px auto 0; padding: 0 20px; }
.guide-jumps a { color: var(--navy); min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.guide-jumps a::after { content: '↗'; color: var(--crimson); }
/* Physical detail replaces the former illustrated railroad. */
.park-rail { position: relative; height: 240px; margin: 12px 0 0; overflow: hidden; background: linear-gradient(0deg, rgba(109,101,81,.09), transparent 45%); }
.rail-track { position: absolute; bottom: 30px; left: 0; right: 0; height: 15px; background: repeating-linear-gradient(90deg, transparent 0 14px, #6d6252 15px 22px, transparent 23px 38px); transform: perspective(400px) rotateX(52deg); }
.rail-track::before, .rail-track::after { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(#e1dfd8, #766b5c 60%, #403d36); box-shadow: 0 2px 3px rgba(0,0,0,.16); }
.rail-track::before { top: 1px; }.rail-track::after { bottom: 1px; }
.rail-train { position: absolute; left: 0; bottom: 32px; width: clamp(300px, 38vw, 500px); transform: translateX(var(--train-x, calc(50vw - 200px))); will-change: transform; }
.rail-train img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 4px 2px rgba(30,27,22,.2)); }
.train-steam { position: absolute; left: 88%; bottom: calc(100% - 12px); width: 46px; height: 65px; background: radial-gradient(ellipse at 30% 45%, rgba(165,165,158,.65), transparent 57%), radial-gradient(ellipse at 65% 50%, rgba(224,222,210,.8), transparent 65%); filter: blur(5px); transform-origin: 50% 100%; opacity: 0; animation: park-steam 3.5s linear infinite; animation-play-state: paused; }
.train-steam--second { animation-delay: 1.1s; }.train-steam--third { animation-delay: 2.2s; }
@keyframes park-steam { 0% { opacity: 0; transform: translate(0,0) scale(.35); } 12% { opacity: .65; } 70% { opacity: .25; } 100% { opacity: 0; transform: translate(-80px,-110px) scale(2.2); } }
/* Wide photographic chapters, with the heading on its own solid surface. */
.park-chapter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-width: 1440px; margin: 24px auto 0; min-height: 360px; background: var(--park-night); color: var(--on-dark); }
.chapter-photo { min-width: 0; width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 40%; }
.chapter-copy { min-width: 0; display: flex; align-items: center; padding: 48px 56px; }
.disney-guide .park-chapter .guide-day { color: inherit; padding: 0; margin: 0; max-width: 580px; font-size: clamp(2rem, calc(3.2vw * var(--text-scale)), 3.2rem); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.park-chapter--pier { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.park-chapter--pier .chapter-photo { order: 2; }.park-chapter--pier .chapter-copy { order: 1; }
.guide-day, .guide-ref, .guide-fireworks { scroll-margin-top: 110px; }
.disney-guide .story-image { border-radius: 4px; box-shadow: none; }
.disney-guide .story-image img { transition: transform 1.1s var(--park-ease); }
@media (hover: hover) { .disney-guide .story-image:hover img { transform: scale(1.025); } }
/* Night sky: real particle motion, drag, gravity, glowing cores and fading trails. */
.guide-fireworks { position: relative; height: 370px; margin: 20px 0 0; overflow: hidden; background: radial-gradient(ellipse at 50% 110%, #283a58 0%, #101d33 45%, #050d1c 100%); }
.fireworks-canvas { display: block; width: 100%; height: 100%; }
.guide-fireworks::after { content: ''; position: absolute; inset: auto 0 0; height: 50px; background: linear-gradient(transparent, rgba(3,9,18,.35)); pointer-events: none; }
.disney-guide .image-break { height: 480px; clip-path: none; margin: 20px 0 40px; }
.disney-guide .image-break__caption { left: 50%; transform: translateX(-50%); bottom: 30px; text-align: center; width: max-content; max-width: calc(100% - 64px); background: var(--park-night); font-size: 1rem; letter-spacing: 0; }
.disney-guide .guide-ref { font-size: clamp(1.75rem, calc(2.5vw * var(--text-scale)), 2.25rem); line-height: 1.2; letter-spacing: -.02em; }
.guide-motion { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; min-width: 44px; padding: 0; border: 1px solid var(--on-dark); border-radius: 50%; display: grid; place-items: center; background: var(--park-night); color: var(--on-dark); box-shadow: var(--shadow-md); cursor: pointer; }
.guide-motion svg { width: 18px; height: 18px; }.guide-motion .motion-play { display: none; }
.guide-motion[hidden] { display: none; }
.guide-motion:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 4px; box-shadow: 0 0 0 8px var(--surface-navy); }
html[data-guide-motion="paused"] .guide-motion .motion-play { display: block; }html[data-guide-motion="paused"] .guide-motion .motion-pause { display: none; }
html[data-guide-motion="running"] .park-rail.is-inview .train-steam { animation-play-state: running; }
html[data-display-motion="stop"] .disney-guide *, html[data-display-motion="stop"] .disney-guide *::before { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .disney-guide *, .disney-guide *::before { animation: none !important; transition: none !important; } }
@media (max-width: 800px) {
  .disney-guide .page-hero { padding: 80px 0 0; min-height: 0; }
  .disney-guide .page-hero__img { left: auto; width: 100%; height: 74vw; max-height: 440px; }
  .disney-guide .page-hero__img::after { display: none; }
  .disney-guide .page-hero__img img { object-position: 35% 40%; }
  .disney-guide .page-hero__content { width: 100%; padding: 32px 24px 44px; }
  .disney-guide .page-hero__title { font-size: clamp(2.25rem, calc(8vw * var(--text-scale)), 3.5rem); max-width: 580px; margin-bottom: 28px; }
  .guide-daylinks { gap: 12px; }.guide-daylink { padding: 12px 20px; }
  .disney-guide .intro-section { padding-top: 42px; }
  .guide-jumps { justify-content: flex-start; gap: 8px 20px; }
  .park-rail { height: 200px; margin-top: 4px; }
  .rail-train { width: 330px; }
  .park-chapter, .park-chapter--pier { display: flex; flex-direction: column; margin-top: 20px; }
  .chapter-photo { min-height: 0; height: 60vw; max-height: 400px; }
  .park-chapter--pier .chapter-photo, .park-chapter--pier .chapter-copy { order: initial; }
  .chapter-copy { padding: 30px 24px 36px; }
  .disney-guide .park-chapter .guide-day { font-size: 2rem; }
  .guide-fireworks { height: 310px; margin: 10px 0 0; }
  .disney-guide .image-break { height: 350px; min-height: 0; }
  .disney-guide .image-break__caption { bottom: 25px; max-width: calc(100% - 48px); }
}
@media (max-width: 480px) { .guide-motion { left: 14px; bottom: 14px; } }

/* The painted footer pattern needs more contrast than its flat navy token. */
.disney-guide .footer__desc, .disney-guide .footer__note { color: rgba(255,255,255,.85); }

/* Additional owner photography: preserve each subject and vary the pace. */
.disney-guide .story-image--portrait img { height: 440px; object-position: center 45%; }
.disney-guide .story-image--pair { display: grid; gap: 16px; }
.disney-guide .story-image--pair picture { overflow: hidden; border-radius: 4px; }
.disney-guide .story-image--pair img { height: 310px; }
.guide-photo-interlude { max-width: 1440px; margin: 0 auto 40px; overflow: hidden; }
.guide-photo-interlude img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: center 40%; }
@media (max-width: 800px) {
  .disney-guide .story-image--portrait img { height: auto; max-height: 540px; aspect-ratio: 4 / 5; }
  .disney-guide .story-image--pair img { height: auto; aspect-ratio: 4 / 3; }
  .guide-photo-interlude img { height: auto; aspect-ratio: 4 / 3; object-position: 62% center; }
}

/* Owner photographs are paced as wide editorial spreads, with no moving copy. */
.park-photo-pair { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: start; gap: 28px; max-width: 1380px; margin: 24px auto 64px; padding: 0 48px; }
.park-photo { margin: 0; height: 460px; overflow: hidden; }
.park-photo picture { display: block; height: 100%; }
.park-photo img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--photo-y,0px)) scale(1.08); will-change: transform; }
.park-photo-pair > :last-child { height: 350px; margin-top: 80px; }
.park-photo-pair--forest { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); }
.park-photo-pair--forest > :first-child { height: 500px; }
.park-photo-pair--forest > :last-child { height: 380px; }
.park-photo-wide { max-width: 1100px; padding: 0 48px; margin: 24px auto 64px; }
.park-photo-wide .park-photo { max-width: 800px; margin-left: auto; height: 430px; }
/* A silver monorail reads as a rigid, level machine on its elevated beam. */
.park-monorail { height: 250px; position: relative; overflow: hidden; margin: 4px 0 36px; background: linear-gradient(180deg,rgba(136,151,160,.08),transparent 70%); }
.monorail-beam { position: absolute; left: 0; right: 0; bottom: 57px; height: 18px; background: linear-gradient(#e1ded7,#aaa69c 30%,#c5c1b6 54%,#817e77); box-shadow: 0 5px 8px rgba(34,39,43,.1); }
.monorail-beam::after { content: ''; position: absolute; top: 18px; left: 0; width: 100%; height: 100px; background: repeating-linear-gradient(90deg,transparent 0 17vw,#b6b1a7 17vw calc(17vw + 16px),transparent calc(17vw + 16px) 37vw); }
.monorail-vehicle { position: absolute; left: 0; bottom: 74px; width: clamp(440px,55vw,880px); transform: translateX(var(--vehicle-x,calc(50vw - 330px))); will-change: transform; }
.monorail-vehicle img { width: 100%; height: auto; filter: drop-shadow(0 3px 2px rgba(21,28,34,.2)); }
/* The riverboat travels slowly; steam and its wake lag behind the hull. */
.park-river { position: relative; height: 390px; overflow: hidden; margin: 8px 0 36px; }
.river-water { position: absolute; inset: auto 0 0; height: 128px; background: url('../images/disneyland/extra/river-water.webp') center 60% / cover; mask-image: linear-gradient(transparent,#000 28%); }
.riverboat-vehicle { position: absolute; left: 0; bottom: 59px; width: clamp(330px,53vw,760px); transform: translateX(var(--vehicle-x,calc(50vw - 300px))); will-change: transform; }
.riverboat-body { position: relative; animation: riverboat-float 5.6s ease-in-out infinite; animation-play-state: paused; }
.riverboat-body img { width: 100%; height: auto; filter: drop-shadow(0 4px 3px rgba(33,48,42,.16)); }
.riverboat-wake { position: absolute; left: -22%; bottom: -9px; height: 16px; width: 72%; border-radius: 50%; background: radial-gradient(ellipse,rgba(250,255,249,.8),rgba(228,242,231,.3) 40%,transparent 70%); transform: skewX(-26deg); }
.river-steam { position: absolute; left: calc(75% - 17px); bottom: calc(100% - 5px); width: 34px; height: 55px; opacity: 0; background: radial-gradient(ellipse at 35% 55%,rgba(178,184,179,.65),transparent 65%),radial-gradient(ellipse at 60% 45%,rgba(225,229,220,.85),transparent 65%); filter: blur(4px); transform-origin: 50% 100%; animation: riverboat-steam 4s linear infinite; animation-play-state: paused; }
.river-steam--second { left: calc(71% - 17px); bottom: calc(100% - 20px); animation-delay: 1.8s; }
@keyframes riverboat-float { 0%,100% { transform: translateY(1px) rotate(-.1deg); } 50% { transform: translateY(-2px) rotate(.1deg); } }
@keyframes riverboat-steam { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 15% { opacity: .6; } 75% { opacity: .2; } 100% { opacity: 0; transform: translate(-70px,-100px) scale(2.1); } }
html[data-guide-motion="running"] .park-river.is-inview :is(.riverboat-body,.river-steam) { animation-play-state: running; }
html[data-guide-visibility="hidden"] .disney-guide * { animation-play-state: paused !important; }
html[data-guide-reduced="true"] .park-photo img { transform: none; }
/* Fireworks leave an actual owner photograph visible after the finale. */
.guide-fireworks { height: clamp(400px,42vw,590px); }
.fireworks-photo { position: absolute; inset: 0; display: block; opacity: var(--photo-reveal,1); }
.fireworks-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: brightness(.75); }
.fireworks-canvas { position: absolute; inset: 0; }
/* The fountain is decorative light above the real night photograph. */
.guide-fountains { position: relative; padding-bottom: 220px; background: #071727; }
.guide-fountains::before { content: ''; position: absolute; inset: auto 0 0; height: 220px; background: url('../images/disneyland/extra/river-water.webp') center / cover; filter: brightness(.17) saturate(.7); }
.guide-fountains::after { content: ''; position: absolute; left: 0; right: 0; bottom: 195px; height: 80px; background: linear-gradient(transparent,#071727); pointer-events: none; }
.fountain-canvas { position: absolute; inset: auto 0 0; z-index: 1; width: 100%; height: 540px; pointer-events: none; mix-blend-mode: screen; }
html[data-display-theme="dark"] .river-water { filter: brightness(.32) saturate(.7); }
@media (max-width: 800px) {
  .park-photo-pair,.park-photo-pair--forest { grid-template-columns: minmax(0,1fr); padding: 0 20px; gap: 20px; margin: 8px auto 40px; }
  .park-photo-pair .park-photo,.park-photo-pair--forest .park-photo { margin-top: 0; height: auto; aspect-ratio: 4 / 3; }
  .park-photo-wide { padding: 0 20px; margin: 8px auto 40px; }
  .park-photo-wide .park-photo { height: auto; aspect-ratio: 4 / 3; }
  .park-monorail { height: 200px; margin-bottom: 20px; }
  .monorail-vehicle { width: 450px; }
  .park-river { height: 290px; margin-bottom: 20px; }
  .riverboat-vehicle { width: 380px; }
  .guide-fountains { padding-bottom: 170px; }
  .guide-fountains::before { height: 170px; }
  .guide-fountains::after { bottom: 145px; height: 70px; }
  .fountain-canvas { height: 400px; }
  .guide-fireworks { height: 380px; }
  .fireworks-photo img { object-position: center 55%; }
}
@media (prefers-reduced-motion: reduce) { .park-photo img { transform: none; } }

/* DCA's drop carriage has its own gutter; all reading content stays still. */
.dca-drop-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 16vw, 220px);
  gap: clamp(12px, 2vw, 28px);
  max-width: 1440px;
  padding-right: clamp(12px, 2vw, 28px);
  margin: 0 auto;
}
.dca-drop-content, .dca-drop-lane { min-width: 0; }
.dca-drop-content .story-section,
.dca-drop-content .park-photo-pair { padding-inline: clamp(20px, 3.3vw, 48px); }
.dca-drop-lane { position: relative; pointer-events: none; }
.dca-drop-shaft {
  position: sticky;
  top: 112px;
  height: clamp(220px, calc(100svh - 200px), 640px);
  isolation: isolate;
}
.dca-drop-rails {
  position: absolute;
  inset: 0 10%;
  background: repeating-linear-gradient(180deg, transparent 0 76px, rgba(114,102,84,.2) 77px 81px, transparent 82px 156px);
  mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent);
}
.dca-drop-rails::before, .dca-drop-rails::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(90deg, #716b60, #dedbd2 38%, #8c8578 62%, #4b4a45);
  box-shadow: 2px 0 4px rgba(20,25,31,.12);
}
.dca-drop-rails::before { left: 11%; }
.dca-drop-rails::after { right: 11%; }
.dca-drop-car {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 96%;
  transform: translate(-50%, var(--drop-y, 24px)) rotate(var(--drop-tilt, 0deg));
  transform-origin: center 60%;
  will-change: transform;
}
.dca-drop-car img {
  display: block;
  width: 100%;
  height: auto;
  filter: blur(var(--drop-blur, 0px)) drop-shadow(0 8px 6px rgba(15,24,38,.2));
}
@media (min-width: 801px) {
  .dca-drop-content .story-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .dca-drop-section {
    grid-template-columns: minmax(0, 1fr) clamp(56px, 18vw, 80px);
    gap: 8px;
    padding-right: 8px;
  }
  .dca-drop-car { width: clamp(64px, 22vw, 76px); }
  .dca-drop-rails { inset-inline: 5%; }
  .dca-drop-rails::before, .dca-drop-rails::after { width: 3px; }
}
html[data-guide-reduced="true"] .dca-drop-car { will-change: auto; }
