/* Shared form styling — DLCS brand vault (profiles/dominic-loneragan.json):
   cream #F9F4E1 / black / white, accent #e3a76f, headlines Area Normal Extra Black
   (900, -4% tracking, 0.95 line-height), body Louis George Café Light (300). */
@font-face {
  font-family: 'Area Normal';
  src: url('/assets/fonts/area-normal-extrablack.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Louis George Cafe';
  src: url('/assets/fonts/louis-george-cafe-light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #F9F4E1;
  --ink: #000;
  --muted: #4a4a4a;
  --line: #c9ced4;
  --accent: #e3a76f;
  --accent-deep: #cf8f55;
  --err: #b3423f;
  --radius: 8px;
}
html, body { background: var(--cream); }
body {
  font-family: 'Louis George Cafe', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.46px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.form-wrap { max-width: 860px; margin: 0 auto; padding: 48px 28px 0; }

.form-head { text-align: center; margin-bottom: 40px; }
.form-head h1 {
  font-family: 'Area Normal', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.form-head p { font-size: 22px; line-height: 1.45; color: var(--ink); max-width: 640px; margin: 0 auto; }

.field { margin-bottom: 26px; }
.field > label, .field .group-label {
  display: block;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
}
.req { color: var(--ink); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
textarea::placeholder, input::placeholder { color: #9aa0a6; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
input.invalid, select.invalid, textarea.invalid, .ms.invalid .ms-display { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }

/* Multi-select dropdown (checkbox list behind a select-look box) */
.ms { position: relative; }
.ms-display {
  min-height: 56px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 44px 10px 16px;
  font-size: 17px;
  cursor: pointer;
  user-select: none;
}
.ms-display .chip {
  background: var(--cream);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 14px;
}
.ms-list {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  max-height: 290px;
  overflow-y: auto;
  padding: 6px;
}
.ms.open .ms-list { display: block; }
.ms-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding: 11px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.ms-list label:hover { background: var(--cream); }
.ms-list input { width: 18px; height: 18px; accent-color: var(--ink); }

.consent { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.consent input { width: 22px; height: 22px; min-width: 22px; margin-top: 2px; accent-color: var(--ink); }
.consent label {
  display: inline;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

/* Pill-style checkbox/radio groups (e.g. "Shoot Focus", "Usage Period") */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-block;
  font-size: 14px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Honeypot: invisible to humans, present in the DOM for bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* Signature pad (agreement/contract forms) */
.sig-widget { margin-top: 4px; }
.sig-pad {
  display: block;
  width: 100%;
  height: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  touch-action: none;
  cursor: crosshair;
}
.sig-widget.invalid .sig-pad { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.sig-clear {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
}

/* Scrollable legal terms block (agreements) */
.terms-box {
  max-height: 260px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.terms-box p { margin-bottom: 12px; }
.terms-box strong { color: var(--ink); }

/* Small helper text under a field (e.g. upload-link instructions) */
.field-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Step wizard */
.step { display: none; }
.step.active { display: block; }

.step-bar {
  margin: 44px -28px 0;
  background: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 74px;
}
.step-bar .spacer { flex: 1; }
.step-bar button {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: none;
  padding: 0 40px;
  cursor: pointer;
}
.step-bar button.primary { background: var(--accent-deep); }
.step-bar button:disabled { opacity: 0.5; cursor: default; }

.form-error { font-size: 15px; color: var(--err); margin-top: 14px; display: none; }
.form-error.show { display: block; }

.thanks { display: none; text-align: center; padding: 90px 24px 120px; }
.thanks.show { display: block; }
.thanks h2 {
  font-family: 'Area Normal', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 44px);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.thanks p { font-size: 19px; color: var(--muted); line-height: 1.6; }
