/* Directory pages, on the MotoRumbo design system v2 (riding magazine):
   https://claude.ai/artifact/CDEbpNbLuQw8AUWPEhd19t. Standalone: the rest of the site
   moves onto these tokens next. */

@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-800-latin-ext.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-400-latin.woff2") format("woff2"); font-weight: 400; 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+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-700-latin.woff2") format("woff2"); font-weight: 700; 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+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --hueso: #f4f5f2; --surface: #ffffff; --noche: #15191b; --noche-2: #22282b; --gris: #5f686c; --linea: #d3d6d2;
  --barro: #b5552a; --barro-oscuro: #9a461e; --barro-claro: #f0a06f; --niebla: #c9cfcf;
  --monte: #2d5a3a; --volcan: #2b4c6f; --alerta: #8f1d17;
  --cond: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --radius-sm: 4px; --radius-md: 6px;
  --page: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hueso); color: var(--noche); font-family: var(--body); font-size: 17px; line-height: 1.55; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--barro); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Masthead: over a photo on the list page, on noche elsewhere */
.mast { position: relative; z-index: 2; color: #fff; }
.mast.solid { background: var(--noche); }
.mast .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font-family: var(--cond); font-weight: 800; font-size: 32px; line-height: 1; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; font-family: var(--cond); font-weight: 600; font-size: 20px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--barro-claro); }
.nav a[aria-current="page"] { color: var(--barro-claro); }

/* Photo hero */
.hero { position: relative; min-height: 640px; display: flex; flex-direction: column; background: var(--noche); color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; opacity: .8; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,25,27,.6) 0%, rgba(21,25,27,0) 28%, rgba(21,25,27,0) 42%, rgba(21,25,27,.93) 100%); }
.hero-text { position: relative; z-index: 1; margin-top: auto; padding-bottom: 46px; }
.kicker { font-family: var(--cond); font-weight: 600; font-size: 21px; color: var(--barro-claro); }
.hero h1 { margin-top: 6px; max-width: 11ch; font-family: var(--cond); font-weight: 800; font-size: clamp(56px, 9vw, 120px); line-height: .88; letter-spacing: -0.005em; }
.credit { position: absolute; z-index: 1; right: 20px; bottom: 14px; font-size: 13px; color: var(--niebla); }

.search { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; max-width: 900px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.search input, .search select { min-width: 0; border: 0; background: #fff; color: var(--noche); font: inherit; font-size: 18px; padding: 17px 18px; }
.search select { border-left: 1px solid var(--linea); padding-right: 12px; }
.search button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 0; background: var(--barro); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 22px; line-height: 1; padding: 0 26px; cursor: pointer; text-decoration: none; }
.search button:hover, .btn:hover { background: var(--barro-oscuro); }
.btn { border-radius: var(--radius-sm); padding: 15px 22px; }

/* Category tiles */
.cats { padding: 48px 0 8px; }
.cats h2, .index-head h2, .band h2 { font-family: var(--cond); font-weight: 800; font-size: 44px; line-height: 1; }
/* Every category is a tile of the same kind. Six columns on wide screens, four on tablets,
   three on phones; .wide-d/.wide-t/.wide-m tiles span two columns to fill the last row. */
.tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 236px; gap: 12px; }
.tile.wide-d { grid-column: span 2; }
.tile { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--noche); color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.8); transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--barro); mix-blend-mode: multiply; opacity: .58; }
.tile.monte::before { background: var(--monte); }
.tile.volcan::before { background: var(--volcan); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,25,27,0) 45%, rgba(21,25,27,.55) 100%); }
.tile span { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; font-family: var(--cond); font-weight: 800; font-size: 27px; line-height: .95; }
.tile small { display: block; margin-top: 5px; font-family: var(--body); font-weight: 400; font-size: 14px; opacity: .92; }
.tile[aria-current="true"] { outline: 4px solid var(--barro); outline-offset: 3px; }
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .tile.wide-d { grid-column: auto; }
  .tile.wide-t { grid-column: span 2; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .tile.wide-t { grid-column: auto; }
  .tile.wide-m { grid-column: span 2; }
  .tile span { left: 10px; right: 8px; bottom: 9px; font-size: 19px; }
  .tile small { font-size: 12px; margin-top: 3px; }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }

/* Editorial index */
.index { padding: 52px 0 80px; scroll-margin-top: 12px; }
.index-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-bottom: 3px solid var(--noche); padding-bottom: 12px; }
.index-head p { color: var(--gris); }
.index-head a { font-family: var(--cond); font-weight: 600; font-size: 19px; }
.rows > li { border-bottom: 1px solid var(--linea); }
.row { display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2fr); gap: 24px; padding: 22px 0; text-decoration: none; align-items: start; }
.row:hover h3 { color: var(--barro-oscuro); }
.disc { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--noche); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 22px; }
.disc.logo { background: #fff; border: 1px solid var(--linea); padding: 10px; }
.disc.logo img { width: 100%; height: 100%; object-fit: contain; }
.row h3 { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: .95; }
.row .where { margin-top: 6px; color: var(--gris); font-size: 15px; }
.row .d { font-size: 17px; }
.row .k { font-family: var(--cond); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--barro-oscuro); }
/* "Popular": riders talk about it a lot or recommend it here */
.pop { display: inline-block; margin-top: 8px; padding: 2px 10px; border: 1.5px solid var(--barro); border-radius: 999px; font-family: var(--cond); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--barro-oscuro); }
.biz-top .pop { margin-top: 12px; border-color: var(--barro-claro); color: var(--barro-claro); font-size: 18px; }
.chip { display: inline-block; padding: 5px 14px; border: 2px solid var(--noche); border-radius: 999px; font-family: var(--cond); font-weight: 600; font-size: 18px; line-height: 1.2; text-decoration: none; }
.chip:hover { background: var(--noche); color: #fff; }
.chip[aria-pressed="true"] { background: var(--barro); border-color: var(--barro); color: #fff; }
.empty { padding: 28px 0; font-size: 19px; max-width: 60ch; }

/* Closing band */
.band { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--noche); color: #fff; padding: 32px; border-radius: var(--radius-md); }
.band p { margin-top: 8px; color: var(--niebla); max-width: 56ch; }

/* One business */
.biz-top { background: var(--noche); color: #fff; padding: 36px 0 44px; }
.biz-top .crumbs { font-family: var(--cond); font-weight: 600; font-size: 19px; }
.biz-top .crumbs a { color: var(--barro-claro); text-decoration: none; }
.biz-id { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.biz-id .disc { width: 112px; height: 112px; font-size: 34px; background: var(--noche-2); }
.biz-id .disc.logo { background: #fff; padding: 14px; border: 0; }
.biz-top h1 { font-family: var(--cond); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: .9; }
.biz-top .where { margin-top: 10px; color: var(--niebla); font-size: 18px; }
.biz-top .k { margin-top: 6px; font-family: var(--cond); font-weight: 600; font-size: 20px; color: var(--barro-claro); }
.biz-body { padding: 40px 0 80px; }
.biz-body .wrap { max-width: 900px; }
.biz-body .lead { font-size: 21px; line-height: 1.5; max-width: 60ch; }
.go { margin-top: 32px; }
.go h2, .facts-title { font-family: var(--cond); font-weight: 800; font-size: 30px; line-height: 1; }
.go p { margin-top: 4px; color: var(--gris); font-size: 15px; }
.go-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.go-row a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: var(--radius-sm); font-family: var(--cond); font-weight: 800; font-size: 21px; line-height: 1; text-decoration: none; border: 2px solid var(--noche); color: var(--noche); background: transparent; }
.go-row a:hover { background: var(--noche); color: #fff; }
.go-row a.primary { background: var(--barro); border-color: var(--barro); color: #fff; }
.go-row a.primary:hover { background: var(--barro-oscuro); border-color: var(--barro-oscuro); }
.go-row svg { width: 20px; height: 20px; flex: none; }
.facts-title { margin-top: 44px; }
.rec { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.rec h2 { font-family: var(--cond); font-weight: 800; font-size: 30px; line-height: 1; }
.rec-count { margin-top: 6px; color: var(--gris); }
.rec .btn:disabled { background: var(--monte); cursor: default; }
.facts { margin-top: 12px; border-top: 3px solid var(--noche); }
.facts div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.facts dt { font-family: var(--cond); font-weight: 800; font-size: 21px; line-height: 1.2; }
.checked { margin-top: 22px; color: var(--gris); font-size: 15px; }

/* Footer */
.foot { background: var(--noche); color: var(--niebla); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-block: 48px 56px; }
.foot .wordmark { color: #fff; }
.foot p { margin-top: 8px; max-width: 40ch; }
.foot ul { display: grid; gap: 6px; }

@media (max-width: 860px) {
  .nav a:not(.nav-keep) { display: none; }
  .hero { min-height: 560px; }
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .search input { grid-column: 1 / -1; border-bottom: 1px solid var(--linea); }
  .search select { border-left: 0; border-bottom: 1px solid var(--linea); }
  .search select + label + select { border-left: 1px solid var(--linea); }
  .search button { grid-column: 1 / -1; padding: 15px 0; }
  .row { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 14px; }
  .row .disc { width: 52px; height: 52px; font-size: 17px; grid-row: span 3; }
  .row .disc.logo { padding: 7px; }
  .row h3 { font-size: 32px; }
  .band { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .biz-id { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .biz-id .disc { width: 84px; height: 84px; font-size: 26px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
