
:root {
  --ink: #13283c;
  --body: #243546;
  --accent: #bd5d10;
  --accent-dark: #9f4908;
  --accent-light: #f5e8da;
  --cream: #fffaf4;
  --paper: #fffdf9;
  --line: #ead5c0;
  --muted: #66717c;
  --blue-link: #1769c2;
  --shadow: 0 10px 30px rgba(33, 25, 18, .045);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: linear-gradient(180deg, #fffdf9 0%, #fffaf4 100%);
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 700px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 34px 48px 34px 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand {
  display: block;
  width: 320px;
  max-width: 92%;
  margin-bottom: 40px;
}
.hero h1,
.form-hero h1 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0;
}
.hero h1 {
  font-size: clamp(45px, 5.5vw, 72px);
  line-height: 1.07;
  max-width: 680px;
}
.gold-rule {
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 28px 0 24px;
}
.hero-lede {
  font-size: 19px;
  line-height: 1.62;
  max-width: 590px;
  margin: 0 0 28px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: white;
  background: linear-gradient(90deg, #bb5c11, #c86d1c);
  border-radius: 5px;
  padding: 16px 27px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(163, 72, 9, .14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(163, 72, 9, .17); }
.cta .arrow { font-size: 26px; line-height: 0; margin-top: -2px; }
.confidential {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
  color: #364452;
}
.lock-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.hero-portrait {
  align-self: stretch;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(circle at 72% 20%, #fff 0, #fff8ef 47%, #f8eadc 100%);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 72%;
  height: 86%;
  border-top: 1px solid #e7b98d;
  border-right: 1px solid #e7b98d;
  border-radius: 0 26px 0 0;
  pointer-events: none;
}
.hero-portrait img {
  position: relative;
  z-index: 1;
  width: min(112%, 620px);
  max-width: none;
  max-height: 690px;
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(3.5%);
  /* The supplied portrait has a white studio background. Multiply lets the
     warm panel colour show through that white without altering the HTML. */
  mix-blend-mode: multiply;
}

.section {
  padding: 34px 54px;
}
.section-title {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  color: var(--ink);
  text-align: center;
  font-weight: 500;
  margin: 0 0 10px;
}
.section-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--accent);
  margin: 9px auto 0;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.58;
  font-size: 16px;
}
.linkedin {
  margin: 18px auto 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  color: var(--blue-link);
  font-size: 16px;
}
.linkedin a { text-decoration: underline; text-underline-offset: 2px; }
.linkedin-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  color: white;
  background: #0a66c2;
  font-weight: 800;
  font-family: Arial, sans-serif;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1050px;
  margin: 0 auto;
}
.stat-card,
.advice-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.43);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.stat-card {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 16px;
}
.stat-icon,
.advice-icon {
  color: var(--accent);
  flex: 0 0 auto;
}
.stat-icon {
  width: 46px;
  height: 46px;
}
.stat-big {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 31px;
  line-height: 1;
}
.stat-sub { font-size: 13px; line-height: 1.23; margin-top: 6px; color: #253849; }
.stat-word {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 22px;
}
.stat-card .smaller { font-size: 13px; line-height: 1.25; }

.advice-section { padding-top: 10px; }
.advice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  max-width: 1080px;
  margin: 16px auto 0;
}
.advice-card {
  min-height: 205px;
  padding: 22px 16px 18px;
  text-align: center;
}
.advice-icon {
  width: 47px;
  height: 47px;
  margin: 0 auto 11px;
  padding: 9px;
  background: #fbefe2;
  border-radius: 50%;
}
.advice-card h3 {
  margin: 0 0 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.08;
}
.advice-card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.process-section { padding-top: 8px; }
.process {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.36);
  max-width: 1080px;
  margin: 15px auto 0;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1.2fr;
  align-items: center;
  gap: 10px;
}
.process-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
}
.step-no {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
}
.process h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 6px;
}
.process p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.process-arrow {
  font-size: 33px;
  color: var(--accent);
  text-align: center;
}

.closing-wrap { padding: 20px 40px 10px; }
.closing {
  border: 1px solid #dea16a;
  border-radius: 6px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  background: rgba(255,255,255,.3);
}
.closing-mark {
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 74px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  text-align: center;
}
.closing h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 29px;
  line-height: 1.08;
  margin: 0 0 7px;
  font-weight: 500;
}
.closing p { margin: 0; line-height: 1.45; }

.disclaimer {
  max-width: 1030px;
  margin: 0 auto;
  padding: 3px 0 18px;
  font-size: 11.5px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  color: #314150;
}
.disclaimer svg { width: 19px; color: var(--accent); flex: 0 0 auto; }

/* application page */
.form-hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: 63% 37%;
  border-bottom: 1px solid var(--line);
}
.form-hero-copy { padding: 25px 48px 22px 52px; position: relative; }
.form-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.form-brand { width: 315px; max-width: 75%; }
.home-link {
  text-decoration: none;
  color: var(--accent-dark);
  border-bottom: 1px solid transparent;
  padding: 5px 0;
  font-weight: 600;
  font-size: 14px;
}
.home-link:hover { border-bottom-color: var(--accent-dark); }
.form-hero h1 {
  font-size: clamp(48px, 6vw, 70px);
  line-height: 1.07;
  margin-top: 32px;
  max-width: 540px;
}
.form-hero p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}
.form-portrait {
  background: radial-gradient(circle at 75% 15%, white, #fff8ef 62%, #f8eadc);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.form-portrait img {
  width: min(100%, 390px);
  max-height: 405px;
  object-fit: contain;
  object-position: bottom center;
}

.form-panel {
  margin: 0 34px 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px 24px 24px;
  background: rgba(255,255,255,.3);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label,
.field legend {
  display: block;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 500;
}
.field small {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  margin: -4px 0 8px;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.48);
  color: var(--body);
  padding: 13px 14px;
  border-radius: 5px;
  outline: none;
  transition: border .15s ease, box-shadow .15s ease, background .15s ease;
}
textarea { min-height: 95px; resize: vertical; }
input:focus, textarea:focus {
  border-color: #c77a3c;
  box-shadow: 0 0 0 3px rgba(189, 93, 16, .08);
  background: #fff;
}

.choice-group {
  display: grid;
  gap: 8px;
}
.choice-group.five { grid-template-columns: repeat(5, 1fr); }
.choice-group.six { grid-template-columns: repeat(6, 1fr); }
.choice-group.four { grid-template-columns: repeat(4, 1fr); }
.choice-group.three { grid-template-columns: repeat(3, 1fr); }
.choice-group.inline-five { grid-template-columns: repeat(5, max-content); }

.choice {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255,255,255,.36);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.2;
  transition: border .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.choice input:checked + span {
  border-color: var(--accent);
  background: #fff1e4;
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(189,93,16,.07);
}
.choice input:focus-visible + span {
  outline: 2px solid #5b9bd5;
  outline-offset: 2px;
}
.area-choice span {
  min-height: 81px;
  flex-direction: column;
  gap: 6px;
  font-family: var(--serif);
  font-size: 13px;
}
.area-glyph {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #faeee1;
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 700;
}
.form-note-and-submit {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: end;
  margin-top: 18px;
}
.form-note {
  font-size: 11.5px;
  line-height: 1.5;
}
.form-note strong { color: var(--ink); }
.submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #bb5c11, #c86d1c);
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 17px;
}
.submit-btn:disabled { opacity: .6; cursor: wait; }

.success-panel {
  display: none;
  border: 1px solid #d9b58d;
  background: #fff6ec;
  border-radius: 6px;
  margin: 22px 0 0;
  padding: 20px;
  text-align: center;
}
.success-panel h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 27px;
  margin: 0 0 7px;
  font-weight: 500;
}
.success-panel p { margin: 0; line-height: 1.5; }

.honeypot { display: none !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 28px 26px 36px; }
  .brand { width: 275px; margin-bottom: 28px; }
  .hero-portrait {
    min-height: 0;
    height: auto;
    align-items: flex-start;
    padding-top: 18px;
  }
  .hero-portrait::after {
    top: 18px;
    right: 20px;
    height: calc(100% - 18px);
  }
  .hero-portrait img {
    width: 100%;
    max-width: 620px;
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: none;
  }
  .section { padding: 30px 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat-card:last-child { grid-column: 1 / -1; }
  .advice-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 14px; }
  .process-arrow { transform: rotate(90deg); line-height: 1; }
  .closing { grid-template-columns: 70px 1fr; }
  .closing .cta { grid-column: 1 / -1; }
  .form-hero { grid-template-columns: 1fr; }
  .form-portrait { min-height: 345px; }
  .form-hero-copy { padding: 24px 26px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .choice-group.six { grid-template-columns: repeat(3, 1fr); }
  .choice-group.five { grid-template-columns: repeat(3, 1fr); }
  .choice-group.four { grid-template-columns: repeat(2, 1fr); }
  .choice-group.three { grid-template-columns: 1fr; }
  .form-note-and-submit { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 46px; }
  .hero-lede { font-size: 16px; }
  .cta { width: 100%; font-size: 16px; padding-inline: 17px; }
  .hero-portrait { min-height: 0; }
  .section-title { font-size: 31px; }
  .stats, .advice-grid { grid-template-columns: 1fr; }
  .stats .stat-card:last-child { grid-column: auto; }
  .stat-card { justify-content: flex-start; }
  .closing-wrap { padding: 15px 18px 8px; }
  .closing { grid-template-columns: 58px 1fr; padding: 18px; }
  .closing-mark { font-size: 56px; }
  .closing h2 { font-size: 24px; }
  .disclaimer { padding: 4px 18px 18px; }
  .form-hero h1 { font-size: 48px; }
  .form-brand { width: 250px; }
  .form-panel { margin: 0 14px 20px; padding: 18px 15px; }
  .choice-group.six,
  .choice-group.five,
  .choice-group.four { grid-template-columns: repeat(2, 1fr); }
}
