/* Reinmuth Consulting — site styles. No framework, no build step. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #0F172A;
  --body: #334155;
  --muted: #475569;
  --subtle: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --soft: #F8FAFC;
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --accent-soft: #EFF6FF;
  --radius: 14px;
  --wrap: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Jost", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: block; line-height: 0; }
.brand svg { height: 38px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--body); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: #fff; background: var(--ink); padding: 10px 18px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav .nav-cta:hover { color: #fff; background: #1E293B; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 24px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--ink); border-color: var(--subtle); }
.btn-light { background: #fff; color: var(--ink); font-size: 15px; padding: 12px 20px; min-height: 44px; }
.btn-light:hover { color: var(--ink); background: #E2E8F0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type helpers */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 3vw + 12px, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 4.2vw + 12px, 62px); line-height: 1.05; letter-spacing: -0.02em; }
.hero .btn-row { padding-top: 8px; }
.specialties { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.06); display: flex; flex-direction: column; gap: 20px; }
.spec { display: flex; gap: 16px; align-items: flex-start; }
.spec-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.spec strong { display: block; font-weight: 600; }
.spec span { font-size: 15px; color: var(--muted); }
.spec-foot { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-tight-bottom { padding-bottom: 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { color: var(--muted); font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tile { background: var(--soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; font-weight: 600; color: var(--ink); }
.tile svg { color: var(--accent); }

/* Remote support */
.remote { background: var(--ink); color: #F8FAFC; }
.remote .section-head h2 { color: #fff; }
.remote .section-head p { color: #CBD5E1; }
.remote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.remote-card { background: #1E293B; border: 1px solid #334155; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.remote-card .label { color: #93C5FD; }
.remote-card h3 { color: #fff; font-size: 22px; font-weight: 600; }
.remote-card p { color: #CBD5E1; font-size: 16px; }
.remote-card .btn-row { padding-top: 8px; }

/* Contact */
.contact-box { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.contact-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-copy h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 3vw + 12px, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.contact-copy p { color: var(--muted); font-size: 18px; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.email-link { font-weight: 600; font-size: 20px; text-decoration: none; border-bottom: 2px solid currentColor; overflow-wrap: anywhere; }
.small-note { font-size: 13px; color: var(--subtle); }
[hidden] { display: none !important; }

/* Legal / simple pages */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 3vw + 16px, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 96px; color: var(--body); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.25; margin-top: 2em; }
.prose h2 { font-size: 22px; letter-spacing: 0.01em; scroll-margin-top: 24px; }
.prose h3 { font-size: 19px; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { overflow-wrap: anywhere; }
.prose h4 { font-size: 18px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--subtle); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--muted); }

/* Phones */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand svg { height: 27px; }
  .site-header .wrap { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .nav .nav-cta { padding: 10px 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { padding: 18px; font-size: 15px; }
  .email-link { font-size: 18px; }
  .nav .nav-text { display: none; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-tight-bottom { padding-bottom: 16px; }
  .specialties, .remote-card { padding: 24px; }
  .contact-box { padding: 36px 24px; }
  .lede { font-size: 18px; }
}
