/* Range Road Digital · survey-grid design system */

:root {
  --paper: #FAF7F1;
  --paper-warm: #F4EFE5;
  --surface: #FFFFFF;
  --ink: #16283A;
  --ink-deep: #0C1C2E;
  --body: #3D4E5E;
  --muted: #6B7A88;
  --sky: #35618E;
  --sky-light: #E8EFF5;
  --gold: #B3282D;
  --gold-deep: #93191E;
  --gold-soft: #F7E3E1;
  --line: #E3DCCC;
  --line-soft: #ECE6D8;
  --panel: #6E1418;
  --panel-ink: #F6E8E2;
  --panel-muted: #E4BDB8;
  --radius: 2px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(12, 28, 46, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(12, 28, 46, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(12, 28, 46, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ink-deep); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink-deep); line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); font-weight: 620; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.28rem; font-weight: 600; }
p { margin-bottom: 1rem; text-align: justify; text-align-last: left; -webkit-hyphens: auto; hyphens: auto; }
.faq .a { text-align: justify; text-align-last: left; -webkit-hyphens: auto; hyphens: auto; }
h1, h2, h3, .statement, .quote, .lede { text-align: left; -webkit-hyphens: none; hyphens: none; }
a { color: var(--sky); }

a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* section eyebrow: survey-coordinate style */
.coord {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ header ============ */
header.site {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
header.site::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 34%, var(--ink-deep) 34%, var(--ink-deep) 100%);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { display: block; }
.brand-name {
  font-family: var(--display); font-weight: 640; font-size: 1.22rem; color: var(--ink-deep);
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block; font-family: var(--sans); font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-top: 1px;
}
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a { text-decoration: none; color: var(--ink); font-size: 0.94rem; font-weight: 550; position: relative; }
nav.links a:not(.cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
nav.links a:not(.cta):hover::after { transform: scaleX(1); }
nav.links a.cta {
  background: var(--ink-deep); color: #fff; border-radius: var(--radius);
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  transition: background .2s ease, transform .2s ease;
}
nav.links a.cta:hover { background: var(--sky); transform: translateY(-1px); }

/* ============ hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250,247,241,0) 55%, var(--paper) 96%),
    repeating-linear-gradient(0deg, transparent 0 95px, rgba(22,40,58,0.045) 95px 96px),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(22,40,58,0.045) 95px 96px),
    linear-gradient(180deg, #F3EEE2 0%, var(--paper) 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.hero h1 { margin: 18px 0 26px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.hero .lede { font-size: 1.18rem; color: var(--body); max-width: 33em; margin-bottom: 36px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.badge {
  font-size: 0.8rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 3px; box-shadow: var(--shadow-sm);
}
.badge b { color: var(--gold-deep); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-weight: 620; font-size: 1rem;
  height: 52px; padding: 0 28px; border-radius: var(--radius); white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ink-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-md); }
.btn-gold:hover { background: #C4353B; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--ink-deep); color: var(--ink-deep); background: transparent; }
.btn-ghost:hover { background: var(--ink-deep); color: #fff; }

/* hero map panel */
.map-panel {
  position: relative; border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  background: var(--surface); transform: rotate(0.6deg);
}
.map-panel svg { display: block; width: 100%; height: auto; }
.map-cap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-top: 1px solid var(--line-soft);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.map-cap b { color: var(--gold-deep); }

@keyframes roadDash { to { stroke-dashoffset: -26; } }
.map-panel .route { animation: roadDash 2.2s linear infinite; }
@keyframes pinPulse { 0%,100% { opacity: .25; transform: scale(1);} 50% { opacity: .9; transform: scale(1.35);} }
.map-panel .pulse { transform-origin: center; transform-box: fill-box; animation: pinPulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .map-panel .route, .map-panel .pulse { animation: none; } }

/* ============ stat band ============ */
.stats { background: var(--panel); color: #fff; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 28px;
}
.stat { border-left: 2px solid rgba(255,255,255,0.3); padding-left: 22px; }
.stat .n { font-family: var(--mono); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; color: #FFF3EC; line-height: 1.05; letter-spacing: -0.02em; }
.stat .l { font-size: 0.92rem; color: var(--panel-muted); margin-top: 6px; max-width: 22em; }

/* ============ sections ============ */
section.block { padding: 64px 0; }
section.block.tight { padding: 48px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 16px 0 0; max-width: 46em; }

/* problem: editorial split */
.editorial { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.editorial .statement {
  font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 560;
  line-height: 1.28; color: var(--ink-deep); letter-spacing: -0.01em; margin: 0;
}
.editorial .statement em { color: var(--gold-deep); font-style: italic; }
.editorial .body { padding-top: 0.55em; }  /* first body line meets the statement's first line, not its cap height */
.editorial .body p { color: var(--body); margin: 0; }
.editorial .body p + p { margin-top: 14px; }

/* ============ services grid ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); padding: 8px; }
.svc-cell {
  background: var(--panel); padding: 34px 30px 30px; display: flex; flex-direction: column;
  min-height: 260px; text-decoration: none; position: relative;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .25s ease, border-color .25s ease;
}
.svc-cell:hover { background: #fff; border-color: var(--gold); }
.svc-cell h3 { margin-bottom: 10px; color: #fff; transition: color .2s ease; }
.svc-cell:hover h3 { color: var(--gold-deep); }
.svc-cell p { color: var(--panel-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; transition: color .25s ease; }
.svc-cell:hover p { color: #A0494D; }
.svc-cell .foot {
  margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 0.92rem; color: #fff; transition: color .25s ease;
}
.svc-cell .foot span:first-child { font-family: var(--mono); }
.svc-cell:hover .foot { color: var(--gold-deep); }
.svc-cell .foot .go { color: var(--panel-ink); transition: transform .2s ease, color .25s ease; font-size: 1.05rem; }
.svc-cell:hover .foot .go { transform: translateX(5px); color: var(--gold-deep); }

/* ============ case studies ============ */
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-md); }
.case + .case { margin-top: 32px; }
.case.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.case .art { position: relative; min-height: 300px; }
.case .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case .txt { padding: 32px 40px; display: flex; flex-direction: column; justify-content: center; }
.case .tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--gold-soft); padding: 5px 12px; border-radius: 3px; margin-bottom: 18px;
}
.case h3 { font-size: 1.65rem; margin-bottom: 12px; }
.case p { color: var(--body); margin-bottom: 18px; }
.case .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.case .chip { font-size: 0.8rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); padding: 5px 12px; border-radius: 3px; background: var(--paper); }

/* ============ timeline ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 25px; left: 3%; right: 3%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 12px, transparent 12px 22px);
  opacity: .6;
}
.tl-step { position: relative; padding-top: 62px; }
.tl-step .dot {
  position: absolute; top: 8px; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink-deep); color: var(--gold);
  font-family: var(--display); font-weight: 650; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--paper);
}
section.alt .tl-step .dot { box-shadow: 0 0 0 6px var(--surface); }
.tl-step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.tl-step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ============ dark band ============ */
.band {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(255,190,170,0.14), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 95px, rgba(255,255,255,0.035) 95px 96px),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(255,255,255,0.035) 95px 96px),
    var(--panel);
  color: #fff; padding: 72px 0;
}
.band .quote {
  font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 560;
  line-height: 1.16; letter-spacing: -0.015em; max-width: 21em; color: #F4EFE4;
}
.band .quote em { color: #FFCDBE; font-style: italic; }
.band .sub { color: var(--panel-muted); max-width: 40em; margin-top: 24px; font-size: 1.1rem; }
.band .btn-row { margin-top: 40px; }

/* offer card */
.offer {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 30px; align-items: center;
  background: linear-gradient(120deg, var(--gold-soft), #FAEDEA 60%, var(--gold-soft));
  border: 1px solid #E8C5C2; border-radius: 3px; padding: 40px 48px; box-shadow: var(--shadow-sm);
}
.offer h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.offer p { margin: 0; color: var(--body); }
.offer .btn { justify-self: end; }

/* ============ FAQ ============ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 24px 4px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink-deep);
  transition: color .2s ease;
}
.faq summary:hover { color: var(--sky); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.6rem; color: var(--gold-deep); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 26px; color: var(--body); max-width: 44em; }

/* ============ final CTA ============ */
.final { text-align: center; padding: 80px 0; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 18em; margin: 0 auto 18px; }
.final p { color: var(--muted); font-size: 1.14rem; max-width: 36em; margin: 0 auto 38px; }
.final .btn-row { justify-content: center; }
.final .mail { display: block; margin-top: 22px; font-size: 0.98rem; color: var(--muted); }

/* ============ footer ============ */
footer.site {
  background: var(--panel); color: var(--panel-muted); font-size: 0.92rem;
  border-top: 3px solid var(--ink-deep);
}
footer.site .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 40px 0 32px;
}
footer.site .fb { font-family: var(--display); color: #fff; font-size: 1.25rem; font-weight: 620; margin-bottom: 10px; }
footer.site p { margin: 0 0 6px; max-width: 30em; }
footer.site h4 { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: #D3A29E; margin-bottom: 14px; font-weight: 700; }
footer.site a { color: #F1D5D1; text-decoration: none; display: block; margin-bottom: 9px; }
footer.site a:hover { color: #fff; }
footer.site .base {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.84rem; color: #D3A29E;
}

/* ============ inner pages ============ */
.page-hero { padding: 48px 0 24px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 18px; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 42em; }

.prose { max-width: 46em; padding: 8px 0 64px; }
.prose h2 { margin: 46px 0 14px; font-size: 1.6rem; }
.prose ul { margin: 0 0 1rem 20px; }
.prose li { margin-bottom: 8px; }
.note {
  background: var(--gold-soft); border-left: 3px solid var(--gold);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 30px 0;
  font-size: 0.97rem;
}

/* service detail rows */
.svc { border-top: 1px solid var(--line); padding: 40px 0; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 36px; }
.svc:first-of-type { border-top: none; }
.svc h2 { margin: 0 0 12px; font-size: 1.7rem; }
.svc ul { margin: 12px 0 0 20px; color: var(--body); }
.svc li { margin-bottom: 7px; }
.svc .from { text-align: right; }
.svc .from .amt { font-family: var(--mono); font-size: 1.3rem; font-weight: 600; color: var(--gold-deep); white-space: nowrap; letter-spacing: -0.02em; }
.svc .from span { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 64px; }
  .map-panel { max-width: 560px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .editorial { grid-template-columns: 1fr; gap: 28px; }
  .case, .case.flip { grid-template-columns: 1fr; }
  .case .art { min-height: 220px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .timeline::before { display: none; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stats .wrap { grid-template-columns: 1fr; gap: 26px; }
  .svc-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; padding: 34px 30px; }
  .offer .btn { justify-self: start; }
  .svc { grid-template-columns: 1fr; gap: 12px; }
  .svc .from { text-align: left; }
  .svc .from .amt { font-size: 1.35rem; }
  nav.links { gap: 16px; }
  nav.links a:not(.cta) { display: none; }
  footer.site .cols { grid-template-columns: 1fr; gap: 30px; }
  section.block { padding: 48px 0; }
}

/* Canadian accents */
.leaf { color: #B3282D; flex-shrink: 0; }
.badge-leaf { display: inline-flex; align-items: center; gap: 7px; border-color: #E7C9C4; }
footer.site .made { display: inline-flex; align-items: center; gap: 7px; }
footer.site .made .leaf { color: var(--panel-ink); }

/* theme-follow for inline SVG artwork */
.map-panel [stroke="#C8922E"], .case .art [stroke="#C8922E"] { stroke: var(--gold); }
.map-panel [fill="#C8922E"], .case .art [fill="#C8922E"] { fill: var(--gold); }
.map-panel [stroke="#35618E"], .case .art [stroke="#35618E"] { stroke: var(--sky); }
.map-panel [fill="#35618E"], .case .art [fill="#35618E"] { fill: var(--sky); }
.map-panel [fill="#0C1C2E"], .case .art [fill="#0C1C2E"] { fill: var(--ink-deep); }
.map-panel [fill="#A3731D"] { fill: var(--gold-deep); }
.map-panel [stroke="#16283A"] { stroke: var(--ink); }

/* ============ problem finder ============ */
.finder-shell {
  background: var(--surface); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: var(--shadow-md); padding: 32px;
}
.finder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.symptom {
  display: flex; gap: 11px; align-items: flex-start; text-align: left;
  border: 1.5px solid var(--line); border-radius: 3px; background: var(--paper);
  padding: 14px 15px; cursor: pointer; font: inherit; font-size: 0.92rem; color: var(--body);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.symptom:hover { border-color: var(--gold); transform: translateY(-1px); }
.symptom.on { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
.symptom .box {
  flex-shrink: 0; width: 18px; height: 18px; border: 2px solid var(--muted); border-radius: 2px;
  margin-top: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: transparent; transition: all .18s ease;
}
.symptom.on .box { background: var(--gold); border-color: var(--gold); color: #fff; }
.finder-result { border-top: 1.5px dashed var(--line); padding-top: 24px; }
.finder-result .empty { color: var(--muted); font-size: 0.98rem; margin: 0; }
.fix-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.97rem;
}
.fix-row .svc-name { font-weight: 650; color: var(--ink-deep); }
.fix-row .why { color: var(--muted); font-size: 0.86rem; display: block; }
.fix-row .rng { font-family: var(--mono); font-weight: 600; font-size: 0.88rem; color: var(--gold-deep); white-space: nowrap; }
.finder-total {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 20px;
}
.finder-total .sum { font-size: 0.95rem; color: var(--body); }
.finder-total .sum b { font-family: var(--mono); font-size: 1.2rem; color: var(--ink-deep); letter-spacing: -0.02em; }
.finder-total .note-sm { display: block; font-size: 0.8rem; color: var(--muted); }

/* ============ module explorer ============ */
.explorer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.mod-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mod-tile {
  border: 1.5px solid var(--line); border-radius: 3px; background: var(--surface);
  padding: 14px 15px; cursor: pointer; font: inherit; text-align: left;
  transition: border-color .18s ease, background .18s ease;
}
.mod-tile:hover { border-color: var(--gold); }
.mod-tile.on { border-color: var(--gold); background: var(--gold-soft); }
.mod-tile .nm { font-weight: 650; color: var(--ink-deep); font-size: 0.94rem; line-height: 1.3; }
.mod-detail {
  border: 1px solid var(--line); border-radius: 3px; background: var(--surface);
  box-shadow: var(--shadow-md); padding: 30px 32px; position: sticky; top: 90px;
}
.mod-detail h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mod-detail .what { color: var(--body); margin-bottom: 18px; }
.mod-detail .yours {
  background: var(--sky-light); border-left: 3px solid var(--sky);
  padding: 14px 18px; border-radius: 0 3px 3px 0; font-size: 0.95rem; color: var(--ink);
}
.mod-detail .yours b { color: var(--sky); display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 5px; }

/* ============ case pages ============ */
.case-hero { padding: 50px 0 34px; }
.case-hero .tagline { font-size: 1.16rem; color: var(--muted); max-width: 40em; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case-meta .chip { font-size: 0.8rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); padding: 5px 12px; border-radius: 3px; background: var(--surface); }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 26px 24px; }
.story .panel h3 { font-size: 1.05rem; margin-bottom: 8px; }
.story .panel .coord { margin-bottom: 12px; }
.story .panel p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ============ shine ============ */
.btn-primary, .btn-gold { position: relative; overflow: hidden; }
.btn-primary::after, .btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
}
.btn-primary:hover::after, .btn-gold:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-gold::after { display: none; } }

@media (max-width: 960px) {
  .finder-grid { grid-template-columns: 1fr 1fr; }
  .explorer { grid-template-columns: 1fr; }
  .mod-detail { position: static; }
  .story { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .finder-grid { grid-template-columns: 1fr; }
  .finder-shell { padding: 26px 20px; }
  .mod-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-name small { display: none; }
  .brand-name { font-size: 1.08rem; }
}

/* ============ the road thread ============ */
body { position: relative; }
.road-thread { position: absolute; left: 0; width: 100%; z-index: 6; pointer-events: none; }
.road-thread svg { display: block; }
.rt-line {
  fill: none; stroke: #B3282D; stroke-width: 3; stroke-dasharray: 14 12;
  stroke-linejoin: round; opacity: 0.32;
  animation: roadDash 2.6s linear infinite;
}
.rt-line-white { stroke: #FAF7F1; opacity: 0.55; }
.rt-dot { fill: #B3282D; opacity: 0.4; }
.rt-end { fill: #B3282D; opacity: 0.75; }
.rt-traveler { fill: #B3282D; stroke: #FAF7F1; stroke-width: 2.5; }
main > * > .wrap, main.wrap > * { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .rt-line { animation: none; } }
@media (max-width: 700px) { .rt-line { stroke-width: 2.5; opacity: 0.26; } }
