:root {
  color-scheme: light;
  --cream: #faf6ef;
  --cream-2: #f2ece1;
  --ink: #23302f;
  --ink-soft: #566260;
  --teal: #2f6b5e;
  --teal-deep: #234f45;
  --teal-tint: #e3efe9;
  --line: #ded5c7;
  --amber: #b47514;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(35, 48, 47, 0.05), 0 8px 24px -12px rgba(35, 48, 47, 0.22);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -5%, rgba(47, 107, 94, 0.06), transparent 38%),
    radial-gradient(circle at 92% 4%, rgba(180, 117, 20, 0.05), transparent 34%),
    var(--cream);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.wrap {
  width: min(1060px, calc(100% - 44px));
  margin: 0 auto;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.bar-in {
  display: flex;
  align-items: center;
  height: 62px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 22px;
}

.links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.links::-webkit-scrollbar {
  display: none;
}

.links a {
  padding: 7px 11px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.links a:hover,
.links a.active {
  background: var(--teal);
  color: var(--white);
}

section {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: clamp(52px, 8vw, 92px);
  padding-bottom: 36px;
}

.kick,
.section-label,
.meta {
  color: var(--teal);
  font-family: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  margin: 14px 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -0.5px;
}

h2 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 36px);
}

h3 {
  font-size: 20px;
}

.lede {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: block;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.card:hover {
  transform: translateY(-2px);
}

.card p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.meta {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 11px;
}

.empty {
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
}

.section-note {
  margin-top: 16px;
  color: var(--ink-soft);
}

.section-note a {
  color: var(--teal);
  font-weight: 700;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-family: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 34px;
  padding-bottom: 60px;
  color: var(--ink-soft);
  font-size: 13px;
}

footer a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 34px, 1060px);
  }

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

  footer {
    flex-direction: column;
  }
}
