/* =========================================================
   Allenberry — Allenberry Pass 2027 landing (/allenberry-pass)

   Built from the "Allenberry Pass 2027" design handoff (index.html in the
   handoff folder). The page body lives in components/PageAllenberryPass.jsx;
   repeated type/layout treatments live here as classes, one-off values stay
   inline next to the markup. Everything is scoped under .ap-page so nothing
   leaks into the rest of the SPA. Fonts come from the site tokens
   (--display Fraunces, --body Inter, --mono JetBrains Mono).
   ========================================================= */

.ap-page { background: #ffffff; color: #1E2A36; font-family: var(--body); }
.ap-page a { color: #2F5576; }
.ap-page a:hover { color: #1E2A36; }
/* The site's base h1–h4 rules tighten letter-spacing; the design uses normal spacing. */
.ap-page h1, .ap-page h2, .ap-page h3, .ap-page h4 { letter-spacing: normal; }

/* ---- Layout ---- */
.ap-page .ap-wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.ap-page .ap-wrap--wide { max-width: 1180px; }
@media (max-width: 600px) {
  .ap-page .ap-wrap { padding-left: 20px; padding-right: 20px; }
}

/* ---- Type ---- */
.ap-page .ap-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase; color: #8A6A2F;
}
.ap-page .ap-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.25em;
  text-transform: uppercase; color: #2F5576;
}
.ap-page .ap-display { font-family: var(--display); font-weight: 300; margin: 0; }
.ap-page .ap-display em { font-style: italic; font-weight: 300; }
.ap-page .ap-h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; color: #1E2A36; }
.ap-page .ap-body { margin: 0; font-size: 17px; line-height: 1.6; color: #3E4A56; }
.ap-page .ap-price { font-family: var(--display); font-weight: 400; line-height: 1; }
.ap-page .ap-tag {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 7px 12px; display: inline-block;
}

/* ---- Hero / closing photo bands ---- */
.ap-page .ap-hero {
  position: relative; min-height: 780px; display: flex; flex-direction: column; color: #ffffff;
  background-color: #121A22; background-position: center 40%; background-size: cover; background-repeat: no-repeat;
}
.ap-page .ap-close {
  color: #ffffff;
  background-color: #0E141C; background-position: center 30%; background-size: cover; background-repeat: no-repeat;
}
@media (max-width: 700px) {
  /* Text spans the full width on phones, so the scrim has to as well. */
  .ap-page .ap-hero { min-height: 0; }
}

/* ---- Perk cards ---- */
.ap-page .ap-perks {
  display: grid; gap: 56px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.ap-page .ap-perk { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ap-page .ap-perk img { width: 100%; height: 320px; object-fit: cover; display: block; margin-bottom: 12px; }
@media (max-width: 600px) {
  .ap-page .ap-perk img { height: 240px; }
}

/* ---- Pass cards ---- */
.ap-page .ap-card-col { flex: 1 1 460px; min-width: 0; display: flex; scroll-margin-top: 100px; }
.ap-page .ap-card { flex: 1; box-shadow: 0 20px 60px rgba(30,42,54,0.08); background: #ffffff; color: #1E2A36; }
.ap-page .ap-card-head {
  margin: clamp(10px, 2vw, 16px); padding: 26px clamp(16px, 3vw, 28px) 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.ap-page .ap-card-body { padding: 24px clamp(20px, 4vw, 40px) 40px; display: flex; flex-direction: column; gap: 24px; }
.ap-page .ap-card-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.ap-page .ap-rule { border-top: 1px solid #E2DED3; }
.ap-page .ap-fine { margin: 0; font-size: 14px; line-height: 1.6; color: #3E4A56; }

/* Mock phone screens in the Allenberry Pass card */
.ap-page .ap-phone {
  margin: 0; width: 132px; height: 268px; border-radius: 22px; border: 5px solid #1E2A36;
  background: #F7EEDC; box-sizing: border-box; overflow: hidden;
  box-shadow: 0 12px 30px rgba(30,42,54,0.18); flex: none;
}
.ap-page .ap-phone-row {
  display: flex; justify-content: space-between; border-top: 1px solid #E2D6BC;
  padding-top: 5px; font-size: 10px;
}
.ap-page .ap-phone-row span:first-child { font-family: var(--display); }
.ap-page .ap-phone-row span:last-child { font-family: var(--mono); font-size: 7px; }

/* ---- Form controls ---- */
.ap-page .ap-check {
  display: flex; align-items: center; gap: 12px; font-size: 16px; min-height: 44px;
  cursor: pointer; color: #1E2A36;
}
.ap-page .ap-check input { width: 18px; height: 18px; accent-color: #1E2A36; cursor: pointer; flex: none; margin: 0; }
.ap-page .ap-field {
  width: 100%; box-sizing: border-box; height: 48px; border: 1px solid #DDD7CB; border-radius: 0;
  padding: 0 16px; font-size: 16px; font-family: var(--body); color: #1E2A36; background: #ffffff;
}
.ap-page .ap-field:focus { outline: 2px solid #2F5576; outline-offset: 1px; border-color: #2F5576; }
.ap-page .ap-field[aria-invalid="true"] { border-color: #A4462B; }
/* Day Pass date: "Choose a weekday" placeholder over the empty native picker */
.ap-page .ap-date { position: relative; }
.ap-page .ap-field--empty:not(:focus) { color: transparent; }
.ap-page .ap-field--empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
.ap-page .ap-date-placeholder {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: #3E4A56; pointer-events: none;
}
.ap-page .ap-field--empty:focus + .ap-date-placeholder { display: none; }
.ap-page .ap-msg { margin: 0; font-size: 14px; line-height: 1.5; color: #A4462B; }
.ap-page .ap-msg--info { color: #3E4A56; }

/* ---- Buttons (square-cornered, 44px+ targets) ---- */
.ap-page .ap-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; padding: 16px 28px; min-height: 44px; box-sizing: border-box;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ap-page .ap-btn:focus-visible { outline: 2px solid #2F5576; outline-offset: 3px; }
.ap-page .ap-btn[aria-busy="true"] { opacity: 0.7; cursor: default; }
/* White fill on photo bands */
.ap-page a.ap-btn--light { background: #ffffff; color: #1E2A36; }
.ap-page a.ap-btn--light:hover { background: #F3EFE6; color: #1E2A36; }
/* Outline on photo bands */
.ap-page a.ap-btn--ghost { color: #ffffff; font-weight: 500; border-color: rgba(255,255,255,0.7); padding: 15px 28px; }
.ap-page a.ap-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #ffffff; border-color: #ffffff; }
/* Navy fill (Allenberry Pass card) */
.ap-page a.ap-btn--navy { background: #1E2A36; color: #ffffff; padding: 16px 30px; }
.ap-page a.ap-btn--navy:hover { background: #2F5576; color: #ffffff; }
/* Blue outline (Day Pass card) */
.ap-page a.ap-btn--outline { color: #2F5576; border-color: #8FA6BD; padding: 15px 28px; }
.ap-page a.ap-btn--outline:hover { background: rgba(47,85,118,0.06); color: #1E2A36; border-color: #2F5576; }
/* Underlined text link on the hero */
.ap-page a.ap-textlink {
  font-size: 16px; font-weight: 500; color: #ffffff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.6); padding: 10px 0;
}
.ap-page a.ap-textlink:hover { color: #ffffff; border-bottom-color: #ffffff; }

/* ---- Navy band links ---- */
.ap-page .ap-dark a:not(.ap-btn) { color: #E9D9B4; }
.ap-page .ap-dark a:not(.ap-btn):hover { color: #ffffff; }
.ap-page .ap-dark .ap-card a:not(.ap-btn) { color: #2F5576; }
.ap-page .ap-dark .ap-card a:not(.ap-btn):hover { color: #1E2A36; }

/* ---- FAQ (native <details>/<summary>) ---- */
.ap-page .ap-faq { border-top: 1px solid #DDD7CB; }
.ap-page .ap-faq:last-child { border-bottom: 1px solid #DDD7CB; }
.ap-page .ap-faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 26px 0; min-height: 44px; cursor: pointer;
}
.ap-page .ap-faq summary::-webkit-details-marker { display: none; }
.ap-page .ap-faq summary:focus-visible { outline: 2px solid #2F5576; outline-offset: 4px; }
.ap-page .ap-faq .ap-plus { flex: none; transition: transform .2s ease; }
.ap-page .ap-faq[open] .ap-plus { transform: rotate(45deg); }
.ap-page .ap-faq h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.25; color: #1E2A36; }
.ap-page .ap-faq p { margin: 0; max-width: 760px; padding: 0 0 28px; font-size: 17px; line-height: 1.7; color: #2A3642; }

@media (prefers-reduced-motion: reduce) {
  .ap-page .ap-faq .ap-plus, .ap-page .ap-btn { transition: none; }
}
