/* ============================================================
   BioStack.life — Contact + Briefings page styles
   ============================================================ */

.page-top { padding-top: 128px; }

/* ---------- CONTACT ---------- */
.contact-hero { padding-top: 140px; padding-bottom: clamp(40px,5vw,64px); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px,6vw,88px); align-items: start; }
.contact-intro .eyebrow { color: var(--burgundy); }
.contact-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; }
.contact-lede { font-size: clamp(1.05rem,1.5vw,1.2rem); color: var(--ink-2); max-width: 46ch; margin-top: 22px; line-height: 1.55; }
.venture-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--burgundy); border: 1px solid var(--burgundy); padding: 8px 14px; border-radius: 2px;
}
.venture-badge b { font-weight: 700; }
.contact-aside { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 26px; }
.contact-aside h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.contact-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-aside li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); align-items: baseline; }
.contact-aside li::before { content: ""; width: 5px; height: 5px; background: var(--burgundy); border-radius: 50%; flex-shrink: 0; transform: translateY(-2px); }

/* Form */
.form-card { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(26px,3vw,40px); border-radius: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field label .req { color: var(--burgundy); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 12px 14px; outline: none; transition: border-color .3s var(--ease), background .3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--burgundy); background: #fff; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7267' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.stage-group { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-chip {
  font-size: 13px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--paper); color: var(--ink-2); transition: all .25s var(--ease); cursor: pointer;
}
.stage-chip:hover { border-color: var(--ink); }
.stage-chip.active { background: var(--burgundy); border-color: var(--burgundy); color: var(--paper); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--burgundy); flex-shrink: 0; }
.consent label { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--ink-3); }
.form-success {
  display: none; align-items: flex-start; gap: 14px; padding: 18px 20px; margin-bottom: 22px;
  background: rgba(62,122,107,0.1); border: 1px solid rgba(62,122,107,0.4); border-radius: 3px;
}
.form-success.show { display: flex; }
.form-success svg { flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.form-success p { font-size: 14px; color: var(--ink); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- BRIEFINGS ---------- */
.briefings-hero { padding-top: 140px; padding-bottom: clamp(30px,4vw,48px); }
.briefings-hero .eyebrow { color: var(--burgundy); }
.briefings-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem,4.6vw,3.6rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.briefings-lede { font-size: clamp(1.05rem,1.5vw,1.2rem); color: var(--ink-2); max-width: 52ch; margin-top: 22px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.filter-btn {
  font-family: var(--body); font-size: 14px; padding: 9px 16px; border-radius: 2px;
  border: 1px solid var(--line-2); background: none; color: var(--ink-2); transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--venture-primary); color: var(--venture-primary-dark); }
.filter-btn.active { background: var(--venture-primary); border-color: var(--venture-primary); color: var(--paper); }
.filter-btn.active:hover { background: var(--venture-primary-dark); border-color: var(--venture-primary-dark); color: var(--paper); }

/* Featured lead */
.lead-brief {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center;
  margin-top: clamp(36px,4vw,52px); padding-bottom: clamp(36px,4vw,52px); border-bottom: 1px solid var(--line);
  cursor: pointer; text-align: left; background: none; width: 100%;
}
.lead-brief__visual { aspect-ratio: 4/3; background: var(--dark); position: relative; overflow: hidden; border-radius: 3px; }
.lead-brief__visual img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.lead-brief__visual-scrim { position: absolute; inset: 0; background: linear-gradient(140deg, rgba(110,16,35,0.35), rgba(16,12,11,0.2)); }
.lead-brief__type { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); }
.lead-brief__title { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.08; letter-spacing: -0.025em; margin: 18px 0 16px; max-width: 20ch; }
.lead-brief__excerpt { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.lead-brief__foot { margin-top: 24px; display: flex; align-items: center; gap: 20px; }
.lead-brief__date { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
@media (max-width: 820px) { .lead-brief { grid-template-columns: 1fr; } .lead-brief__visual { order: -1; } }

/* Grid */
.briefings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; margin-top: clamp(36px,4vw,52px); }
.bg-card {
  border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column;
  min-height: 240px; cursor: pointer; background: none; text-align: left; transition: border-color .35s var(--ease);
}
.bg-card:hover { border-color: var(--burgundy); }
.bg-card[hidden] { display: none; }
.bg-card__type { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }
.bg-card__title { font-family: var(--display); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.14; margin: 14px 0 12px; }
.bg-card__excerpt { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bg-card__foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.bg-card__date { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.bg-card__read { font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; transition: color .3s; }
.bg-card:hover .bg-card__read { color: var(--burgundy); }
.briefings-empty { display: none; padding: 40px 0; color: var(--ink-3); font-size: 15px; }
.briefings-empty.show { display: block; }
@media (max-width: 900px) { .briefings-grid { grid-template-columns: 1fr; } }

/* Trim excess space between briefings grid and CTA */
.briefings-grid + .briefings-empty { margin-top: 0; }
main .section--tight { padding-bottom: clamp(40px, 5vw, 64px); }
