@font-face {
  font-family: "DM Sans";
  src: url("../concepts/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../concepts/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f6f8f3;
  --ink: #142e23;
  --forest: #104738;
  --accent: #116146;
  --muted: #4e6156;
  --line: #bac7bb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 "DM Sans", Arial, sans-serif;
}
h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a, button, select, input { touch-action: manipulation; }
:is(a, button, select, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1392px, 90%); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 0; left: 1rem; transform: translateY(-140%); background: #fff; color: var(--forest); padding: 10px; }
.skip:focus { transform: none; }
.site-header { background: var(--forest); color: #fff; }
.site-header a:focus-visible { outline-color: #c2f3d4; }
.navrow { min-height: 76px; display: flex; align-items: center; gap: clamp(14px, 3vw, 42px); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.35rem; font-weight: 750; letter-spacing: -.06em; }
.wordmark span { margin-left: -8px; font-weight: 450; }
.navrow .wordmark { margin-right: auto; }
.nav-designs, .nav-start { display: inline-flex; gap: 6px; min-height: 44px; align-items: center; font-size: .94rem; font-weight: 600; }
.nav-start { padding: 8px 16px; border: 1px solid #ffffff70; border-radius: 99px; text-decoration: none; }
.nav-start:hover { background: #ffffff18; }
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(25px, 6vw, 96px); padding: clamp(44px, 5.4vw, 88px) 0 clamp(36px, 4vw, 70px); align-items: end; }
.intro h1 { font-size: clamp(3.5rem, 6.6vw, 6.7rem); font-weight: 540; line-height: .97; letter-spacing: -.076em; }
.intro h1 em { color: var(--accent); font: italic 400 1.14em/.9 "Instrument Serif", Georgia, serif; letter-spacing: -.05em; }
.intro-note { max-width: 40ch; }
.intro-note p { font-size: clamp(1rem, 1.24vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.intro-note a { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; font-weight: 650; color: var(--forest); }
.tools { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.tools label { display: grid; gap: 5px; font-size: .84rem; font-weight: 650; color: var(--ink); }
.tools select, .tools input { width: min(100%, 20rem); height: 46px; border: 1px solid #879b8b; border-radius: 6px; background: #fff; color: var(--ink); padding: 8px 12px; font: 400 1rem "DM Sans", Arial, sans-serif; }
.tools select { min-width: 12.5rem; }
.tools input::placeholder { color: #637168; }
#count { margin: 0 0 11px auto; color: var(--muted); font-size: .93rem; font-variant-numeric: tabular-nums; }
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.2vw, 48px) clamp(15px, 2.2vw, 34px); padding-bottom: 60px; }
.sample { display: block; min-width: 0; text-decoration: none; border-radius: 8px; }
.sample img { display: block; width: 100%; height: auto; aspect-ratio: 900/582; object-fit: cover; object-position: bottom; border: 1px solid #142e2329; border-radius: 8px; background: #e1e9df; }
.sample p { margin-top: 12px; color: var(--muted); font-size: .86rem; }
.card-title { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-top: 2px; }
.card-title h2 { font-size: clamp(1.23rem, 1.58vw, 1.63rem); letter-spacing: -.045em; line-height: 1.18; font-weight: 600; }
.card-title span { color: var(--forest); font-size: 1.22rem; line-height: 1; }
.sample:hover h2 { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
#empty { padding: 0 0 60px; }
#empty h2 { margin-bottom: 12px; font-weight: 550; }
.help-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 14px; }
#reset { min-height: 44px; padding: 8px 17px; border: 0; border-radius: 99px; cursor: pointer; background: var(--forest); color: white; font: inherit; }
.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.footer .wordmark { margin-right: auto; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 920px) { .samples { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) {
  .navrow { min-height: 64px; }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .intro h1 { font-size: clamp(3.5rem, 10vw, 4.4rem); }
  .tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .tools select, .tools input { min-width: 0; width: 100%; }
  #count { margin: 2px 0 0; }
}
@media (max-width: 550px) {
  .samples { grid-template-columns: 1fr; }
  .intro, .tools { padding-bottom: 22px; }
  .nav-designs { display: none; }
  .intro-note { max-width: 36ch; }
  .footer { gap: 10px; }
}
@media (max-width: 340px) { .tools { grid-template-columns: 1fr; } }
