@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* koalitydev — forest night */
:root {
  --ink: #e8efe6;
  --muted: #9aada4;
  --bg: #121714;
  --bg-2: #1c2420;
  --line: #2c3a34;
  --leaf: #8fbf9f;
  --amber: #c9a227;
  --cream: #f3efe4;
  --max: 1120px;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: -18%;
  width: 136%;
  height: 136%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
a { color: var(--leaf); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
.skip {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--amber); color: #102016; padding: 0.5rem 0.8rem; z-index: 60;
}
.skip:focus { top: 1rem; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--cream); text-decoration: none; font-weight: 600; letter-spacing: 0.02em; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  position: relative;
  padding-bottom: 0.15rem;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.is-active { color: var(--cream); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 1.5px;
  background: var(--amber);
  border-radius: 1px;
}
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding: 5.5rem 0 2.2rem; }
.kicker { color: var(--amber); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--cream); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.15rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--leaf); color: #102016; }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 30% 20%;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  filter: saturate(0.78) contrast(1.12) brightness(0.96);
}
.hero-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  background: #1a3a2c;
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
  z-index: 1;
}
.stamp {
  position: absolute;
  right: -0.6rem;
  bottom: 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  z-index: 2;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 3.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 1.35rem 1.1rem 1.25rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  color: var(--cream);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
section { padding: 4.2rem 0; border-top: 1px solid var(--line); }
.reveal { animation: rise 0.7s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.section-title { font-size: 2rem; margin: 0 0 0.4rem; }
.section-sub { color: var(--muted); margin: 0 0 2rem; max-width: 40rem; }
.about-copy { max-width: 44rem; }
.about-copy p { max-width: 42rem; }
.stack-title { font-size: 1.15rem; margin: 1.8rem 0 0.7rem; }
.stack-chips { margin-top: 0; }
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.case {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.case--shots { grid-column: 1 / -1; }
.case-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
}
.case-shots figure { margin: 0; }
.case-shots img {
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: top center;
  background: transparent;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
}
.case-shots figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.case .kicker { margin-bottom: 0.45rem; }
.case h2 { margin: 0 0 0.6rem; font-size: 1.45rem; }
.case h2 a { color: var(--cream); text-decoration: none; }
.case h2 a:hover { color: var(--leaf); }
.case p { margin: 0; color: var(--ink); }
.case-note { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.78rem; }
.tool h3 a { color: var(--cream); text-decoration: none; }
.tool h3 a:hover { color: var(--leaf); }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  padding-left: 1.55rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--line);
}
.job {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  position: relative;
}
.job::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 1.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--bg);
}
.job--now::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 25%, transparent);
}
.now-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--amber);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-right: 0.45rem;
  font-weight: 700;
}
.job header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.job h3 { margin: 0; font-size: 1.2rem; }
.job a { color: var(--cream); text-decoration: none; }
.job a:hover { color: var(--leaf); }
.meta { color: var(--muted); font-size: 0.9rem; }
.tenure { color: var(--amber); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.job p { margin: 0.7rem 0 0; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.chips li { font-size: 0.75rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.55rem; color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tool { background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem; }
.tool h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.tool p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.contact { text-align: center; }
.mails { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.colophon {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.colophon img { width: 36px; height: 36px; }
.colophon:hover { color: var(--cream); }
.footer-links { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 0 6.5rem;
}
.page-404 .brand { margin-bottom: 2.4rem; }
.page-404 h1 { margin: 0 0 1.4rem; }
.page-404 .kicker { margin-bottom: 0.7rem; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .cases { grid-template-columns: 1fr; }
  .case-shots { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 0.85rem; }
  .nav-links a { font-size: 0.82rem; }
  .stamp { right: 0.4rem; }
}
@media (max-width: 520px) {
  .tools { grid-template-columns: 1fr; }
  .stat { padding: 1.1rem 0.7rem 1rem; }
  .stat-label { font-size: 0.7rem; }
}

.hero-photo picture { display: block; }
.hero-photo picture img { width: 100%; height: auto; }
.case-shots--one { grid-template-columns: 1fr; }
.case-shots--one img { background: #111; }

.job-link { margin-right: 1rem; }
.contact .section-sub { margin-inline: auto; }
