:root {
  --gold: #98731d;
  --ink: #171717;
  --surface: #f0f1f1;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  background: #fafafa;
  color: var(--ink);
  font-family: "Century Gothic", "Avenir Next", Arial, sans-serif;
  font-size: 0.875rem;
}

.site-header {
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 86px;
  gap: 55px;
}
.brand img {
  width: 220px;
  height: 65px;
  object-fit: contain;
}
.site-menu {
  position: relative;
  align-self: stretch;
}
.site-menu summary {
  list-style: none;
  width: 78px;
  height: 100%;
  background: #f6f6f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 20px;
  cursor: pointer;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu summary span {
  width: 31px;
  height: 2px;
  background: #8e8e8e;
}
.site-menu summary span:nth-child(2) {
  width: 23px;
}
.site-menu nav {
  position: absolute;
  top: 86px;
  left: 0;
  width: 245px;
  z-index: 10;
  background: white;
  box-shadow: 0 8px 25px #0001;
  padding: 18px;
}
.site-menu nav a {
  display: block;
  color: #222;
  padding: 10px;
  text-decoration: none;
}
.site-menu nav a:hover {
  color: var(--gold);
}
.print-button {
  margin-left: auto;
  border: 0;
  background: none;
  color: #777;
  padding: 12px;
}
.print-button svg {
  width: 31px;
  height: 31px;
}
.intro {
  margin-top: 60px;
  margin-bottom: 55px;
  --bs-gutter-x: 36px;
}
.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 12px;
}
h1 {
  font-size: 1.9375rem;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin: 0;
}
.welcome {
  border: 1px solid #e6e6e6;
  padding: 23px;
  font-size: 0.875rem;
  line-height: 1.8;
}
.welcome strong {
  font-weight: 650;
}
.welcome p {
  margin: 7px 0 0;
  color: #494949;
}
.required-note {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 30px;
}
.required-note span {
  color: var(--gold);
}
section {
  margin-bottom: 58px;
}
h2 {
  font-size: 1.4375rem;
  letter-spacing: -0.35px;
  font-weight: 600;
  margin-bottom: 27px;
}
.form-label {
  margin-bottom: 7px;
  color: #333;
  font-size: 0.875rem;
}
.optional {
  color: #808080;
  font-size: 0.875rem;
}
.form-control,
.form-select,
.multi summary {
  background-color: var(--surface);
  border: 1px solid transparent;
  border-radius: 0;
  min-height: 44px;
  font-size: 0.875rem;
  color: #333;
  padding: 10px 13px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #98731d16;
  background: #f5f5f3;
}
.form-control::placeholder {
  color: #949494;
  font-size: 0.875rem;
}
.multi {
  position: relative;
}
.multi summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.multi summary::-webkit-details-marker {
  display: none;
}
.multi summary:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
  margin-right: 4px;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.multi[open] summary:after {
  transform: rotate(225deg);
}
.multi-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 265px;
  overflow: auto;
  z-index: 5;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px #0000000d;
  padding: 7px;
}
.multi-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  cursor: pointer;
  font-size: 0.875rem;
}
.multi-options label:hover {
  background: #f6f4ed;
}
.multi-options input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.selection-note,
.file-help {
  font-size: 0.875rem;
  color: #737373;
  margin-top: 9px;
  line-height: 1.6;
}
.multi-error {
  font-size: 0.875rem;
  color: #ab2b22;
  margin-top: 6px;
}
.multi.invalid summary {
  border-color: #ab2b22;
}
input[type="file"] {
  background: none;
  padding: 0;
  border: 0;
  font-size: 0.875rem;
  padding-top: 3px;
}
input[type="file"]::file-selector-button {
  background: #111;
  color: white;
  padding: 10px 15px;
  border: 1px solid var(--gold);
  margin: 0 10px 0 0;
  cursor: pointer;
  font-size: 0.875rem;
}
textarea.form-control {
  resize: vertical;
}
.file-help {
  margin-top: 10px;
}
#documents {
  margin-bottom: 40px;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}
.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: white;
  border-radius: 0;
  font-size: 0.875rem;
  padding: 11px 23px;
  transition: background 0.2s;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background: #795914;
  color: white;
}
.submission-note {
  font-size: 0.875rem;
  color: #777;
}
#form-status {
  border-left: 3px solid var(--gold);
  background: #f3efe3;
  padding: 18px;
  margin-bottom: 25px;
}
footer {
  /*border-top: 1px solid #b59b59;*/
  padding-top: 28px;
}
footer h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 15px;
}
footer a,
footer p {
  display: block;
  font-size: 0.875rem;
  color: #454545;
  margin-bottom: 10px;
  text-decoration: none;
}
footer a:hover {
  color: var(--gold);
}
footer .back-top {
  color: var(--gold);
  margin-top: 20px;
}
.copyright {
  border-top: 1px solid #e9e7e1;
  margin-top: 25px;
  padding: 20px 0;
  font-size: 0.875rem;
  color: #888;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 767px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header-inner {
    height: 75px;
    gap: 20px;
  }
  .site-menu summary {
    width: 52px;
    padding: 10px;
  }
  .site-menu nav {
    top: 75px;
  }
  .brand img {
    width: 185px;
    height: 55px;
  }
  .print-button {
    padding: 4px;
  }
  .intro {
    margin-top: 35px;
    margin-bottom: 30px;
  }
  .welcome {
    margin-top: 25px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.3125rem;
  }
  section {
    margin-bottom: 42px;
  }
  .submit-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .file-help {
    margin-top: 15px;
  }
  .row {
    --bs-gutter-y: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  .site-menu,
  .print-button,
  .submit-row,
  .back-top {
    display: none;
  }
  .site-header {
    background: none;
  }
  .header-inner {
    height: 65px;
    padding: 0;
  }
  .intro {
    margin-top: 25px;
    margin-bottom: 25px;
  }
  section {
    break-inside: avoid;
    margin-bottom: 30px;
  }
  .container {
    max-width: 100%;
  }
  .multi-options {
    position: static;
    max-height: none;
    box-shadow: none;
  }
  .multi-options label:has(input:not(:checked)) {
    display: none;
  }
  body {
    font-size: 0.875rem;
    background: white;
  }
  footer {
    display: none;
  }
}

/* Accessibility: scalable type, visible boundaries and keyboard focus. */
html {
  font-size: 100%;
}
body {
  font-size: 1rem;
  line-height: 1.6;
}
:root {
  --gold: #806015;
}
.form-label,
.form-control,
.form-select,
.multi summary,
.multi-options label,
.btn-gold,
input[type="file"],
input[type="file"]::file-selector-button {
  font-size: 1rem;
}
.optional,
.required-note,
.selection-note,
.file-help,
.submission-note,
.copyright {
  color: #595959;
}
.form-control::placeholder {
  color: #656565;
  font-size: 0.875rem;
}
.form-control,
.form-select,
.multi summary {
  border-color: #858585;
}
.form-control,
.form-select {
  min-width: 0;
  width: 100%;
}
.form-select {
  padding-right: 2.5rem;
}
.form-control,
.form-select,
.multi summary,
button,
.multi-options label {
  min-height: 44px;
}
.multi-options {
  position: static;
  max-height: 20rem;
  border-color: #858585;
}
.multi-options label {
  align-items: flex-start;
}
.multi-options input {
  margin-top: 0.3em;
  width: 20px;
  height: 20px;
}
.multi-options span,
.selection-note,
.welcome,
h1,
h2 {
  overflow-wrap: anywhere;
}
:focus-visible,
.form-control:focus,
.form-select:focus {
  outline: 3px solid #1659a2;
  outline-offset: 3px;
  box-shadow: none;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-150%);
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 12px 20px;
  border: 2px solid #111;
}
.skip-link:focus {
  transform: translateY(0);
}
.accessibility-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ddd;
}
.accessibility-title {
  font-weight: 600;
  margin-right: auto;
}
.accessibility-controls select,
.accessibility-controls button {
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid #777;
  border-radius: 0;
  font: inherit;
  color: #222;
  background: white;
}
.accessibility-controls button[aria-pressed="true"] {
  color: #fff;
  background: #222;
}
.error-summary {
  padding: 1.25rem;
  border: 2px solid #a02020;
  margin-bottom: 2rem;
}
.error-summary h2 {
  margin-bottom: 0.75rem;
}
.error-summary a,
.field-error,
.multi-error {
  color: #9b2020;
}
.error-summary a {
  display: inline-block;
  padding: 0.3rem 0;
}
.field-error {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}
[aria-invalid="true"] {
  border: 2px solid #a02020;
}
html.large-text .row > [class*="col-"] {
  width: 100%;
}
html.large-text .submit-row {
  flex-wrap: wrap;
}
html.high-contrast {
  --gold: #111;
  --surface: #fff;
  --ink: #000;
}
.high-contrast body,
.high-contrast .site-header,
.high-contrast .welcome,
.high-contrast .multi-options,
.high-contrast #form-status {
  background: #fff;
  color: #000;
}
.high-contrast label,
.high-contrast p,
.high-contrast .optional,
.high-contrast .selection-note,
.high-contrast .submission-note,
.high-contrast .copyright,
.high-contrast .eyebrow,
.high-contrast .welcome p {
  color: #000;
}
.high-contrast .form-control,
.high-contrast .form-select,
.high-contrast .multi summary {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}
.high-contrast .btn-gold,
.high-contrast input::file-selector-button {
  background: #000;
  color: #fff;
}
.high-contrast .form-control::placeholder {
  color: #454545;
}
.high-contrast a {
  text-decoration: underline;
}
.success-dialog {
  width: min(92vw, 480px);
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #222;
  background: #fff;
  box-shadow: 0 24px 70px rgb(0 0 0 / 24%);
}
.success-dialog::backdrop {
  background: rgb(15 20 18 / 62%);
  backdrop-filter: blur(3px);
}
.success-dialog-content {
  padding: 42px 36px 36px;
  text-align: center;
}
.success-dialog h2 {
  margin: 20px 0 10px;
  font-size: 1.7rem;
}
.success-dialog p {
  margin: 0 auto;
  max-width: 380px;
  color: #555;
}
.success-dialog .success-reference {
  margin-top: 12px;
  color: #222;
}
.success-dialog .btn {
  margin-top: 28px;
  min-width: 120px;
}
.success-check {
  width: 84px;
  height: 84px;
  overflow: visible;
}
.success-check-circle,
.success-check-mark {
  fill: none;
  stroke: #249653;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-check-circle {
  stroke-width: 5;
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
}
.success-dialog[open] .success-check-circle {
  animation: success-circle 0.65s ease-out forwards;
}
.success-check-mark {
  stroke-width: 6;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}
.success-dialog[open] .success-check-mark {
  animation: success-mark 0.4s 0.55s ease-out forwards;
}
@keyframes success-circle {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes success-mark {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .success-check-circle,
  .success-check-mark {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
@media (max-width: 575px) {
  .header-inner {
    gap: 10px;
  }
  .brand {
    min-width: 0;
  }
  .brand img {
    width: 100%;
    max-width: 185px;
  }
  .print-button {
    min-width: 44px;
  }
  .site-menu {
    flex-shrink: 0;
  }
  .accessibility-title {
    flex-basis: 100%;
  }
  .intro {
    --bs-gutter-x: 24px;
  }
}
@media (forced-colors: active) {
  .form-control,
  .form-select,
  .multi summary,
  button {
    border: 1px solid ButtonText;
  }
  :focus-visible {
    outline: 3px solid Highlight;
  }
}
@media print {
  .accessibility-controls,
  .skip-link,
  .error-summary {
    display: none;
  }
}
