/* ══ Connect page (/connect) in Type 10. Loaded after type10.css. ══ */

/* Hero */
.inv-hero .fade-up { max-width: 820px !important; }
.inv-hero .eyebrow { font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand); }
.iv-hero-title {
  font-family: var(--cond); font-weight: 700; font-size: clamp(42px, 5.6vw, 76px); line-height: 0.95;
  text-transform: uppercase; color: #F4F0E7; margin: 14px 0 28px;
}
.iv-hero-body {
  font-family: var(--sans); font-size: 19px; line-height: 1.6; color: rgba(244,240,231,0.88);
  max-width: 540px; margin-top: 28px;
}

.iv-btn {
  display: inline-block; text-decoration: none; white-space: nowrap; cursor: pointer;
  font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 6px; border: 1.5px solid transparent;
}
.iv-btn--light { background: #F4F0E7; color: var(--navy); border-color: #F4F0E7; }
.iv-btn--light:hover { background: #FFFFFF; }

/* Three reasons */
.inv-pillars { background: #F4F0E7; padding: 96px 0; }
.inv-pillars .eyebrow { font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.iv-title {
  font-family: var(--cond); font-weight: 700; font-size: clamp(38px, 4.6vw, 58px); line-height: 1;
  text-transform: uppercase; color: var(--navy); margin-top: 12px; max-width: 720px; text-wrap: balance;
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px;
  background: none; border: 0; border-radius: 0; overflow: visible; margin-top: 40px;
}
.pillar-item { background: none; padding: 18px 0 0; border-top: 2px solid var(--navy); min-width: 0; }
.pillar-item:hover { background: none; }
.pillar-number {
  font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; color: var(--green);
  opacity: 1; line-height: 1; margin-bottom: 10px;
}
.pillar-title {
  font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase;
  color: var(--navy); margin-bottom: 12px;
}
.pillar-body { font-family: var(--sans); font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--navy); }

/* Form */
.iv-form-title {
  font-family: var(--cond); font-weight: 700; font-size: clamp(32px, 3.6vw, 46px); line-height: 1;
  text-transform: uppercase; color: #F4F0E7; margin: 28px 0 20px; text-wrap: balance;
}
.iv-form-body { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: rgba(244,240,231,0.85); max-width: 46ch; }
.iv-form { gap: 22px; }
.iv-form .form-field label {
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #DCE6DF;
}
.iv-form .form-field input, .iv-form .form-field select, .iv-form .form-field textarea {
  font-family: var(--sans); font-size: 16px; font-weight: 400; color: #F4F0E7;
  background-color: rgba(244,240,231,0.08); border: 1px solid rgba(220,230,223,0.45); border-radius: 6px; padding: 14px 16px; width: 100%;
}
.iv-form .form-field input::placeholder, .iv-form .form-field textarea::placeholder { color: rgba(244,240,231,0.55); }
.iv-form .form-field input:focus, .iv-form .form-field select:focus, .iv-form .form-field textarea:focus {
  outline: none; border-color: #DCE6DF; box-shadow: 0 0 0 3px rgba(220,230,223,0.2);
}
.iv-form .form-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #DCE6DF 50%), linear-gradient(135deg, #DCE6DF 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.iv-form .form-field select:invalid { color: rgba(244,240,231,0.55); }
.iv-form .form-field select option { color: #133049; background: #F4F0E7; }
.iv-form .form-field textarea { height: 120px; }
.iv-form-submit { align-self: flex-start; margin-top: 4px; }
.iv-form .inv-disclaimer { font-family: var(--sans); font-style: normal; font-size: 15px; font-weight: 400; color: rgba(244,240,231,0.7); }

@media (max-width: 820px) {
  .inv-pillars { padding: 72px 0; }
  .pillars-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Proof points under the hero */
.iv-proof { background: var(--navy); padding: 0 0 56px; }
.iv-proof-row { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid rgba(244,240,231,0.18);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.iv-proof-row li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.iv-proof-big { font-family: var(--cond); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; color: #F4F0E7; }
.iv-proof-label { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand); }

.pillar-source { font-family: var(--sans); font-size: 13px; color: var(--charcoal); margin-top: 10px; }
.pillar-source a { color: var(--green); }

/* One wide photo of the build */
.iv-photo { margin: 0; }
.iv-photo img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: center 60%; }
.iv-photo figcaption { margin-top: 14px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--charcoal); }
.iv-photo figcaption a { color: var(--green); text-decoration: none; margin-left: 8px; }
.inv-pillars { padding-bottom: 64px; }

@media (max-width: 820px) {
  .iv-proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .iv-proof-big { font-size: 26px; }
  .iv-photo img { height: 300px; }
}
.iv-optional { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; opacity: 0.75; }

/* Connect: contact details beside the form */
.cn-details { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cn-details li { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(244,240,231,0.18); padding-top: 14px; }
.cn-label { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #DCE6DF; }
.cn-value { font-family: var(--sans); font-size: 17px; color: #F4F0E7; text-decoration: none; overflow-wrap: anywhere; }
a.cn-value:hover { text-decoration: underline; }

/* What brings you here: a stack of tappable choices */
.cn-reasons { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cn-reasons legend {
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #DCE6DF;
  padding: 0; margin-bottom: 10px;
}
.cn-reason {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px solid rgba(220,230,223,0.35); border-radius: 6px; padding: 12px 14px;
  font-family: var(--sans); font-size: 16px; color: #F4F0E7; transition: border-color 0.15s, background 0.15s;
}
.cn-reason:hover { border-color: rgba(220,230,223,0.7); }
.cn-reason input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex: none;
  border: 1.5px solid #DCE6DF; border-radius: 50%; display: grid; place-content: center; cursor: pointer; }
.cn-reason input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F4F0E7; transform: scale(0); transition: transform 0.12s; }
.cn-reason input:checked::before { transform: scale(1); }
.cn-reason:has(input:checked) { border-color: #F4F0E7; background: rgba(244,240,231,0.1); }
.cn-reason input:focus-visible { outline: 2px solid #F4F0E7; outline-offset: 3px; }
.cn-membership-note { font-family: var(--sans); font-size: 15px; color: rgba(244,240,231,0.85); margin: -6px 0 0; }
.cn-membership-note a { color: #F4F0E7; }
#connect { scroll-margin-top: 88px; }
