/* Jeffery Steven Christensen, DO — professional medical one-pager */

:root {
  --navy: #0b1f3a;
  --navy-mid: #16325c;
  --navy-soft: #e8eef6;
  --accent: #1a4a7a;
  --text: #1c2430;
  --muted: #5a6573;
  --white: #ffffff;
  --border: #d5dee8;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  --max: 960px;
  --narrow: 680px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

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

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-role {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #1e4a7c 100%);
  color: var(--white);
  padding: 3.5rem 0 3.75rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.2;
  font-weight: 700;
}

.alias {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  opacity: 0.9;
  font-weight: 400;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.125rem;
  opacity: 0.95;
}

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

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--navy-soft);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: 1.55rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--text);
}

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

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

/* Credentials */
.credential-list {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.credential-list > div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.5rem 1.25rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.credential-list > div:last-child {
  border-bottom: none;
}

.credential-list > div:nth-child(even) {
  background: #f7f9fc;
}

.credential-list dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: center;
}

.credential-list dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

/* Contact */
.contact-intro {
  color: var(--muted);
  margin-bottom: 1rem !important;
}

.contact-card {
  display: block;
  font-style: normal;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 0 0 0.4rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
  margin-top: 0.75rem;
}

.contact-card a {
  font-weight: 650;
  font-size: 1.15rem;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.75rem 0;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0 0 0.35rem;
}

.footer-note {
  opacity: 0.75;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .credential-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero {
    padding: 2.5rem 0 2.75rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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


/* Blog */
.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  color: inherit;
  text-decoration: underline;
}

.hero-compact {
  padding: 2.5rem 0 2.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.post-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--navy);
}

.post-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.post-card h3 a:hover {
  text-decoration: underline;
  color: var(--accent);
}

.post-meta {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.post-excerpt {
  margin: 0 0 0.85rem !important;
  color: var(--text);
}

.post-read {
  font-weight: 650;
  text-decoration: none;
}

.post-read:hover {
  text-decoration: underline;
}

.post-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-kicker a {
  color: var(--accent);
  text-decoration: none;
}

.post-kicker a:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.post-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.25;
  color: var(--navy);
}

.post-byline {
  margin: 0 0 0.35rem !important;
  font-weight: 600;
  color: var(--text);
}

.post h2 {
  margin: 1.75rem 0 0.85rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.post-intro {
  font-size: 1.08rem;
}

.takeaways,
.source-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.takeaways li,
.source-list li {
  margin-bottom: 0.65rem;
}

.blog-disclaimer {
  margin-top: 2rem !important;
  padding: 1rem 1.1rem;
  background: var(--navy-soft);
  border-left: 4px solid var(--navy-mid);
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.post-nav {
  margin-top: 1.75rem !important;
  font-weight: 600;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  color: var(--white);
}
