.lhf,
.lhf * { box-sizing: border-box; }

.lhf [hidden],
.lhf .is-lhf-hidden,
.lhf__actions > button[hidden],
.lhf__actions > button.is-lhf-hidden { display: none !important; }

.lhf {
  --lhf-blue: #213242;
  --lhf-ink: #1c2127;
  --lhf-gray: #cdcdcd;
  --lhf-paper: #f5f1e9;
  --lhf-gold: #c99855;
  width: 100%;
  padding: clamp(70px, 8vw, 130px) 24px;
  color: var(--lhf-blue);
  background: var(--lhf-paper);
  font-family: inherit;
}

.lhf__shell { width: min(1320px, 100%); margin: 0 auto; }

.lhf__header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: end;
  padding-bottom: clamp(42px, 6vw, 80px);
  border-bottom: 1px solid rgba(33, 50, 66, .22);
}

.lhf__eyebrow {
  margin: 0 0 22px;
  color: #9b6b2c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lhf h2,
.lhf h3 {
  margin: 0;
  color: var(--lhf-blue);
  font-size: clamp(38px, 3.5vw, 66px);
  font-weight: 200 !important;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.lhf__intro,
.lhf__support {
  margin: 0;
  color: rgba(33, 50, 66, .72);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.7;
}

.lhf__progress-wrap { padding: 34px 0 0; }
.lhf__progress-copy { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: rgba(33,50,66,.62); font-size: 13px; letter-spacing: .05em; }
.lhf__progress-copy strong { color: var(--lhf-blue); }
.lhf__progress { height: 3px; overflow: hidden; background: rgba(33,50,66,.13); }
.lhf__progress span { display: block; width: 20%; height: 100%; background: var(--lhf-gold); transition: width .45s cubic-bezier(.2,.75,.25,1); }

.lhf__form { padding-top: clamp(48px, 7vw, 90px); }
.lhf__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.lhf__step.is-active { animation: lhf-in .45s cubic-bezier(.2,.75,.25,1) both; }
.lhf__step[data-direction="backward"].is-active { animation-name: lhf-in-back; }
.lhf__step legend { width: 100%; padding: 0; color: var(--lhf-blue); font-size: clamp(30px, 3vw, 50px); font-weight: 200; line-height: 1.12; letter-spacing: -.035em; outline: 0; }
.lhf__step legend span { display: block; margin-bottom: 18px; color: var(--lhf-gold); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.lhf__support { max-width: 760px; margin-top: 18px; }

.lhf__choices { display: grid; margin-top: clamp(36px, 5vw, 62px); border-top: 1px solid rgba(33,50,66,.2); border-left: 1px solid rgba(33,50,66,.2); }
.lhf__choices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lhf__choices--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lhf__choices--moment .lhf__choice:last-child { grid-column: 1 / -1; }
.lhf__choices--moment .lhf__choice:last-child .lhf__choice-body {
  min-height: 160px;
  background: rgba(201, 152, 85, .055);
}
.lhf__choices--moment .lhf__choice:last-child:hover .lhf__choice-body { background: rgba(201, 152, 85, .11); }
.lhf__choices--moment .lhf__choice:last-child input:checked + .lhf__choice-body { background: var(--lhf-blue); }
.lhf__choice { min-width: 0; cursor: pointer; }
.lhf__choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lhf__choice-body { position: relative; display: flex; min-height: 190px; height: 100%; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(26px, 3vw, 42px); border-right: 1px solid rgba(33,50,66,.2); border-bottom: 1px solid rgba(33,50,66,.2); background: transparent; transition: color .25s ease, background .25s ease, transform .25s ease; }
.lhf__choice-body small { position: absolute; top: 25px; left: clamp(26px, 3vw, 42px); color: var(--lhf-gold); font-weight: 700; letter-spacing: .12em; }
.lhf__choice-body strong { max-width: 90%; font-size: clamp(20px, 1.65vw, 27px); font-weight: 400; line-height: 1.25; }
.lhf__choice-body em { color: rgba(33,50,66,.6); font-size: 13px; font-style: normal; }
.lhf__choice-body b { position: absolute; top: 23px; right: clamp(26px, 3vw, 42px); font-size: 21px; font-weight: 300; transition: transform .25s ease; }
.lhf__choice:hover .lhf__choice-body { background: rgba(255,255,255,.5); }
.lhf__choice:hover .lhf__choice-body b { transform: translateX(5px); }
.lhf__choice input:focus-visible + .lhf__choice-body { outline: 3px solid var(--lhf-gold); outline-offset: -3px; }
.lhf__choice input:checked + .lhf__choice-body { color: #fff; background: var(--lhf-blue); }
.lhf__choice input:checked + .lhf__choice-body em { color: rgba(255,255,255,.67); }
.lhf__choice input[aria-invalid="true"] + .lhf__choice-body { box-shadow: inset 0 0 0 2px #a43c32; }

.lhf__fields { display: grid; gap: 30px; margin-top: clamp(40px, 6vw, 72px); }
.lhf__fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lhf__field { display: flex; min-width: 0; flex-direction: column; gap: 12px; }
.lhf__field--wide { grid-column: 1 / -1; }
.lhf__field > span,
.lhf__channel > p { margin: 0; color: var(--lhf-blue); font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.lhf__field input,
.lhf__field select {
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 14px 0;
  color: var(--lhf-blue);
  border: 0;
  border-bottom: 1px solid rgba(33,50,66,.42);
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: clamp(18px, 1.5vw, 23px);
}
.lhf__field input:focus,
.lhf__field select:focus { border-bottom-color: var(--lhf-gold); box-shadow: 0 1px 0 var(--lhf-gold); }
.lhf__field input[aria-invalid="true"],
.lhf__field select[aria-invalid="true"] { border-bottom-color: #a43c32; }
.lhf__field small { color: rgba(33,50,66,.58); font-size: 13px; }

.lhf__channel { margin-top: 36px; }
.lhf__channel-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lhf__channel-options input { position: absolute; opacity: 0; }
.lhf__channel-options span { display: block; padding: 13px 20px; border: 1px solid rgba(33,50,66,.28); cursor: pointer; transition: .2s ease; }
.lhf__channel-options input:checked + span { color: #fff; border-color: var(--lhf-blue); background: var(--lhf-blue); }
.lhf__channel-options input:focus-visible + span { outline: 3px solid var(--lhf-gold); outline-offset: 2px; }
.lhf__channel-options input[aria-invalid="true"] + span { border-color: #a43c32; }

.lhf__consent { display: flex; max-width: 850px; gap: 13px; align-items: flex-start; margin-top: 32px; color: rgba(33,50,66,.75); font-size: 14px; line-height: 1.55; }
.lhf__consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--lhf-blue); }
.lhf__consent input[aria-invalid="true"] { outline: 2px solid #a43c32; }
.lhf__consent a { color: var(--lhf-blue); text-underline-offset: 3px; }

.lhf__actions { display: flex; justify-content: space-between; gap: 18px; margin-top: clamp(42px, 6vw, 72px); padding-top: 26px; border-top: 1px solid rgba(33,50,66,.18); }
.lhf__actions button { min-height: 58px; padding: 15px 24px; align-items: center; justify-content: center; border: 1px solid var(--lhf-blue); border-radius: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; transition: .2s ease; }
.lhf__back { color: var(--lhf-blue); background: transparent; }
.lhf__next,
.lhf__submit { margin-left: auto; color: #fff; background: var(--lhf-blue); }
.lhf__next span,
.lhf__submit span { display: inline-block; margin-left: 22px; transition: transform .2s ease; }
.lhf__actions button:hover span { transform: translateX(5px); }
.lhf__actions button:disabled { cursor: wait; opacity: .65; }

.lhf__message { min-height: 26px; margin-top: 24px; font-size: 14px; }
.lhf__message.is-error { color: #8f302a; }
.lhf__trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.lhf__success { max-width: 850px; padding: clamp(60px, 8vw, 110px) 0 30px; outline: 0; }
.lhf__success-mark { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 36px; color: #fff; border-radius: 50%; background: var(--lhf-blue); font-size: 25px; }
.lhf__success h3 { font-size: clamp(36px, 4vw, 58px); }
.lhf__success > p:not(.lhf__eyebrow) { max-width: 720px; margin: 28px 0 40px; color: rgba(33,50,66,.72); font-size: 18px; line-height: 1.7; }
.lhf__success a { display: inline-flex; gap: 35px; align-items: center; padding-bottom: 8px; color: var(--lhf-blue); border-bottom: 1px solid var(--lhf-blue); font-weight: 700; text-decoration: none; }

@keyframes lhf-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes lhf-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .lhf__header { grid-template-columns: 1fr; gap: 28px; }
  .lhf__choices--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .lhf { padding: 64px 18px; }
  .lhf__choices--two,
  .lhf__choices--three,
  .lhf__fields--two { grid-template-columns: 1fr; }
  .lhf__field--wide { grid-column: 1; }
  .lhf__choices--moment .lhf__choice:last-child { grid-column: 1; }
  .lhf__choice-body { min-height: 145px; }
  .lhf__progress-copy span:last-child { display: none; }
  .lhf__actions { align-items: stretch; flex-direction: column-reverse; }
  .lhf__actions button { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lhf *, .lhf *::before, .lhf *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
