:root {
  --ink: #101010;
  --paper: #fff8e9;
  --blue: #11254a;
  --red: #e84d32;
  --gold: #e6ab3b;
  --line: rgba(16, 16, 16, 0.25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.85rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.65rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

nav a,
.text-link,
footer a {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
}

.hero {
  min-height: calc(100vh - 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
  border-bottom: 1px solid var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1.5rem, 6vw, 6rem);
  color: var(--paper);
  background: var(--blue);
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero-logo-heading {
  width: min(100%, 31rem);
  margin: 0 0 2rem;
  line-height: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  filter: invert(1);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5.25rem);
}

.hero-intro {
  max-width: 31rem;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.7vw, 1.45rem);
  line-height: 1.48;
}

.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
}

.text-link span {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateY(0.25rem);
}

.hero-art {
  position: relative;
  min-height: 35rem;
  margin: 0;
  overflow: hidden;
  background: var(--gold);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 37, 74, 0.55));
}

.hero-art figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-style: italic;
  text-align: right;
}

.section {
  display: grid;
  grid-template-columns: minmax(4rem, 0.28fr) minmax(15rem, 0.9fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--ink);
}

.section-label {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.section-heading .eyebrow {
  color: var(--red);
}

.about-copy,
.work-copy {
  align-self: center;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.55;
}

.about-copy p,
.work-copy p:last-child {
  margin-bottom: 0;
}

.goals {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 4.5rem);
  color: var(--paper);
  background: var(--blue);
  border-bottom: 1px solid var(--ink);
}

.goals-heading {
  display: grid;
  grid-template-columns: minmax(8rem, 0.55fr) minmax(18rem, 1.5fr);
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.goals-heading .eyebrow {
  color: var(--gold);
}

.goals-heading h2 {
  max-width: 12ch;
}

.goal-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 248, 233, 0.45);
  list-style: none;
}

.goal-list li {
  display: grid;
  grid-template-columns: minmax(4rem, 0.4fr) minmax(15rem, 1.6fr);
  align-items: baseline;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0;
  border-bottom: 1px solid rgba(255, 248, 233, 0.45);
}

.goal-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.goal-list p {
  max-width: 42ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.7vw, 2.5rem);
  line-height: 1.16;
}

.work {
  background:
    linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%),
    var(--paper);
}

.work-copy cite {
  color: var(--blue);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(18rem, 1.15fr) minmax(18rem, 0.85fr);
  min-height: 34rem;
  color: var(--paper);
  background: var(--red);
  border-bottom: 1px solid var(--ink);
}

.contact-title-block,
.contact-form {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 5vw, 5rem);
}

.contact-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--ink);
}

.contact-title-block h2 {
  margin-bottom: 1.75rem;
}

.contact-title-block > p:last-child {
  max-width: 28rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.4;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: inherit;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--paper);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.form-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.captcha-challenge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.captcha-challenge img {
  width: 200px;
  height: 64px;
  border: 1px solid var(--paper);
  background: var(--paper);
}

.captcha-field input {
  max-width: 12rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.captcha-help,
.captcha-local-note {
  margin: 0;
  font-size: 0.9rem;
}

.captcha-local-note,
.local-file-preview .captcha-challenge,
.local-file-preview .captcha-field input,
.local-file-preview .captcha-help {
  display: none;
}

.local-file-preview .captcha-local-note {
  display: block;
}

.contact-form .captcha-refresh {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.contact-form button[type="submit"]:hover {
  color: var(--ink);
  background: var(--paper);
}

.form-note {
  margin: 0;
  max-width: 35rem;
  font-size: inherit;
}

footer {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.65rem clamp(1.2rem, 4vw, 4.5rem);
  border-top: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 36rem;
  }

  .hero-art {
    min-height: 32rem;
  }

  .section {
    grid-template-columns: 4rem 1fr;
  }

  .section-heading {
    grid-column: 2;
  }

  .about-copy,
  .work-copy {
    grid-column: 2;
  }

  .work {
    background: var(--paper);
  }

  .goals-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.45rem 0.75rem;
  }

  nav a {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 31rem;
  }

  .hero-art {
    min-height: 25rem;
  }

  .section {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .about-copy,
  .work-copy {
    grid-column: 1;
  }

  .goals-heading {
    margin-bottom: 3rem;
  }

  .goal-list li {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact-title-block {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
