:root {
  --ink: #291016;
  --ink-soft: #6d5459;
  --paper: #f5f0e8;
  --paper-deep: #e9dfd2;
  --pink: #c8798c;
  --line: #cdbdb4;
  --serif: "Bodoni 72", "Iowan Old Style", "Baskerville", "Hiragino Mincho ProN", serif;
  --sans: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  background: var(--paper-deep);
}

body {
  min-width: 320px;
  height: 100%;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 49.85%, rgb(41 16 22 / 5%) 49.85% 50.15%, transparent 50.15%),
    var(--paper-deep);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  display: grid;
  width: min(100%, 560px);
  height: 100svh;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(32px, 8vw, 60px) clamp(25px, 8vw, 56px) 28px;
  background: var(--paper);
  overflow-y: auto;
  grid-template-rows: auto 1fr auto auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.sakura-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--pink);
}

.brand__name,
.brand__meta,
.eyebrow,
.intro,
footer {
  margin: 0;
}

.brand__name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.055em;
  line-height: 0.8;
}

.brand__meta,
.eyebrow,
footer {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.brand__meta {
  margin-top: 8px;
}

.hero {
  align-self: center;
  padding: clamp(54px, 12vh, 108px) 0 clamp(48px, 9vh, 84px);
}

.eyebrow {
  margin-bottom: 15px;
  color: var(--pink);
}

h1 {
  max-width: 8.6em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 10.5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.intro {
  margin-top: 21px;
  color: var(--ink-soft);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 13px;
  letter-spacing: 0.13em;
}

.links {
  display: grid;
  gap: 10px;
}

.link-card {
  position: relative;
  display: grid;
  min-height: 82px;
  padding: 17px 18px 15px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--ink);
  background: transparent;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
}

.link-card--store {
  color: var(--paper);
  background: var(--ink);
}

.link-card__index {
  color: var(--pink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}

.link-card__label {
  align-self: end;
  grid-column: 1;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.link-card__meta {
  align-self: end;
  grid-column: 1;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.link-card--store .link-card__meta {
  color: #d5c2bd;
}

.link-card__arrow {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / -1;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.link-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

@media (hover: hover) {
  .link-card:hover {
    color: var(--paper);
    background: var(--pink);
    border-color: var(--pink);
    transform: translateY(-2px);
  }

  .link-card:hover .link-card__meta {
    color: var(--paper);
  }
}

footer {
  padding-top: 31px;
  font-size: 8px;
  text-align: center;
}

.return-link {
  color: var(--ink);
  text-decoration-color: var(--pink);
  text-underline-offset: 6px;
}

@media (min-width: 561px) {
  body {
    display: grid;
    place-items: center;
    padding: 32px;
  }

  .page {
    height: auto;
    min-height: 760px;
    box-shadow: 0 25px 75px rgb(41 16 22 / 14%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
