/* East Tennessee Boots on the Ground AI Initiative — bootsai.org */

:root {
  --paper: #f3eee6;
  --paper-2: #e7dfd0;
  --ink: #1c1814;
  --ink-soft: #4a433a;
  --soil: #5a3a28;
  --clay: #a84b28;
  --moss: #2c4a34;
  --moss-deep: #1c2e22;
  --hero: #18241d;
  --river: #2f4d52;
  --river-bright: #3a6a6e;
  --gold: #c4a574;
  --warn-bg: #f6e6c4;
  --warn-ink: #5c3b00;
  --warn-line: #b8862a;
  --focus: #8a5a20;
  --header-h: 4.25rem;
  --wrap: 68rem;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 0 rgba(28, 24, 20, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
.brand-name,
.eyebrow,
.footer-name {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--soil);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--moss-deep);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--paper);
}

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

.wrap.narrow {
  width: min(100% - 2rem, 44rem);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--soil) 18%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.35rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark,
.brand-logo,
.footer-logo {
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.brand-name {
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.05rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--clay);
  text-decoration: underline;
}

@media (max-width: 639px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.65rem 0 0.7rem;
  }

  .site-nav ul {
    justify-content: flex-start;
    gap: 0.2rem 0.9rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }
}

/* Hero */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(58, 106, 110, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(90, 58, 40, 0.28), transparent 50%),
    var(--hero);
  color: var(--paper);
  padding: 3.5rem 0 8.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: auto 0 0;
  height: 12rem;
  pointer-events: none;
}

.hero-ridges {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2rem, 48rem);
}

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

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soil);
  margin: 0 0 0.7rem;
  font-weight: 600;
}

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

.mission,
.lede {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero .mission {
  color: color-mix(in srgb, var(--paper) 88%, var(--gold));
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gold);
  color: var(--moss-deep);
}

.btn-primary:hover {
  background: #d4b78a;
  color: var(--moss-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--paper) 55%, transparent);
}

.btn-secondary:hover {
  color: var(--paper);
  box-shadow: inset 0 0 0 2px var(--paper);
}

/* Sections */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--paper-2);
}

.lede {
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.as-of {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

/* Work grid */

.work-grid {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 960px) {
  .work-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .work-grid li {
    grid-column: span 2;
  }

  .work-grid .span-wide {
    grid-column: span 2;
  }
}

.work-grid li {
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--soil) 14%, transparent);
  border-radius: 0.7rem;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: var(--shadow);
}

.section-alt .work-grid li {
  background: var(--paper);
}

.icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.65rem;
}

.work-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.work-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* Project River */

.status-banner {
  background: var(--moss-deep);
  color: var(--paper);
  border-left: 5px solid var(--gold);
  border-radius: 0 0.6rem 0.6rem 0;
  padding: 1rem 1.15rem;
  margin: 0 0 2rem;
}

.status-banner p {
  margin: 0;
}

.status-banner strong {
  color: var(--gold);
  font-family: var(--font);
}

.river-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 860px) {
  .river-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .river-grid h3:first-child {
    margin-top: 0;
  }
}

.claim-list,
.sources,
.org-list,
.commitments,
.prequal-list {
  margin: 0 0 1.25rem;
  padding: 0;
}

.claim-list {
  list-style: none;
}

.claim-list li {
  padding: 0.75rem 0;
  border-top: 1px solid color-mix(in srgb, var(--soil) 16%, transparent);
}

.claim-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--soil) 16%, transparent);
}

.claim-list .label {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--soil);
  margin-bottom: 0.15rem;
}

.sources-heading {
  margin-top: 2rem;
}

.sources {
  list-style: none;
  font-size: 1rem;
}

.sources li {
  padding: 0.45rem 0 0.45rem 1rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 0.45rem;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  padding: 0.55rem 0.85rem;
}

.org-list {
  list-style: none;
}

.org-list li {
  background: var(--paper-2);
  border-radius: 0.6rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.7rem;
}

.section-alt .org-list li {
  background: var(--paper);
}

.prequal-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 1.4rem;
}

@media (min-width: 700px) {
  .prequal-list {
    grid-template-columns: 1fr 1fr;
  }
}

.prequal-list li {
  display: flex;
  gap: 0.8rem;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--soil) 14%, transparent);
  border-radius: 0.6rem;
  padding: 0.95rem 1rem;
}

.prequal-list .num {
  flex: 0 0 1.85rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}

.prequal-list p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.prequal-list strong {
  font-family: var(--font);
}

.fine-print {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}

.commitments {
  padding-left: 1.2rem;
}

.commitments li {
  margin-bottom: 0.45rem;
}

/* Contact / join */

.section-join {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}




/* Footer */

.site-footer {
  background: var(--moss-deep);
  color: color-mix(in srgb, var(--paper) 86%, var(--gold));
  padding: 2.5rem 0 3rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-name {
  margin: 0;
  color: var(--paper);
  font-size: 1.05rem;
}

.footer-contact {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--gold);
}

.footer-contact a:hover {
  color: var(--paper);
}

.footer-domain {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.95rem;
  max-width: 52rem;
  color: color-mix(in srgb, var(--paper) 78%, #8aa);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.footer-nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--paper);
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    font-size: 1.05rem;
  }

  .hero {
    padding: 2.6rem 0 7.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}

/* ---- Education-first layout additions ---- */

.sub-h {
  margin-top: 2.5rem;
}

.quick-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.quick-grid li {
  background: var(--paper-2);
  border: 1px solid color-mix(in srgb, var(--soil) 14%, transparent);
  border-radius: 0.7rem;
  padding: 1.1rem 1.1rem 1rem;
}

.quick-grid .num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.quick-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.quick-grid h3 a {
  color: var(--ink);
  text-decoration-color: var(--clay);
}

.quick-grid p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.card-grid {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .project-grid > li:nth-child(5),
  .project-grid > li:nth-child(6) {
    grid-column: 1 / -1;
  }
}

.card {
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--soil) 16%, transparent);
  border-radius: 0.7rem;
  padding: 1.2rem 1.25rem 1.1rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.section-alt .card {
  background: #faf6ee;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card .eg {
  font-size: 0.95rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin: 0 0 0.6rem !important;
  line-height: 1.3;
}

.pill-go {
  background: #dcebd9;
  color: #1f4a2a;
}

.pill-wait {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.pill-stop {
  background: #f0d9cf;
  color: #7a2f12;
}

.pill-info {
  background: #d9e6e8;
  color: #1f4448;
}

.callout {
  background: var(--paper);
  border-left: 5px solid var(--river-bright);
  border-radius: 0 0.6rem 0.6rem 0;
  padding: 1rem 1.25rem 0.6rem;
  margin: 1.5rem 0 0;
}

.callout h3 {
  margin: 0 0 0.5rem;
}

.callout ul {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
}

.callout li {
  margin-bottom: 0.5rem;
}

.btn-dark {
  background: var(--moss-deep);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--moss);
  color: var(--paper);
}

.section-alt .prequal-list li {
  background: var(--paper);
}

.org-list li {
  margin-bottom: 0.6rem;
}


/* Contact actions on the training-first layout */

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.btn-outline {
  background: transparent;
  color: var(--moss-deep);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--moss-deep) 55%, transparent);
}

.btn-outline:hover {
  color: var(--moss-deep);
  box-shadow: inset 0 0 0 2px var(--moss-deep);
}

.section-join .callout p:last-child,
.section .callout p:last-child {
  margin-bottom: 0.75rem;
}


/* Autonomous equipment section */

@media (min-width: 900px) {
  .card-grid.thirds {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.hero .mission-follow {
  margin-top: -0.6rem;
  margin-bottom: 1.6rem;
  font-size: 1.1rem;
}

/* Everyday work section — cards sit on the paper background */
#everyday .card {
  background: var(--paper-2);
}

#everyday .card-grid {
  margin-bottom: 0;
}

/* Photographs */

.photo-band {
  margin: 0;
  padding: 2.25rem 0 0.5rem;
  background: var(--paper);
}

.photo-frame {
  margin: 0 0 1.75rem;
}

.photo-frame img,
.photo-band .photo-frame--band img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.7rem;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

.photo-frame--band img {
  aspect-ratio: 2 / 1;
  object-position: center 62%;
}

.photo-frame--wide img {
  aspect-ratio: 16 / 9;
  object-position: center;
}

.photo-frame figcaption,
.photo-band figcaption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.45rem 0 0;
  line-height: 1.4;
  padding: 0;
}

.photo-frame figcaption a,
.photo-band figcaption a {
  color: inherit;
}

.photo-frame figcaption a:hover,
.photo-band figcaption a:hover {
  color: var(--clay);
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 0 0 1.5rem;
}

.split .lede {
  margin-bottom: 0;
}

.split .photo-frame {
  margin: 0;
}

.split .commitments {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }

  .split--photo-start figure {
    order: -1;
  }
}

@media (max-width: 639px) {
  .photo-band {
    padding-top: 1.5rem;
  }

  .photo-frame--band img {
    aspect-ratio: 16 / 10;
  }

  .photo-frame--wide img {
    aspect-ratio: 16 / 10;
  }
}
