/* ==========================================================================
   styles.css — visual design for the Andreas Lang portfolio.
   --------------------------------------------------------------------------
   Structure:
     1. Design tokens (CSS variables) — colors, type, spacing. THEME LIVES HERE.
     2. Base / reset
     3. Layout helpers (container, sections, prose column)
     4. Buttons & shared components
     5. Header / nav
     6. Hero
     7. About
     8. Services (home teaser + full list)
     9. Expertise
    10. Approach
    11. Testimonial
    12. Contact + form
    13. Legal pages
    14. Footer
    15. Reveal animation + reduced motion
    16. Responsive (mobile-first; overrides at min-width breakpoints)

   To recolor the site, change --accent (and its friends) in section 1.
   ========================================================================== */

/* ============================================================ 1. TOKENS === */
:root {
  /* Accent — a muted brass/ochre. Reads as considered and senior rather
     than "SaaS teal" — intentionally not a bright tech-gradient color. */
  --accent: #c1904f;
  --accent-strong: #d6a869;
  --accent-soft: rgba(193, 144, 79, 0.16);
  --accent-contrast: #17130c; /* text on top of the accent */

  /* Type: serif for headings (editorial, "consultancy" register),
     Inter for body copy and UI chrome. */
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing / shape — smaller, squarer radii than a typical rounded SaaS UI. */
  --container: 1160px;
  --prose: 720px;
  --radius: 6px;
  --radius-sm: 3px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- DARK THEME (default) ---- */
[data-theme="dark"] {
  --bg: #0f0e0c;
  --bg-2: #151310;
  --surface: #1b1815;
  --surface-2: #211d18;
  --border: rgba(224, 214, 196, 0.13);
  --border-strong: rgba(224, 214, 196, 0.24);
  --text: #f2ede3;
  --text-muted: #b3a996;
  --text-faint: #7d7566;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.55);
  --grid-line: rgba(224, 214, 196, 0.05);
  --header-bg: rgba(15, 14, 12, 0.86);
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg: #faf7f1;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2ede3;
  --border: rgba(35, 28, 15, 0.12);
  --border-strong: rgba(35, 28, 15, 0.22);
  --text: #201a10;
  --text-muted: #5c5140;
  --text-faint: #8a7f6a;
  --accent: #8a5a20;
  --accent-strong: #6e4718;
  --accent-soft: rgba(138, 90, 32, 0.1);
  --accent-contrast: #ffffff;
  --shadow: 0 16px 40px -22px rgba(35, 28, 15, 0.22);
  --grid-line: rgba(35, 28, 15, 0.05);
  --header-bg: rgba(250, 247, 241, 0.88);
}

/* ============================================================ 2. BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--transition), color var(--transition);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 600;
}

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

/* Give anchored sections room below the sticky header when scrolled to. */
section[id] {
  scroll-margin-top: 88px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 1rem;
}

/* ============================================================ 3. LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Narrower reading column for long-form / prose sections. */
.prose {
  max-width: var(--prose);
}

.section {
  padding-block: var(--section-y);
}
.section + .section {
  border-top: 1px solid var(--border);
}

.page-intro {
  padding-block: clamp(2.75rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section-heading {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 1rem 0 0;
  max-width: 54ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), gap var(--transition);
}
.text-link:hover {
  border-color: var(--accent);
  gap: 0.6rem;
}

/* ============================================================ 4. BUTTONS = */
.btn {
  --pad-y: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
    border-color var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { --pad-y: 0.55rem; padding-inline: 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ============================================================ 5. HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-weight: 600;
  margin-right: auto;
}
.wordmark-mark {
  display: inline-grid;
  place-items: center;
  color: var(--accent);
}
.wordmark-sub { color: var(--text-muted); font-weight: 400; }

.nav {
  display: none;
  gap: 0.2rem;
}
.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition), background var(--transition);
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }

/* Show sun in dark mode (click -> go light), moon in light mode. */
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.lang-btn {
  height: 38px;
  min-width: 44px;
  padding-inline: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }
.lang-btn-sm { height: 34px; min-width: 42px; }

.nav-cta { display: none; }

.menu-toggle { display: inline-grid; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 0.5rem;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-nav .btn { margin-top: 0.5rem; }

/* ============================================================ 6. HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 11vw, 7.5rem) clamp(3.5rem, 8vw, 5.5rem);
}

/* Faint fixed dot grid — texture without the "glow blob + network lines"
   look. Deliberately quiet: it should read as paper texture, not decoration. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.hero-headline {
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero-subline {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 42ch;
  margin: 1.4rem 0 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.trust-strip {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.5rem;
}
.trust-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-right: 0.5rem;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-badges li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-badges li:not(:last-child)::after {
  content: "·";
  margin: 0 0.55rem;
  color: var(--text-faint);
}

/* ============================================================ 7. ABOUT ==== */
.about-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.photo-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  max-width: 380px;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9);
}
/* Styled fallback shown when profile-photo.jpg is missing (placeholder). */
.photo-frame img.photo-missing {
  min-height: 380px;
  background: var(--surface-2);
  position: relative;
}
.photo-frame img.photo-missing::after {
  content: "profile-photo.jpg";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.photo-caption {
  padding: 1rem 0.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--text);
}
.photo-caption strong { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.photo-caption span { font-size: 0.85rem; color: var(--text-muted); }

.about-body {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 1.25rem 0 0;
}

/* Home page: short teaser copy + link out to the full page. */
.teaser-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 1.1rem 0 1.6rem;
  max-width: 62ch;
}

/* ============================================================ 8. SERVICES  */
/* -- Home page teaser: a compact indexed list, no icons/cards. -- */
.teaser-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.teaser-row {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.teaser-index {
  font-family: var(--font-serif);
  color: var(--accent);
  opacity: 0.7;
  font-size: 0.95rem;
  flex: none;
  width: 1.6rem;
}
.teaser-title {
  font-size: 1.02rem;
  font-weight: 500;
}

/* -- Full list on leistungen.html: editorial rows, not icon cards. -- */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border);
}
.service-index {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.55;
  line-height: 1;
}
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 1.1rem;
  max-width: 60ch;
}
.service-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.service-bullets li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ============================================================ 9. EXPERTISE */
.expertise-groups {
  display: grid;
  gap: 2rem;
}
.expertise-group {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.expertise-group-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}
.pill:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================ 10. APPROACH */
.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--prose);
}
.approach-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.approach-steps li:last-child { border-bottom: 1px solid var(--border); }
.approach-number {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: -0.02em;
}
.approach-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.15rem 0 0.4rem;
}
.approach-text { color: var(--text-muted); margin: 0; }

/* ============================================================ 11. QUOTE === */
.quote-card {
  position: relative;
  max-width: var(--prose);
  padding-left: clamp(1.25rem, 3vw, 1.75rem);
  border-left: 3px solid var(--accent);
}
.quote-card blockquote {
  margin: 0.4rem 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
}
.quote-card figcaption {
  font-family: var(--font-sans);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============================================================ 12. CONTACT  */
.contact-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--radius-sm);
  color: var(--accent);
  border: 1px solid var(--border);
}
.contact-detail-text { display: flex; flex-direction: column; }
.contact-detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-detail-text a:hover { color: var(--accent); }

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; }

.form-status {
  margin: 0.9rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--accent);
  text-align: center;
}

/* ============================================================ 13. LEGAL === */
.legal-body {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 1.5rem 0 0;
  white-space: pre-line;
}

/* Bilingual static legal content (Impressum / Datenschutz): both language
   blocks live in the DOM; only the one matching <html lang> is shown. This
   tracks the existing language toggle automatically, no extra JS needed. */
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"],
html[lang="de"] [data-lang="de"] {
  display: block;
}

.legal-content { margin-top: 1.5rem; }
.legal-content h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}
.legal-content p,
.legal-content address,
.legal-content ul {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  font-style: normal;
}
.legal-content ul { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content code {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* ============================================================ 14. CTA BAND */
.cta-band {
  background: var(--bg-2);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band-heading { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band-sub { color: var(--text-muted); margin: 0.5rem 0 0; }

/* ============================================================ 15. FOOTER == */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding-top: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.75rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
}
.footer-brand > div { display: flex; flex-direction: column; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-sans); }
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ============================================================ 16. REVEAL == */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 50ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================ 17. RESPONSIVE
   Mobile-first: the rules above are the phone layout. These min-width blocks
   progressively enhance for tablets and desktops.
   ========================================================================== */

@media (min-width: 640px) {
  .contact-details { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 4rem 1fr; }
  .service-index { padding-top: 0.2rem; }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .wordmark-sub { display: inline; }

  .about-inner { grid-template-columns: 0.9fr 1.1fr; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
  .expertise-groups { grid-template-columns: repeat(3, 1fr); }
  .expertise-group { padding-top: 0; }
}

@media (min-width: 1024px) {
  .service-row { grid-template-columns: 4.5rem 1fr; }
}

/* Below 860px the "— Information Security" tag is noise on tiny screens. */
@media (max-width: 460px) {
  .wordmark-sub { display: none; }
}
