/* hub page styles (migrated). Shared tokens live in sierra.css */



/* ── Design system — exact PDI tokens ── */


html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--ground);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Topbar — matches PDI exactly ── */
.topbar {
  background: var(--ink);
  padding: 0 24px;
  border-bottom: 2px solid var(--rr);
  position: relative; z-index: 10;
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rr-deep); border: 2px solid var(--rr-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #fff; letter-spacing: 0.02em;
}
.brand-text span { color: var(--rr-text); }
.topbar-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.35);
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 14px; line-height: 1.4;
  display: none;
}
@media (min-width: 600px) { .topbar-meta { display: block; } }
.topbar-right {
  font-family: 'Space Mono', monospace;
  font-size: 11px; margin-left: auto;
}
.topbar-right a { color: rgba(255,255,255,0.4); text-decoration: none; }
.topbar-right a:hover { color: rgba(255,255,255,0.75); }

/* ── Hero — dark strip matching PDI splash card ── */
.hero {
  background: var(--ink);
  padding: 0 24px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rr) 0%, transparent 55%);
}
/* Subtle grid texture — matches PDI background feel */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(61,140,138,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,140,138,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 0 60px;
  position: relative; z-index: 1;
}

/* ── Entrance animation — single orchestrated sequence ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--rr-pale);
  letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  /* Step 1 */
  animation: slideUp 420ms var(--ease-out) both;
  animation-delay: 80ms;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--rr-deep);
}
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 700; line-height: 0.92;
  color: #fff; letter-spacing: -0.01em;
  margin-bottom: 22px;
  /* Step 2 */
  animation: slideUp 440ms var(--ease-out) both;
  animation-delay: 140ms;
}
.hero-h1 em {
  color: var(--rr-pale);
  font-style: normal; font-weight: 300;
  display: block;
}
.hero-lead {
  font-size: 16px; color: rgba(255,255,255,0.52);
  max-width: 500px; line-height: 1.7;
  margin-bottom: 30px;
  /* Step 3 */
  animation: slideUp 440ms var(--ease-out) both;
  animation-delay: 200ms;
}
.hero-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  /* Step 4 */
  animation: slideUp 400ms var(--ease-out) both;
  animation-delay: 260ms;
}
.chip {
  font-family: 'Space Mono', monospace;
  font-size: 11px; padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.38);
  border-radius: 1px;
}
.chip.rr { border-color: var(--rule-rr); color: var(--rr-pale); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-h1, .hero-lead, .hero-chips {
    animation: none;
  }
}

/* ── Destination cards — warm ground, PDI glass style ── */
.dest-section {
  background: var(--ground);
  padding: 0 24px;
}
.dest-section-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 32px 0 0;
}
.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 860px) { .dest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .dest-grid { grid-template-columns: 1fr; }
  .dest-section { padding: 0 16px; }
}

.dest-card {
  background: var(--ground-raised);
  border: 1px solid var(--rule);
  border-radius: 1px;
  padding: 28px 24px 24px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  /* Card hover — ease matches PDI tab hover */
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.dest-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--rr-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform 180ms var(--ease-out);
}
.dest-card:hover { border-color: var(--rule-rr); }
.dest-card:hover::before { transform: scaleX(1); }
/* Button press feedback — Emil: 100–160ms, scale 0.97 */
.dest-card:active { transform: scale(0.99); transition-duration: 100ms; }

.dest-icon { font-size: 26px; margin-bottom: 14px; display: block; }
.dest-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--rr-text);
  margin-bottom: 5px;
}
.dest-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem; font-weight: 700;
  color: var(--ink); line-height: 1.05;
  margin-bottom: 10px;
}
.dest-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 18px; flex: 1;
}
.dest-features {
  list-style: none; margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.dest-features li {
  font-size: 12px; color: var(--text);
  display: flex; align-items: flex-start; gap: 7px;
  line-height: 1.45;
}
.dest-features li::before {
  content: '✓'; color: var(--rr-text); font-weight: 700;
  flex-shrink: 0; font-size: 11px; margin-top: 1px;
}
.dest-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--rr-deep); color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600;
  padding: 9px 16px; border-radius: 1px;
  text-decoration: none; align-self: flex-start;
  transition: background 150ms ease;
}
.dest-cta:hover { background: var(--rr-deep); }
.dest-cta svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Community strip ── */
.community-section {
  background: var(--ground);
  padding: 0 24px;
  margin-top: 14px;
}
@media (max-width: 560px) { .community-section { padding: 0 16px; } }
.community-card {
  max-width: 1240px; margin: 0 auto;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1px;
  padding: 26px 28px;
  display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.comm-text { flex: 1; min-width: 200px; }
.comm-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--rr-pale);
  margin-bottom: 4px;
}
.comm-h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  color: #fff; margin-bottom: 4px;
}
.comm-desc { font-size: 13px; color: rgba(255,255,255,0.42); }
.comm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa); color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600;
  padding: 9px 16px; border-radius: 1px;
  text-decoration: none;
  transition: opacity 150ms ease;
}
.btn-wa:hover { opacity: 0.88; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,0.55);
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 500;
  padding: 9px 16px; border-radius: 1px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.32); color: #fff; }

/* ── About / SEO ── */
.about-section {
  background: var(--ground);
  padding: 0 24px;
  margin-top: 14px;
}
@media (max-width: 560px) { .about-section { padding: 0 16px; } }
.about-card {
  max-width: 1240px; margin: 0 auto;
  background: var(--ground-raised);
  border: 1px solid var(--rule);
  border-radius: 1px; padding: 24px 26px;
}
.about-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.about-card p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 8px; max-width: 700px;
}
.about-card p:last-child { margin-bottom: 0; }
.about-card a { color: var(--rr-text); text-decoration: none; }
.about-card a:hover { text-decoration: underline; }

/* ── Footer ── */
.page-footer {
  background: var(--ground);
  padding: 0 24px 48px;
}
@media (max-width: 560px) { .page-footer { padding: 0 16px 40px; } }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-text {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--text-faint);
}
.footer-text a { color: var(--text-muted); text-decoration: none; }
.bmc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FFDD00; color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 8px;
  text-decoration: none;
}
