/* Clubpas — warm hospitality system. Shared values cover every page component. */
:root {
  --accent: #234bdf;
  --accent-hover: #1939b8;
  --navy: #172b46;
  --deep: #101b2d;
  --ice: #f0ede6;
  --soft: #e3dbce;
  --ink: #5c5e65;
  --paper: #fcfbf8;
  --line: #d5cec2;
  --radius: 34px;
}
body { background: var(--ice); }
h1,h2,h3 { letter-spacing: -.025em; }
p { line-height: 1.65; }
.button { transition: background .25s, color .25s, transform .2s, box-shadow .25s; }
.button.primary { background: var(--accent); color: #fff; box-shadow: none; }
.button.dark { background: var(--navy); }
.button.white { background: var(--paper); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.button:active { transform: scale(.98); }
.header { pointer-events: none; }
.nav-shell, .mobile-menu { pointer-events: auto; }
.nav-shell { background: transparent; box-shadow: none; transition: background .3s, box-shadow .3s; }
.header.scrolled .nav-shell, .header.menu-open .nav-shell { background: rgba(252,251,248,.97); box-shadow: 0 4px 22px #101b2d0a; backdrop-filter: blur(14px); }
.desktop-nav a, .desktop-nav button { color: var(--navy); }
.mobile-menu { background: var(--paper); box-shadow: 0 18px 36px #101b2d1f; }
.mobile-menu a, .mobile-menu button { font-size: 17px; min-height: 48px; }
.mobile-menu a+a { border-color: var(--line); }
.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #fff; padding: 0; border: 1px solid #172b4617; }
.menu-toggle span { margin: 0; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.film-brand { display: none; }
.brand { width: 116px; border-radius: 12px; }
.brand .wordmark { display: block; aspect-ratio: 3.7; object-fit: cover; height: auto; filter: none; }
.footer-top .wordmark, .video-signature .wordmark { display: block; background: var(--paper); padding: 8px 12px; border-radius: 12px; filter: none; }
.footer-top .wordmark { width: 160px; }
.hero-line { stroke: var(--soft); }
.hero-copy p { color: #ffffffeb; }
@media (min-width:810px) {
  /* Show the introduction for the opening five seconds, then fade it out. */
  .hero-copy h1, .hero-copy>p {
    opacity: 1;
    animation: none;
    transition: opacity 1s ease;
  }
  .hero.intro-finished .hero-copy h1,
  .hero.intro-finished .hero-copy>p {
    opacity: 0;
    pointer-events: none;
  }
}
.glass-button { background: #172b46ed; border-color: #ffffff70; }
.logo-band, .wallet-section, .process, .contact { background: var(--paper); }
.logo-band { z-index: 1; }
.logo-band p { position: relative; z-index: 1; }
.marquee img { opacity: .88; }
.problem.band { z-index: 2; isolation: isolate; border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(-1 * var(--radius)); }
.logo-band small, .example-note, .wallet-demo>small { color: #6b6b71; }
.scribble { white-space: nowrap; margin-right: 12px; }
.scribble svg {
  inset: 50% auto auto -14px;
  width: calc(100% + 28px);
  max-width: none;
  height: calc(100% + 24px);
  transform: translateY(-50%);
  stroke: var(--accent);
  stroke-width: 2.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
  animation: none;
  pointer-events: none;
}
.problem .photo-shade { background: linear-gradient(90deg,#0e1625e6,#0e1625b3 62%,#0e16258c); }
.problem-copy { max-width: 650px; }
.problem-copy>p { font-size: 17px; color: #ffffffe0; }
.problem ul { margin: 26px 0 30px; padding: 0; }
.problem li { align-items: flex-start; font-weight: 400; font-size: 17px; line-height: 1.65; gap: 14px; margin: 22px 0; }
.problem li>span { display: grid; place-items: center; background: var(--accent); color: white; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px; margin-top: 1px; }
.problem li .icon { width: 16px; height: 16px; stroke-width: 2; }
.problem .problem-close { font-weight: 600; color: #fff; }
.solutions { background: var(--ice); }
.benefit { background: var(--soft); border-radius: 16px; }
.benefit h3 { color: var(--navy); letter-spacing: -.015em; }
.notification { background: #fcfbf8f5; box-shadow: 0 5px 15px #101b2d1c; border-color: #ffffff90; }
.notification .app-icon { background: var(--navy); }
.notification time { color: #6d6c73; }
.wallet-title { color: var(--navy); }
.phone { height: auto; min-height: 568px; padding-bottom: 8px; background: #f0ede6; box-shadow: 0 25px 42px #101b2d20; }
.wallet-card { min-height: 390px; }
.pass-body { padding-bottom: 16px; }
.pass-bottom { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pass-bottom img { justify-self: center; width: 92px; height: 92px; padding: 10px; border-radius: 16px; }
.pass-body em { margin-top: 10px; }
.branch-chip { border-color: #172b4659; color: var(--navy); }
.timeline:before { background: var(--soft); }
.timeline-progress, .step.seen .step-dot { background: var(--accent); }
.step-dot { border-color: var(--paper); }
.step-time, .rotating-words { color: var(--accent); }
.join-form, .touchpoints span, .chat-demo { background: var(--ice); }
.touchpoints .selected { background: var(--navy); color: #fff; }
.trigger-notice { background: var(--paper); }
.triggers button>span { background: #b4b0aa; }
.triggers button[aria-checked=true]>span { background: var(--accent); }
.curious>.photo-shade { background: #101b2dc9; }
.faq { background: var(--ice); }
.faq-list details { border-color: #172b4626; }
.faq-list details[open] { background: var(--soft); }
.contact .eyebrow { color: var(--accent); }
.chat-avatar { background: var(--navy); }
.chat-two p { background: var(--navy); color: #fff; }
.footer { background: var(--deep); color: #dce0e7; }
.footer .eyebrow { color: #c8c5bd; }
.footer h2 span { color: #d9c7a9; }
.footer-grid a, .footer-grid button { color: #e4e6eb; }
.footer-watermark { color: #ffffff04; }
dialog { background: var(--paper); }
dialog::backdrop { background: #101b2dbd; }
.form-dialog input, .form-dialog textarea, .demo-dialog input { border-color: var(--line); background: #fff; }
.package-grid article { background: #eee9df; }
.package-grid article.featured { background: var(--ice); box-shadow: inset 0 0 0 1px #c9bba5; }
.package-grid li:before { color: var(--accent); }
@media (min-width:1180px) { .menu-toggle { display: none; } }
@media (hover:hover) {
  .button.primary:hover { background: var(--accent-hover); box-shadow: 0 6px 16px #234bdf1a; }
  .glass-button:hover, .button.dark:hover { background: var(--deep); }
  .button.white:hover { background: var(--soft); }
}
@media (max-width:1179px) {
  .header:not(.scrolled):not(.menu-open) .nav-shell { background: transparent; box-shadow: none; backdrop-filter: none; }
  .header .brand { background: transparent; }
}
@media (max-width:809px) {
  :root { scroll-padding-top: 96px; }
  .header { top: 14px; padding: 0 16px; }
  .nav-shell { padding: 8px 10px; min-height: 64px; gap: 8px; }
  .brand { width: 100px; }
  .header .brand .wordmark { filter: none; }
  /* Keep the original logo geometry and alpha; recolor only its dark lettering. */
  .header:not(.scrolled):not(.menu-open) .brand .wordmark { filter: url(#clubpas-video-logo); }
  .nav-actions { gap: 8px; }
  .nav-actions .nav-demo { min-height: 44px; font-size: 14px; padding: 12px 15px; gap: 6px; }
  .menu-toggle { width: 44px; height: 44px; flex: 0 0 44px; }
  .hero-media { aspect-ratio: 5/4; }
  .hero-shade { background: linear-gradient(0deg,#0e162570,transparent 70%); }
  .hero-copy { margin-top: -34px; padding: 32px 24px 0; border-radius: 34px 34px 0 0; background: var(--ice); }
  .hero-copy h1 { font-size: clamp(29px,7.6vw,34px); line-height: 1.1; letter-spacing: -.025em; color: var(--navy); text-wrap: balance; }
  .hero-copy p { color: var(--ink); font-size: 17px; line-height: 1.6; margin: 18px 0 26px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .button { min-height: 54px; padding: 15px 26px; font-size: 17px; }
  .hero-secondary { background: #fff; }
  .video-actions { right: 24px; bottom: 50px; gap: 8px; }
  .sound-button { min-height: 44px; padding: 10px 18px; font-size: 14px; }
  .video-pause { width: 44px; }
  .logo-band { padding: 40px 0 42px; }
  .logo-band p { font-size: 15px; line-height: 1.3; margin: 0 20px 26px; }
  .logo-band small { font-size: 9px; line-height: 1.3; margin-top: 8px; }
  .marquee img { width: 96px; height: 44px; }
  .marquee-track>div { gap: 25px; padding-right: 25px; }
  .problem.band { padding-top: 72px; padding-bottom: 78px; }
  .problem h2 { font-size: 29px; line-height: 1.16; margin-bottom: 20px; letter-spacing: -.02em; }
  .problem-copy>p { font-size: 17px; line-height: 1.6; }
  .problem li { font-size: 17px; line-height: 1.6; gap: 13px; margin: 22px 0; }
  .problem li>span { width: 28px; height: 28px; flex-basis: 28px; margin-top: 1px; }
  .problem li .icon { width: 15px; height: 15px; }
  .problem ul { margin: 27px 0 30px; }
  .problem .photo-shade { background: linear-gradient(0deg,#0e1625eb,#0e1625b8); }
  .problem>img { object-position: 62% center; }
  .problem .problem-close { line-height: 1.65; }
  .solutions { border-top: 2px solid white; }
  .section-intro p, .branches p, .wallet-copy p, .step>p:not(.step-time) { font-size: 16px; line-height: 1.65; }
  .branches .branch-chip { min-height: 44px; padding: 10px 14px; font-size: 13px; }
  .chat-line p { font-size: 13px; line-height: 1.5; }
  .faq-list summary { font-size: 17px; }
  .faq-list details p { font-size: 15px; line-height: 1.7; }
}
@media (max-width:374px) {
  .header { padding-inline: 10px; }
  .nav-shell { padding-inline: 12px 8px; gap: 8px; }
  .brand { width: 88px; }
  .nav-actions .nav-demo { font-size: 13px; padding-inline: 10px; }
  .hero-copy h1 { font-size: 29px; }
}
@media (max-width:359px) {
  .brand { width: 80px; }
  .nav-actions .nav-demo .icon { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  .button, .nav-shell { transition: none; }
}
