:root { color-scheme: light; --blue: #003087; --gold: #ffbf3f; --sand: #fff4dc; --ink: #183454; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.join-header { background: var(--blue); color: white; padding: 1rem max(1.25rem, calc((100vw - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.join-header a { color: white; text-decoration: none; font: 600 1.45rem Georgia, serif; }
.join-header span { font-size: .85rem; color: #ffdb91; }
.join-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); max-width: 1240px; margin: auto; padding: 3rem 1.5rem 4rem; }
.join-intro { align-self: start; position: sticky; top: 2rem; }
.join-art { height: 235px; background: url('/images/heroes/banyan-join.webp') 50% 50% / cover; margin-bottom: 1.75rem; border-radius: 3px; }
.join-kicker { font-weight: 650; font-size: .9rem; color: var(--blue); }
h1, h2 { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2rem, 3.6vw, 3.3rem); margin: .7rem 0 1.25rem; }
h2 { font-size: 1.9rem; margin: 0 0 .8rem; }
.join-intro p { max-width: 38rem; }
.join-date { border-left: 4px solid var(--gold); padding-left: 1rem; margin: 1.75rem 0; }
.join-affiliation { font-size: .9rem; }
.join-form-section { padding-top: .5rem; min-width: 0; }
.form-intro { margin: 0 0 1.5rem; }
form > label, .contact-fields > label { display: block; font-weight: 650; margin-bottom: 1rem; }
input:not([type=checkbox]), textarea { display: block; width: 100%; margin-top: .35rem; padding: .8rem; border: 1px solid #8499ae; background: #fffefa; border-radius: 4px; color: #183454; font: inherit; font-size: 16px; min-height: 48px; }
textarea { resize: vertical; }
.optional { font-size: .85rem; font-weight: 400; }
fieldset { padding: 0; margin: .5rem 0 1.5rem; border: 0; min-width: 0; }
legend { font-size: 1.15rem; font-weight: 700; color: var(--blue); }
#interest-hint { margin: .3rem 0 .8rem; font-size: .9rem; }
.interest-options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.interest-options label { display: flex; align-items: center; gap: .65rem; min-height: 60px; padding: .65rem .75rem; border: 1px solid #b0bcc6; border-radius: 4px; background: #fffefa; cursor: pointer; font-size: .93rem; line-height: 1.35; }
.interest-options label:has(:checked) { border-color: var(--blue); background: #e4edf8; box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.interest-options input { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: var(--blue); }
.signup-notice, .data-notice { font-size: .8rem; line-height: 1.55; }
.signup-notice { margin: 1.25rem 0 .5rem; }
.data-notice summary { cursor: pointer; padding: .6rem 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.signup-submit { width: 100%; min-height: 54px; padding: .9rem; background: var(--blue); color: white; border: 0; border-radius: 4px; font: 700 1.05rem/1.4 system-ui, sans-serif; cursor: pointer; margin-top: 1rem; }
.signup-submit:hover { background: #002365; }
.signup-submit:disabled { opacity: .6; cursor: wait; }
.field-error, #signup-status[data-error=true] { color: #9d2020; }
.field-error:empty, #signup-status:empty { display: none; }
#signup-status { padding: .75rem; border-left: 3px solid currentColor; }
.signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }
#signup-success { padding: 2rem 0; border-top: 4px solid var(--gold); }
#signup-reference { font-size: .75rem; overflow-wrap: anywhere; }
.join-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 1240px; margin: auto; padding: 1.5rem; border-top: 1px solid #c3c9c8; font-size: .85rem; }
@media (max-width: 760px) {
  .join-header { padding: 1rem 1.25rem; }
  .join-header span { display: none; }
  .join-layout { display: block; padding: 0 1.25rem 2rem; }
  .join-intro { position: static; padding: 0 0 1rem; }
  .join-art { height: 120px; margin: 0 -1.25rem 1.25rem; border-radius: 0; background-position: 50% 44%; }
  h1 { font-size: 2rem; margin-bottom: .8rem; }
  .join-intro p { margin: .7rem 0; }
  .join-date { font-size: .85rem; }
  .join-date br { display: none; }
  .join-affiliation { display: none; }
  h2 { font-size: 1.55rem; }
  .join-form-section { border-top: 1px solid #bcc6c9; padding-top: 1.5rem; }
}
@media (max-width: 370px) { .interest-options { grid-template-columns: 1fr; } }
