/* ===================================================================
   Climbing theme: "Crag Line". Loaded after main.css on climbing.thegearsports.com only.
   Chalk-white paper and sandstone rust, granite-grey tables, a sandstone hero
   with diagonal strata and chalk marks, a line of bolt hangers along its base,
   and hanger-shaped card markers.
   =================================================================== */
html:root {
  --paper:       #faf7f2;
  --paper-2:     #f1eadf;
  --ink:         #23180f;
  --ink-soft:    #4d3f33;
  --ink-faint:   #6b5c4f;
  --line:        #e2d6c6;
  --accent:      #9a4f12;
  --accent-deep: #7a3d0c;
  --accent-soft: #f6e6d6;
  --white:       #ffffff;
  --granite:     #3d4247;
  --rope:        #d9a21b;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body:    'Atkinson Hyperlegible', system-ui, sans-serif;
  --radius:  8px;
}
html:root[data-theme="dark"] {
  --paper:       #16110d;
  --paper-2:     #1f1813;
  --ink:         #f3ece3;
  --ink-soft:    #d2c5b6;
  --ink-faint:   #a8998a;
  --line:        #3a2f26;
  --accent:      #f0a868;
  --accent-deep: #f6c191;
  --accent-soft: #2c1d12;
  --white:       #1f1813;
}

body { font-size: 1.05rem; }
body::before { display: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.015em; }
h1 { line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
.eyebrow { color: var(--accent); font-family: var(--body); font-weight: 700; letter-spacing: .14em; }

/* Nav: granite with a rope-yellow line */
.nav { background: var(--granite); border-bottom: 3px solid var(--rope); backdrop-filter: none; }
html[data-theme="dark"] .nav { background: #202427; }
.brand { color: #faf7f2; white-space: nowrap; }
.brand .rev { color: #f0b077; }
.brand__mark { background: var(--rope); color: #23180f; }
.brand__sub { color: #c9c3bb; }
.nav__links a { color: #faf7f2; font-weight: 700; font-size: .93rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #f0b077; }
.nav__cta { background: var(--rope); color: #23180f !important; }
.nav__cta:hover { background: #faf7f2; color: var(--granite) !important; }
.nav__toggle span { background: #faf7f2; }
.nav .iconbtn { background: transparent; border-color: #5a6066; color: #faf7f2; }
.nav .iconbtn:hover { color: #f0b077; border-color: #f0b077; }
@media (max-width: 1120px) {
  .nav__links { background: var(--granite); border-bottom-color: #5a6066; }
  .nav__links a { border-bottom-color: #4b5056; }
}

/* Hero: sandstone with diagonal strata and chalk marks, a bolt line at the base */
.hero {
  background-color: #b5651d; color: #fffaf3;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.16) 0 6px, transparent 7px),
    radial-gradient(circle at 23% 34%, rgba(255,255,255,.12) 0 4px, transparent 5px),
    radial-gradient(circle at 71% 22%, rgba(255,255,255,.14) 0 5px, transparent 6px),
    repeating-linear-gradient(-18deg, rgba(0,0,0,.07) 0 3px, transparent 3px 34px),
    repeating-linear-gradient(-18deg, rgba(255,255,255,.05) 0 1px, transparent 1px 13px),
    linear-gradient(160deg, #c47a34 0%, #a85a1b 55%, #8a4513 100%);
  padding-bottom: calc(clamp(2.5rem,6vw,4rem) + 28px);
}
html[data-theme="dark"] .hero { background-color: #5a2f10;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.08) 0 6px, transparent 7px),
    radial-gradient(circle at 71% 22%, rgba(255,255,255,.07) 0 5px, transparent 6px),
    repeating-linear-gradient(-18deg, rgba(0,0,0,.12) 0 3px, transparent 3px 34px),
    linear-gradient(160deg, #6e3a14 0%, #4f290d 55%, #331a08 100%); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: auto;
  width: auto; height: 28px; aspect-ratio: auto; transform: none; border-radius: 0; opacity: 1; filter: none;
  background:
    radial-gradient(circle at center, #d9dde1 0 5px, #6b7177 5px 7px, transparent 7.5px) center / 96px 28px repeat-x,
    var(--granite);
  border-top: 3px solid var(--rope);
}
.hero h1 { color: #fffaf3; }
.hero h1 .spin { color: #ffe08a; }
.hero h1 .hero__brand { color: #ffe08a; font-family: var(--body); font-weight: 700; font-size: .2em; letter-spacing: .24em; text-transform: uppercase; }
.hero .lede { color: #fff1e2; }
.hero .eyebrow { color: #ffe08a; }
.hero .btn--solid { background: var(--granite); border-color: var(--granite); color: #fffaf3; }
.hero .btn--solid:hover { background: #fffaf3; border-color: #fffaf3; color: var(--granite); }
.hero .btn--ghost { border-color: #fffaf3; color: #fffaf3; }

.btn { font-weight: 700; }

/* Cards: bolt-hanger markers */
.card::before { display: none; }
.card:hover { border-color: var(--accent); }
a.card > .card__num { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 40% 40% 50% 50%;
  background: var(--granite); color: #fffaf3; font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1; }
html[data-theme="dark"] a.card > .card__num { background: #5a6066; }
.card__tag { color: var(--accent); font-weight: 700; }

/* Section headings: a rope-yellow tick */
.shead { border-bottom: 2px solid var(--line); }
.shead h2::before { content: ""; display: inline-block; width: .35em; height: .9em; margin-right: .45em; border-radius: 3px;
  background: var(--rope); vertical-align: -.08em; }

/* Callouts: chalk-white with a rust edge; Get instruction must be seen */
.callout { background: var(--accent-soft); border: 0; border-left: 4px solid var(--accent); }

/* Tables: granite headers */
.facts thead th { background: var(--granite); color: #fffaf3; border-bottom: 3px solid var(--rope); letter-spacing: .03em; }
html[data-theme="dark"] .facts thead th { background: #2a2e32; }
.facts tbody tr:nth-child(even) td { background: #fcfaf6; }
html[data-theme="dark"] .facts tbody tr:nth-child(even) td { background: #1b1510; }

/* Gear box: a rope-coloured sling around the box */
.gearline { background: var(--white); border: 2px solid var(--accent); border-bottom: 6px solid var(--rope); }
html[data-theme="dark"] .gearline { border-color: #5a4636; border-bottom-color: var(--rope); }
.gearline__t { color: var(--granite); }
html[data-theme="dark"] .gearline__t { color: #f3ece3; }
.gearline a.btn { background: var(--accent); border-color: var(--accent); color: #fff; }
html[data-theme="dark"] .gearline a.btn { color: #16110d; }

.footer { background: #2a2e32; border-top: 3px solid var(--rope); }
.footer, .footer a, .footer__bottom a { color: #ece6de; }
.footer__brand .rev { color: #f0b077; }
.footer h4 { color: #f0b077; }

.pick__cta .btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick__cta .btn--solid:hover { background: var(--granite); border-color: var(--granite); }
html[data-theme="dark"] .pick__cta .btn--solid { color: #16110d; }
