/*
 * AWSOM recital — shared brand styles.
 * ───────────────────────────────────────────────────────────────────────────
 * Loaded by both the sign-up form (static) and the confirmation page
 * (server-rendered), so the two cannot drift apart. Same arrangement as
 * shine-app/public/brand.css.
 *
 * Direction: match www.awsom.info. That site is white space, one deep navy
 * (#09274e) carrying the buttons, the footer and the logo band, Futura
 * headings set uppercase and tracked out, square-cornered buttons, and
 * Garamond for its display copy. Its fonts are Adobe Typekit (futura-pt,
 * proxima-nova, adobe-garamond-pro), which cannot be loaded here, so the
 * nearest Google Fonts stand in: Jost for Futura, Montserrat for Proxima Nova,
 * EB Garamond for Garamond.
 *
 * The logo is the site's own white-on-transparent mark (awsom-logo.png), so it
 * only ever sits on the navy masthead.
 *
 * The --teal-* token names predate this palette and are kept so the inline
 * styles in index.html and submittedPage.js keep working; they now hold navy
 * shades. Mint is still reserved for confirmation and amber for the early-bird
 * note — the two places a family needs to notice a colour.
 *
 * Contrast note: --navy on --surface and white on --navy both clear AA at body
 * size. --teal-soft and --mint-soft are fills behind dark text only.
 */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&family=Montserrat:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;1,400&display=swap');

:root{
  /* surfaces */
  --paper:#ffffff;
  --surface:#ffffff;
  --surface-sunk:#f5f6f8;

  /* ink */
  --ink:#222222;
  --muted:#5f6670;
  --navy:#09274e;

  /* accent — awsom.info navy (legacy token names, see header) */
  --teal:#09274e;
  --teal-deep:#061b37;
  --teal-bright:#1d4a82;
  --teal-soft:#eef2f7;
  --teal-line:#d5dde8;

  /* confirmation only */
  --mint:#5fae86;
  --mint-deep:#3d7f5e;
  --mint-soft:#eaf5ef;

  /* early bird only */
  --amber:#9a6619;
  --amber-soft:#fdf5e6;

  --line:#e3e6ea;
  --err:#a6412f;
  --err-soft:#fbeeeb;

  --radius:2px;
  --shadow-sm:none;
  --shadow:0 1px 2px rgba(9,39,78,.06);

  --font-display:"Jost","Futura","Century Gothic","Helvetica Neue",Arial,sans-serif;
  --font-ui:"Montserrat","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-serif:"EB Garamond","Adobe Garamond Pro",Garamond,Georgia,serif;
}

*{box-sizing:border-box}

/* Component display rules (e.g. `#total .line{display:flex}`) must not beat
   the hidden attribute, or an empty discount line shows as "(0%) −$0.00". */
[hidden]{display:none!important}

body{
  margin:0;
  color:var(--ink);
  font:15px/1.65 var(--font-ui);
  background:var(--paper);
  padding:0 0 72px;
}

.wrap{width:100%;max-width:46rem;margin:0 auto;padding:0 20px}

/* ── masthead: the awsom.info navy band ──────────────────────────────────── */

.masthead{
  background:var(--navy);color:#fff;text-align:center;
  padding:34px 20px 30px;margin:0 0 30px;
}
.masthead a{display:inline-block;line-height:0}
.masthead__logo{width:132px;height:auto;display:block;margin:0 auto}
.masthead__title{
  margin:18px 0 0;font-family:var(--font-display);font-weight:500;
  font-size:clamp(1.6rem,6vw,2.3rem);line-height:1.1;
  letter-spacing:.14em;text-transform:uppercase;color:#fff;
  padding-left:.14em; /* optical centring against the tracking */
}
.masthead__tagline{
  margin:.5rem 0 0;font-family:var(--font-serif);font-size:1.2rem;
  color:rgba(255,255,255,.82);letter-spacing:.02em;
}

/* ── cards ───────────────────────────────────────────────────────────────── */

.card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);
}

fieldset{
  border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;margin:0 0 20px;background:var(--surface);
}
legend{
  padding:0 12px;color:var(--navy);font-family:var(--font-display);font-weight:500;
  font-size:.9rem;letter-spacing:.16em;text-transform:uppercase;
}

/* ── form controls ───────────────────────────────────────────────────────── */

label{display:block;margin:0 0 6px;font-size:.84rem;color:var(--muted);font-weight:500}
.req::after{content:" *";color:var(--navy)}

input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea{
  width:100%;padding:11px 13px;border-radius:var(--radius);
  border:1px solid #cfd5dd;background:var(--surface);
  color:var(--ink);font:inherit;transition:border-color .15s,box-shadow .15s;
}
input:hover,select:hover,textarea:hover{border-color:var(--teal-bright)}
input:focus,select:focus,textarea:focus{
  outline:none;border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(9,39,78,.14);
}
textarea{min-height:82px;resize:vertical}

.row{display:grid;gap:14px;grid-template-columns:1fr 1fr;margin-bottom:14px}
.row-3{display:grid;gap:14px;grid-template-columns:1.6fr 1fr 1.2fr;margin-bottom:14px}
@media(max-width:640px){.row,.row-3{grid-template-columns:1fr}}

.check{display:flex;gap:11px;align-items:flex-start;margin:14px 0}
.check input{margin-top:4px;width:18px;height:18px;flex:none;accent-color:var(--navy)}
.check label{margin:0;color:var(--ink);font-size:.95rem;font-weight:500}
.hint{color:var(--muted);font-size:.84rem;margin:4px 0 0;font-weight:400}

/* Radio choices (session, photo release): big enough to be a decision. */
.sessions{display:grid;gap:10px}
.session{
  display:flex;gap:13px;align-items:flex-start;padding:14px 16px;
  border:1px solid #cfd5dd;border-radius:var(--radius);background:var(--surface);
  cursor:pointer;transition:border-color .15s,background .15s;
}
.session:hover{border-color:var(--teal-bright)}
.session:has(input:checked){border-color:var(--navy);background:var(--teal-soft)}
.session input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--navy)}
.session label{margin:0;color:var(--ink);font-size:.97rem;font-weight:600;cursor:pointer}
.session .cap{display:block;color:var(--muted);font-size:.85rem;font-weight:400;margin-top:2px}

/* Buttons as on awsom.info: navy, square, uppercase, tracked. */
button,.btn{
  border:0;border-radius:0;color:#fff;font-family:var(--font-ui);font-size:inherit;
  font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;
  background:var(--navy);
  transition:background .15s,transform .05s;
}
button:hover:not(:disabled),.btn:hover{background:var(--teal-bright)}
button:active:not(:disabled){transform:translateY(1px)}
button:disabled{opacity:.55;cursor:progress}

footer{
  text-align:center;color:var(--muted);font-size:.85rem;margin-top:34px;
  padding-top:22px;border-top:1px solid var(--line);
}
footer a{color:var(--navy);font-weight:600}
footer p{margin:.35rem 0}
