:root {
  --bg: #f7f5f1;
  --surface: #fffefb;
  --ink: #2b2a28;
  --mute: #6d6a64;
  --line: #e6e1d8;
  --acc: #b95a40;
  --on: #fff;
  --soft: #eee9df;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181a1f;
    --surface: #20232a;
    --ink: #e9e6df;
    --mute: #a09d96;
    --line: #30343c;
    --acc: #e8957a;
    --on: #181a1f;
    --soft: #262a32;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 17px/1.75 Figtree,
    system-ui,
    sans-serif;
}
.back {
  display: block;
  position: sticky;
  top: 0;
  z-index: 50;
  width: max-content;
  background: var(--acc);
  color: var(--on);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: 0 0 16px 0;
  text-decoration: none;
}
.w {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}
h1 {
  font:
    700 clamp(1.8rem, 5vw, 2.8rem)/1.1 "Bricolage Grotesque",
    system-ui,
    sans-serif;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.sub {
  color: var(--mute);
  margin: 0 0 28px;
  max-width: 62ch;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.pv {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(60, 50, 40, 0.06);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.pv:hover {
  transform: translateY(-3px);
  border-color: var(--acc);
}
.frame {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--soft);
}
.frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  transform-origin: 0 0;
  transform: scale(var(--s, 0.25));
  pointer-events: none;
}
.cap {
  padding: 14px 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cap b {
  font:
    700 1.05rem "Bricolage Grotesque",
    system-ui,
    sans-serif;
}
.cap small {
  display: block;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.5;
}
.cap span {
  color: var(--acc);
  font-weight: 600;
  white-space: nowrap;
}
.job {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 16px rgba(60, 50, 40, 0.06);
}
.job h2 {
  font:
    700 1.3rem "Bricolage Grotesque",
    system-ui,
    sans-serif;
  margin: 0;
}
.job small {
  color: var(--mute);
}
.job p {
  color: var(--mute);
}
.job ul {
  padding-left: 20px;
  margin: 12px 0 0;
  color: var(--mute);
}
.job li {
  margin-bottom: 6px;
}
