/* Page styles for polarexpress.html (sensory-friendly Polar Express ride).
   Shared base reset lives in reset.css; :root brand tokens live in tokens.css.
   Scaffolding (nav, container, animations, section, CTA bar, footer) mirrors
   index.css so each page's stylesheet is self-contained. The page-unique
   components — the split photo hero, event/ticket detail cards, and the
   downloadable-visuals grid — follow below. */

  /* ── LAYOUT ── */
  .ss-container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
  @media (max-width: 768px) { .ss-container { padding: 0 20px; } }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  .ss-anim { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
  .ss-anim-d1 { animation-delay: 0.1s; }
  .ss-anim-d2 { animation-delay: 0.2s; }
  .ss-anim-d3 { animation-delay: 0.35s; }
  .ss-anim-d4 { animation-delay: 0.5s; }
  .ss-anim-d5 { animation-delay: 0.65s; }

  .ss-nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  /* ── NAV ── */
  .ss-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,249,246,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .ss-nav-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 24px;
  }
  .ss-nav-logo {
    font-family: var(--serif); font-size: 22px; color: var(--green-deep);
    display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0;
  }
  .ss-nav-logo span { color: var(--green); }
  .ss-nav-links {
    display: flex; align-items: center; gap: 28px;
    font-size: 14px; color: var(--ink-light); font-weight: 400;
  }
  .ss-nav-links a:hover { color: var(--green-deep); }
  .ss-nav-cta {
    background: var(--green); color: #ffffff !important;
    border: none; padding: 10px 20px; border-radius: var(--radius-pill);
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: background 0.2s, transform 0.15s; display: inline-block;
    text-decoration: none;
  }
  .ss-nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
  /* Scoped to .ss-nav so the color beats `.ss-wrap a { color: inherit }` (same trick as .ss-nav-cta). */
  .ss-nav .ss-nav-login {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 500; color: var(--green);
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .ss-nav .ss-nav-login svg { width: 20px; height: 20px; }
  .ss-nav .ss-nav-login:hover { background: rgba(0,0,0,0.06); color: var(--green-deep); }
  .ss-nav-hamburger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
  }
  .ss-nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: 0.3s;
  }
  .ss-mobile-menu {
    display: none; flex-direction: column; gap: 0;
    background: var(--cream); border-top: 1px solid var(--border);
    padding: 12px 20px 20px;
  }
  .ss-mobile-menu a {
    padding: 12px 0; font-size: 15px; color: var(--ink-light);
    border-bottom: 1px solid var(--border);
  }
  .ss-mobile-menu a:last-child { border-bottom: none; }
  /* Hidden by default; only revealed on portrait phones (<=600px) where the
     header CTA is hidden. Centered, content-width pill — not full menu width. */
  .ss-mobile-menu .ss-mobile-cta {
    display: none; align-self: center; margin-top: 12px;
    background: var(--green); color: #ffffff;
    border: none; padding: 14px 28px; border-radius: var(--radius-pill);
    font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer;
  }
  @media (max-width: 880px) {
    .ss-nav-links { display: none; }
    .ss-nav-hamburger { display: flex; }
    .ss-nav-inner { gap: 14px; }
    /* Push the login + CTA + hamburger cluster to the right, logo stays left */
    .ss-nav-login { margin-left: auto; }
  }
  @media (max-width: 768px) {
    .ss-nav-inner { padding: 0 20px; }
  }
  @media (max-width: 600px) {
    /* Portrait phones can't fit the header CTA — switch it out for the centered
       CTA inside the mobile menu (never both at once). */
    .ss-nav-cta { display: none; }
    .ss-mobile-menu .ss-mobile-cta { display: inline-block; }
  }

  /* ── SECTION SHARED ── */
  .ss-section { padding: var(--section-pad) 0; }
  .ss-section-sm { padding: var(--section-pad-sm) 0; }
  .ss-section-xs { padding: var(--section-pad-xs) 0; }
  .ss-eyebrow {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--terracotta); line-height: 1.5; margin-bottom: 16px;
  }
  .ss-section h2, .ss-section-sm h2, .ss-section-xs h2 {
    font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15; color: var(--green); margin-bottom: 20px; font-weight: 400;
  }
  .ss-section .ss-lead, .ss-section-sm .ss-lead, .ss-section-xs .ss-lead {
    font-size: var(--fs-lead); color: var(--ink-light); line-height: 1.75;
    max-width: 640px; margin-bottom: 48px; font-weight: 300;
  }
  .ss-alt-bg { background: var(--cream-dark); }

  /* ── BUTTONS ── */
  /* Scoped to .ss-wrap so the white text beats `.ss-wrap a { color: inherit }` (same trick as .ss-nav-cta). */
  .ss-wrap .ss-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--sans); font-weight: 600; font-size: 0.98rem; line-height: 1;
    padding: 15px 30px; border-radius: var(--radius-pill);
    border: 2px solid var(--green); background: var(--green); color: #ffffff;
    cursor: pointer; text-align: center; text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .ss-wrap .ss-btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(43,50,47,0.09); }
  .ss-wrap .ss-btn .ss-arrow { transition: transform 0.18s ease; }
  .ss-wrap .ss-btn:hover .ss-arrow { transform: translateX(4px); }

  /* ── HERO (split: photo + copy panel) ── */
  .ss-hero { padding: 48px 0 0; background: var(--cream); }
  .ss-hero-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 24px 60px rgba(43,50,47,0.14);
  }
  .ss-hero-photo { position: relative; min-height: 440px; }
  .ss-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ss-hero-credit {
    position: absolute; left: 14px; bottom: 12px;
    font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.9);
    background: rgba(46,61,58,0.55); padding: 4px 11px; border-radius: var(--radius-pill);
  }
  .ss-hero-copy {
    background: var(--steel-light); padding: 56px 48px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  }
  .ss-hero-copy h1 {
    font-family: var(--serif); font-weight: 400; color: var(--green-deep);
    font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; margin-bottom: 18px;
  }
  .ss-hero-copy h1 em { font-style: italic; color: var(--green); }
  .ss-hero-sub { font-size: 1.05rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 28px; font-weight: 300; }
  .ss-hero-sub strong { color: var(--green-deep); font-weight: 600; }
  @media (max-width: 880px) {
    .ss-hero-grid { grid-template-columns: 1fr; }
    .ss-hero-photo { min-height: 260px; }
    .ss-hero-copy { padding: 40px 28px; }
  }

  /* ── INTRO + EVENT/TICKET DETAILS ── */
  .ss-intro { text-align: center; max-width: 50rem; margin: 0 auto 44px; }
  .ss-intro .ss-lead { margin-left: auto; margin-right: auto; margin-bottom: 0; max-width: 46rem; }
  .ss-detail-card {
    max-width: 640px; margin: 0 auto; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 34px; box-shadow: 0 8px 22px rgba(43,50,47,0.09);
  }
  .ss-detail-card + .ss-detail-card { margin-top: 20px; }
  .ss-detail-card p { font-size: 1rem; color: var(--ink); line-height: 1.6; margin-bottom: 12px; }
  .ss-detail-card p:last-child { margin-bottom: 0; }
  .ss-detail-card strong { color: var(--green-deep); font-weight: 600; }
  #tickets { scroll-margin-top: 90px; }
  .ss-ticket-actions { max-width: 640px; margin: 24px auto 0; }
  .ss-ticket-actions .ss-btn { width: 100%; }

  /* ── DOWNLOADABLE VISUALS ── */
  .ss-downloads-head { text-align: center; max-width: 46rem; margin: 0 auto 44px; }
  .ss-downloads-head .ss-lead { margin-left: auto; margin-right: auto; margin-bottom: 0; }
  .ss-downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 880px; margin: 0 auto; }
  .ss-download-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; box-shadow: 0 8px 22px rgba(43,50,47,0.09);
  }
  .ss-download-thumb {
    height: 340px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; overflow: hidden;
    background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm);
  }
  .ss-download-thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
  .ss-download-card .ss-btn { margin-top: auto; width: 100%; }
  @media (max-width: 720px) {
    .ss-downloads { grid-template-columns: 1fr; }
    .ss-download-thumb { height: 280px; }
  }

  /* ── BOTTOM CTA ── */
  .ss-cta-bar {
    text-align: center; padding: 96px 32px;
    background: var(--green); position: relative; overflow: hidden;
  }
  .ss-cta-bar::before {
    content: '';
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(82,102,98,0.20) 0%, transparent 70%);
    pointer-events: none;
  }
  .ss-cta-bar h2 { font-family: var(--serif); font-size: clamp(28px,4vw,44px); color: #fff; margin-bottom: 16px; font-weight: 400; position: relative; }
  .ss-cta-bar p { font-size: var(--fs-lead); color: rgba(255,255,255,0.6); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; font-weight: 300; position: relative; }
  .ss-cta-bar-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
  .ss-cta-btn-primary {
    background: transparent; color: #ffffff !important;
    border: 2px solid #ffffff; padding: 15px 32px; border-radius: var(--radius-pill);
    font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer;
    transition: background 0.2s, transform 0.15s; display: inline-block;
  }
  .ss-cta-btn-primary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); color: #ffffff !important; }
  .ss-cta-btn-outline {
    background: transparent; color: #ffffff !important;
    border: 2px solid #ffffff; padding: 14px 28px; border-radius: var(--radius-pill);
    font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer;
    transition: background 0.2s, transform 0.15s; display: inline-block;
  }
  .ss-cta-btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); color: #ffffff !important; }

  /* ── FOOTER ── */
  .ss-footer {
    background: #2e3d3a; padding: 48px 32px 32px;
  }
  .ss-footer-inner {
    max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto auto; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ss-footer-logo { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 12px; }
  .ss-footer-logo span { color: #fff; }
  .ss-footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
  .ss-footer-col h5 { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
  .ss-footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
  .ss-footer-col a:hover { color: var(--green); }
  .ss-footer-bottom {
    max-width: var(--max); margin: 0 auto; padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  }
  .ss-footer-bottom-left { font-size: 12px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .ss-footer-bottom-sep { color: rgba(255,255,255,0.2); }
  .ss-footer-bottom-left a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
  .ss-footer-bottom-left a:hover { color: var(--green); }
  .ss-footer-social { display: flex; gap: 16px; }
  .ss-footer-social a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
  .ss-footer-social a:hover { color: var(--green); }
  @media (max-width: 780px) {
    .ss-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .ss-footer { padding: 40px 20px 24px; }
    .ss-footer-bottom { flex-direction: column; align-items: flex-start; }
  }
