:root {
  --paper: #e8e9e6;
  --ink: #16171a;
  --steel: #6b7079;
  --rule: #c3c6ca;
  --metal-hi: #f4f5f3;
  --metal-lo: #9ea3aa;
  --accent: #4f6682;
  --tag-bg: #f3f4f1;
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141517;
    --ink: #e3e4e1;
    --steel: #979ca4;
    --rule: #2d2f33;
    --metal-hi: #d9dbd8;
    --metal-lo: #5b6068;
    --accent: #8ea4bb;
    --tag-bg: #1d1e21;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding: 0 16px;
}
.hero, main, footer {
  max-width: 42rem;
  margin: 0 auto;
}

/* Hero */
.hero { padding: 5rem 0 3rem; }
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 1.75rem 0 1.5rem;
}
.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 34rem;
  margin: 0 0 2rem;
}

/* Luggage tag — the one bold element */
.tag {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding: 1.1rem 1.3rem 0.9rem 2.6rem;
  background: var(--tag-bg);
  border: 1.5px solid transparent;
  border-radius: 0.6rem 1.6rem 1.6rem 0.6rem;
  background-image: linear-gradient(var(--tag-bg), var(--tag-bg)), linear-gradient(135deg, var(--metal-hi), var(--metal-lo) 45%, var(--metal-hi) 70%, var(--metal-lo));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: rotate(-6deg);
  transform-origin: 1rem 1rem;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.45);
}
.tag-hole {
  position: absolute;
  left: 0.95rem; top: 50%;
  width: 0.7rem; height: 0.7rem;
  margin-top: -0.35rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--metal-lo);
}
.tag-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.tag-sub {
  font-size: 0.8125rem;
  color: var(--steel);
  margin-top: 0.3rem;
}
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: swing 1.1s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes swing {
    0%   { transform: rotate(-16deg) translateY(-6px); opacity: 0; }
    60%  { transform: rotate(-3deg); opacity: 1; }
    100% { transform: rotate(-6deg); }
  }
}

/* Style note with swatches */
.style-note {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  color: var(--steel);
}
.style-note p { margin: 0 0 0.75rem; max-width: 34rem; }
.swatches {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--ink);
}
.swatches li { display: inline-flex; align-items: center; gap: 0.5rem; }
.sw {
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.sw-black { background: #111; }
.sw-grey  { background: #7d8187; }
.sw-white { background: #fafaf8; }
.sw-metal { background: linear-gradient(135deg, #f1f2f0, #9fa4ab 50%, #e2e4e1); }

/* Sections */
main section {
  border-top: 1px solid var(--rule);
  padding: 2.25rem 0 2.5rem;
}
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
p { margin: 0 0 1rem; max-width: 36rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; }

/* Items as definition list */
.items { margin: 0; }
.items dt {
  font-weight: 500;
  padding-top: 0.9rem;
}
.items dd {
  margin: 0.15rem 0 0.9rem;
  color: var(--steel);
  max-width: 36rem;
}
.items dd strong { color: var(--ink); }
.items dt + dd { border-bottom: 1px solid var(--rule); }
.items dt:last-of-type + dd { border-bottom: 0; }
@media (min-width: 720px) {
  .items {
    display: grid;
    grid-template-columns: 14rem 1fr;
    column-gap: 2rem;
  }
  .items dt, .items dd {
    padding: 0.85rem 0;
    margin: 0;
    border-top: 1px solid var(--rule);
  }
  .items dt:first-of-type, .items dt:first-of-type + dd { border-top: 0; padding-top: 0; }
  .items dt + dd, .items dt:last-of-type + dd { border-bottom: 0; }
}

/* Games */
.games {
  list-style: none;
  padding: 0; margin: 0;
}
.games li { padding: 0.45rem 0; border-top: 1px solid var(--rule); }
.games li:first-child { border-top: 0; }
@media (min-width: 720px) {
  .games { columns: 2; column-gap: 2.5rem; }
  .games li { break-inside: avoid; }
  .games li:nth-child(7) { border-top: 0; }
}
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--rule);
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible, :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Dream */
.dream-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
  background: linear-gradient(100deg, var(--ink) 0%, var(--metal-lo) 55%, var(--ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Not-list: struck through */
.not-list {
  list-style: none;
  padding: 0; margin: 0 0 1.25rem;
  display: flex; flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  color: var(--steel);
  text-decoration: line-through;
  text-decoration-color: var(--metal-lo);
  text-decoration-thickness: 1.5px;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 4rem;
  color: var(--steel);
  font-size: 0.9375rem;
}
