/* Honor Tenet LLC company site. One stylesheet, no build step, system fonts only. */

:root {
  color-scheme: light dark;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1a2230;
  --muted: #4d5868;
  --line: #d9d6cd;
  --accent: #1d4f7c;
  --accent-text: #ffffff;
  --focus: #b4530a;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 62rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151c;
    --surface: #18202a;
    --text: #e7eaef;
    --muted: #a9b3c0;
    --line: #2c3745;
    --accent: #9cc4ee;
    --accent-text: #0d1319;
    --focus: #ffb86b;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 2rem;
  height: 2rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  padding: 0.35rem 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

/* Sections */

.intro {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
}

h3 {
  font-size: 1.3rem;
}

.lead {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.section > .wrap > p {
  max-width: 40rem;
}

.section h2 {
  margin-bottom: 1.5rem;
}

.card {
  max-width: 40rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
}

.card p {
  margin: 0.75rem 0 1.25rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  text-decoration: underline;
}

/* Contact details */

.details {
  max-width: 40rem;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--line);
}

.details div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.25rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}

.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.details address {
  font-style: normal;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .intro {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .lead {
    font-size: 1.1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .details div {
    grid-template-columns: 1fr;
  }
}
