/* den Haring and Associates — 2026 static site */
:root {
  --navy: #0b1f33;
  --navy-mid: #12304d;
  --navy-soft: #1a3f63;
  --slate: #3d4f63;
  --muted: #5c6b7a;
  --line: #d9e0e8;
  --paper: #f6f8fa;
  --white: #ffffff;
  --accent: #e07a2f;
  --accent-dark: #c4631c;
  --accent-soft: #fff1e6;
  --teal: #0f766e;
  --teal-soft: #e6f5f3;
  --success: #0d7a4f;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 51, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1140px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

/* Logo is ~2:1 (1899×956); size by height so aspect ratio stays correct */
.brand-logo {
  height: 48px;
  width: auto;
  max-width: min(120px, 28vw);
  object-fit: contain;
  aspect-ratio: 1899 / 956;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: var(--slate);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--navy);
}

.site-nav a.nav-cta {
  background: var(--navy);
  color: white;
  margin-left: 0.25rem;
}

.site-nav a.nav-cta:hover {
  background: var(--navy-soft);
  color: white;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(224, 122, 47, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(15, 118, 110, 0.16), transparent 50%),
    linear-gradient(160deg, #0b1f33 0%, #12304d 48%, #0f3d4a 100%);
  color: white;
  padding: 4.5rem 0 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd2a8;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 122, 47, 0.25);
}

.hero h1 {
  color: white;
  max-width: 16ch;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-primary:hover {
  background: var(--accent-dark);
  color: white;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

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

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

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-card img,
.dhplus-logo {
  width: min(100%, 280px);
  height: auto;
  margin-bottom: 1rem;
  aspect-ratio: 900 / 423;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 0.65rem 0.85rem;
  box-sizing: border-box;
}

.hero-card .dhplus-logo {
  width: min(100%, 240px);
}

.hero-card h2 {
  color: white;
  font-size: 1.35rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: white;
}

.stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

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

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  max-width: 48ch;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.95), rgba(18, 48, 77, 0.92)),
    url("../images/engineering.jpg") center/cover;
  color: white;
  padding: 3.5rem 0 3rem;
}

.page-hero h1 { color: white; }
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin: 0;
  font-size: 1.1rem;
}

.page-hero.plain {
  background: linear-gradient(135deg, #0b1f33, #16405f);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.card h3 { margin-top: 0.25rem; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.card-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

/* Blog */
.blog-filters {
  margin-bottom: 1.75rem;
}

.blog-filters-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--slate);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--navy-soft);
  color: var(--navy);
}

.filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.filter-chip-dhplus.is-active {
  background: var(--teal);
  border-color: var(--teal);
}

.filter-chip-jobs.is-active {
  background: #3730a3;
  border-color: #3730a3;
}

.filter-count {
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.75;
}

.filter-chip.is-active .filter-count {
  opacity: 0.9;
}

.filter-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.35em;
}

.filter-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.post-card.is-filtered-out,
.post-card[hidden] {
  display: none !important;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.post-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 168px;
  align-items: stretch;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.post-card.full {
  grid-template-columns: 1fr;
  gap: 0;
}

/* Blog index cards: show full image (no crop). */
.post-card.full .post-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #eef2f6 0%, #e2e8ef 100%);
  overflow: hidden;
}

.post-card.full .post-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  box-sizing: border-box;
}

.post-media {
  background: #0b1f33;
  overflow: hidden;
}

/*
 * Home / compact cards only (.post-card without .full):
 * Fixed-width media column; image keeps its natural aspect ratio
 * and is centered. Square assets like new-website.jpg fill the
 * column edge-to-edge with no crop or absolute positioning bugs.
 */
.post-card:not(.full) .post-media {
  width: 168px;
  min-height: 168px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1f33;
  padding: 0;
}

.post-card:not(.full) .post-media img {
  /* Override global img { height: auto; max-width: 100% } carefully */
  position: static;
  width: 168px;
  max-width: 168px;
  height: 168px;
  max-height: 168px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0;
  margin: 0;
  background: #0b1f33;
}

.post-media img {
  display: block;
}

.post-body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card.full .post-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.post-meta time::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--line);
}

.post-author {
  font-weight: 500;
  color: var(--slate);
}

.tag {
  display: inline-block;
  background: var(--paper);
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag.dhplus { background: var(--teal-soft); color: var(--teal); border-color: #b8e4df; }
.tag.jobs { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }

.post-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content layout */
.prose {
  max-width: 72ch;
}

.prose > *:first-child { margin-top: 0; }

.prose img {
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  box-shadow: var(--shadow);
}

.prose figure {
  margin: 1.5rem 0;
}

.prose figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.aside-card h3 { margin-top: 0; }
.aside-card p, .aside-card li { font-size: 0.95rem; color: var(--slate); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.team-card .info {
  padding: 1.25rem 1.25rem 1.25rem 0;
}

.team-card .role {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Rates */
.rate-list {
  display: grid;
  gap: 1rem;
}

.rate-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  align-items: start;
}

.rate-item .amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.rate-item .amount span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font);
}

/* Feature table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

table.features {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.95rem;
}

table.features th,
table.features td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.features th {
  background: var(--navy);
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
}

table.features tr:nth-child(even) td {
  background: #fafbfc;
}

table.features td.center {
  text-align: center;
  font-weight: 700;
  color: var(--teal);
}

table.features .hw {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.features .sw {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.contact-info {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h2 { color: white; }
.contact-info p { color: rgba(255, 255, 255, 0.85); }
.contact-info a { color: #ffd2a8; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
}

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

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--paper);
  color: var(--navy);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  border-color: var(--teal);
  background: white;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-soft) 55%, #0f5c55);
  color: white;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: white;
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 1.25rem 1.25rem;
  margin: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline strong {
  display: block;
  color: var(--navy);
}

.timeline span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd2a8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.45rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  aspect-ratio: 1899 / 956;
  background: white;
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* Utilities */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.note-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.callout {
  background: var(--teal-soft);
  border: 1px solid #b8e4df;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--teal); }

.article-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.article-header .post-meta {
  margin-bottom: 0.75rem;
}

.article-hero-img {
  border-radius: var(--radius);
  margin: 0 0 1.75rem;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0b1f33;
}

pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  background: #0f1720;
  color: #e5edf5;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}

code {
  background: var(--paper);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .content-with-aside,
  .contact-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-card {
    grid-template-columns: 120px 1fr;
  }

  .aside-card { position: static; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a.nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .post-grid,
  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 120px 1fr;
  }

  .post-card:not(.full) .post-media {
    width: 120px;
    min-height: 120px;
  }

  .post-card:not(.full) .post-media img {
    width: 120px;
    max-width: 120px;
    height: 120px;
    max-height: 120px;
  }

  .rate-item {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    min-height: 220px;
  }

  .team-card .info {
    padding: 0 1.25rem 1.25rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
