/* EForeman site styles ------------------------------------------------- */

:root {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --ink: #14202b;
  --ink-soft: #4c5c69;
  --ink-faint: #7c8d99;
  --accent: #c97a12;
  --accent-ink: #3d2600;
  --teal: #1e6e7a;
  --line: #dce2e6;
  --shadow: 0 1px 2px rgba(20, 32, 43, 0.06), 0 8px 24px rgba(20, 32, 43, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d151d;
    --surface: #15212b;
    --ink: #e8eef2;
    --ink-soft: #9fb1bd;
    --ink-faint: #6f8492;
    --accent: #e7a93f;
    --accent-ink: #2a1900;
    --teal: #4fb3c2;
    --line: #263340;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #0d151d;
  --surface: #15212b;
  --ink: #e8eef2;
  --ink-soft: #9fb1bd;
  --ink-faint: #6f8492;
  --accent: #e7a93f;
  --accent-ink: #2a1900;
  --teal: #4fb3c2;
  --line: #263340;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
}

:root[data-theme="light"] {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --ink: #14202b;
  --ink-soft: #4c5c69;
  --ink-faint: #7c8d99;
  --accent: #c97a12;
  --accent-ink: #3d2600;
  --teal: #1e6e7a;
  --line: #dce2e6;
  --shadow: 0 1px 2px rgba(20, 32, 43, 0.06), 0 8px 24px rgba(20, 32, 43, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- site header ---- */

.site-header {
  background: var(--ink);
  color: #eef2f4;
  border-bottom: 3px solid var(--accent);
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: 68px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 4px;
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 500;
}

.site-nav a {
  color: #cfd9de;
  text-decoration: none;
  font-size: 0.98rem;
  padding: 8px 14px;
  border-radius: 3px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(231, 169, 63, 0.16);
}

/* ---- hero / intro strip ---- */

.intro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px 8px;
}

.intro-eyebrow {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}

.intro h1 {
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 650;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 28ch;
  text-wrap: balance;
}

.intro p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---- CTA buttons ---- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 560;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 6px;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid transparent;
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

/* ---- section nav (jump chips) ---- */

.section-nav {
  max-width: 1080px;
  margin: 8px auto 0;
  padding: 0 28px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
}

.section-nav a {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.section-nav a:hover {
  border-color: var(--accent);
  color: var(--ink);
}

/* ---- feature sections ---- */

.spec {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 28px 0px;
}

.spec-section {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.spec-section:last-child {
  border-bottom: none;
}

.spec-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
}

.spec-heading h2 {
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 620;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.spec-heading .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.section-sub {
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: 1.03rem;
  margin: 0 0 4px;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.bullet-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.bullet-item .bullet-label {
  display: block;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 610;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.bullet-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-note {
  margin: 16px 2px 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-faint);
}

/* ---- role table ---- */

.role-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table.role-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.95rem;
}

table.role-table th,
table.role-table td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

table.role-table thead th {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
}

table.role-table td.category-cell {
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 600;
  color: var(--ink);
  vertical-align: top;
  border-right: 1px solid var(--line);
}

table.role-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---- why grid (closing summary) ---- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.why-card h3 {
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 610;
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--accent);
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.closing-line {
  text-align: center;
  margin: 40px auto 0;
  max-width: 46ch;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 600;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

/* ---- about page ---- */

.about-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 28px 30px;
}

.profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

@media (max-width: 560px) {
  .profile {
    grid-template-columns: 1fr;
  }
}

.badge {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 700;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
}

.profile-name {
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 650;
  font-size: 2rem;
  margin: 0 0 4px;
}

.profile-title {
  color: var(--teal);
  font-size: 1rem;
  margin: 0 0 10px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-tags span {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.bio p {
  max-width: 66ch;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---- contact form ---- */

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 28px 80px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-variation-settings: "wght" 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.form-input,
.form-textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.form-input:focus,
.form-textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

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

.form-error {
  color: #c0392b;
  font-size: 0.85rem;
}

.form-status {
  margin-top: 18px;
  font-size: 0.98rem;
  font-weight: 600;
}

.form-status-ok {
  color: var(--teal);
}

.form-status-error {
  color: #c0392b;
}

/* ---- footer ---- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 28px;
}

.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
