/* Partners hub (partners.html only).
   Kept out of style.css on purpose: deploy.sh caches /assets/ for 30 days and its CloudFront
   invalidation skips /assets/, so a change appended to an existing stylesheet can be served stale.
   A new file name cannot be. When this file changes after launch, rename it (partners-2.css) and
   update the <link> in partners.html, or invalidate /assets/css/partners.css at deploy. */

.hub-hero { text-align: center; padding: clamp(3.5rem, 7vw, 5rem) 1.5rem clamp(2rem, 4vw, 3rem); background: var(--hs-bg-light); }
.hub-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); margin-bottom: .75rem; }
.hub-hero .lead { max-width: 640px; margin: 0 auto; }
.hub-doors-band { background: linear-gradient(180deg, var(--hs-bg-light) 0 50%, var(--hs-white) 50% 100%); padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 991px) { .doors { grid-template-columns: 1fr; } }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; border-radius: var(--radius-xl); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow-xl); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.door:hover { transform: translateY(-4px); color: #fff; box-shadow: 0 30px 50px -15px rgba(10,20,38,.35); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.door:hover img { transform: scale(1.04); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,40,66,0) 15%, rgba(3,40,66,.6) 50%, rgba(3,30,52,.95) 100%); }
.door .in { padding: 2rem 2rem 2.1rem; }
.door .eyebrow { font: 700 .72rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #7dd3fc; }
.door h2 { color: #fff; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.4rem); margin: .35rem 0 .5rem; }
.door p { color: rgba(255,255,255,.78); margin: 0 0 1.1rem; max-width: 440px; }
.door .cta { display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem var(--font-display); color: #fff; }
.door .cta i { transition: transform var(--transition-fast); }
.door:hover .cta i { transform: translateX(4px); }
/* Light door: the branded tube sits right; multiply melts its white studio background into the card */
.door--light { background: linear-gradient(135deg, #f8fafc 0%, #e9eef5 100%); color: var(--hs-navy-900); border: 1px solid var(--hs-slate-200); }
.door--light:hover { color: var(--hs-navy-900); }
.door--light img { left: auto; right: 2%; width: 46%; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 48% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 48% 50% at 50% 50%, #000 62%, transparent 100%); }
.door--light::before { background: linear-gradient(90deg, rgba(248,250,252,.96) 0%, rgba(248,250,252,.85) 45%, rgba(248,250,252,0) 70%); }
.door--light .in { max-width: 58%; }
.door--light .eyebrow { color: var(--hs-secondary); }
.door--light h2 { color: var(--hs-navy-900); }
.door--light p { color: var(--hs-slate-600); }
.door--light .cta { color: var(--hs-mint-hover); }
@media (max-width: 575px) { .door--light .in { max-width: 100%; } .door--light img { opacity: .35; } }

#distribute { scroll-margin-top: 5rem; }
.hub-dist { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 991px) { .hub-dist { grid-template-columns: 1fr; } }
.crit { list-style: none; padding: 0; margin: 0; }
.crit li { display: grid; grid-template-columns: 28px 1fr; gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--hs-slate-200); color: var(--hs-slate-600); }
.crit li:first-child { border-top: 0; }
.crit li i { color: var(--hs-mint); font-size: 1.1rem; line-height: 1.5; }
.crit li strong { display: block; color: var(--hs-navy-900); font-family: var(--font-display); font-weight: 600; }
.partner-card { background: var(--hs-white); border: 1px solid var(--hs-slate-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: clamp(1.5rem, 3vw, 2.25rem); }
.partner-card h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.partner-card .sub { color: var(--hs-slate-500); font-size: .9rem; margin-bottom: 1.4rem; }

/* Qualifying form (posts through form-handler.js like every site form) */
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
@media (max-width: 575px) { .qf-grid { grid-template-columns: 1fr; } }
.qf-span { grid-column: 1 / -1; }
.qf-f { display: flex; flex-direction: column; gap: .35rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.qf-f > label, .qf-f > legend { font: 600 .8rem var(--font-display); color: var(--hs-navy-800); letter-spacing: .01em; margin: 0; float: none; width: auto; }
.qf-opt { font-weight: 400; color: var(--hs-slate-400); }
.qf-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .15rem; }
.qf-chip { position: relative; cursor: pointer; margin: 0; }
.qf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qf-chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: var(--radius-full); border: 1px solid var(--hs-slate-200); background: var(--hs-slate-50); font: 500 .84rem var(--font-body); color: var(--hs-slate-600); transition: all var(--transition-fast); }
.qf-chip:hover span { border-color: var(--hs-slate-300); color: var(--hs-navy-800); }
.qf-chip input:checked + span { background: var(--hs-navy-800); border-color: var(--hs-navy-800); color: #fff; }
.qf-chip input:checked + span::before { content: "\2713"; font-weight: 700; color: var(--hs-mint); }
.qf-chip input:focus-visible + span { outline: 2px solid var(--hs-mint-hover); outline-offset: 2px; }
.qf-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.qf-note { margin: 0; font-size: .82rem; color: var(--hs-slate-500); }

/* Inputs match the site's other forms (style.css scopes these to .contact-card) */
.partner-card .form-control { font-family: var(--font-body); border: 1px solid var(--hs-slate-300); border-radius: var(--radius-md); padding: .65rem .9rem; font-size: .925rem; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.partner-card .form-control:focus { border-color: var(--hs-mint); box-shadow: 0 0 0 3px var(--hs-mint-glow); }
.qf-privacy { margin: .75rem 0 0; font-size: .8rem; color: var(--hs-slate-500); }
