:root {
  --ink: #080808;
  --cream: #ffffff;
  --paper: #ffffff;
  --orange: #df171f;
  --orange-dark: #a90008;
  --muted: #686868;
  --line: #dedede;
  --blue: #000000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 76px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .35s, height .35s, box-shadow .35s;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(0, 0, 0, .95);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .11em; }
.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  padding: 1em;
}
.footer-brand .brand-logo { width: 118px; }
.brand-mark {
  width: 37px; height: 37px; border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font: italic 600 23px/1 "Playfair Display", serif;
}
.brand-copy { font-size: 12px; line-height: 1.05; }
.brand-copy small { font-size: 7px; letter-spacing: .21em; opacity: .65; }

nav { display: flex; gap: 38px; margin-left: auto; margin-right: 46px; }
nav a { position: relative; font-size: 13px; font-weight: 600; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--orange); transition: right .25s; }
nav a:hover::after { right: 0; }
.header-cta { padding: 13px 20px; border: 1px solid rgba(255,255,255,.65); font-size: 12px; font-weight: 700; transition: .25s; }
.header-cta:hover { background: white; color: var(--ink); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: white; overflow: hidden; }
.hero-bg, .quote-bg { position: absolute; inset: -10%; background: center / cover no-repeat url("bg.png"); filter: grayscale(1) contrast(1.15); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 74% 60%, rgba(223,23,31,.47), transparent 36%), linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.18) 78%), linear-gradient(0deg, rgba(0,0,0,.48), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(800px, 85vw); margin-left: clamp(24px, 9vw, 145px); padding: 130px 0 80px; }

.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 11px; color: #ff3b43; text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 700; }
.eyebrow > span { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--orange-dark); }
h1, h2, blockquote { font-family: "Playfair Display", serif; font-weight: 600; }
h1 { margin: 0; max-width: 800px; font-size: clamp(50px, 6vw, 91px); line-height: .99; letter-spacing: -.045em; }
h1 em, h2 em, blockquote em { color: var(--orange); font-weight: 600; }
.hero-text { max-width: 585px; margin: 30px 0 0; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.75; color: rgba(255,255,255,.76); }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 36px; }
.button-primary { display: inline-flex; align-items: center; gap: 36px; padding: 19px 23px; background: var(--orange); color: white; font-size: 13px; font-weight: 700; transition: .25s; }
.button-primary:hover { background: #b90008; transform: translateY(-2px); }
.button-primary span { font-size: 18px; }
.text-link { font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 6px; }
.text-link span { margin-left: 8px; color: var(--orange); }
.hero-note { position: absolute; z-index: 2; right: 38px; bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 15px; font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero-note i { width: 1px; height: 54px; background: linear-gradient(white, transparent); }

.intro { padding: 125px clamp(24px, 8vw, 130px) 145px; display: grid; grid-template-columns: 1.35fr .65fr; column-gap: 7vw; }
.section-heading h2, .application h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.05; letter-spacing: -.035em; }
.intro-copy { align-self: end; margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.opportunity-grid { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border: 1px solid var(--line); }
.opportunity-card { position: relative; min-height: 400px; padding: 37px; border-right: 1px solid var(--line); background: rgba(255,255,255,.2); transition: background .3s, transform .3s; }
.opportunity-card:last-child { border-right: 0; }
.opportunity-card:hover { background: var(--paper); transform: translateY(-7px); z-index: 2; box-shadow: 0 25px 50px rgba(0,0,0,.1); }
.opportunity-card.featured { background: var(--ink); color: white; }
.card-number { text-align: right; color: #999; font-size: 10px; letter-spacing: .2em; }
.card-icon { width: 61px; height: 61px; margin: 35px 0 30px; display: grid; place-items: center; border: 1px solid #c6c6c6; border-radius: 50%; color: var(--orange); }
.card-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opportunity-card h3 { margin: 0 0 14px; font: 600 24px "Playfair Display", serif; }
.opportunity-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.featured p { color: rgba(255,255,255,.6); }
.card-tag { position: absolute; bottom: 36px; left: 37px; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 700; }

.quote-parallax { position: relative; height: 70vh; min-height: 530px; display: grid; place-items: center; overflow: hidden; color: white; text-align: center; }
.quote-bg { inset: -25% -5%; filter: saturate(.7); }
.quote-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(169,0,8,.54), rgba(0,0,0,.82)); }
blockquote { position: relative; z-index: 2; margin: 0; padding: 30px; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.15; letter-spacing: -.03em; }
blockquote > span { display: block; height: 35px; color: var(--orange); font-size: 80px; line-height: .5; }

.application { padding: 130px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 8vw, 125px); background: var(--paper); }
.application-aside > p:not(.eyebrow) { margin: 30px 0 0; max-width: 420px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; }
.steps li { display: flex; align-items: center; gap: 23px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps strong { color: var(--orange); font: italic 600 25px "Playfair Display", serif; }
.steps span { display: flex; flex-direction: column; color: var(--muted); font-size: 11px; line-height: 1.6; }
.steps b { color: var(--ink); font-size: 13px; }

.form-shell { position: relative; padding: clamp(28px, 4vw, 55px); background: white; box-shadow: 0 20px 70px rgba(0,0,0,.1); min-height: 700px; }
.form-heading { display: flex; justify-content: space-between; padding-bottom: 23px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.form-heading span { font: 600 21px "Playfair Display", serif; }
.form-heading small { color: #999; font-size: 9px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 23px; }
.field label { display: block; margin-bottom: 9px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.field input, .field select { width: 100%; height: 52px; padding: 0 15px; color: var(--ink); background: #f5f5f5; border: 1px solid #dedede; border-radius: 0; outline: 0; transition: border .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(223,23,31,.1); }
.field input::placeholder { color: #a6aaa6; }
.select-wrap { position: relative; }
.select-wrap::after { content: "⌄"; position: absolute; right: 15px; top: 13px; pointer-events: none; }
select { appearance: none; cursor: pointer; }
.file-drop { min-height: 88px; padding: 15px 16px; display: flex !important; align-items: center; gap: 14px; border: 1px dashed #bcbcbc; background: #fafafa; cursor: pointer; text-transform: none !important; transition: border .2s, background .2s; }
.file-drop:hover, .file-drop.dragging { border-color: var(--orange); background: #fff5f5; }
.upload-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: 18px; }
.file-drop b { display: block; font-size: 11px; text-transform: none; }
.file-drop small { display: block; margin-top: 5px; color: #999; font-size: 9px; text-transform: none; }
.choose-file { margin-left: auto; color: var(--orange-dark); font-size: 9px; border-bottom: 1px solid; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.field-error { display: none; margin-top: 6px; color: #b00008; font-size: 10px; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid .file-drop { border-color: #b00008; }
.consent { display: grid; grid-template-columns: 17px 1fr; gap: 10px; align-items: start; margin: 3px 0 25px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent > span { width: 17px; height: 17px; border: 1px solid #aaa; background: white; }
.consent input:checked + span { background: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 4px white; }
.consent small { color: #7b817c; font-size: 10px; line-height: 1.5; }
.consent.invalid small { color: #b00008; }
.submit-button { width: 100%; height: 57px; padding: 0 21px; display: flex; justify-content: space-between; align-items: center; color: white; background: var(--orange); border: 0; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .25s; }
.submit-button:hover { background: var(--orange-dark); }
.submit-button span { font-size: 18px; }
.submit-button:disabled { opacity: .65; cursor: wait; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 14px 0 0; color: #b00008; font-size: 11px; line-height: 1.5; }
.form-status.visible { display: block; }

.success-message { position: absolute; inset: 0; padding: 50px; display: none; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: white; }
.success-message.visible { display: flex; }
.success-icon { width: 72px; height: 72px; margin-bottom: 35px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: 31px; }
.success-message h3 { margin: 0; font: 600 clamp(38px, 4vw, 55px)/1.08 "Playfair Display", serif; }
.success-message > p:not(.eyebrow) { max-width: 430px; color: var(--muted); line-height: 1.7; }
.success-message button { margin-top: 18px; padding: 14px 22px; color: var(--orange-dark); background: none; border: 1px solid var(--orange); cursor: pointer; font-size: 11px; font-weight: 700; }

footer { padding: 38px clamp(24px, 8vw, 130px); display: flex; align-items: center; color: white; background: var(--ink); }
footer p { margin: auto; color: rgba(255,255,255,.48); font-size: 10px; }
footer > a:last-child { font-size: 10px; border-bottom: 1px solid rgba(255,255,255,.4); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-shade { background: radial-gradient(circle at 75% 55%, rgba(223,23,31,.4), transparent 38%), linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.5)); }
  .intro { grid-template-columns: 1fr; }
  .intro-copy { max-width: 600px; margin-top: 28px; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .opportunity-card { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
  .application { grid-template-columns: 1fr; }
  .application-aside { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .application-aside .eyebrow, .application-aside h2 { grid-column: 1; }
  .application-aside > p:not(.eyebrow), .steps { grid-column: 2; }
  .application-aside > p:not(.eyebrow) { grid-row: 1/3; align-self: end; }
}

@media (max-width: 620px) {
  .site-header { height: 74px; }
  .brand-copy { display: none; }
  .brand-logo { width: 102px; padding: 7px 3px; }
  .footer-brand .brand-logo { width: 96px; }
  .header-cta { padding: 11px 14px; }
  .hero-content { width: auto; margin: 0 24px; }
  h1 { font-size: 48px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-note { display: none; }
  .intro, .application { padding-top: 85px; padding-bottom: 90px; }
  .section-heading h2, .application h2 { font-size: 42px; }
  .opportunity-grid { margin-top: 45px; }
  .quote-parallax { min-height: 450px; }
  .application-aside { display: block; }
  .form-shell { padding: 25px 19px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading small { display: none; }
  .file-drop { align-items: flex-start; flex-wrap: wrap; }
  .choose-file { margin-left: 52px; }
  footer { flex-wrap: wrap; gap: 25px; justify-content: space-between; }
  footer p { order: 3; width: 100%; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .quote-bg { transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
