/* Same table and sheet as the home page: the index is one sheet of paper with a row per product. */
:root {
  color-scheme: dark;
  --table: #1b1b19;
  --table-ink: #f3efe6;
  --table-ink-2: #b8b3a7;
  --sheet: #f5f0e6;
  --sheet-ink: #2a2926;
  --sheet-ink-2: #6e6a61;
  --sheet-line: rgb(42 41 38 / 0.1);
  --focus: #e1a594;
  --focus-sheet: #9a5543;
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--table);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: var(--table-ink);
  font: 400 1rem/1.55 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  background:
    url("paper/washi-dark.jpg") 0 0 / 512px repeat,
    var(--table);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
p,
h1,
h2,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 8px;
}
.wrap {
  width: 100%;
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.top {
  padding-block: 22px;
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.seal {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    url("paper/washi-light.jpg") 0 0 / 256px,
    var(--sheet);
  box-shadow:
    0 1px 1px rgb(0 0 0 / 0.4),
    3px 6px 12px -4px rgb(0 0 0 / 0.6);
}
.seal img {
  width: 30px;
  height: 30px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 999px;
  color: var(--table-ink-2);
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--table-ink);
  background: rgb(255 255 255 / 0.07);
}

.page {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  max-width: 880px;
  padding-block: clamp(24px, 5vh, 56px) 72px;
}
h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.intro {
  max-width: 32rem;
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--table-ink-2);
}

.sheet {
  padding: clamp(10px, 2vw, 20px) clamp(18px, 3.4vw, 40px);
  border-radius: 3px;
  color: var(--sheet-ink);
  background:
    url("paper/washi-light.jpg") 0 0 / 512px repeat,
    var(--sheet);
  box-shadow:
    0 1px 1px rgb(0 0 0 / 0.35),
    0 3px 6px rgb(0 0 0 / 0.25),
    24px 40px 72px -24px rgb(0 0 0 / 0.8);
  rotate: -0.5deg;
}
.row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-block: 16px;
}
.row + .row {
  border-top: 1px solid var(--sheet-line);
}
.row img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(2px 3px 2px rgb(40 28 14 / 0.3));
}
.row img.card {
  border: 3px solid #fffdf8;
  border-radius: 3px;
  object-fit: cover;
}
.row h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.row .kind {
  font-size: 0.8125rem;
  color: var(--sheet-ink-2);
}
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 4px;
}
.links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(42 41 38 / 0.18);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.links a:hover {
  background: rgb(42 41 38 / 0.07);
}
.links a:focus-visible,
.sheet a:focus-visible {
  outline-color: var(--focus-sheet);
}
.contact {
  font-size: 0.9375rem;
  color: var(--table-ink-2);
}
.contact a {
  color: var(--table-ink);
  text-underline-offset: 3px;
}

.foot {
  padding-block: 0 48px;
  font-size: 0.8125rem;
  color: var(--table-ink-2);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--table-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 639px) {
  .nav a.wide {
    display: none;
  }
  .row {
    grid-template-columns: 44px minmax(0, 1fr);
    row-gap: 10px;
  }
  .row img {
    width: 44px;
    height: 44px;
  }
  .links {
    grid-column: 2;
    justify-content: start;
  }
}

.skip {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-150%);
  z-index: 10;
  padding: 12px;
  background: #1b1b19;
  color: #f3efe6;
}
.skip:focus {
  transform: translateY(0);
}
