/* The Launcher Group — local preview stylesheet
   WVU blue #002855, WVU gold #EAAA00, cream. System fonts. Mobile-first. */

:root {
  --navy: #002855;
  --navy-mid: #0a3a66;
  --ink: #1c2733;
  --muted: #4a5560;
  --cream: #f9f6ee;
  --paper: #fcfaf4;
  --rule: #d8d2c6;
  --gold: #7F6310;  /* text on cream, AA */
  --gold-bright: #EAAA00;
  --white: #ffffff;
  --focus: #EAAA00;
  --max: 68rem;
  --measure: 38rem;
  --space: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

h1, h2, h3, .serif {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 { font-size: clamp(2.35rem, 7.5vw, 4.1rem); margin: 0 0 0.85rem; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }

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

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
  color: var(--cream);
}

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

/* —— Header (letterhead) —— */
.site-header {
  padding: 1.15rem 0 1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.75rem;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
}

.wordmark:hover { color: var(--navy); }

.logo {
  display: block;
  height: 3.4rem;
  width: auto;
}

@media (min-width: 720px) {
  .logo { height: 4.1rem; }
}

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

.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-mid);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold-bright);
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold-bright);
}

/* —— Buttons —— */
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.85rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
}

.btn:hover {
  background: var(--navy-mid);
  color: var(--cream);
  border-color: var(--navy-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.68rem;
}

.text-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-bright);
  padding-bottom: 0.08rem;
}

.text-link:hover { color: var(--gold); }

/* —— Hero —— */
.hero {
  padding: 3.25rem 0 3rem;
}

.kicker {
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  white-space: nowrap;
  max-width: none;
  font-size: clamp(1.55rem, 5.2vw, 3.4rem);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.sub {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  font-family: Georgia, Palatino, serif;
  color: var(--navy-mid);
  max-width: none;
  white-space: nowrap;
  line-height: 1.3;
  font-weight: 400;
}

.lead {
  margin: 1.5rem 0 0;
  max-width: none;
  white-space: nowrap;
  color: var(--muted);
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
}

.rule-gold {
  width: 2.75rem;
  height: 2px;
  background: var(--gold-bright);
  border: 0;
  margin: 0 0 1.5rem;
}

/* —— Sections —— */
.section {
  padding: 2.75rem 0 1.25rem;
}

.section-head {
  max-width: var(--measure);
  margin-bottom: 1.75rem;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .split-2 { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; }
}

/* —— Product cards (home) —— */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold-bright);
  padding: 1.35rem 1.35rem 1.4rem;
}

.card .maker {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.card a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card a.card-link:hover h3 { color: var(--gold); }

/* —— Line blocks (lines page) —— */
.line {
  padding: 2.25rem 0;
  border-top: 1px solid var(--rule);
}

.line:last-of-type { border-bottom: 1px solid var(--rule); }

.line-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.65rem;
}

.line-num {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.coverage {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.line h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  max-width: 22ch;
}

.line .products {
  font-family: Georgia, Palatino, serif;
  font-size: 1.15rem;
  color: var(--navy-mid);
  margin: 0 0 0.75rem;
}

.line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.25rem;
}
.line-actions .ext {
  font-size: 0.95rem;
}
.card .ext {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
}
.card .maker a {
  color: inherit;
  text-decoration: none;
}
.card .maker a:hover { color: var(--navy); text-decoration: underline; }

.line .fact {
  max-width: var(--measure);
  color: var(--ink);
}

.line .fact + .fact { margin-top: -0.35rem; }

/* —— Territory —— */
.city {
  padding: 1.75rem 0 0.5rem;
}

.city h2 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  margin-bottom: 0.5rem;
}

.city p { max-width: 32ch; color: var(--muted); }

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.work-list li {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.1rem 1.25rem;
}

.work-list strong {
  display: block;
  font-family: Georgia, Palatino, serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.work-list span {
  color: var(--muted);
  font-size: 1rem;
}

.note {
  margin-top: 1.75rem;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1rem;
}

/* —— About / prose —— */
.prose { max-width: 34rem; }

.prose p { font-size: 1.12rem; }

.prose .lede {
  font-size: 1.28rem;
  color: var(--navy-mid);
  font-family: Georgia, Palatino, serif;
  line-height: 1.45;
}

/* —— Contact —— */
.contact-direct {
  margin: 0 0 1.25rem;
}
.phone-block {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-family: Georgia, Palatino, serif;
}
.phone-block a {
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.phone-block a:hover { color: var(--gold); }
.email-block {
  margin: 1.5rem 0 2.25rem;
}

.email-block a {
  font-family: Georgia, Palatino, serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-bright);
  color: var(--navy);
}

.email-block a:hover { color: var(--gold); }

.callout {
  border-left: 3px solid var(--gold-bright);
  padding: 0.15rem 0 0.15rem 1.1rem;
  max-width: 32rem;
  color: var(--navy-mid);
  margin: 0 0 2.25rem;
}

.form {
  max-width: 28rem;
  display: grid;
  gap: 1rem;
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  width: 100%;
  min-height: 2.75rem;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--navy);
}

.form .btn {
  justify-self: start;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: #b7c0c9;
  margin-top: 4.5rem;
  padding: 2.15rem 0 2.35rem;
  font-size: 0.92rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.site-footer .name {
  font-family: Georgia, Palatino, serif;
  color: var(--cream);
  font-size: 1.05rem;
}

.site-footer a {
  color: var(--gold-bright);
  text-decoration: none;
}

.site-footer a:hover { color: var(--cream); }

.site-footer .domain {
  color: #8b97a3;
}

.sep {
  margin: 0 0.45rem;
  color: #6d7a86;
}

/* —— Page title block —— */
.page-hero {
  padding: 2.75rem 0 1.25rem;
}

.page-hero h1 { max-width: 14ch; }

.page-hero .intro {
  max-width: 34rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  .hero { padding: 4.75rem 0 4.25rem; }
  .page-hero { padding: 3.5rem 0 1.5rem; }
  .section { padding: 3.25rem 0 1.5rem; }
}

@media (max-width: 399px) {
  .wrap { width: calc(100% - 2rem); }
  body { font-size: 1.05rem; }
  .btn { width: 100%; text-align: center; }
  .btns { flex-direction: column; align-items: stretch; }
}
