/* Sam's Web Services: engineer's letterhead.
   One family (Archivo), identity carried by width contrast; the petrol
   9 monogram is the single bold element. */

:root {
  --paper: #F7F8F6;
  --ink: #1C2B2D;
  --haze: #5C6B6D;
  --petrol: #10656B;
  --rule: #D8DEDB;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #152224;
    --ink: #E9EDEA;
    --haze: #93A3A2;
    --petrol: #4FB3B8;
    --rule: #2A3B3D;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.6;
  padding: 0 1rem;
}

.mast, main, footer {
  max-width: 42rem;
  margin: 0 auto;
}

/* masthead */
.mast { padding-top: 4.5rem; }

.wordmark {
  margin: 0;
  font-weight: 700;
  font-variation-settings: "wdth" 125;
  font-size: clamp(2.4rem, 8.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.llc {
  font-size: 0.38em;
  font-weight: 600;
  font-variation-settings: "wdth" 112;
  letter-spacing: 0.02em;
  color: var(--petrol);
  vertical-align: 0.52em;
  white-space: nowrap;
}

.tagline {
  margin: 1.25rem 0 0;
  color: var(--haze);
}

/* the positioning line reads as the firm speaking, larger and wider set */
.lede {
  margin-top: 4rem;
}
.lede p {
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 500;
  font-variation-settings: "wdth" 110;
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}

section { margin-top: 4rem; }

h2 {
  font-weight: 700;
  font-variation-settings: "wdth" 118;
  font-size: 1.05rem;
  margin: 0 0 1rem;
  color: var(--petrol);
}

p { margin: 0 0 1rem; max-width: 66ch; }
section p:last-child { margin-bottom: 0; }

a {
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 1px;
}

/* capability areas: definition list, two columns when room allows */
.areas {
  margin: 0;
  display: grid;
  gap: 1.75rem 2.5rem;
}
@media (min-width: 38rem) {
  .areas { grid-template-columns: 1fr 1fr; }
}
.areas dt {
  font-weight: 600;
  font-variation-settings: "wdth" 112;
}
.areas dd {
  margin: 0.3rem 0 0;
  color: var(--haze);
}

footer {
  margin-top: 5rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--rule);
  color: var(--haze);
  font-size: 0.9rem;
}
footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
