:root {
  --ink: #1a1814;
  --bar: #141210;
  --paper: #d4c7b2;
  --muted: #4e493f;
  --line: rgba(26, 24, 20, 0.16);
  --hot: #e23b16;
  --cream: #f4f0e6;
  --serif: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--bar);
  color: var(--cream);
  border-bottom: 3px solid var(--hot);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mark {
  width: 1.65rem;
  height: 1.65rem;
  fill: var(--cream);
}

.bar-mail {
  text-decoration: none;
  font-size: 0.95rem;
}

.bar-mail:hover { color: #ffb199; }

main {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
}

.where {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hot);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 10vw, 5.4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
}

.lede {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  font-size: 1.2rem;
  text-align: center;
  color: var(--muted);
}

.now {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.now li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.now > li:first-child {
  border-top: none;
  padding-top: 0;
}

.now li.bundle {
  margin: 0.35rem 0;
  padding: 0.9rem 1rem 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #f6f1e6;
}

.now > li.bundle:nth-child(even) {
  background: #e7e1d4;
}

.now li.bundle > h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}

.now li.bundle ul {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
}

.now li.bundle li:first-child {
  border-top: none;
}

.now h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.now h2 a {
  text-decoration: none;
  border-bottom: 2px solid var(--hot);
}

.now h2 a:hover { color: var(--hot); }

.now p.url {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #5c574e;
  overflow-wrap: anywhere;
}

.now p.url a {
  text-decoration: none;
}

.now p.url a:hover { color: var(--hot); }

.now p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.now li.with-shot {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.thumb {
  display: block;
}

.thumb img {
  display: block;
  width: 100%;
  height: 7.75rem;
  object-fit: cover;
  object-position: center;
}

.thumb img.top {
  object-position: top center;
}

#viewer {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
}

#viewer::backdrop {
  background: rgba(20, 18, 16, 0.88);
}

#viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 64rem);
  max-height: 90vh;
}

footer {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 3rem;
}

footer a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 2px solid var(--hot);
}

footer a:hover { color: var(--hot); }

.built {
  margin: 1.4rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .bar { align-items: flex-start; flex-direction: column; }
  main { padding-top: 3rem; }
  .now li.with-shot { grid-template-columns: 7.25rem minmax(0, 1fr); }
  .thumb img { height: 5.4rem; }
}
