:root {
  color-scheme: light;
  --forest: #17221e;
  --paper: #f1f2ec;
  --white: #fffefa;
  --ink: #1e302c;
  --muted: #6e7a73;
  --line: #dce2d9;
  --coral: #d8ff4f;
  --sun: #d8ff4f;
  --danger: #a43c30;
  font-family: 'Manrope', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }

.page-frame { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr); min-height: 100vh; }
.welcome-panel { display: flex; flex-direction: column; min-height: 100vh; padding: 34px clamp(32px, 5vw, 76px) 28px; overflow: hidden; background: var(--forest); color: var(--white); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: var(--white); font-size: 12px; font-weight: 800; line-height: 1; text-decoration: none; }
.wordmark-light { margin-left: 8px; color: #a8b3ac; font-size: 9px; font-weight: 700; }
.wordmark-mark { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 3px; transform: rotate(-8deg); }
.wordmark-mark span { border-radius: 2px; background: var(--coral); }
.wordmark-mark span:nth-child(2) { background: white; }
.wordmark-mark span:nth-child(3) { grid-column: 2; background: #aeb9b1; }
.welcome-copy { max-width: 480px; margin: clamp(62px, 10vh, 108px) 0 38px; animation: reveal 650ms cubic-bezier(.2,.7,.2,1) both; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.welcome-panel .eyebrow { display: flex; align-items: center; gap: 9px; color: #d6e1d7; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgb(240 202 103 / 14%); }
h1, h2, p { margin-top: 0; }
h1 { margin: 22px 0 20px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(54px, 6vw, 84px); font-weight: 500; line-height: .98; }
h1 em { color: var(--coral); font-style: normal; font-weight: 600; }
.welcome-description { max-width: 360px; margin: 0; color: #d4dfd6; font-size: 14px; line-height: 1.85; }
.team-photo { position: relative; min-height: 200px; max-height: 300px; flex: 1 1 220px; margin: auto 0 22px; overflow: hidden; border: 1px solid rgb(216 255 79 / 28%); border-radius: 4px; background: #27352e; animation: reveal 750ms 100ms cubic-bezier(.2,.7,.2,1) both; }
.team-photo::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(8 34 29 / 74%)); content: ''; }
.team-photo img { display: block; width: 100%; height: 100%; min-height: 200px; object-fit: cover; object-position: center 44%; filter: saturate(.8) contrast(1.05); }
.team-photo figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; display: flex; align-items: center; gap: 9px; color: white; font-size: 11px; font-weight: 600; }
.team-photo figcaption span { color: var(--sun); font-size: 16px; }
.panel-footnote { display: flex; justify-content: space-between; margin: 0; color: #aebfb3; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.panel-footnote span { color: var(--sun); font-size: 13px; }

.form-panel { display: flex; align-items: center; justify-content: center; padding: 54px clamp(38px, 7vw, 112px); background: linear-gradient(90deg, rgb(31 67 56 / 3%) 1px, transparent 1px), linear-gradient(rgb(31 67 56 / 3%) 1px, transparent 1px), var(--paper); background-size: 34px 34px; }
.form-wrap { width: min(100%, 660px); animation: reveal 650ms 80ms cubic-bezier(.2,.7,.2,1) both; }
.form-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: #7b867e; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.form-topline span:last-child { color: #929c94; font-size: 10px; letter-spacing: .04em; }
.form-topline b { color: var(--coral); }
.form-heading { margin: 34px 0 30px; }
.form-heading .eyebrow { margin-bottom: 10px; color: #618071; }
h2 { margin-bottom: 9px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 3.1vw, 44px); font-weight: 500; line-height: 1.12; }
.form-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 19px; }
.field label, .label-row label { display: block; margin-bottom: 8px; color: #34443e; font-size: 11px; font-weight: 800; }
.field label span, .required-note span { color: #d46a53; }
.field label .optional-label { margin-left: 5px; color: #929b93; font-size: 9px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d8dfd7; border-radius: 3px; outline: none; background: rgb(255 254 250 / 88%); color: var(--ink); font-size: 12px; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.field input, .field select { height: 45px; padding: 0 13px; }
.field textarea { display: block; min-height: 138px; padding: 12px 13px; resize: vertical; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: #a2aaa2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #54806c; background: white; box-shadow: 0 0 0 3px rgb(84 128 108 / 13%); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, button:focus-visible, .wordmark:focus-visible { outline: 2px solid #54806c; outline-offset: 2px; }
.select-wrap { position: relative; }
.field select { appearance: none; padding-right: 36px; color: #56635b; }
.select-chevron { position: absolute; top: 16px; right: 15px; width: 8px; height: 8px; border-right: 1.5px solid #68756c; border-bottom: 1.5px solid #68756c; pointer-events: none; transform: rotate(45deg); }
.label-row, .textarea-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-hint, .textarea-foot { color: #929b93; font-size: 10px; }
.textarea-foot { margin-top: 8px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; }
.required-note { margin: 0; color: #828c83; font-size: 10px; }
button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 27px; padding: 0 17px 0 20px; border: 0; border-radius: 3px; background: var(--forest); color: white; cursor: pointer; font-size: 11px; font-weight: 800; transition: background 150ms ease, transform 150ms ease; }
button:hover:not(:disabled) { background: #25362e; color: var(--coral); transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .72; }
.button-arrow { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 13%); color: #f2ce74; font-size: 14px; line-height: 1; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--danger); font-size: 12px; line-height: 1.5; }
.form-status.success { color: #2b7055; }
.form-footer { display: flex; align-items: center; gap: 9px; margin-top: 25px; padding-top: 15px; border-top: 1px solid var(--line); color: #768178; font-size: 10px; }
.form-footer span { color: #d8785c; font-size: 14px; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .page-frame { grid-template-columns: minmax(300px, .72fr) minmax(500px, 1.28fr); }
  .welcome-panel { padding-right: 34px; padding-left: 34px; }
  .form-panel { padding-right: 42px; padding-left: 42px; }
}

@media (max-width: 760px) {
  .page-frame { display: block; }
  .welcome-panel { min-height: auto; padding: 24px 24px 0; }
  .welcome-copy { margin: 54px 0 26px; }
  h1 { font-size: clamp(55px, 13vw, 76px); }
  .welcome-description { max-width: 430px; }
  .team-photo { min-height: 178px; max-height: 220px; flex-basis: 178px; margin-bottom: 17px; }
  .panel-footnote { padding-bottom: 18px; }
  .form-panel { min-height: 660px; padding: 42px 24px 50px; background-size: 28px 28px; }
  .form-wrap { max-width: 560px; }
  .form-heading { margin-top: 29px; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .form-panel { padding-right: 20px; padding-left: 20px; }
  .form-heading > p:last-child { max-width: 330px; }
  .submit-row { align-items: flex-start; flex-direction: column-reverse; }
  button { width: 100%; }
  .textarea-foot { align-items: flex-start; }
}

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