/* study.css — only what study.html needs beyond site.c… — see INTERNAL-NOTES.md [css-48] */

/* Tick list — see INTERNAL-NOTES.md [css-49] */
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--space-4);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-body);
}
.tick-list li:last-child { margin-bottom: 0; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 13px; height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* Fact grid — see INTERNAL-NOTES.md [css-50] */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.fact { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.fact__label {
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-2);
}
.fact__value {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* --- Contact grid -------------------------------------------------------- */
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 700px) { .contacts { grid-template-columns: 1fr; } }
.contact__role {
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}

.contact p { font-size: var(--fs-small); line-height: 1.7; color: var(--text-muted); margin: 0; }

/* Intake form — see INTERNAL-NOTES.md [css-51] */
.study-form .field-input { border-bottom-color: #8A7C68; }
.study-form .field-input:hover,
.study-form .field-input:focus-visible { border-bottom-color: var(--charcoal); }

/* Consent checkbox — see INTERNAL-NOTES.md [css-52] */
.consent { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; }
.consent__box {
  flex: none;
  margin: 0.2em 0 0;
  width: 18px; height: 18px;
  accent-color: var(--charcoal);
}
.consent__text {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: #5A5148;
}
.consent__text a { color: inherit; }

/* Register card on sand — see INTERNAL-NOTES.md [css-53] */
.register-card .field-label,
.register-card .field-hint { color: #665D53; }          /* 5.26:1 on sand */
.register-card a { color: #94512F; }                     /* 4.93:1 on sand */
.register-card .field-input { border-bottom-color: #82755F; } /* 3.68:1, more room than 3.32 */
.register-card .field-input:hover,
.register-card .field-input:focus-visible { border-bottom-color: var(--charcoal); }

/* Condensed layout for study.html — see INTERNAL-NOTES.md [css-54] */

/* 0.62 of the site rhythm. --section-y applies to top… — see INTERNAL-NOTES.md [css-55] */
.section--tight { padding-block: calc(var(--section-y) * 0.62); }

/* Sits on the form card. .h1 would be Display tier and tower over the h1 it
   sits beside in the hero row. */
.h2-tight {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--fs-heading-serif);
  line-height: 1.15;
  margin: var(--space-3) 0 0;
  color: var(--charcoal);
}

/* Same tick list, less air between items. At five to seven items the original
   spacing was adding 100px a list for no gain in scannability. */
.tick-list--tight li { margin-bottom: var(--space-3); line-height: 1.6; }

/* Four "what it involves" steps as a 2x2 instead of a vertical run. */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) clamp(2rem, 1rem + 3vw, 3.5rem);
}
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.step__title {
  font-weight: var(--weight-medium);
  color: var(--charcoal);
  margin: 0 0 var(--space-2);
}

/* Three contact cards across, so none is orphaned on its own row. */
.contacts--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .contacts--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .contacts--three { grid-template-columns: 1fr; } }

/* Section separation — see INTERNAL-NOTES.md [css-56] */
.section--ruled { border-top: 1px solid var(--border); }

/* Native select styled as a field-input. Native on purpose: a custom dropdown
   would need JS, and this form works without it. */
.study-form select.field-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
  color: var(--charcoal);
  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' fill='none' stroke='%235A5148' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
/* Until a choice is made the disabled placeholder is showing, so grey it to
   match the hint text rather than looking like an answer. 5.26:1 on sand. */
.study-form select.field-input:invalid { color: #665D53; }
