:root {
  --content-max-width: 64rem;
  --bg-soft: #f4f6f8;
  --line: #cbd2d9;
  --text: #17212b;
  --muted: #344554;
  --link: #0b5fa5;
  --link-hover: #084c84;
  --accent: #2f6f5e;
  --accent-dark: #225244;
  --tab-active-bg: #ffffff;
  --tab-inactive-bg: #e6ebf0;
  --tab-focus: #1769aa;
}

body {
  margin: 1.5rem;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(244, 246, 248, 0.68)),
    url("jjbatwork.webp") center center / cover no-repeat fixed;
  min-height: 100vh;
}

.site-header,
.site-content,
.site-footer {
  max-width: var(--content-max-width);
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

img.site-logo {
  display: block;
  width: 220px;
  height: 170px;
}

.intro {
  max-width: 43rem;
  padding: 1rem 0;
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.45rem;
  font-size: 4.25rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0.5rem;
  font-size: 1.28rem;
  line-height: 1.2;
}

.intro p:not(.eyebrow),
.section-lede {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.intro-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(11, 95, 165, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 0.8rem;
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}

.intro-actions a:hover,
.intro-actions a:focus-visible {
  border-color: var(--link-hover);
  background: #ffffff;
  color: var(--link-hover);
}

.site-content {
  margin-bottom: 1rem;
}

.tabs {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--tab-inactive-bg);
}

.tab-button {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--tab-inactive-bg);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.72rem 0.85rem;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button[aria-selected="true"] {
  background: var(--tab-active-bg);
}

.tab-button:focus-visible {
  outline: 2px solid var(--tab-focus);
  outline-offset: -2px;
}

.tab-panel {
  padding: 1.15rem 1.25rem 1.25rem;
}

.tab-panel p,
.tab-panel li {
  text-wrap: pretty;
}

.tab-panel ul {
  padding-left: 1.25rem;
}

.tab-panel li + li {
  margin-top: 0.25rem;
}

.project-list {
  display: grid;
  gap: 0.7rem;
  padding-left: 0;
  list-style: none;
}

.project-list li {
  border-left: 3px solid var(--accent);
  padding-left: 0.8rem;
}

.project-list a {
  display: inline-block;
  margin-bottom: 0.15rem;
}

.project-list span {
  display: block;
  color: var(--muted);
}

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

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

.site-footer {
  color: rgba(23, 33, 43, 0.68);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  body {
    margin: 1rem;
    background-attachment: scroll;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  img.site-logo {
    width: 170px;
    height: auto;
  }

  .intro {
    padding-top: 0;
  }

  h1 {
    font-size: 2.4rem;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-button {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .tab-panel {
    padding: 1rem;
  }
}
