/* ============================================================
   HUB · Kies je poule — full-viewport, editorial, two themed doors
   ============================================================ */
.hub {
  position: relative; z-index: 2;
  min-height: 100dvh;
  display: flex; flex-direction: column;
}

/* Subtiele volledig-scherm achtergrond (ABN AMRO-hoofdkantoor) */
.hub-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/hub-bg.jpg") center center / cover no-repeat;
  opacity: 0.11;
}

/* ---- Floating pill header ---- */
.hub-header {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 100;
  background: rgba(252, 252, 249, 0.72);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--hair); border-radius: var(--pill);
  padding: 9px 16px 9px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: var(--shadow-sm);
}
.hub-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.hub-mark { width: 28px; height: 28px; color: var(--accent); display: grid; place-items: center; }
.hub-mark svg { width: 28px; height: 28px; }
.hub-head-right { display: flex; align-items: center; gap: 12px; }
.hub-season { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 560px) { .hub-head-right .hub-season { display: none; } }
.hub-season .yr { font-family: var(--f-serif); font-weight: 600; color: var(--ink); }

/* ---- Hero ---- */
.hub-hero {
  flex: 1; display: grid; place-items: center;
  padding: clamp(84px, 12vh, 120px) var(--gutter) clamp(24px, 4vh, 48px);
  text-align: center; min-height: 0;
}
.hub-hero-inner { max-width: 1120px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hub-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px; background: var(--ivory); border: 1px solid var(--hair);
  border-radius: var(--pill); font-size: 12.5px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.02em; margin-bottom: clamp(14px, 2.4vh, 24px);
}
.hub-hero h1 {
  font-family: var(--f-serif); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(42px, 6.4vw, 92px); line-height: 1.0; letter-spacing: -0.03em; color: var(--ink);
}
.hub-hero .sub {
  margin: clamp(14px, 2vh, 22px) auto 0; max-width: 540px;
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; color: var(--ink-soft);
}

/* ---- Pool doors ---- */
.hub-doors {
  margin-top: clamp(28px, 4.5vh, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px);
  text-align: left; width: 100%;
}
.door {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 34px);
  min-height: clamp(300px, 42vh, 380px);
  display: flex; flex-direction: column; color: #fff; text-decoration: none;
  background: #0e2120;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.door:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.door-top, .door-body { position: relative; z-index: 1; }

/* Per-door identity (themed local accent) */
.door--bb { --d: #2bb3a3; --d-deep: #00716b; }
.door--wk { --d: #36c46e; --d-deep: #12914c; --d-warm: #ff8a3d; }
.door:hover { border-color: color-mix(in oklab, var(--d) 55%, transparent); }

/* Stock-photo background + scrim for legibility */
.door-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.03); transition: transform 0.75s var(--ease); }
.door:hover .door-photo { transform: scale(1.10); }
.door--bb .door-photo { background-image: url("../img/beleggen.jpg"); }
.door--wk .door-photo { background-image: url("../img/wk.jpg"); background-position: center 35%; }
.door-scrim { position: absolute; inset: 0; z-index: 0; }
.door--bb .door-scrim { background: linear-gradient(180deg, rgba(1,26,25,0.34) 0%, rgba(1,22,24,0.64) 55%, rgba(0,14,16,0.90) 100%); }
.door--wk .door-scrim { background: linear-gradient(180deg, rgba(3,38,19,0.30) 0%, rgba(5,44,25,0.62) 52%, rgba(3,26,14,0.92) 100%); }

/* Sheen sweep on hover (above photo, below text) */
.door-sheen { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.20) 50%, transparent 62%); transform: translateX(-120%); transition: transform 0.9s var(--ease); }
.door:hover .door-sheen { transform: translateX(120%); }

/* Top row */
.door-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.door .eyebrow { color: rgba(255,255,255,0.85); }
.door .eyebrow::before { background: var(--d); }
.door-status { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.28); border-radius: var(--pill); padding: 5px 11px; background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.door-status.live { color: #fff; border-color: rgba(255,255,255,0.4); }
.door-status.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #46e08a; margin-right: 7px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(70,224,138,0.3); animation: hb-pulse 2s ease-in-out infinite; }
.door-status.soon { color: #fff; border-color: color-mix(in oklab, var(--d-warm, var(--d)) 55%, transparent); background: color-mix(in oklab, var(--d-warm, var(--d)) 22%, transparent); }
@keyframes hb-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

/* Body */
.door-body { margin-top: auto; }
.door-emblem { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.6); margin-bottom: 16px; transition: transform 0.4s var(--ease); }
.door-emblem svg { width: 26px; height: 26px; }
.door:hover .door-emblem { transform: scale(1.08) rotate(-3deg); }

.door h2 { font-family: var(--f-serif); font-weight: 600; font-variation-settings: "opsz" 96; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.0; letter-spacing: -0.025em; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.door h2 .amp { color: var(--d); font-weight: 400; }
.door .desc { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 36ch; }

.door-meta { display: flex; gap: 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.18); }
.door-meta .item .v { font-family: var(--f-serif); font-weight: 400; font-size: 24px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.door-meta .item .l { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.62); margin-top: 6px; }

.door-cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #fff; }
.door-cta .arr { color: var(--d); transition: transform 0.3s var(--ease); }
.door:hover .door-cta .arr { transform: translateX(6px); }

/* Footer */
.hub-foot { text-align: center; padding: 0 var(--gutter) clamp(14px, 2.4vh, 24px); font-size: 12px; letter-spacing: 0.05em; color: var(--ink-mute); }

/* ---- Responsive / short screens ---- */
@media (max-width: 820px) {
  .hub-doors { grid-template-columns: 1fr; }
  .door { min-height: 240px; }
}
@media (max-width: 520px) {
  .hub-season { display: none; }
}
