/* Static pages (business types, case studies, blog): the same brand as the home page, in plain CSS. */
:root {
  /* Keyboard focus: cobalt on light surfaces, gold on the dark bands (DESIGN.md). */
  --focus: var(--cobalt);
  --cobalt: #2e27b5;
  --cobalt-dk: #1a1666;
  --cobalt-xlt: #eeedf9;
  --gold: #e8a020;
  --gold-lt: #fbf0d8;
  --ink: #0d0b2e;
  --gray: #5c5a7e;
  --light: #f6f5fc;
  --border: #dedcf2;
  --flag: #6b63f0;
  --white: #fff;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --bar: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
  --shadow: 0 1px 2px rgb(13 11 46 / 0.06), 0 8px 24px rgb(13 11 46 / 0.06);
}

.plan.featured,
.cta-inner,
.foot {
  --focus: var(--gold);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--cobalt);
}
::selection {
  background: var(--gold-lt);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}
.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip:focus-visible {
  transform: none;
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.bar {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 20px var(--serif);
  white-space: nowrap;
  margin-right: auto;
}
.brand .mark {
  width: 34px;
  color: var(--cobalt);
}
.brand.light {
  color: #fff;
}
.brand.light .mark {
  color: #fff;
}
.links {
  display: flex;
  gap: 22px;
}
.links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}
.links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  scale: 0.97;
}
/* The one gold action: a warm glow beneath, a 2px lift and a stronger glow on hover. */
.btn.gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 28px rgb(232 160 32 / 0.3);
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(232 160 32 / 0.42);
}
/* The header's booking link: always there, never gold, so the page's own action keeps the one gold. */
.btn.cobalt {
  background: var(--cobalt);
  color: #fff;
}
.btn.cobalt:hover {
  background: var(--cobalt-dk);
}
.btn.ghost {
  color: var(--cobalt);
  padding-inline: 8px;
}
.btn.small {
  padding: 10px 18px;
  font-size: 15px;
}
.lang {
  font: 500 13px var(--mono);
  color: var(--gray);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang:hover {
  color: var(--ink);
  border-color: var(--cobalt);
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 6px;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.menu nav {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgb(13 11 46 / 0.18);
}
.menu nav a:not(.btn) {
  padding: 10px 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.menu nav .btn {
  margin-top: 8px;
}
@media (max-width: 960px) {
  .links,
  .bar > .btn,
  .bar > .lang {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* ---------- Page hero ---------- */
.hero {
  background: var(--light);
  padding-block: 72px 64px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
}
.hero h1 {
  font: 600 clamp(36px, 5.2vw, 60px)/1.06 var(--serif);
  letter-spacing: -0.02em;
  max-width: 16em;
  text-wrap: balance;
}
.hero h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.hero .lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--gray);
  max-width: 38em;
}
.hero .actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero .points {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--gray);
}
.hero .points li::before {
  content: '✓ ';
  color: var(--cobalt);
  font-weight: 700;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font: 400 13px var(--mono);
  color: var(--gray);
}
.crumbs a {
  color: var(--gray);
  /* A 44px-tall tap area without changing the line. */
  padding-block: 15px;
  margin-block: -15px;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 80px;
}
.section.alt {
  background: var(--light);
}
.section h2 {
  font: 600 clamp(28px, 3.4vw, 42px)/1.12 var(--serif);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  text-wrap: balance;
}
/* A heading for a short list (other business types, related posts): the same voice, one step down. */
.section h2.sub {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section .intro {
  color: var(--gray);
  font-size: 18px;
  max-width: 40em;
  margin-bottom: 36px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card h3::before {
  content: '';
  width: 16px;
  height: 10px;
  background: var(--gold);
  clip-path: var(--bar);
  flex: none;
}
.card p {
  color: var(--gray);
  font-size: 15.5px;
}
.why {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: why;
}
.why li {
  list-style: none;
}
.why strong {
  display: block;
  font: 600 21px/1.2 var(--serif);
  margin-bottom: 8px;
}
.why p {
  color: var(--gray);
  font-size: 16px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  display: grid;
  gap: 6px;
  align-content: start;
}
.plan.featured {
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dk));
  color: #fff;
  border-color: transparent;
}
.plan h3 {
  font: 600 22px var(--serif);
}
.plan .price {
  font: 700 28px var(--serif);
}
.plan .price small {
  font: 500 14px var(--sans);
  color: var(--gray);
  margin-right: 4px;
}
.plan p {
  font-size: 15px;
  color: var(--gray);
}
.plan.featured p {
  color: rgb(255 255 255 / 0.8);
}
.plan.featured .price small {
  color: rgb(255 255 255 / 0.85);
}
.note {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--gray);
}
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--cobalt);
  font-size: 22px;
  line-height: 1;
  transition: rotate 0.2s ease;
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq details p {
  color: var(--gray);
  padding-bottom: 16px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  background: #fff;
}
.related a:hover {
  border-color: var(--cobalt);
}

/* ---------- Booking band ---------- */
.cta-band {
  padding-block: 24px 88px;
}
.cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 28px;
  background: var(--cobalt-dk);
  color: #fff;
  max-width: 1072px;
}
.cta-inner > div:not(.stripes) {
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font: 600 clamp(28px, 3.4vw, 42px)/1.1 var(--serif);
  margin-bottom: 10px;
}
.cta-inner h2 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.cta-inner p {
  color: rgb(255 255 255 / 0.78);
  max-width: 34em;
}
.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.cta-actions .plain {
  color: rgb(255 255 255 / 0.75);
  font-size: 14px;
}
.stripes {
  position: absolute;
  right: -60px;
  top: -40px;
  bottom: -40px;
  width: 360px;
  display: flex;
  gap: 26px;
  opacity: 0.14;
  pointer-events: none;
}
.stripes i {
  flex: 1;
  background: var(--flag);
  transform: skewX(-31deg);
}

/* ---------- Case studies ---------- */
.shots {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
}
.browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(13 11 46 / 0.16);
  background: #fff;
}
.browser .bar2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f3f3f7;
  border-bottom: 1px solid var(--border);
}
.browser .dots {
  display: flex;
  gap: 5px;
}
.browser .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6159;
}
.browser .dots i:nth-child(2) {
  background: #ffbd2e;
}
.browser .dots i:nth-child(3) {
  background: #28c941;
}
.browser .addr {
  flex: 1;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  font: 400 12px var(--mono);
  color: var(--gray);
}
.browser .view {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.browser .view img {
  width: 100%;
}
.phone {
  border-radius: 30px;
  padding: 7px;
  background: var(--ink);
  box-shadow: 0 24px 60px rgb(13 11 46 / 0.22);
  max-width: 260px;
  justify-self: center;
}
.phone .view {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: #fff;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.facts div {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.facts dt {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}

/* ---------- Blog ---------- */
.posts {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.post-card time,
.post-meta {
  font: 400 13px var(--mono);
  color: var(--gray);
}
.post-card h2,
.post-card h3 {
  font: 600 22px/1.2 var(--serif);
  margin: 0;
}
.post-card p {
  color: var(--gray);
  font-size: 15.5px;
}
.post-card .more {
  color: var(--cobalt);
  font-weight: 600;
  font-size: 15px;
}
.article {
  padding-block: 56px 40px;
}
.prose {
  max-width: 700px;
  margin: 0 auto;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font: 600 28px/1.2 var(--serif);
  margin-top: 1.8em;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 19px;
  margin-top: 1.4em;
}
.prose p,
.prose li {
  color: #2b2950;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose strong {
  color: var(--ink);
}
.prose .tip {
  background: var(--gold-lt);
  border-radius: 14px;
  padding: 18px 20px;
}
.prose .tip strong:first-child {
  display: block;
  margin-bottom: 4px;
}
/* In Markdown posts, a quote block is a tip box; its first bold line is the tip's title. */
.prose blockquote {
  margin: 28px 0;
  background: var(--gold-lt);
  border-radius: 14px;
  padding: 18px 20px;
}
.prose blockquote p {
  margin: 0;
}
.prose blockquote p + p {
  margin-top: 8px;
}
.prose blockquote > p:first-child > strong:first-child {
  display: block;
  margin-bottom: 4px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.byline .mark {
  width: 38px;
  color: var(--cobalt);
}
.byline b {
  display: block;
}
.byline small {
  color: var(--gray);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: rgb(255 255 255 / 0.7);
  padding-top: 64px;
}
.foot .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 44px;
}
.foot .about p {
  margin-top: 14px;
  font-size: 15px;
  max-width: 320px;
}
.foot h2 {
  color: #fff;
  font: 600 16px var(--sans);
  margin-bottom: 14px;
}
.foot ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 15px;
}
.foot a {
  color: rgb(255 255 255 / 0.7);
  text-decoration: none;
}
.foot a:hover {
  color: #fff;
}
.foot .legal {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

@media (max-width: 880px) {
  .hero {
    padding-block: 48px 44px;
  }
  .section {
    padding-block: 60px;
  }
  .grid3,
  .grid2,
  .why,
  .plans,
  .posts,
  .facts {
    grid-template-columns: 1fr;
  }
  .shots {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    padding: 36px 26px;
    border-radius: 22px;
  }
  .stripes {
    width: 220px;
    gap: 16px;
  }
  .foot .cols {
    grid-template-columns: 1fr 1fr;
  }
  .foot .about {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- Design brief questionnaire (/cuestionario/) ---------- */
.qz {
  padding-block: 48px 80px;
  background: var(--light);
}
.qz-inner {
  max-width: 720px;
  display: grid;
  gap: 18px;
}
.qz h1 {
  font: 600 clamp(30px, 5vw, 44px)/1.12 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.qz h1 em {
  font-style: italic;
  color: var(--cobalt);
  font-weight: 400;
}
.qz .lede {
  color: var(--gray);
  max-width: 62ch;
}
.qz-progress {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.qz-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .qz-progress i {
    transition: none;
  }
}
#qz {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.qz-step {
  display: grid;
  gap: 22px;
  scroll-margin-top: 96px;
}
.qz-step[hidden],
.qz [hidden] {
  display: none;
}
.qz-step h2 {
  font: 600 26px/1.2 var(--serif);
  outline: none;
}
.qz-count {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: -14px;
}
.qz .q {
  display: grid;
  gap: 6px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.qz .q > label,
.qz legend {
  font-weight: 600;
  line-height: 1.4;
  padding: 0;
}
.qz .req {
  color: var(--cobalt);
}
.qz .hint {
  color: var(--gray);
  font-size: 15px;
}
.qz input[type='text'],
.qz textarea {
  width: 100%;
  font: 17px/1.5 var(--sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.qz textarea {
  resize: vertical;
  min-height: 96px;
}
.qz input[type='text']:focus,
.qz textarea:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
  border-color: var(--cobalt);
}
.qz .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.qz .chip {
  position: relative;
}
.qz .chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.qz .chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  background: var(--white);
}
.qz .chip input:checked + span {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}
.qz .chip input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.qz .other {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray);
}
.qz .err {
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
}
.qz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.qz-nav /* The header's booking link: always there, never gold, so the page's own action keeps the one gold. */
.btn.cobalt {
  background: var(--cobalt);
  color: #fff;
}
.btn.cobalt:hover {
  background: var(--cobalt-dk);
}
.btn.ghost {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.qz-nav .btn.gold {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.qz-send {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.qz .btn.off {
  opacity: 0.45;
  pointer-events: none;
}
.qz-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 15px/1.55 var(--sans);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  max-height: 420px;
  overflow-y: auto;
  margin: 0;
}
.qz-missing {
  background: #fde7e4;
  color: #7a1a12;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
}
.qz-missing ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.qz .linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}
.qz-saved {
  font-size: 13px;
}
@media (max-width: 520px) {
  #qz {
    padding: 22px 16px;
  }
  .qz-nav .btn.gold {
    flex: 1;
  }
}

/* ---------- Privacy and page not found (site/legal-pages.ts) ---------- */
.hero .updated {
  margin-top: 14px;
  color: var(--gray);
  font-size: 15px;
}
.not-found .in-english {
  margin-top: 28px;
  color: var(--gray);
  font-size: 15px;
}

/* ---------- A Customer's road (business-type pages, site/content/roads.ts) ---------- */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.road-section {
  padding-block: clamp(64px, 10vh, 112px);
  background:
    linear-gradient(90deg, rgb(222 220 242 / 0.4) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgb(222 220 242 / 0.4) 1px, transparent 1px) 0 0 / 64px 64px,
    #f1f0f8;
}
.road-section h2 {
  font: 400 clamp(32px, 4.4vw, 52px) / 1.05 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 18em;
}
.road-section h2 em {
  font-style: italic;
  color: var(--cobalt);
}
.rd {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 24px;
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}
/* The road: travelled end to end, pin to flag. */
.rd::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 20px;
  top: 30px;
  height: 4px;
  border-radius: 2px;
  background: var(--cobalt);
}
.rd li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
}
.rd-pin {
  width: 32px;
  height: 40px;
  overflow: visible;
  filter: drop-shadow(0 6px 8px rgb(13 11 46 / 0.22));
}
.rd-pin > path {
  fill: #5e8f1f;
}
.rd-pin text {
  font: italic 26px var(--serif);
  fill: #fff;
  text-anchor: middle;
}
.rd-mark circle {
  fill: #fff;
}
.rd-mark path {
  fill: none;
  stroke: #5e8f1f;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rd-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}
.rd h3 {
  font: 400 21px / 1.25 var(--serif);
  color: var(--ink);
}
.rd-mine {
  font-size: 15px;
  line-height: 1.45;
  color: var(--gray);
}
.rd-end {
  justify-items: center;
}
.rd-flag {
  width: 32px;
  height: 43px;
  margin-top: -4px;
}
.rd-pole {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
}
.rd-cloth {
  fill: var(--gold);
}
.rd-arrive {
  font: italic 400 19px var(--serif);
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .rd {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 48px;
  }
  .rd::before {
    left: 14px;
    right: auto;
    top: 20px;
    bottom: 40px;
    width: 4px;
    height: auto;
  }
  .rd-pin,
  .rd-flag {
    position: absolute;
    left: -48px;
    top: 0;
  }
  .rd-end {
    justify-items: start;
    min-height: 44px;
  }
}
