:root {
  --bg: #e4ddd0;
  --ink: #1a1814;
  --muted: #5c564c;
  --line: rgba(26, 24, 20, 0.16);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

::selection {
  background: #1a1814;
  color: #f3ecdf;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark {
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.18em;
}

.layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 36px;
  padding: 36px 0 20px;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.1rem, 6.4vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 10ch;
}

h1 em {
  font-style: italic;
}

.lede {
  margin-top: 18px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.cases {
  display: grid;
}

.cases a {
  display: grid;
  gap: 6px;
  padding: 18px 16px 18px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: inset 3px 0 0 var(--dot);
  border-top: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease;
}

.cases li:last-child a {
  border-bottom: 1px solid var(--line);
}

.num {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}

.brand {
  font-weight: 650;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.trade {
  display: block;
  font-size: 1rem;
}

.idea {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 46ch;
}

.go {
  align-self: center;
  transition: transform 0.2s ease;
}

.cases a:hover .go,
.cases a:focus-visible .go {
  transform: translateX(6px);
}

.case-vela {
  --dot: #1a9aa0;
}
.case-mur {
  --dot: #c24e1d;
}
.case-aurea {
  --dot: #1e4f45;
}
.case-olea {
  --dot: #a85a68;
}
.case-hala {
  --dot: #c9a10e;
}

.case-vela a:hover,
.case-vela a:focus-visible {
  background: #0c242c;
  color: #f2fffc;
  --muted: rgba(242, 255, 252, 0.72);
}

.case-mur a:hover,
.case-mur a:focus-visible {
  background: #c24e1d;
  color: #1b120c;
  --muted: rgba(27, 18, 12, 0.75);
}

.case-aurea a:hover,
.case-aurea a:focus-visible {
  background: #1e4f45;
  color: #f4efe8;
  --muted: rgba(244, 239, 232, 0.75);
}

.case-olea a:hover,
.case-olea a:focus-visible {
  background: #2a1219;
  color: #f8e6e1;
  --muted: rgba(248, 230, 225, 0.72);
}

.case-hala a:hover,
.case-hala a:focus-visible {
  background: #f5c518;
  color: #161616;
  --muted: rgba(22, 22, 22, 0.72);
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 0 22px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .wrap {
    width: min(1240px, calc(100% - 64px));
  }

  .layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
    align-items: center;
    gap: 56px;
    padding-top: clamp(48px, 8vh, 120px);
  }

  .cases a {
    grid-template-columns: 52px 150px 1fr auto;
    align-items: center;
    column-gap: 16px;
    min-height: 92px;
    padding-block: 16px;
  }

  .brand,
  .num,
  .go {
    align-self: center;
  }
}

@media (max-width: 899px) {
  h1 {
    max-width: 12ch;
  }

  .go {
    margin-top: 4px;
  }
}
