/* Vancouver Flight Ride Guide — cordage.css. Namespace gx-* only. */

:root {
  --gx-ink: #12161c;
  --gx-muted: #5c6570;
  --gx-paper: #f4f1ea;
  --gx-card: #fffdf8;
  --gx-line: #d2cdc3;
  --gx-rail: #1a2330;
  --gx-rail-ink: #e7edf2;
  --gx-rust: #c24a22;
  --gx-warn: #f3e4d4;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.gx-root {
  margin: 0;
  color: var(--gx-ink);
  background: #cfc8bb;
  font: 16.5px/1.55 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gx-rust); }
a:hover { color: #8d3014; }
img { max-width: 100%; height: auto; display: block; }

.gx-skip { position: absolute; left: -999px; }
.gx-skip:focus-within { left: 12px; top: 12px; z-index: 40; background: #fff; padding: 8px; }

.gx-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--gx-paper);
  border-left: 1px solid #b7b1a6;
  border-right: 1px solid #b7b1a6;
}

.gx-rail {
  background: var(--gx-rail);
  color: var(--gx-rail-ink);
  padding: 22px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gx-flag {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #b8c2cc;
}
.gx-brand {
  text-decoration: none;
  color: #fff;
  border-top: 2px solid var(--gx-rust);
  padding-top: 12px;
}
.gx-brand-k {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.25;
}
.gx-brand-s {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #9aa7b3;
  font-weight: 400;
}
.gx-who {
  margin: 0;
  font-size: 12.5px;
  color: #9aa7b3;
}
.gx-nav { display: flex; flex-direction: column; gap: 2px; }
.gx-nav-a {
  color: #d5dde4;
  text-decoration: none;
  font-size: 14.5px;
  padding: 6px 8px;
  border-left: 3px solid transparent;
}
.gx-nav-a:hover, .gx-nav-a.gx-here {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-left-color: var(--gx-rust);
}
.gx-rail-foot {
  margin-top: auto;
  font-size: 11.5px;
  color: #80909c;
}

.gx-sheet { display: flex; flex-direction: column; min-width: 0; }
.gx-main { flex: 1; padding: 28px 32px 40px; }
.gx-foot {
  border-top: 1px solid var(--gx-line);
  padding: 16px 32px 22px;
  font-size: 12.5px;
  color: var(--gx-muted);
  background: #ebe6dc;
}
.gx-foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0; }
.gx-foot a { color: #6a3a28; }
.gx-copy { margin: 0; }

.gx-stamp { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gx-muted); }
.gx-h1 { margin: 0 0 10px; font-size: 1.7rem; line-height: 1.2; font-weight: 700; max-width: 28rem; }
.gx-lede { margin: 0 0 14px; font-size: 1.05rem; max-width: 40rem; color: #2a313a; }
.gx-deck { margin: 0 0 18px; color: var(--gx-muted); max-width: 40rem; }

.gx-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}
.gx-hero .gx-fig { margin: 0; }
.gx-hero img { width: 100%; height: 280px; object-fit: cover; }

.gx-brief {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: gx;
  max-width: 40rem;
}
.gx-brief li {
  counter-increment: gx;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 15px;
}
.gx-brief li::before {
  content: counter(gx);
  font-weight: 700;
  color: var(--gx-rust);
  flex: 0 0 1.4rem;
}
.gx-brief li span { flex: 1; min-width: 0; }

.gx-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 8px 0 24px;
}
.gx-strip a {
  position: relative;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.gx-strip img { width: 100%; height: 128px; object-fit: cover; }
.gx-strip span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font-size: 12.5px;
  background: linear-gradient(transparent, rgba(18,22,28,.75));
}

.gx-callout {
  background: var(--gx-warn);
  border-left: 4px solid var(--gx-rust);
  padding: 12px 14px;
  max-width: 44rem;
  font-size: 15px;
}
.gx-callout strong { display: block; margin-bottom: 4px; }

.gx-pagehead { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--gx-line); }
.gx-split {
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(180px, 1fr);
  gap: 28px;
  align-items: start;
}
.gx-prose p { margin: 0 0 0.95em; }
.gx-prose ul { margin: 0 0 1em; padding-left: 1.15em; }
.gx-prose li { margin: 0 0 .35em; }
.gx-h2 { margin: 1.25em 0 .4em; font-size: 1.05rem; }
.gx-fig { margin: 0 0 18px; }
.gx-fig img { width: 100%; }
.gx-fig figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--gx-muted); margin-top: 6px; }
.gx-fig cite { font-style: normal; }

.gx-dl { margin: 0; }
.gx-dl dt {
  margin: 14px 0 4px;
  font-weight: 700;
  font-size: 15px;
}
.gx-dl dd { margin: 0; color: #2a313a; }

.gx-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 18px; }
.gx-table th, .gx-table td { border: 1px solid var(--gx-line); padding: 7px 9px; text-align: left; vertical-align: top; }
.gx-table th { background: #ebe6dc; }

.gx-form { display: grid; gap: 6px; max-width: 420px; margin: 16px 0 24px; }
.gx-form label { font-size: 13px; font-weight: 650; }
.gx-form input, .gx-form textarea {
  border: 0;
  border-bottom: 1px solid #8a8378;
  background: transparent;
  padding: 8px 2px;
  font: inherit;
}
.gx-form textarea { min-height: 120px; border: 1px solid var(--gx-line); padding: 8px; background: var(--gx-card); }
.gx-form button {
  justify-self: start;
  margin-top: 8px;
  background: var(--gx-rail);
  color: #fff;
  border: 0;
  padding: 9px 16px;
  font: inherit;
  cursor: pointer;
}
.gx-hp { position: absolute; left: -9999px; }
.gx-note { background: #ebe6dc; padding: 10px 12px; }

.gx-sign { margin: 22px 0 0; font-size: 13px; color: var(--gx-muted); border-top: 1px dashed var(--gx-line); padding-top: 10px; }

@media (max-width: 860px) {
  .gx-shell, .gx-hero, .gx-split, .gx-strip { display: block; }
  .gx-rail { padding-bottom: 16px; }
  .gx-nav { flex-direction: row; flex-wrap: wrap; }
  .gx-nav-a { border-left: 0; border-bottom: 2px solid transparent; }
  .gx-nav-a.gx-here { border-bottom-color: var(--gx-rust); }
  .gx-hero img, .gx-strip img { height: 180px; }
  .gx-strip a { display: block; margin-bottom: 8px; }
  .gx-main, .gx-foot { padding-left: 18px; padding-right: 18px; }
}
