:root {
  color-scheme: light;
  --ink: #123136;
  --muted: #4a625e;
  --dark: #092c31;
  --accent: #cef29c;
  --paper: #f5f6ef;
  --tint: #e9efe5;
  --line: #bfcdc4;
  --page-padding: max(5vw, calc((100vw - 1170px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #a36c13;
  outline-offset: 3px;
}
header, footer, .page-section, .hero, .company-hero { padding-inline: var(--page-padding); }
.site-head, footer, nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header { padding-block: 1rem; background: var(--dark); color: #fff; }
header a { text-decoration: none; }
header nav a:hover, footer a:hover { text-decoration: underline; }
nav, footer { font-size: .875rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.045em; }
.wordmark img { width: 36px; height: 36px; }
.hero, .company-hero { color: #fff; padding-block: clamp(3.25rem, 8vw, 7.25rem); }
.hero {
  background: linear-gradient(90deg, #092c31 5%, #092c31f2 39%, #092c3152 100%),
    url('/resources/1000523244.jpg') center 54% / cover;
}
.hero div { max-width: 43rem; }
.hero p, .company-hero > div:first-child p { max-width: 47ch; }
.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  background: radial-gradient(ellipse at 92% 10%, #235653, var(--dark) 70%);
}
h1, h2, h3, p { margin: 0 0 .85rem; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.label { font-size: .75rem; font-weight: 780; letter-spacing: .09em; text-transform: uppercase; }
.hero .label, .company-hero .label { color: var(--accent); }
.page-section { padding-block: clamp(2.5rem, 5.8vw, 5rem); border-bottom: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(1.5rem, 6vw, 5rem); }
.split > div:first-child > p, .lead-head p { color: var(--muted); }
.panel, .lead-card, .mini-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1rem, 2.6vw, 2rem);
}
.pairing h2 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
label { display: block; margin-bottom: .85rem; font-weight: 650; }
label .hint { display: block; font-weight: 450; font-size: .875rem; color: var(--muted); }
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: .28rem;
  padding: .65rem .7rem;
  border: 1px solid #748b81;
  border-radius: .42rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
fieldset { min-width: 0; margin: .25rem 0 1rem; padding: .85rem; border: 1px solid var(--line); border-radius: .6rem; }
legend { font-weight: 700; }
.check { display: flex; align-items: flex-start; gap: .65rem; font-weight: 450; }
.check input { width: 1rem; height: 1rem; flex: 0 0 1rem; }
button, .action {
  display: inline-block;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: #173f40;
  color: #fff;
  font: 700 .94rem/1.3 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:hover:not(:disabled), .action:hover { filter: brightness(1.13); }
button:disabled { background: #eaf0eb; color: #4a5f56; cursor: default; }
.secondary { background: #fff; color: var(--ink); border-color: #748b81; }
.hero .action, .company-hero .action { background: var(--accent); color: var(--dark); margin-top: .65rem; }
.form-actions, .lead-head { display: flex; gap: .75rem 1rem; align-items: center; flex-wrap: wrap; }
.lead-head { justify-content: space-between; }
output { display: block; overflow-wrap: anywhere; }
output:not(:empty) { margin-top: .85rem; }
#location-state { display: inline-block; margin: .4rem .35rem; color: var(--muted); }
.cards, .list { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-top: 1rem; }
.lead-card .label { color: var(--muted); }
.brief { white-space: pre-wrap; overflow-wrap: anywhere; }
.reference { overflow-wrap: anywhere; color: var(--muted); font-size: .82rem; }
.slots { color: var(--muted); font-size: .9rem; font-weight: 650; }
footer { padding-block: 1.4rem; justify-content: flex-start; }
@media (max-width: 730px) {
  .split, .company-hero, .row { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .site-head { align-items: flex-start; }
  nav { justify-content: flex-end; flex-wrap: wrap; text-align: right; gap: .35rem 1rem; }
  .wordmark { font-size: 1.1rem; }
  .wordmark img { width: 30px; height: 30px; }
  .hero { background-image: linear-gradient(90deg, #092c31f2 5%, #092c31a0 100%), url('/resources/1000523244.jpg'); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
