@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hankengrotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hankengrotesk-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Brand: gsgroup.co --color-primary #e1161f, --color-secondary #fdc307 */
:root {
  --bg: #fbfaf7;
  --ink: #16181d;
  --ink-2: #3b3f47;
  --ink-3: #646d7c;
  --rule: #e4e1da;
  --rule-strong: #16181d;
  --red: #e1161f;
  --red-ink: #c4121a;
  --gold: #fdc307;
  --black: #16181d;
  --hover: #f3f0ea;
  --field: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111215;
    --ink: #eeece8;
    --ink-2: #c9c7c2;
    --ink-3: #9a9da5;
    --rule: #2a2c31;
    --rule-strong: #eeece8;
    --red: #f0353d;
    --red-ink: #ff5a61;
    --black: #3a3c42;
    --hover: #1a1c20;
    --field: #17181c;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.45 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
kbd {
  font: 600 11px/1 "Hanken Grotesk", system-ui, sans-serif;
  padding: 3px 5px;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 3px;
  color: var(--ink-2);
  background: var(--field);
}

/* German tricolour, the stripe from the logo */
.flag { display: flex; height: 4px; }
.flag span { flex: 1; }
.flag span:nth-child(1) { background: var(--black); }
.flag span:nth-child(2) { background: var(--red); }
.flag span:nth-child(3) { background: var(--gold); }

.top, main, .foot {
  width: calc(100% - 80px);
  max-width: 1040px;
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.logo { display: block; height: 72px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}
.when { text-align: right; }
.time {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.date { color: var(--ink-3); font-size: 13px; margin-top: 2px; }

main { flex: 1; padding-bottom: 40px; }

.hero { padding: 48px 0 36px; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 640px;
  height: 52px;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: border-color .15s ease;
}
.search:focus-within { border-color: var(--ink); }
.search svg {
  width: 20px; height: 20px; margin: 0 4px 0 16px; flex: none;
  fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 0 12px;
}
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search .hint { margin-right: 14px; }
.search:focus-within .hint { visibility: hidden; }
.tip { margin: 12px 0 0; color: var(--ink-3); font-size: 13px; }

/* Ruled groups */
.group {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule-strong);
}
.group h2 {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  column-gap: 28px;
}
.tiles li { border-bottom: 1px solid var(--rule); }

.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px 16px 14px;
  margin: 0 -12px 0 -14px;
  border-radius: 3px;
  transition: background-color .15s ease;
}
.tile::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform .18s ease;
}
.tile:hover, .tile:focus-visible { background: var(--hover); outline: none; }
.tile:hover::before, .tile:focus-visible::before { transform: scaleY(1); }
.tile:active { transform: translateY(1px); }

.ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #fff;
}
.ico img { width: 100%; height: 100%; object-fit: contain; }

.txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.desc { color: var(--ink-2); font-size: 13.5px; }
.url {
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tile:hover .url, .tile:focus-visible .url { color: var(--red-ink); }


.tile.match-first { background: var(--hover); }
.tile.match-first::before { transform: scaleY(1); }
.empty { color: var(--ink-3); padding: 24px 0; border-top: 1px solid var(--rule-strong); margin: 0; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 13px;
}
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.foot a:hover { color: var(--red-ink); border-color: var(--red); }

@media (max-width: 760px) {
  .top, main, .foot { width: calc(100% - 32px); }
  .logo { height: 52px; }
  .time { font-size: 24px; }
  .hero { padding: 32px 0 28px; }
  .group { grid-template-columns: 1fr; gap: 4px; }
  .group h2 { margin: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tip, .search .hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
