/* Shared layer for the smaller pages (start, ai-videos, talent).
   Loads after video-editing/styles.css and reuses its tokens:
   --ink, --muted, --hairline, --card, --pop, --radius-sm. */

.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
}

.page-hero .lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: #222222;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.5;
}

.page-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--hairline);
}

.page-section h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
}

.page-section p {
  max-width: 720px;
  color: #333333;
  line-height: 1.55;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.video-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.video-notes li {
  padding-top: 12px;
  border-top: 2px solid var(--pop);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.video-notes strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* Talent roster */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.talent-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.talent-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.talent-card div {
  padding: 16px;
}

.talent-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.talent-card p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.talent-empty {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 28px;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-align: center;
}

/* Project brief form */
.brief-form {
  display: grid;
  gap: 28px;
  max-width: 820px;
}

.brief-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.brief-form legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
}

.field {
  display: grid;
  gap: 6px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field .field-label {
  font-size: 14px;
  font-weight: 500;
}

.field small {
  color: var(--muted);
  font-size: 13px;
}

.brief-form input[type="text"],
.brief-form input[type="email"],
.brief-form input[type="url"],
.brief-form input[type="date"],
.brief-form input[type="number"],
.brief-form select,
.brief-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfcfd4;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.brief-form textarea {
  min-height: 120px;
  resize: vertical;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-color: var(--pop);
  outline: 2px solid var(--pop);
  outline-offset: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cfcfd4;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

.check-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--pop);
}

.talent-only[hidden] {
  display: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 15px;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-ok {
  color: #067647;
}

.button-pop {
  color: #ffffff;
}

@media (max-width: 640px) {
  .brief-form fieldset {
    grid-template-columns: minmax(0, 1fr);
  }
}
