/* Workshop and enterprise pages: what the course's /styles.css doesn't carry.
   Same tokens, same 4px ramp. Load after /styles.css. */

[hidden] { display: none !important; }

.owner { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-5) 0 0; }
.owner img { inline-size: 3rem; block-size: 3rem; border-radius: 999px; object-fit: cover; flex: none; }
.owner p { margin: 0; line-height: 1.4; }
.owner small { display: block; color: var(--text-2); font-size: var(--step--1); }

.cta { margin-top: var(--sp-6); }
.checkout { margin: 0; }
.checkout.cta { margin-top: var(--sp-6); max-inline-size: 30rem; }

/* hero without the film: one column */
.hero.solo { grid-template-columns: minmax(0, 1fr); }
.hero.solo h1 { max-inline-size: 18ch; }

.screen.portrait { aspect-ratio: 4 / 5; inline-size: 100%; max-inline-size: 28rem; justify-self: end; }
.screen.portrait img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 959px) { .screen.portrait { justify-self: start; max-inline-size: 24rem; } }

/* what you get: groups side by side */
.groups { display: grid; gap: var(--sp-6); }
@media (min-width: 720px) { .groups { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.groups h3 {
  margin: 0 0 var(--sp-4); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--step--1); line-height: 1.5; font-weight: var(--w-strong);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}

/* a role beside a time */
.role { display: inline-block; margin-right: var(--sp-2); font-weight: var(--w-strong); }

/* the step up */
.next {
  display: grid; gap: var(--sp-2);
  margin-top: var(--sp-6); padding: var(--sp-5);
  max-inline-size: 38rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.next:hover { border-color: var(--text-2); }
.next:focus-visible { border-radius: var(--radius-lg); }
.next .eyebrow { margin: 0; }
.next strong { font-size: var(--step-2); line-height: 1.25; letter-spacing: -0.012em; }
.next .go { color: var(--accent-text); font-weight: var(--w-strong); }

/* the brief */
.brief { display: grid; gap: var(--sp-5); max-inline-size: 32rem; }
.field { display: grid; gap: var(--sp-2); }
.field label { font-weight: var(--w-strong); }
.field input, .field select, .field textarea {
  inline-size: 100%; min-block-size: 3rem; padding: var(--sp-3) var(--sp-4);
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-block-size: 8rem; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; padding-right: var(--sp-7);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); border-radius: var(--radius-md);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field .err { display: none; margin: 0; }
.field .err::before { content: "! "; font-weight: 700; }
.field [aria-invalid="true"] ~ .err { display: block; }
.form-err { color: var(--danger); margin: 0; }
.sent {
  display: flex; gap: var(--sp-3); align-items: baseline;
  padding: var(--sp-5); max-inline-size: 32rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
}
.sent::before { content: "✓"; color: var(--accent-text); font-weight: 700; }

/* ---------------------------------------------------------------- workshop, 26 Oct rebuild */

/* what you get: three numbered panels, the day stands forward */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
@media (min-width: 840px) { .steps { grid-template-columns: 1fr 1.35fr 1fr; align-items: start; } }
.steps > li { padding: var(--sp-5); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.steps > li.with { background: var(--surface); border-color: var(--border); }
.steps h3 { display: flex; align-items: center; gap: var(--sp-3); margin: 0 0 var(--sp-4); font-size: var(--step-1); line-height: 1.3; font-weight: var(--w-strong); }
.steps .num {
  inline-size: 1.75rem; block-size: 1.75rem; display: grid; place-items: center; flex: none;
  border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: var(--step--1); font-variant-numeric: tabular-nums;
}
.steps .list { gap: var(--sp-3); }

.pair h3 { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); }
.pair .price { font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: var(--w-body); }
.pair .with .price { color: var(--text); font-weight: var(--w-strong); }

.trio { display: grid; gap: var(--sp-7); }
@media (min-width: 840px) { .trio { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.trio .list { gap: var(--sp-3); }

/* the close: buy on the left, the step up on the right */
.close { display: grid; gap: var(--sp-6); align-items: stretch; }
@media (min-width: 840px) { .close { grid-template-columns: 1fr 1fr; } }
.close-buy { display: grid; align-content: start; gap: var(--sp-4); padding: var(--sp-6); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.close-buy .eyebrow, .close-buy .owner { margin: 0; }
.close .next { margin-top: 0; max-inline-size: none; align-content: end; }
