/* Hub styling — neutral dark shell so the concept thumbnails (light + dark) pop. */
body.hub { background: var(--js-black); color: #e8e8e4; }
.hub h1, .hub h2, .hub h3 { font-family: Saira, Inter, sans-serif; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }

/* header */
.hub-header { background: linear-gradient(180deg, #0d0d0d, var(--js-black)); border-bottom: 1px solid #1f1f1f; padding-block: clamp(26px, 5vw, 54px); }
.hub-header-in { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px); align-items: center; }
.hub-logo { width: clamp(150px, 16vw, 230px); height: auto; }
.hub-intro h1 { font-size: clamp(1.6rem, 1rem + 2.6vw, 2.8rem); font-weight: 900; }
.hub-sub { color: var(--js-green-glow); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin-top: 8px; }
.hub-lead { color: var(--js-gray-light); margin-top: 12px; max-width: 60ch; }
.hub-tools { justify-self: end; max-width: 240px; text-align: right; }
.ph-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.ph-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ph-switch-track { width: 46px; height: 26px; border-radius: 999px; background: #333; position: relative; transition: background var(--dur) var(--ease); flex: none; }
.ph-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--dur) var(--ease); }
.ph-switch input:checked + .ph-switch-track { background: var(--js-amber); }
.ph-switch input:checked + .ph-switch-track::after { transform: translateX(20px); }
.ph-switch input:focus-visible + .ph-switch-track { outline: 3px solid var(--js-green-logo); outline-offset: 2px; }
.ph-switch-note { color: var(--js-gray-light); font-size: .78rem; margin-top: 8px; }
@media (max-width: 900px){ .hub-header-in { grid-template-columns: 1fr; text-align: left; } .hub-tools { justify-self: start; text-align: left; max-width: none; } }

/* choose note */
.hub-main { padding-block: clamp(28px, 5vw, 56px); }
.choose-note { background: var(--js-ink); border: 1px solid #242424; border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 34px; }
.choose-note h2 { font-size: 1.1rem; color: var(--js-green-glow); margin-bottom: 12px; }
.choose-note ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.choose-note li { color: var(--js-gray-light); font-size: .92rem; }
.choose-note strong { color: #fff; }
@media (max-width: 760px){ .choose-note ul { grid-template-columns: 1fr; } }

/* grid */
.concept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.concept-card { background: var(--js-charcoal); border: 1px solid #2a2a2a; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.concept-card:hover { transform: translateY(-5px); border-color: var(--js-green-logo); box-shadow: var(--sh-dark); }
.concept-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0d; }
.concept-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.thumb-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(255,255,255,.05) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(255,255,255,.05) 24px),
    linear-gradient(135deg, #141414, #202020); }
.tf-num { font-family: Saira, sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--js-green-glow); line-height: 1; }
.tf-name { color: var(--js-gray-light); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.concept-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.concept-head { display: flex; align-items: center; gap: 10px; }
.concept-num { font-family: Saira, sans-serif; font-weight: 900; color: var(--js-green-glow); font-size: 1.1rem; }
.concept-head h3 { font-size: 1.3rem; margin-right: auto; }
.theme-badge { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--js-gray-light); border: 1px solid #3a3a3a; border-radius: var(--r-pill); padding: 3px 9px; }
.concept-pitch { color: #cfcfcf; font-size: .96rem; flex: 1; }
.concept-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .72rem; font-weight: 600; color: var(--js-green-glow); background: rgba(0,138,18,.12); border: 1px solid rgba(0,138,18,.3); border-radius: var(--r-pill); padding: 3px 10px; }
.concept-actions { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.concept-actions .btn { flex: 1; min-width: 140px; padding: 11px 14px; font-size: .9rem; }
.concept-actions .btn-ghost { color: #fff; border-color: #3a3a3a; }
.concept-actions .btn-ghost:hover { border-color: var(--js-green-logo); }

/* footer */
.hub-footer { border-top: 1px solid #1f1f1f; padding-block: 30px; margin-top: 40px; text-align: center; color: var(--js-gray-light); }
.hub-footer strong { color: var(--js-green-glow); }
.hub-foot-sub { font-size: .85rem; margin-top: 6px; }

/* phone modal */
.phone-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 20px; }
.phone-modal[hidden] { display: none; }
.phone-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.phone-modal-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 94vh; }
.phone-modal-bar { display: flex; align-items: center; gap: 18px; color: #fff; font-weight: 700; }
.phone-modal-close { width: 34px; height: 34px; border-radius: 50%; background: #2a2a2a; color: #fff; font-size: 1rem; line-height: 1; }
.phone-modal-close:hover { background: var(--js-green); }
.phone-frame { width: 390px; max-width: 92vw; height: min(844px, 74vh); background: #000; border: 10px solid #1a1a1a; border-radius: 34px; box-shadow: var(--sh-dark); overflow: hidden; }
.phone-frame iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.phone-modal-open { align-self: center; }
