:root {
  --jbr-ink: #242321;
  --jbr-text: #6b6b6b;
  --jbr-accent: #e48700;
  --jbr-ochre: #f2eee8;
  --jbr-dark: #404040;
  --jbr-line: #bdb5aa;
  --jbr-light-line: #d1d1d1;
  --jbr-white: #fff;
  --jbr-error: #9f2d21;
  --jbr-error-bg: #fff0ed;
}

.jbr {
  color: var(--jbr-text);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.42;
  margin: 0 auto;
  max-width: 1360px;
  padding: 72px 44px 110px;
}

.jbr *,
.jbr *::before,
.jbr *::after {
  box-sizing: border-box;
}

.jbr [hidden] {
  display: none !important;
}

.jbr-hero {
  max-width: 980px;
  padding: 34px 0 70px;
}

.jbr-kicker {
  color: var(--jbr-accent);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.jbr h1,
.jbr h2,
.jbr legend {
  color: var(--jbr-ink);
  font-family: "Unica One", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.jbr h1 {
  font-size: clamp(46px, 5.2vw, 72px);
  letter-spacing: .015em;
  line-height: 1.02;
  margin: 0 0 28px;
}

.jbr h2 {
  font-size: clamp(31px, 3.2vw, 46px);
  letter-spacing: .01em;
  line-height: 1.08;
  margin: 0 0 15px;
}

.jbr-intro {
  color: var(--jbr-text);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.36;
  margin: 0;
  max-width: 900px;
}

.jbr-desktop-break {
  display: initial;
}

.jbr-progress {
  border-bottom: 1px solid var(--jbr-line);
  border-top: 1px solid var(--jbr-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 72px;
}

.jbr-progress__item {
  color: #858585;
  font-size: 16px;
  letter-spacing: .035em;
  padding: 20px 22px;
  position: relative;
  text-transform: uppercase;
}

.jbr-progress__item + .jbr-progress__item {
  border-left: 1px solid var(--jbr-line);
}

.jbr-progress__item b {
  color: var(--jbr-line);
  font-family: "Unica One", sans-serif;
  font-weight: 400;
  margin-right: 10px;
}

.jbr-progress__item.is-active {
  color: var(--jbr-ink);
}

.jbr-progress__item.is-active::after,
.jbr-progress__item.is-complete::after {
  background: var(--jbr-accent);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.jbr-live {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
}

.jbr-panel {
  animation: jbr-appear .28s ease-out;
}

.jbr-panel[hidden] {
  display: none !important;
}

.jbr-panel__heading {
  margin-bottom: 42px;
  max-width: 940px;
}

.jbr-panel__heading > p:last-child {
  margin: 0;
}

.jbr-source {
  align-items: baseline;
  border-left: 3px solid var(--jbr-accent);
  display: grid;
  gap: 2px 22px;
  grid-template-columns: auto 1fr;
  margin: -10px 0 42px;
  max-width: 900px;
  padding: 10px 0 10px 20px;
}

.jbr-source > span {
  color: var(--jbr-accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jbr-source strong {
  color: var(--jbr-ink);
  font-weight: 400;
}

.jbr-source small {
  font-size: 15px;
  grid-column: 2;
}

.jbr-form {
  display: grid;
  gap: 42px;
}

.jbr-fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.jbr-fieldset--ochre {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 30px max(44px, calc((100vw - 1272px) / 2)) 26px;
}

.jbr-fieldset--ochre > legend {
  float: left;
  width: 100%;
}

.jbr-fieldset--ochre > legend + .jbr-choices {
  clear: both;
}

.jbr-fieldset--ochre,
.jbr-contact {
  background: var(--jbr-ochre);
}

.jbr legend,
.jbr-field > span {
  color: var(--jbr-ink);
  display: block;
  font-size: 19px;
  font-style: normal;
  line-height: 1.2;
  margin-bottom: 14px;
}

.jbr legend {
  font-size: 22px;
  letter-spacing: .02em;
  margin-bottom: 20px;
  padding: 0;
}

.jbr-field em {
  color: #858585;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: .04em;
  margin-left: 7px;
  text-transform: uppercase;
}

.jbr-grid {
  display: grid;
  gap: 34px 42px;
}

.jbr-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jbr-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jbr-grid--metrics .jbr-field > span {
  min-height: 46px;
}

.jbr-field {
  display: block;
  margin: 0;
}

.jbr-field-stack {
  display: grid;
  gap: 28px;
}

.jbr input[type="text"],
.jbr input[type="email"],
.jbr input[type="tel"],
.jbr select,
.jbr textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--jbr-line);
  border-radius: 0;
  box-shadow: none;
  color: var(--jbr-ink);
  font: inherit;
  min-height: 48px;
  outline: 0;
  padding: 8px 2px 10px;
  width: 100%;
}

.jbr select {
  background-image: linear-gradient(45deg, transparent 50%, var(--jbr-ink) 50%), linear-gradient(135deg, var(--jbr-ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 21px, calc(100% - 8px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 32px;
}

.jbr textarea {
  line-height: 1.45;
  min-height: 108px;
  resize: vertical;
}

.jbr-field--boxed textarea {
  background: #f7f7f5;
  border: 1px solid #bcbcbc;
  min-height: 142px;
  padding: 15px 17px;
}

.jbr-field--boxed textarea:focus {
  border-color: var(--jbr-accent);
  box-shadow: 0 0 0 2px rgba(228, 135, 0, .18);
}

.jbr input:focus,
.jbr select:focus,
.jbr textarea:focus {
  border-bottom-color: var(--jbr-accent);
  box-shadow: 0 2px 0 -1px var(--jbr-accent);
}

.jbr input::placeholder,
.jbr textarea::placeholder {
  color: #929292;
  opacity: 1;
}

.jbr-field small {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  margin-top: 8px;
}

.jbr-field .jbr-field__prompt {
  font-size: 17px;
  line-height: 1.4;
  margin: -4px 0 12px;
  max-width: 940px;
}

.jbr-choices {
  display: grid;
  gap: 0 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jbr-choice {
  align-items: center;
  border-bottom: 1px solid var(--jbr-line);
  color: var(--jbr-text);
  cursor: pointer;
  display: grid;
  gap: 13px;
  grid-template-columns: 22px 1fr;
  margin: 0;
  min-height: 58px;
  padding: 10px 2px;
  position: relative;
}

.jbr-choice input {
  height: 18px;
  left: 2px;
  margin: 0;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
}

.jbr-consent input {
  height: 18px;
  left: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  top: 3px;
  width: 18px;
}

.jbr-choice__mark {
  border: 1px solid var(--jbr-line);
  height: 18px;
  position: relative;
  width: 18px;
}

.jbr-choices--radio .jbr-choice__mark {
  border-radius: 50%;
}

.jbr-choice input:checked + .jbr-choice__mark {
  background: var(--jbr-accent);
  border-color: var(--jbr-accent);
}

.jbr-choice input:checked + .jbr-choice__mark::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 8px;
  left: 5px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  width: 4px;
}

.jbr-choice input:focus-visible + .jbr-choice__mark,
.jbr-consent input:focus-visible + span::before {
  outline: 2px solid var(--jbr-accent);
  outline-offset: 3px;
}

.jbr-choice:has(input:checked) {
  color: var(--jbr-ink);
}

.jbr-contact {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 56px max(44px, calc((100vw - 1272px) / 2));
}

.jbr-contact .jbr-panel__heading {
  margin-bottom: 34px;
}

.jbr-contact .jbr-fieldset {
  margin-top: 40px;
}

.jbr-consent {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  margin: 34px 0 0;
  position: relative;
}

.jbr-consent > span {
  display: block;
  min-height: 24px;
  padding-left: 35px;
  position: relative;
}

.jbr-consent > span::before {
  border: 1px solid var(--jbr-line);
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  top: 3px;
  width: 18px;
}

.jbr-consent input:checked + span::before {
  background: var(--jbr-accent);
  border-color: var(--jbr-accent);
  box-shadow: inset 0 0 0 4px var(--jbr-ochre);
}

.jbr a {
  color: var(--jbr-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.jbr-form__actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.jbr-form__actions--inline {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.jbr-form__actions p {
  font-size: 15px;
  margin: 0;
}

.jbr-button,
.jbr a.jbr-button {
  align-items: center;
  background: var(--jbr-dark);
  border: 1px solid var(--jbr-dark);
  border-radius: 0;
  color: var(--jbr-white);
  cursor: pointer;
  display: inline-flex;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 17px;
  font-weight: 400;
  justify-content: center;
  line-height: 1.2;
  min-height: 50px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.jbr-button:hover,
.jbr-button:focus-visible,
.jbr a.jbr-button:hover,
.jbr a.jbr-button:focus-visible {
  background: var(--jbr-accent);
  border-color: var(--jbr-accent);
  color: #fff;
}

.jbr-button--secondary,
.jbr a.jbr-button--secondary {
  background: transparent;
  border-color: var(--jbr-line);
  color: var(--jbr-ink);
}

.jbr-button:disabled {
  cursor: wait;
  opacity: .62;
}

.jbr-error,
.jbr-form-error {
  color: var(--jbr-error);
  font-size: 16px;
  font-weight: 400;
  margin: 10px 0 0;
}

.jbr .jbr-field.has-error,
.jbr .jbr-consent.has-error,
.jbr .jbr-fieldset.has-error {
  background-color: var(--jbr-error-bg);
  box-shadow: 0 0 0 10px var(--jbr-error-bg), inset 4px 0 0 var(--jbr-error);
}

.jbr .has-error input,
.jbr .has-error select,
.jbr .has-error textarea,
.jbr .has-error .jbr-choice__mark,
.jbr .has-error.jbr-consent > span::before {
  border-color: var(--jbr-error);
}

.jbr .has-error input[type="text"],
.jbr .has-error input[type="email"],
.jbr .has-error input[type="tel"],
.jbr .has-error select,
.jbr .has-error textarea {
  background-color: var(--jbr-error-bg);
  box-shadow: 0 2px 0 -1px var(--jbr-error);
}

.jbr .has-error .jbr-choice__mark,
.jbr .has-error.jbr-consent > span::before {
  border-width: 2px;
}

.jbr-panel--confirmation {
  background: var(--jbr-dark);
  color: #fff;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 84px max(44px, calc((100vw - 1272px) / 2));
}

.jbr-panel--confirmation h2 {
  color: #fff;
  max-width: 920px;
}

.jbr-panel--confirmation > p:not(.jbr-kicker) {
  color: #f3f3f3;
  font-size: clamp(20px, 2vw, 27px);
  max-width: 820px;
}

.jbr-panel--confirmation .jbr-button--primary {
  background: var(--jbr-accent);
  border-color: var(--jbr-accent);
}

.jbr .jbr-panel--confirmation a.jbr-button--secondary {
  background: #e8e8e6;
  border-color: #e8e8e6;
  color: var(--jbr-ink);
}

.jbr .jbr-panel--confirmation a.jbr-button--secondary:hover,
.jbr .jbr-panel--confirmation a.jbr-button--secondary:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--jbr-ink);
}

.jbr-panel--confirmation button.jbr-button--secondary {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}

.jbr-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

@keyframes jbr-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .jbr {
    font-size: 18px;
    padding: 42px 22px 80px;
  }

  .jbr-hero {
    padding: 18px 0 48px;
  }

  .jbr h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .jbr-progress {
    margin-bottom: 52px;
  }

  .jbr-progress__item {
    font-size: 0;
    padding: 15px 10px;
    text-align: center;
  }

  .jbr-progress__item b {
    font-size: 16px;
    margin: 0;
  }

  .jbr-grid--2,
  .jbr-grid--3,
  .jbr-choices {
    grid-template-columns: 1fr;
  }

  .jbr-grid--metrics .jbr-field > span {
    min-height: 0;
  }

  .jbr-fieldset--ochre,
  .jbr-contact,
  .jbr-panel--confirmation {
    padding-left: 22px;
    padding-right: 22px;
  }

  .jbr-fieldset--ochre {
    padding-bottom: 22px;
    padding-top: 26px;
  }

  .jbr-desktop-break {
    display: none;
  }

  .jbr-contact {
    padding-bottom: 44px;
    padding-top: 44px;
  }

  .jbr-source {
    grid-template-columns: 1fr;
  }

  .jbr-source small {
    grid-column: 1;
  }

  .jbr-form__actions--inline {
    align-items: stretch;
    flex-direction: column;
  }

  .jbr-button,
  .jbr a.jbr-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jbr-panel {
    animation: none;
  }

  .jbr-button {
    transition: none;
  }
}
