:root {
  color-scheme: light;
  --ink: #17212f;
  --muted: #667085;
  --line: #d9e1ea;
  --surface: #ffffff;
  --page: #f4f7fb;
  --navy: #173b57;
  --teal: #227c70;
  --gold: #b9892b;
  --shadow: 0 20px 55px rgba(23, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(23, 59, 87, 0.92), rgba(34, 124, 112, 0.76)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1800&q=80") center / cover fixed;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.button {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  padding: 0 14px;
  color: #344054;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--navy);
  color: #ffffff;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: clamp(34px, 7vw, 86px) clamp(18px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  color: #ffffff;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f2cd78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border: 1px solid rgba(255, 255, 255, 0.62);
  padding: 0 18px;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel article,
.editorial-card,
.map-card,
.proposal-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel article {
  padding: 22px;
  color: var(--ink);
}

.hero-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.page-shell {
  min-height: calc(100vh - 78px);
  padding: clamp(20px, 5vw, 64px);
  display: grid;
  gap: 22px;
  place-items: center;
}

.editorial-card,
.map-card,
.proposal-card {
  width: min(100%, 760px);
  padding: clamp(26px, 5vw, 48px);
}

.editorial-card .eyebrow,
.proposal-card .eyebrow {
  color: var(--gold);
}

.editorial-card h1,
.proposal-card h1 {
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(34px, 7vw, 58px);
}

.proposal-card .intro {
  max-width: 680px;
  margin: -10px 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.detail-list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-list div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

dd a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

dd a:hover {
  text-decoration: underline;
}

.map-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
}

.map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.proposal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 9px;
}

small {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.captcha-field span {
  color: var(--navy);
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wide {
  grid-column: 1 / -1;
}

@media (max-width: 780px) {
  .site-header,
  .hero {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .proposal-form {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }
}
