/* rumo.css embedded — single-file preview, no dependencies */
:root {
  --paper:      #EBF0ED;
  --paper-deep: #DDE6E0;
  --ink:        #182826;
  --ink-soft:   #44524F;
  --route:      #BE2A6B;
  --route-deep: #9A2157;
  --route-dark: #7E1B47;
  --sea:        #2E6E5E;
  --hairline:   rgba(24, 40, 38, 0.18);

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body:    "Source Serif 4", Georgia, serif;
  --mono:    "Spline Sans Mono", ui-monospace, monospace;

  --text-xs:  0.8rem;
  --text-sm:  0.9rem;
  --text-md:  1.0625rem;
  --text-lg:  clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --text-xl:  clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --text-2xl: clamp(2.1rem, 1.6rem + 2.6vw, 3.5rem);

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem;  --s6: 4.5rem; --s7: 7rem;

  --radius: 4px;
  --measure: 64ch;
  --page-max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--s3); }
p, ul, ol { max-width: var(--measure); }

a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--route); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--route); color: var(--paper); }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s2);
  text-wrap: balance;
}
h1 { font-size: var(--text-2xl); font-variation-settings: "opsz" 96; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s1);
}
.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-soft); }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7em 1.4em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}
.btn-primary { background: var(--route-deep); color: var(--paper); }
.btn-primary:hover { background: var(--route-dark); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.card { background: var(--paper-deep); border: 1px solid var(--hairline); border-radius: var(--radius); padding: var(--s4); }
.card h3 { margin-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--s5) 0; }

.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route > li:not(:last-child)::after {
  content: ""; position: absolute; left: 10px; top: 20px; bottom: -4px;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom,
    var(--route) 0, var(--route) 6px, transparent 6px, transparent 12px);
}
.route > li { position: relative; padding: 0 0 var(--s4) var(--s5); }
.route > li:last-child { padding-bottom: 0; }
.route > li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--route);
}
.route > li:last-child::before { background: var(--route); }
.route .waypoint {
  font-family: var(--mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--route);
  display: block; margin-bottom: 2px;
}
.route h3 { margin-bottom: var(--s1); }
.route p { margin: 0; color: var(--ink-soft); }

.lang-switch { position: relative; font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.lang-switch summary {
  list-style: none; cursor: pointer; color: var(--ink); padding: 0.5rem 0.25rem;
  display: inline-block; user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { color: var(--route-deep); }
.lang-switch .chev { font-size: 0.7em; color: var(--ink-soft); }
.lang-switch[open] .chev { display: inline-block; transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: 100%; z-index: 10;
  margin: 0.25rem 0 0; padding: 0.4rem 0; list-style: none;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(24, 40, 38, 0.10);
  min-width: 10.5rem;
}
.lang-menu a {
  display: block; padding: 0.55rem 1rem; color: var(--ink-soft);
  text-decoration: none; text-transform: none; letter-spacing: 0.02em;
}
.lang-menu a:hover { background: var(--paper-deep); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--ink); border-left: 2px solid var(--route); padding-left: calc(1rem - 2px); }
@media (max-width: 600px) {
  .route > li { padding-left: 2.25rem; }
}

/* Page layout */
.site-header { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s3) 0; }
.header-right { display: flex; align-items: baseline; gap: var(--s4); }
.site-nav { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.06em; }
.site-nav a { color: var(--ink-soft); text-decoration: none; margin-left: var(--s2); padding: 0.5rem 0.25rem; display: inline-block; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .site-nav { display: none; } }
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
}
.hero { padding: var(--s6) 0 var(--s5); }
.hero .actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2); }
.hero-note {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: var(--s4) 0 0;
}
.hero-note span { white-space: nowrap; }
@media (min-width: 600px) { .hero-note { white-space: nowrap; } }
section.block { padding: var(--s5) 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s6); margin-top: var(--s4); }
.problems > div { border-top: 1px solid var(--hairline); padding: var(--s4) 0 var(--s5); }
.problems h3 { font-size: var(--text-lg); margin-bottom: var(--s2); }
.problems p { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) { .problems { grid-template-columns: 1fr; } .problems > div { padding: var(--s3) 0 var(--s4); } }
.bridge {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 26ch;
  margin: var(--s5) 0 0;
  text-wrap: balance;
}
.site-footer { padding: var(--s5) 0 var(--s6); font-size: var(--text-sm); color: var(--ink-soft); }
.site-footer nav a { margin-right: var(--s3); }
