/* Zubair.Works V2 release form visual sync */
:root {
  --zbn-paper: var(--zw-paper, #fff7e8);
  --zbn-paper-deep: var(--zw-paper-deep, #f6e7cb);
  --zbn-ink: var(--zw-ink, #1e2a26);
  --zbn-muted: var(--zw-muted, #716f65);
  --zbn-line: var(--zw-line, rgba(30,42,38,.16));
  --zbn-gold: var(--zw-gold, #ffd17b);
  --zbn-radius: var(--zw-radius, 3px);
}

.zbn-release-wrap {
  width: 100%;
  max-width: 980px;
  margin: clamp(28px,4vw,58px) auto;
  padding: 0;
  box-sizing: border-box;
  color: var(--zbn-ink);
  font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.5;
}

.zbn-release-form {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(28px,4vw,48px);
  border: 1px solid var(--zbn-line) !important;
  border-radius: var(--zbn-radius) !important;
  background: rgba(246,231,203,.35) !important;
  color: var(--zbn-ink) !important;
  box-shadow: none !important;
}

.zbn-release-form h2 {
  margin: 0 0 34px !important;
  color: var(--zbn-ink) !important;
  font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif !important;
  font-size: clamp(48px,6vw,76px) !important;
  line-height: .9 !important;
  font-weight: 700 !important;
  letter-spacing: -.05em !important;
  text-shadow: none !important;
}

.zbn-release-intro,
.zbn-help,
.zbn-small {
  color: var(--zbn-muted) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}

.zbn-release-form fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 24px 0 28px;
  border: 0 !important;
  border-top: 1px solid var(--zbn-line) !important;
  border-radius: 0 !important;
}

.zbn-release-form legend {
  padding: 0 14px 0 0;
  color: var(--zbn-ink) !important;
  font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
}

.zbn-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 22px;
}

.zbn-release-form label {
  display: block;
  margin: 0 0 16px;
  color: var(--zbn-muted) !important;
  font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
}

.zbn-release-form input[type=text],
.zbn-release-form input[type=email],
.zbn-release-form input[type=tel],
.zbn-release-form textarea,
.zbn-release-form input[type=file] {
  display: block;
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--zbn-line) !important;
  border-radius: var(--zbn-radius) !important;
  outline: 0;
  background: rgba(255,255,255,.46) !important;
  color: var(--zbn-ink) !important;
  box-shadow: none !important;
  font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 550 !important;
  line-height: 1.35;
}

.zbn-release-form textarea { min-height: 120px; resize: vertical; }
.zbn-release-form input[type=file] { padding: 11px 12px; }
.zbn-release-form input[type=file]::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 1px solid var(--zbn-ink);
  border-radius: var(--zbn-radius);
  background: var(--zbn-ink);
  color: var(--zbn-paper);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}

.zbn-release-form input:focus,
.zbn-release-form textarea:focus {
  border-color: var(--zbn-ink) !important;
  box-shadow: 0 0 0 1px var(--zbn-ink) !important;
}

.zbn-release-form ::placeholder {
  color: rgba(113,111,101,.66) !important;
  opacity: 1;
}

.zbn-radio,
.zbn-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 !important;
  color: var(--zbn-ink) !important;
  font-size: 18px !important;
  line-height: 1.42 !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.zbn-radio input,
.zbn-checkbox input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--zbn-ink);
}

.zbn-conditional { margin-top: 18px; }

.zbn-agreement-box {
  max-height: 320px;
  overflow: auto;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid var(--zbn-line) !important;
  border-radius: var(--zbn-radius) !important;
  background: rgba(255,255,255,.42) !important;
  color: var(--zbn-ink) !important;
  box-shadow: none !important;
  font-size: 18px;
  line-height: 1.55;
}

.zbn-agreement-box p:first-child { margin-top: 0; }
.zbn-agreement-box p:last-child { margin-bottom: 0; }

.zbn-signature-pad-wrap {
  overflow: hidden;
  border: 1px solid var(--zbn-line) !important;
  border-radius: var(--zbn-radius) !important;
  background: #fffdf8 !important;
  box-shadow: none !important;
}

.zbn-signature-pad-wrap canvas {
  display: block;
  width: 100%;
  height: 220px;
  background: #fffdf8 !important;
  touch-action: none;
}

.zbn-secondary-button,
.zbn-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--zbn-ink) !important;
  border-radius: var(--zbn-radius) !important;
  background: var(--zbn-ink) !important;
  color: var(--zbn-paper) !important;
  box-shadow: none !important;
  font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 650 !important;
  letter-spacing: .085em !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.zbn-secondary-button { margin-top: 12px; background: transparent !important; color: var(--zbn-ink) !important; }
.zbn-submit-button { margin-top: 4px; }
.zbn-secondary-button:hover,
.zbn-submit-button:hover {
  transform: translateY(-2px);
  border-color: var(--zbn-gold) !important;
  background: var(--zbn-gold) !important;
  color: var(--zbn-ink) !important;
}

.zbn-signature-error { color: #8b2525 !important; font-size: 17px; font-weight: 700; }

.zbn-release-notice {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--zbn-line) !important;
  border-radius: var(--zbn-radius) !important;
  background: rgba(246,231,203,.55) !important;
  color: var(--zbn-ink) !important;
  box-shadow: none !important;
  font-size: 19px;
  line-height: 1.5;
}

.zbn-release-success { border-left: 4px solid var(--zbn-ink) !important; }

@media (max-width: 720px) {
  .zbn-release-wrap { margin: 18px auto 32px; }
  .zbn-release-form { padding: 24px 20px; }
  .zbn-grid { grid-template-columns: 1fr; gap: 0; }
  .zbn-release-form h2 { font-size: clamp(42px,13vw,60px) !important; }
  .zbn-release-intro,.zbn-help,.zbn-small,.zbn-agreement-box { font-size: 17px !important; }
  .zbn-radio,.zbn-checkbox { font-size: 17px !important; }
}
