:root {
  --text-hero: 70px;
  --text-title: 55px;
  --text-section: 44px;
  --text-block: 28px;
  --duration-hover: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-hover: 0s;
  }
}
@media (max-width: 900px) {
  :root {
    --text-hero: 48px;
    --text-title: 42px;
    --text-section: 30px;
    --text-block: 24px;
  }
}
@media (max-width: 360px) {
  :root {
    --text-hero: 40px;
    --text-title: 34px;
    --text-section: 24px;
  }
}
.btn {
  --btn-pad-y: 11px;
  --btn-pad-x: 32px;
  --btn-fill: transparent;
  --btn-border: rgba(77, 42, 73, 0.4);
  --btn-ink: #4D2A49;
  --btn-hover-fill: rgba(77, 42, 73, 0.16);
  --btn-press-fill: rgba(77, 42, 73, 0.28);
  --btn-hover-border: #4D2A49;
  --btn-hover-ink: #4D2A49;
  --btn-tone: #4D2A49;
  --btn-halo: rgba(77, 42, 73, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: "tablet-gothic-narrow", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.125em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border: 1px solid var(--btn-border);
  border-radius: 6px;
  background-color: var(--btn-fill);
  background-clip: padding-box;
  color: var(--btn-ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn > .text {
  display: block;
  text-box: trim-both cap alphabetic;
  margin-right: -0.125em;
  text-align: center;
}
.btn > i.icon,
.btn > span.text + i.icon {
  display: block;
  flex: none;
  width: 1.25em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.btn:hover:not(:disabled, .disabled) {
  background-color: var(--btn-hover-fill);
  border-color: var(--btn-hover-border);
  color: var(--btn-hover-ink);
}
.btn:active:not(:disabled, .disabled) {
  background-color: var(--btn-press-fill);
  border-color: var(--btn-hover-border);
  color: var(--btn-hover-ink);
}
.btn:focus-visible {
  outline: none;
  background-color: var(--btn-fill);
  color: var(--btn-ink);
  border-width: 2px;
  border-color: var(--btn-tone);
  padding: calc(var(--btn-pad-y) - 1px) calc(var(--btn-pad-x) - 1px);
  box-shadow: 0 0 0 3px var(--btn-halo);
}
.btn:active:focus-visible:not(:disabled, .disabled) {
  box-shadow: 0 0 0 3px var(--btn-halo);
}
.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
  background-color: var(--btn-fill);
  border-color: var(--btn-border);
  color: var(--btn-ink);
}
.btn.solid {
  --btn-fill: #E8C124;
  --btn-border: transparent;
  --btn-ink: #4D2A49;
  --btn-hover-fill: #F1CC4B;
  --btn-press-fill: #D6AF1C;
  --btn-hover-border: transparent;
  --btn-hover-ink: #4D2A49;
  --btn-halo: rgba(232, 193, 36, 0.5);
  background-clip: border-box;
}
.btn.solid:focus-visible {
  border-color: transparent;
  background-clip: padding-box;
}
.btn.danger {
  --btn-border: #9E2136;
  --btn-ink: #9E2136;
  --btn-hover-fill: rgba(158, 33, 54, 0.16);
  --btn-press-fill: rgba(158, 33, 54, 0.28);
  --btn-hover-border: #9E2136;
  --btn-hover-ink: #9E2136;
  --btn-tone: #9E2136;
  --btn-halo: rgba(158, 33, 54, 0.2);
}
.btn.green {
  --btn-border: #3D6B35;
  --btn-ink: #3D6B35;
  --btn-hover-fill: rgba(61, 107, 53, 0.16);
  --btn-press-fill: rgba(61, 107, 53, 0.28);
  --btn-hover-border: #3D6B35;
  --btn-hover-ink: #3D6B35;
  --btn-tone: #3D6B35;
  --btn-halo: rgba(61, 107, 53, 0.2);
}
.btn.blue {
  --btn-border: #2F5D8A;
  --btn-ink: #2F5D8A;
  --btn-hover-fill: rgba(47, 93, 138, 0.16);
  --btn-press-fill: rgba(47, 93, 138, 0.28);
  --btn-hover-border: #2F5D8A;
  --btn-hover-ink: #2F5D8A;
  --btn-tone: #2F5D8A;
  --btn-halo: rgba(47, 93, 138, 0.2);
}
.btn.orange {
  --btn-border: #A84A0E;
  --btn-ink: #A84A0E;
  --btn-hover-fill: rgba(168, 74, 14, 0.16);
  --btn-press-fill: rgba(168, 74, 14, 0.28);
  --btn-hover-border: #A84A0E;
  --btn-hover-ink: #A84A0E;
  --btn-tone: #A84A0E;
  --btn-halo: rgba(168, 74, 14, 0.2);
}
.btn.sm {
  --btn-pad-y: 7px;
  --btn-pad-x: 18px;
  min-height: 38px;
  font-size: 13.5px;
}
@media (max-width: 360px) {
  .btn, .btn.sm {
    --btn-pad-x: 12px;
  }
}

header.site .btn:not(.solid):not(.danger):not(.green):not(.blue):not(.orange),
footer.site .btn:not(.solid):not(.danger):not(.green):not(.blue):not(.orange),
.section.dark .btn:not(.solid):not(.danger):not(.green):not(.blue):not(.orange),
.section.plum .btn:not(.solid):not(.danger):not(.green):not(.blue):not(.orange),
.strip.plum .btn:not(.solid):not(.danger):not(.green):not(.blue):not(.orange),
.media-hero .btn:not(.solid):not(.danger):not(.green):not(.blue):not(.orange) {
  --btn-border: rgba(241, 236, 229, 0.4);
  --btn-ink: #E8C124;
  --btn-hover-fill: rgba(232, 193, 36, 0.16);
  --btn-press-fill: rgba(232, 193, 36, 0.25);
  --btn-hover-border: #E8C124;
  --btn-hover-ink: #F1CC4B;
  --btn-tone: #E8C124;
  --btn-halo: rgba(232, 193, 36, 0.35);
}
header.site .btn.danger,
footer.site .btn.danger,
.section.dark .btn.danger,
.section.plum .btn.danger,
.strip.plum .btn.danger,
.media-hero .btn.danger {
  --btn-border: #E58A9A;
  --btn-ink: #E58A9A;
  --btn-hover-fill: rgba(229, 138, 154, 0.24);
  --btn-press-fill: rgba(229, 138, 154, 0.34);
  --btn-hover-border: #E58A9A;
  --btn-hover-ink: #E58A9A;
  --btn-tone: #E58A9A;
  --btn-halo: rgba(229, 138, 154, 0.35);
}
header.site .btn.green,
footer.site .btn.green,
.section.dark .btn.green,
.section.plum .btn.green,
.strip.plum .btn.green,
.media-hero .btn.green {
  --btn-border: #9DBE8C;
  --btn-ink: #9DBE8C;
  --btn-hover-fill: rgba(157, 190, 140, 0.24);
  --btn-press-fill: rgba(157, 190, 140, 0.34);
  --btn-hover-border: #9DBE8C;
  --btn-hover-ink: #9DBE8C;
  --btn-tone: #9DBE8C;
  --btn-halo: rgba(157, 190, 140, 0.35);
}
header.site .btn.blue,
footer.site .btn.blue,
.section.dark .btn.blue,
.section.plum .btn.blue,
.strip.plum .btn.blue,
.media-hero .btn.blue {
  --btn-border: #8FB4DA;
  --btn-ink: #8FB4DA;
  --btn-hover-fill: rgba(143, 180, 218, 0.24);
  --btn-press-fill: rgba(143, 180, 218, 0.34);
  --btn-hover-border: #8FB4DA;
  --btn-hover-ink: #8FB4DA;
  --btn-tone: #8FB4DA;
  --btn-halo: rgba(143, 180, 218, 0.35);
}
header.site .btn.orange,
footer.site .btn.orange,
.section.dark .btn.orange,
.section.plum .btn.orange,
.strip.plum .btn.orange,
.media-hero .btn.orange {
  --btn-border: #EFA36A;
  --btn-ink: #EFA36A;
  --btn-hover-fill: rgba(239, 163, 106, 0.24);
  --btn-press-fill: rgba(239, 163, 106, 0.34);
  --btn-hover-border: #EFA36A;
  --btn-hover-ink: #EFA36A;
  --btn-tone: #EFA36A;
  --btn-halo: rgba(239, 163, 106, 0.35);
}

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

button:not(:disabled) {
  cursor: pointer;
}

body.auth-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0 24px;
  background: #F1ECE5;
  color: #444444;
  font-family: "abril-text", Georgia, serif;
  font-variant-numeric: lining-nums;
  font-size: 16px;
  line-height: 1.5;
}

.auth-layout main {
  flex: 1 0 auto;
}
.auth-layout .auth-card {
  max-width: 540px;
  margin: clamp(40px, 8vw, 72px) auto;
  margin: round(down, clamp(40px, 8vw, 72px), 1px) auto;
}
.auth-layout .card {
  background: #FFFFFF;
  border: 1px solid #E6DED3;
  border-radius: 12px;
}
.auth-layout .card-body {
  padding: 32px;
  --badge-pending-ground: #F1ECE5;
}
@media (max-width: 600px) {
  .auth-layout .card-body {
    padding: 20px;
  }
}
.auth-layout .auth-branding {
  margin-bottom: 20px;
}
.auth-layout .auth-logo-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
.auth-layout .auth-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}
.auth-layout i.icon.with-caption {
  margin-right: 0.45em;
}
.auth-layout .card-title {
  margin: 0 0 20px;
  font-family: "canto-pen", serif;
  font-weight: 700;
  font-size: var(--text-block);
  line-height: 1.2;
  color: #4D2A49;
}
.auth-layout .card-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 6px;
  background: #E8C124;
  margin: 14px auto 0;
}
.auth-layout p {
  margin: 0 0 20px;
}
.auth-layout p:last-child {
  margin-bottom: 0;
}
.auth-layout .text-center {
  text-align: center;
}
.auth-layout .text-end {
  text-align: right;
}
.auth-layout .d-grid {
  display: grid;
}
.auth-layout .d-flex {
  display: flex;
}
.auth-layout .justify-content-center {
  justify-content: center;
}

.auth-foot {
  flex: none;
  padding: 32px 0 40px;
  text-align: center;
  font-family: "tablet-gothic-narrow", "Helvetica Neue", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666;
}

::selection {
  background: rgba(232, 193, 36, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
.req {
  display: inline-block;
  box-sizing: border-box;
  height: 1cap;
  overflow: hidden;
  vertical-align: baseline;
  margin-left: 0.3em;
  padding-top: calc((1cap - 0.6em) / 2);
  color: #A28511;
}
.req i {
  display: block;
  width: 1em;
  font-size: 0.6em;
  line-height: 1;
  text-align: center;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.auth-layout .form-floating {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-layout .form-floating > label {
  order: -1;
}
.auth-layout .form-control {
  font-family: "abril-text", Georgia, serif;
  font-variant-numeric: lining-nums;
  font-size: 16px;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  line-height: normal;
  color: #1C0F1A;
  background-color: #FFFFFF;
  border: 1px solid #9A7C97;
  border-radius: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.auth-layout .form-control::placeholder {
  color: #9A9198;
}
.auth-layout .form-control:hover:not(:disabled) {
  border-color: #4D2A49;
}
.auth-layout .form-control:focus-visible {
  outline: none;
  border-color: #4D2A49;
  box-shadow: 0 0 0 3px rgba(77, 42, 73, 0.2);
}
.auth-layout .form-control:disabled {
  cursor: not-allowed;
  opacity: 1;
  background-color: color-mix(in srgb, #1C0F1A 5%, #FFFFFF);
  border-color: color-mix(in srgb, #9A7C97 50%, #FFFFFF);
  color: #666666;
}
.auth-layout .form-control:is(textarea) {
  height: auto;
  padding: 10px 12px;
}
.auth-layout .form-control:is(select) {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234D2A49' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.auth-layout .form-control:is(select):disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23666666' stroke-width='1.5'/%3E%3C/svg%3E");
}
.auth-layout .form-control {
  width: 100%;
}
.auth-layout .form-control.is-invalid, .auth-layout .form-control.is-invalid:hover:not(:disabled), .auth-layout .form-control.is-invalid:focus-visible {
  border-color: #9E2136;
}
.auth-layout .form-control.is-invalid {
  color: #9E2136;
  background-color: color-mix(in srgb, #9E2136 5%, #FFFFFF);
}
.auth-layout .form-control.is-invalid:focus-visible {
  box-shadow: 0 0 0 3px rgba(158, 33, 54, 0.2);
}
.auth-layout .form-control.is-invalid::placeholder {
  color: color-mix(in srgb, #9E2136 60%, #FFFFFF);
}
.auth-layout .form-control.is-invalid:is(select) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239E2136' stroke-width='1.5'/%3E%3C/svg%3E");
}
.auth-layout .form-label {
  font-family: "tablet-gothic-narrow", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding-left: 0.125em;
  color: #666666;
}
.auth-layout .form-control::placeholder {
  color: transparent;
}
.auth-layout .form-text {
  margin: 0;
  font-size: 14px;
  color: #666666;
}
.auth-layout .invalid-feedback {
  margin: 0;
  font-family: "tablet-gothic-narrow", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #9E2136;
}
.auth-layout .card-body .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.auth-layout .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.auth-layout .form-check-label {
  font-size: 16px;
  color: #444444;
  cursor: pointer;
}
.auth-layout .form-switch .form-check-input {
  appearance: none;
  flex: none;
  position: relative;
  width: 34px;
  height: 20px;
  margin: 0;
  border: 1px solid rgba(77, 42, 73, 0.4);
  border-radius: 10px;
  background: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.auth-layout .form-switch .form-check-input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4D2A49;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.auth-layout .form-switch .form-check-input:checked {
  background: #4D2A49;
  border-color: #4D2A49;
}
.auth-layout .form-switch .form-check-input:checked::after {
  transform: translateX(14px);
  background: #FFFFFF;
}
.auth-layout .form-switch .form-check-input:focus-visible {
  outline: 2px solid #E8C124;
  outline-offset: 2px;
}
.auth-layout .card-body a:where(:not(.btn, .auth-logo-link)) {
  color: #4D2A49;
  text-decoration: underline;
  text-decoration-color: rgba(77, 42, 73, 0.4);
  text-underline-offset: 3px;
  padding: 0 2px;
  margin: 0 -2px;
  border-radius: 2px;
}
.auth-layout .card-body a:where(:not(.btn, .auth-logo-link)):hover {
  text-decoration-color: #4D2A49;
}
.auth-layout .card-body a:where(:not(.btn, .auth-logo-link)):focus-visible {
  outline: none;
  background: rgba(77, 42, 73, 0.12);
  box-shadow: 0 0 0 3px rgba(77, 42, 73, 0.12);
  text-decoration-thickness: 2px;
}
.auth-layout hr {
  border: 0;
  border-top: 1px solid #E6DED3;
  margin: 26px 0;
  opacity: 1;
}

.auth-layout .flash-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
}
.auth-layout .flash,
.auth-layout .alert {
  margin: 0;
  padding: 17px 22px;
  border: 1px solid var(--flash-line);
  border-left: 0;
  border-radius: 6px;
  background: linear-gradient(to right, var(--flash-line) 6px, var(--flash-ground) 6px) border-box no-repeat;
  font-family: "abril-text", Georgia, serif;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
  padding-right: 44px;
}
.auth-layout .flash > i.icon,
.auth-layout .alert > i.icon {
  flex: none;
  width: 1.25em;
  margin: 0;
}
.auth-layout .flash > .text,
.auth-layout .alert > .text {
  flex: 1 1 auto;
  text-box: trim-both cap alphabetic;
}
.auth-layout .flash a,
.auth-layout .alert a {
  color: inherit;
}
.auth-layout .flash > .close,
.auth-layout .alert > .close {
  position: absolute;
  top: calc(17px + (1cap - 24px) / 2);
  right: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.auth-layout .flash > .close::after,
.auth-layout .alert > .close::after {
  content: "";
  position: absolute;
  inset: -10px;
}
.auth-layout .flash > .close i,
.auth-layout .alert > .close i {
  display: block;
  font-size: 14px;
  line-height: 1;
}
.auth-layout .flash > .close:hover,
.auth-layout .alert > .close:hover {
  opacity: 1;
}
.auth-layout .flash > .close:focus,
.auth-layout .alert > .close:focus {
  outline: none;
}
.auth-layout .flash > .close:focus-visible,
.auth-layout .alert > .close:focus-visible {
  opacity: 1;
  background: color-mix(in srgb, currentColor 20%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}
.auth-layout .flash > span,
.auth-layout .alert > span {
  flex: 1 1 auto;
  text-box: trim-both cap alphabetic;
}
.auth-layout .flash h4,
.auth-layout .alert h4 {
  margin: 0 0 6px;
  font-family: "tablet-gothic-narrow", "Helvetica Neue", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: inherit;
}
.auth-layout .flash ul,
.auth-layout .alert ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.auth-layout .flash li a,
.auth-layout .alert li a {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  color: inherit;
  text-decoration: none;
}
.auth-layout .alert-danger {
  --flash-line: rgba(158, 33, 54, 0.35);
  --flash-ground: rgba(158, 33, 54, 0.05);
  color: #9E2136;
}
.auth-layout .alert-success {
  --flash-line: rgba(61, 107, 53, 0.35);
  --flash-ground: rgba(61, 107, 53, 0.05);
  color: #3D6B35;
}
.auth-layout .alert-info {
  --flash-line: rgba(77, 42, 73, 0.35);
  --flash-ground: rgba(77, 42, 73, 0.05);
  color: #3A2036;
}
