/* 3C Hay Co.
   Brand: lime #94EB05, black #0A0A0A, off-white #F1F1EF.
   Header and footer: assets/logo-full.svg (patch on black).
   Off-white or lime only: assets/logo-transparent.svg.
   Favicon and social image: assets/logo.png. */

:root {
  --lime: #94eb05;
  --black: #0a0a0a;
  --paper: #f1f1ef;
  --white: #ffffff;
  --muted: #3a3a38;
  --line: #deded8;
  --display: "Rye", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--black);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--lime);
}

a:hover {
  background: var(--lime);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 0.9rem;
}

.lede {
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

.rule {
  width: 4.5rem;
  height: 4px;
  background: var(--lime);
  border: 0;
  margin: 0 0 1.1rem;
}

.site-header {
  background: var(--black);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 0;
}

.brand {
  display: block;
  flex: 0 0 auto;
  background: transparent;
  line-height: 0;
}

.brand:hover {
  background: transparent;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.mark-light {
  width: min(100%, 420px);
  height: auto;
  display: block;
  justify-self: start;
}

.split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.site-nav {
  min-width: 0;
  overflow-x: auto;
}

.nav-list {
  display: flex;
  gap: 0.15rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
}

.nav-list a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.55rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--black);
  background: var(--lime);
}

.hero,
.page-hero {
  background: var(--white);
  border-bottom: 4px solid var(--lime);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 28rem;
  padding: 3.25rem 0 3.5rem;
  color: var(--paper);
  background: var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 16, 10, 0.62) 0%, rgba(8, 16, 10, 0.32) 38%, rgba(8, 16, 10, 0.16) 100%),
    url("assets/hero.jpg") 50% 50% / cover no-repeat;
}

.hero h1,
.hero p {
  color: var(--paper);
}

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

.hero .btn-line {
  color: var(--paper);
  border-color: var(--paper);
}

.hero .btn-line:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  max-width: 38rem;
}


.eyebrow {
  margin: 0 0 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.05rem;
  background: var(--black);
  color: var(--paper);
  border: 2px solid var(--black);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--lime);
  color: var(--black);
}

.btn-lime {
  background: var(--lime);
  color: var(--black);
}

.btn-lime:hover {
  background: var(--black);
  color: var(--paper);
}

.btn-line {
  background: transparent;
  color: var(--black);
}

.btn-line:hover {
  background: var(--lime);
  color: var(--black);
}

.bales {
  /* unused: home hero now uses assets/hero.jpg */
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

.prose {
  max-width: 40rem;
}

.section {
  padding: 2.75rem 0;
}

.section-white {
  background: var(--white);
}

.grid-4,
.grid-2,
.steps,
.regions {
  display: grid;
  gap: 0.85rem;
}

ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card,
.step,
.regions li,
.info-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--lime);
  padding: 1rem 1rem 1.1rem;
}

.section-white .card,
.section-white .step,
.section-white .info-block {
  background: var(--paper);
}

.card a {
  font-weight: 700;
}

.regions,
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.regions li {
  font-weight: 700;
}

.checklist li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.checklist li:first-child {
  border-top: 1px solid var(--line);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
}

.grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.grades li {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 0.35rem 0.7rem;
  font-weight: 700;
}

.page-hero {
  padding: 2.2rem 0 1.8rem;
}

.page-hero p {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.contact-list {
  margin: 0;
  padding: 0;
}

.contact-list div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list div:first-child {
  border-top: 1px solid var(--line);
}

.contact-list dt {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-size: 1.2rem;
}

.todo {
  display: inline-block;
  border: 2px dashed var(--black);
  background: var(--paper);
  padding: 0.35rem 0.6rem;
  font-weight: 700;
  font-size: 1rem;
}

.form-note {
  margin-bottom: 0.8rem;
}

.form-embed {
  background: var(--white);
  border: 1px solid var(--line);
}

.form-embed iframe {
  display: block;
  width: 100%;
  height: clamp(680px, 92vh, 1560px);
  border: 0;
  background: var(--white);
}

.site-footer {
  background: var(--black);
  color: var(--paper);
  padding: 2rem 0 1.4rem;
}

.site-footer a {
  color: var(--paper);
  text-decoration-color: var(--lime);
}

.site-footer a:hover {
  color: var(--black);
  background: var(--lime);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.brand-footer img {
  height: 46px;
}

.legal {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
  color: #d7d7d2;
  font-size: 0.95rem;
}

.footer-credit {
  margin: 0.35rem 0 0;
  color: #9a9a94;
  font-size: 0.78rem;
}

.footer-credit a {
  color: inherit;
  text-decoration-color: #5a5a54;
}

.footer-credit a:hover {
  color: var(--black);
  background: var(--lime);
  text-decoration: none;
}

@media (max-width: 980px) {
  .header-bar {
    flex-wrap: wrap;
  }

  .site-nav {
    flex: 1 1 100%;
    overflow: visible;
  }

  .nav-list {
    flex-wrap: wrap;
  }
}

@media (min-width: 700px) {
  .brand img {
    height: 68px;
  }

  .hero {
    padding: 5.5rem 0 6rem;
    min-height: 34rem;
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
  }

  .mark-light {
    justify-self: end;
  }

  .regions,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 1000px) {
  .grid-4,
  .steps,
  .regions {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-list {
    justify-content: flex-end;
  }
}

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