@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,700&family=League+Gothic&display=swap");

:root {
  --bg: #f6f0e4;
  --bg-soft: #fffaf0;
  --ink: #152536;
  --muted: #42566c;
  --card: #fffef9;
  --line: #e2d7bf;
  --accent: #cf4b1a;
  --accent-soft: #f2bb7a;
  --shadow: 0 16px 40px rgba(26, 29, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(170deg, #f6f0e4 0%, #fbf6eb 55%, #f0e7d5 100%);
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  min-height: 100vh;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(207, 75, 26, 0.16), transparent 36%),
    radial-gradient(circle at 83% 20%, rgba(17, 92, 122, 0.16), transparent 39%),
    radial-gradient(circle at 52% 92%, rgba(242, 187, 122, 0.3), transparent 45%);
}

a {
  color: inherit;
}

.shell {
  width: min(1050px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
}

.site-nav a,
.lang-pill {
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-nav .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
}

.site-nav .icon-link img {
  width: 1.02rem;
  height: 1.02rem;
  display: block;
}

.site-nav .codeberg-link {
  color: #2185d0;
}

.site-nav .gitlab-link {
  color: #fc6d26;
}

.site-nav .kde-link {
  color: #2f6fb3;
}

.site-nav .github-link {
  color: #181717;
}

.site-nav a:hover,
.lang-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.lang-switch {
  display: flex;
  gap: 0.45rem;
}

.lang-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

main {
  padding-bottom: 3rem;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-column {
  padding: 1rem 1.1rem;
}

.project-column h2 {
  margin: 0 0 0.8rem;
}

.project-links {
  margin: 0;
  padding-left: 1.1rem;
}

.project-links li {
  margin: 0.35rem 0;
}

h1,
h2 {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 8.2vw, 5rem);
  margin-top: 0.5rem;
}

h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
}

@media (max-width: 900px) {
  .site-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(1050px, calc(100% - 1rem));
  }

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

  .site-nav {
    gap: 0.45rem;
  }

  .site-nav a,
  .lang-pill {
    padding: 0.38rem 0.62rem;
    font-size: 0.93rem;
  }

  .site-nav .icon-link {
    width: 1.95rem;
    height: 1.95rem;
    padding: 0;
  }

  .site-nav .icon-link img {
    width: 0.92rem;
    height: 0.92rem;
  }
}

section {
  margin-bottom: 1rem;
}

h2 {
  padding: .5rem 1rem;
}

h3 {
  margin: 0;
  margin-bottom: 0.5rem;
}

h4 {
  margin: 0;
  margin-bottom: 0.5rem;
}

/* Hire page -------------------------------------------------------------*/
.hire-panel {
  padding: 1.2rem 1.4rem;
}

.hire-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 0.4rem;
}

.hire-intro {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.hire-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.hire-step[hidden] {
  display: none;
}

.hire-step legend {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  padding: 0 0.4rem;
  color: var(--ink);
}

.hire-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.hire-check input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--accent);
}

.hire-tristate {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hire-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hire-toggle:hover {
  border-color: var(--accent);
}

.hire-toggle.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

#remote-no.active {
  background: #6b1f1f;
  border-color: #6b1f1f;
}

.hire-field {
  display: block;
  margin-top: 0.9rem;
}

.hire-field span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hire-field input,
.hire-field select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.hire-field input:focus,
.hire-field select:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-color: var(--accent);
}

.hire-note {
  margin: 0.8rem 0 0;
  color: var(--accent);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hire-note[hidden] {
  display: none;
}

.hire-status {
  margin-top: 1.2rem;
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, color 0.3s ease;
}

.hire-status.maybe {
  background: linear-gradient(180deg, #f2a93b 0%, #e07c1e 100%);
  color: #fff;
}

.hire-status.no {
  background: #6b1f1f;
  color: #fff;
}

.hire-status-big {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1;
  margin: 0;
}

.hire-status-reason {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  opacity: 0.95;
}

.hire-status-lead {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.hire-mailto {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hire-status-summary {
  text-align: left;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 46rem;
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  overflow-x: auto;
}