/* SGM Events skin. From the Claude Design handoff (design/events), verbatim.
   ITC Avant Garde is SGM Events' brand font, served from our own files
   (Freddie, 2026-10-24), converted to woff2 and trimmed to Latin characters. */
@font-face { font-family: "ITC Avant Garde Gothic"; src: url("fonts/ITCAvantGardeStd-Md.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ITC Avant Garde Gothic"; src: url("fonts/ITCAvantGardeStd-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }


:root {
  color-scheme: light;
  /* Color: light */
  --bg: #F2F6F9;          /* page */
  --card: #FFFFFF;        /* section card */
  --panel: #F2F6F9;       /* "What we need", refusal reason, W-9 note */
  --field: #FFFFFF;       /* inputs, chip off */
  --line: #E1E5E9;        /* card border, row dividers */
  --line-strong: #C7CDD3; /* input border, optional dashed border */
  --ink: #1A2530;         /* primary text */
  --ink-2: #4F677A;       /* help text, meta, labels */
  --accent: #4F677A;      /* the one action color (Steel, shipped value) */
  --accent-hover: #3D5161;
  --on-accent: #FFFFFF;
  --focus: rgba(79,103,122,.28);
  --track: #DCE5EC;       /* progress track, "Needed" badge, secondary hover */
  --ok: #2B7350;          /* status only */
  --ok-bg: #E5F1EA;
  --bad: #A6402D;         /* status only */
  --bad-bg: #F7EAE6;

  /* Type */
  --font: "ITC Avant Garde Gothic", "Avant Garde", "Futura", "Century Gothic", system-ui, sans-serif;
  --fs-display: clamp(26px, 7vw, 36px); /* H1, 700, uppercase, -0.01em, lh 1.1 */
  --fs-title: 18px;   /* card title, 700, uppercase, -0.01em, lh 1.35 */
  --fs-lead: 17px;    /* intro line, progress line */
  --fs-body: 16px;    /* body, inputs, chips, notes. Never smaller for reading text */
  --fs-small: 14px;   /* meta, field labels, button labels */
  --fs-eyebrow: 12px; /* badges, eyebrows, 700, uppercase, .12 to .18em */

  /* Spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 28px; --s-8: 32px; --s-10: 40px; --s-12: 48px;

  /* Radius */
  --r-field: 10px; --r-panel: 12px; --r-card: 16px; --r-pill: 999px;

  --tap: 48px; /* minimum tap height */
  --column: 680px;
}

/* Always light, both brands: Freddie, 2026-10-24, the dark versions looked "really
   off-brand from the website with the blacks". The websites are light. */

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 var(--fs-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
p { margin: 0; text-wrap: pretty; }
.svg-icon { flex: none; }

/* Page */
.page { max-width: var(--column); margin: 0 auto; padding: clamp(28px, 8vw, 72px) clamp(16px, 5vw, 32px) var(--s-12); display: flex; flex-direction: column; gap: var(--s-4); }

/* Page header */
.page-header { display: flex; flex-direction: column; gap: var(--s-5); padding-bottom: var(--s-4); }
.logo { width: 150px; height: auto; display: block; }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.page-title { margin: 0; font-size: var(--fs-display); line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); }
.intro { display: flex; flex-direction: column; gap: 10px; padding-top: var(--s-3); }

/* Progress line */
.progress-line { display: flex; flex-direction: column; gap: 10px; padding: var(--s-4) 18px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); font-size: var(--fs-lead); font-weight: 700; }
.progress-line__segs { display: flex; gap: 4px; }
.progress-line__segs span { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--track); }
.progress-line__segs span.is-done { background: var(--accent); }
.progress-line.is-complete { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.progress-line.is-complete .progress-line__segs span { background: var(--ok); }

/* Section card */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 5vw, 28px); display: flex; flex-direction: column; gap: var(--s-4); }
.card--optional { background: transparent; border: 1.5px dashed var(--line-strong); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); }
.card__title { margin: 0; font-size: var(--fs-title); line-height: 1.35; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.help { color: var(--ink-2); }

/* Status badge */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.badge--needed { background: var(--track); color: var(--ink); }
.badge--done { background: var(--ok-bg); color: var(--ok); }
.badge--optional { border: 1px solid var(--line-strong); color: var(--ink-2); }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .02em; }
.input, .textarea { width: 100%; min-height: var(--tap); padding: 10px 16px; border-radius: var(--r-field); border: 1.5px solid var(--line-strong); background: var(--field); color: var(--ink); font: 500 var(--fs-body)/1.5 var(--font); letter-spacing: 0; }
.textarea { min-height: 200px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--accent); outline: 3px solid var(--focus); outline-offset: 0; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__actions { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.count { font-size: var(--fs-small); color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; min-height: var(--tap); padding: 0 28px; border-radius: var(--r-pill); border: 0; background: var(--accent); color: var(--on-accent); font: 700 var(--fs-small)/1 var(--font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--outline { padding: 0 24px; background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--track); color: var(--accent); }
.btn:focus-visible, .chip:focus-visible, .file-pick:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.link-secondary { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 15px; }
.file-pick { position: relative; }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* Genre chips (checkboxes, so they work without JS) */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); border: 0; margin: 0; padding: 0; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: var(--field); color: var(--ink); font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .svg-icon { display: none; }
.chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; padding-left: 14px; }
.chip:has(input:checked) .svg-icon { display: block; }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* "What we need" panel */
.need { background: var(--panel); border-radius: var(--r-panel); padding: var(--s-4) 18px; display: flex; flex-direction: column; gap: var(--s-2); }
.need ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Shooting tips (native details, works without JS) */
.tips { margin-top: var(--s-2); border-top: 1px solid var(--line); }
.tips summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tips summary::-webkit-details-marker { display: none; }
.tips summary .svg-icon { transition: transform .2s ease; }
.tips[open] summary .svg-icon { transform: rotate(180deg); }
.tips__body { display: flex; flex-direction: column; gap: var(--s-5); padding: 4px 0 var(--s-4); }
.tips__group { display: flex; flex-direction: column; gap: 6px; }
.tips__group h3 { margin: 0; font-size: var(--fs-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tips__group ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* File rows */
.files { list-style: none; margin: 0; padding: 0; }
.file { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: var(--s-3); align-items: start; padding: 14px 0 12px; border-top: 1px solid var(--line); }
.file__icon { width: 32px; height: 32px; border-radius: var(--r-pill); display: grid; place-items: center; }
.file--accepted .file__icon { background: var(--ok-bg); color: var(--ok); }
.file--refused .file__icon { background: var(--bad-bg); color: var(--bad); }
.file--uploading .file__icon { background: var(--track); color: var(--accent); }
.file__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 4px; }
.file__name { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.file__meta { font-size: var(--fs-small); color: var(--ink-2); }
.file__note { color: var(--ok); }
.file__status-bad { font-size: var(--fs-small); font-weight: 700; color: var(--bad); }
.file__reason { margin-top: 4px; padding: var(--s-3) 14px; border-radius: var(--r-field); background: var(--panel); }
.file__remove { min-height: var(--tap); margin-top: -8px; padding: 0 4px 0 12px; border: 0; background: transparent; color: var(--ink-2); font: 700 var(--fs-small)/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.file__remove:hover { color: var(--ink); }

/* Progress bar */
.bar { height: 8px; margin-top: 6px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); transition: width .4s linear; }

/* Messages */
.msg { display: flex; gap: var(--s-2); align-items: flex-start; }
.msg--ok { color: var(--ok); font-weight: 700; align-items: center; }
.msg--error { color: var(--bad); gap: 10px; }
.note-panel { padding: 14px var(--s-4); border-radius: var(--r-field); background: var(--panel); }

/* Done summary rows */
.summary { display: flex; flex-direction: column; gap: 10px; }
.summary a { display: grid; grid-template-columns: minmax(0,1fr) auto 20px; gap: var(--s-3); align-items: center; min-height: 64px; padding: var(--s-3) var(--s-4) var(--s-3) 18px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.summary a:hover { border-color: var(--line-strong); }
.summary__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; display: block; }
.summary__note { font-size: 15px; color: var(--ink-2); display: block; }

.footer { margin-top: var(--s-4); font-size: 15px; color: var(--ink-2); }
