:root {
  --ivory: #f7f3eb;
  --paper: #fffdf8;
  --ink: #29342e;
  --olive: #354b3f;
  --rose: #ecd8d8;
  --line: #d9d8cd;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #936223; outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 20px; top: -100px; padding: 12px; background: white; z-index: 10; }
.skip:focus { top: 12px; }

.application-header { max-width: 1480px; margin: auto; padding: 20px 4%; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 16px; align-items: center; text-decoration: none; line-height: 1.25; }
.brand img { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 50%; }
.brand span { font: 30px/1.25 var(--serif); }
.brand small { display: block; margin-top: 4px; font: 600 10px/2 var(--sans); letter-spacing: 2px; }
.back-link { padding: 10px 0; font-size: 15px; text-decoration: none; }
.back-link span { margin-right: 10px; }

.review-note { max-width: 1480px; margin: 0 auto 24px; padding: 12px 20px; border-block: 1px solid #dbc9be; background: #f0e6db; color: #534132; font-size: 14px; line-height: 1.5; }
.review-note strong { font-weight: 600; }
.application-layout { max-width: 1480px; margin: auto; display: grid; grid-template-columns: minmax(320px, 380px) minmax(720px, 1fr); gap: clamp(36px, 4vw, 64px); align-items: start; padding-bottom: 56px; }
.welcome-panel { position: relative; isolation: isolate; min-height: 930px; overflow: hidden; background: var(--olive); color: #fffdf8; }
.welcome-panel > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; z-index: -2; }
.welcome-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25,37,28,.04) 15%, rgba(25,37,28,.2) 35%, rgba(25,37,28,.92) 85%); }
.welcome-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: 36px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.welcome-copy h1 { margin: 0 0 20px; font: clamp(40px, 3.8vw, 62px)/1.03 var(--serif); letter-spacing: -1.7px; }
.welcome-copy h1 em { color: var(--rose); font-weight: 400; }
.welcome-copy > p:not(.eyebrow) { max-width: 32ch; color: #f7f3eb; line-height: 1.65; }
.welcome-signature { display: block; margin-top: 28px; padding-top: 18px; border-top: 1px solid #ffffff50; font: italic 22px var(--serif); }

.application-panel { min-width: 0; padding-top: 12px; scroll-margin-top: 16px; }
.application-intro { animation: arrive .5s ease-out both; }
.application-intro h2 { max-width: 15ch; margin: 0 0 22px; font: clamp(44px, 4.1vw, 64px)/1.04 var(--serif); letter-spacing: -1.6px; }
.application-intro h2 em { color: #66544c; font-weight: 400; }
.application-intro > p:last-child { max-width: 49ch; margin: 0 0 28px; color: #59635d; }
.application-location { display: flex; max-width: 49ch; align-items: baseline; gap: 20px; margin: -6px 0 28px; padding: 14px 18px; border-left: 3px solid #936223; background: var(--paper); font-style: normal; }
.application-location span { flex: 0 0 auto; color: #66544c; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.application-location strong { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.preview-surface { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 16px 46px #29342e0d; }
.preview-caption { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.preview-caption p { margin: 0; font-size: 15px; font-weight: 600; }
.preview-caption span:last-child { display: block; color: #6a716c; font-size: 13px; }
.preview-status { width: 10px; height: 10px; flex: 0 0 auto; border: 2px solid #936223; border-radius: 50%; background: #fff8e8; box-shadow: 0 0 0 4px #f3e5c8; }
.preview-progress { display: flex; align-items: center; gap: 18px; padding: 15px clamp(24px,4vw,46px); border-bottom: 1px solid var(--line); color: #626b65; font-size: 13px; font-weight: 600; }
.progress-track { height: 4px; flex: 1; overflow: hidden; border-radius: 99px; background: #e8e5dd; }
.progress-track > span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--olive); transition: width .25s ease; }
.form-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.preview-form, .preview-confirmation { padding: clamp(30px,4vw,48px); background: linear-gradient(145deg,#fff 0%,#fbf8f1 100%); }
.form-step h3, .preview-confirmation h3 { margin: 0 0 14px; font: clamp(34px,3.4vw,48px)/1.06 var(--serif); letter-spacing: -.9px; }
.step-intro { max-width: 58ch; margin: 0 0 28px; color: #59635d; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-field { min-width: 0; }
.form-field.full { margin-top: 24px; }
.form-field label { display: block; margin-bottom: 8px; color: #3d4842; font-size: 14px; font-weight: 600; }
.form-field label span { color: #747b76; font-weight: 400; }
.form-field input, .form-field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bfc3bc; border-radius: 6px; background: white; color: var(--ink); }
.form-field textarea { min-height: 126px; resize: vertical; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #a13f35; box-shadow: 0 0 0 1px #a13f35; }
.field-error { min-height: 1.35em; margin: 5px 0 0; color: #8d3029; font-size: 13px; line-height: 1.35; }
.interest-fieldset, .acknowledgments { margin: 0; padding: 0; border: 0; }
.interest-fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.interest-fieldset label { display: flex; min-height: 54px; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; }
.interest-fieldset label:has(input:checked) { border-color: var(--olive); background: #eff2ed; }
.interest-fieldset input, .acknowledgments input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--olive); }
.review-summary { display: grid; grid-template-columns: minmax(110px,.35fr) 1fr; gap: 0; margin: 28px 0; border-block: 1px solid var(--line); }
.review-summary dt, .review-summary dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.review-summary dt:nth-last-of-type(1), .review-summary dd:nth-last-of-type(1) { border-bottom: 0; }
.review-summary dt { padding-right: 18px; color: #686f6b; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.acknowledgments { padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.acknowledgments legend { padding: 0 7px; font-size: 14px; font-weight: 600; }
.acknowledgments label { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; cursor: pointer; }
.acknowledgments label + label { margin-top: 13px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.form-actions.split { justify-content: space-between; gap: 16px; }
.preview-button { min-height: 50px; padding: 13px 22px; border: 1px solid var(--olive); border-radius: 3px; background: var(--olive); color: white; font-size: 14px; font-weight: 600; }
.preview-button:hover { background: #293d33; }
.preview-button.secondary { background: transparent; color: var(--olive); }
.preview-button.secondary:hover { background: #edf0eb; }
.preview-confirmation { min-height: 450px; text-align: center; display: grid; place-items: center; align-content: center; }
.preview-confirmation > * { max-width: 580px; }
.preview-confirmation p:not(.eyebrow) { margin: 0 0 26px; color: #59635d; }
.confirmation-mark { display: grid; width: 60px; height: 60px; margin: 0 auto 24px; place-items: center; border-radius: 50%; background: var(--olive); color: white; font-size: 27px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.review-footnote { margin: 18px 0 0; padding-left: 18px; border-left: 2px solid #c8b2a4; color: #59635d; font-size: 14px; line-height: 1.6; }
.review-footnote strong { color: var(--ink); }

.membership-package { max-width: 1480px; margin: 0 auto 64px; padding: clamp(34px, 5vw, 70px); background: var(--olive); color: #fffdf8; }
.package-heading { display: grid; grid-template-columns: minmax(180px,.45fr) minmax(280px,.75fr) minmax(300px,1fr); gap: 30px; align-items: start; margin-bottom: 46px; }
.package-heading h2 { margin: 0; font: clamp(38px,4vw,62px)/1 var(--serif); letter-spacing: -1.4px; }
.package-heading > p:last-child { max-width: 50ch; margin: 0; color: #f7f3ebcc; }
.package-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid #ffffff33; background: #ffffff33; }
.package-grid article { padding: 30px; background: var(--olive); }
.package-grid h3 { margin: 0 0 18px; color: var(--rose); font: 28px/1.12 var(--serif); }
.package-grid ul { margin: 0; padding-left: 20px; color: #f7f3ebd9; }
.package-grid li + li { margin-top: 10px; }

.support-band { max-width: 1480px; margin: auto; padding: 36px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; border-top: 1px solid var(--line); }
.support-band .eyebrow { margin-bottom: 7px; }
.support-band h2 { margin: 0; font: 32px/1.2 var(--serif); }
.support-band > a { font-size: 16px; overflow-wrap: anywhere; }
.support-band > a span { margin-left: 20px; }
footer { max-width: 1480px; margin: auto; padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #59635d; font-size: 13px; }
footer nav { display: flex; gap: 24px; }

@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1540px) {
  .review-note, .application-layout, .membership-package, .support-band, footer { margin-left: 4%; margin-right: 4%; }
}

@media (max-width: 1180px) {
  .application-layout { display: flex; flex-direction: column; gap: 40px; }
  .application-panel { order: 0; width: 100%; padding: 0; }
  .welcome-panel { order: 1; width: 100%; min-height: 620px; }
  .welcome-panel > img { object-position: 50% 44%; }
  .welcome-copy { padding: 36px; }
  .membership-package { padding: 44px; }
  .package-heading { grid-template-columns: 1fr 1.4fr; }
  .package-heading > p:last-child { grid-column: 2; }
  .package-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .application-header { padding: 14px 5%; gap: 14px; }
  .brand { gap: 10px; }
  .brand img { width: 54px; height: 54px; }
  .brand span { font-size: 23px; }
  .brand small { font-size: 8px; letter-spacing: 1.1px; }
  .back-link { width: 70px; font-size: 13px; line-height: 1.35; text-align: right; }
  .back-link span { display: none; }
  .review-note { margin: 0 5% 26px; padding: 10px 12px; font-size: 12px; }
  .application-layout { margin: 0 5%; gap: 36px; padding-bottom: 32px; }
  .application-intro h2 { margin-bottom: 18px; font-size: 47px; }
  .application-intro .eyebrow, .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .application-intro > p:last-child { margin-bottom: 24px; line-height: 1.6; }
  .application-location { align-items: flex-start; flex-direction: column; gap: 5px; margin-top: -4px; padding: 13px 15px; }
  .preview-caption { padding: 15px 16px; }
  .preview-caption p { font-size: 14px; }
  .preview-caption span:last-child { font-size: 12px; line-height: 1.45; }
  .preview-progress { padding: 13px 18px; }
  .preview-form, .preview-confirmation { padding: 27px 20px; }
  .form-step h3, .preview-confirmation h3 { font-size: 35px; }
  .form-grid, .interest-fieldset { grid-template-columns: 1fr; }
  .form-actions.split { align-items: stretch; }
  .preview-button { width: 100%; }
  .review-summary { grid-template-columns: 95px 1fr; font-size: 14px; }
  .review-footnote { padding-left: 14px; }
  .welcome-panel { min-height: 570px; border-radius: 4px; }
  .welcome-copy { padding: 28px; }
  .welcome-copy h1 { font-size: 42px; letter-spacing: -1px; }
  .welcome-copy p { font-size: 16px; }
  .welcome-panel > img { object-position: 50% 48%; }
  .welcome-signature { display: none; }
  .membership-package { margin: 0 5% 40px; padding: 30px 22px; }
  .package-heading { display: block; margin-bottom: 30px; }
  .package-heading h2 { margin-bottom: 18px; font-size: 42px; }
  .package-grid { display: block; border: 0; background: transparent; }
  .package-grid article { padding: 24px 0; border-top: 1px solid #ffffff38; }
  .package-grid article:last-child { padding-bottom: 0; }
  .package-grid h3 { font-size: 25px; }
  .support-band { margin: 0 5%; padding: 28px 0; display: block; }
  .support-band h2 { margin-bottom: 18px; font-size: 28px; }
  .support-band > a { font-size: 15px; }
  footer { margin: 0 5%; display: block; font-size: 12px; }
  footer nav { margin-top: 12px; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .application-intro { animation: none; }
}

.live-application .application-intro h2 { max-width: 17ch; }
.live-application .welcome-panel { min-height: 940px; }
.live-application .preview-status { border-color: var(--olive); background: var(--olive); box-shadow: 0 0 0 4px #e6ede6; }
.gateway-frame { display: block; width: 100%; height: clamp(600px, 76svh, 900px); border: 0; background: white; }
.gateway-scroll { overflow: auto; -webkit-overflow-scrolling: touch; }
.gateway-test-note { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid #e0d5c9; background: linear-gradient(110deg,#f2e8dc,#fbf8f2); font-size: 13px; }
.gateway-test-note p { margin: 0; color: #59635d; }
.gateway-test-note p strong { color: #354b3f; }
.live-application .gateway-test-note { align-items: flex-start; font-size: 14px; line-height: 1.6; }
.gateway-test-label { flex: 0 0 auto; padding: 5px 9px; border: 1px solid #c9b4a0; border-radius: 3px; color: #5e4e40; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.gateway-fallback { border-top: 1px solid var(--line); background: var(--paper); }
.gateway-fallback > summary { padding: 17px 24px; cursor: pointer; color: #59635d; font-size: 13px; }
.gateway-fallback .gateway-help { padding-top: 0; border-top: 0; }
.gateway-fallback a { display: inline-block; margin-top: 10px; padding-block: 7px; color: var(--olive); font-weight: 600; text-underline-offset: 4px; }
.test-checklist summary:focus-visible, .gateway-fallback summary:focus-visible { outline: 3px solid #936223; outline-offset: -4px; }
.gateway-help { padding: 14px 24px; border-top: 1px solid var(--line); color: #59635d; background: var(--paper); font-size: 13px; }
.gateway-help p { margin: 0; }
.gateway-help p + p { margin-top: 14px; }
.test-checklist { margin-top: 24px; padding: 20px 24px; background: #f0e6db; border: 1px solid #dbc9be; border-radius: 8px; font-size: 14px; }
.test-checklist summary { cursor: pointer; font-weight: 600; }
.test-checklist ol { padding-left: 20px; }
.test-checklist li + li { margin-top: 8px; }
.test-checklist p { margin-bottom: 0; }
@media (max-width: 1180px) { .live-application .welcome-panel { min-height: 620px; } }
@media (max-width: 760px) {
  .live-application .application-intro h2 { font-size: 43px; }
  .gateway-test-note { align-items: flex-start; gap: 10px; padding: 14px 16px; font-size: 12px; }
  .gateway-test-label { padding: 4px 6px; font-size: 9px; }
  .gateway-fallback > summary { padding: 17px 16px; }
  .gateway-frame { height: 720px; }
  .gateway-help { padding: 14px 16px; }
  .test-checklist { padding: 18px; font-size: 13px; }
}

.reading-agreement { overflow: hidden; }
.agreement-reader { box-sizing: border-box; width: min(1000px, calc(100% - 40px)); height: min(900px, calc(100dvh - 40px)); max-width: none; max-height: none; padding: 0; border: 1px solid #cfc6b8; border-radius: 12px; background: #fbf8f2; color: #354b3f; box-shadow: 0 24px 90px #17261bcc; }
.agreement-reader[open] { display: flex; flex-direction: column; }
.agreement-reader::backdrop { background: #17261bcc; }
.agreement-reader-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: #354b3f; color: #fffaf0; }
.agreement-reader-header .eyebrow { margin: 0 0 6px; color: #e3d2b6; font-size: 10px; }
.agreement-reader-header h2 { margin: 0; font-size: clamp(24px, 4vw, 34px); line-height: 1.1; }
.agreement-reader-header button { flex-shrink: 0; min-height: 46px; padding: 12px 18px; border: 1px solid #e3d2b6; border-radius: 4px; color: #354b3f; background: #fffaf0; font: 600 14px/1.3 sans-serif; cursor: pointer; }
.agreement-reader-header button:focus-visible { outline: 3px solid #e3b969; outline-offset: 4px; }
.agreement-reader-note, .agreement-reader-fallback { margin: 0; padding: 14px 24px; font-size: 13px; line-height: 1.5; }
.agreement-reader-note { border-bottom: 1px solid #d7d0c5; }
.agreement-document { flex: 1 1 auto; min-height: 120px; overflow: hidden; }
.agreement-reader iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.agreement-reader-fallback { border-top: 1px solid #d7d0c5; }
.agreement-reader-fallback a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .agreement-reader { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .agreement-reader-header { flex-direction: column; align-items: stretch; gap: 14px; padding: max(16px, env(safe-area-inset-top)) 16px 16px; }
  .agreement-reader-header button { width: 100%; }
  .agreement-reader-note, .agreement-reader-fallback { padding: 12px 16px; font-size: 12px; }
  .agreement-reader-fallback { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  /* Published originals have 72pt print margins; crop only those blank margins. */
  .agreement-document iframe { width: calc(100% + 176px); margin-left: -88px; }
}


.application_tour_link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--olive);
  font-weight: 760;
  text-decoration: none;
}

.application_tour_link::after {
  margin-left: 9px;
  content: "→";
}


.application_gateway_cta {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
  background: linear-gradient(145deg, #fff 0%, #fbf8f1 100%);
}

.application_gateway_cta .eyebrow {
  margin: 0 0 18px;
}

.application_gateway_cta h3 {
  max-width: 15ch;
  margin: 0 0 20px;
  color: var(--olive);
  font: clamp(2.25rem, 4vw, 4rem) / 1.02 var(--serif);
  letter-spacing: -0.04em;
}

.application_gateway_cta > p:not(.eyebrow):not(.gateway_note) {
  max-width: 660px;
  margin: 0 0 28px;
  color: #59635d;
  font-size: 1.03rem;
  line-height: 1.7;
}

.gateway_button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--olive);
  border-radius: 3px;
  background: var(--olive);
  color: white;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.gateway_button:hover {
  background: #293d33;
}

.gateway_note {
  margin: 14px 0 0;
  color: #6a716c;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .application_gateway_cta {
    min-height: 360px;
    padding: 34px 22px;
  }

  .application_gateway_cta h3 {
    font-size: 2.45rem;
  }

  .gateway_button {
    width: 100%;
  }
}
