/* Toth Geophysical, LLC: earth-tone single-page layout */

:root {
  --bg: #f8f8f6;        /* chalk */
  --surface: #e9ece8;   /* pale lichen grey */
  --text: #1f2a2e;      /* charcoal slate */
  --muted: #56616a;     /* shale grey */
  --accent: #2e4a3f;    /* deep pine */
  --accent-2: #3e5d60;  /* slate teal */
  --ochre: #b08a45;     /* decorative only: rules and markers */
  --rule: #d5dad3;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--ochre);
  padding: 3.5rem 0 2.75rem;
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.tagline {
  margin: 0.6rem 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--muted);
}

/* Main content */
main.wrap {
  padding-top: 3.75rem;
  padding-bottom: 3rem;
}

section + section {
  margin-top: 2.25rem;
}

.lead {
  margin: 0;
  font-size: 1.15rem;
}

h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

p {
  margin: 0 0 0.75rem;
}

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

li + li {
  margin-top: 0.35rem;
}

li::marker {
  color: var(--ochre);
}

.education li + li {
  margin-top: 0.6rem;
}

.education .detail {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
}

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--accent-2);
}

.availability {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 30rem) {
  body {
    font-size: 1rem;
  }

  .site-header {
    padding: 2.5rem 0 2rem;
  }

  main.wrap {
    padding-top: 2.75rem;
  }

  .lead {
    font-size: 1.05rem;
  }
}
