:root {
  --ground: #EBF9ED;
  --ink: #283036;
  --blue: #2A7892;
  --blue-deep: #205D73;
  --support: #D1E0D2;
  --surface: #FFFFFF;
  --display: 'Trochut', Georgia, serif;
  --reading: 'Geologica', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--reading); font-size: 18px; font-weight: 350; line-height: 1.65; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg, [data-lucide] { flex: 0 0 auto; width: 20px; height: 20px; }
[data-lucide] { display: inline-block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { font-size: 58px; line-height: 1.08; }
h2 { font-size: 40px; line-height: 1.12; }
h3 { font-size: 29px; line-height: 1.2; }
p + p { margin-top: 20px; }
strong { font-weight: 600; }
.kerb-skip { position: absolute; z-index: 10; top: -100px; left: 18px; padding: 10px 16px; background: var(--ground); color: var(--ink); }
.kerb-skip:focus { top: 8px; }

/* A shallow recess, with the complete name between two outside pavements. */
.kerb-head { isolation: isolate; position: relative; display: grid; grid-template-columns: 18% 64% 18%; grid-template-rows: 92px 44px; height: 136px; max-width: 1376px; margin: 0 auto; background: var(--support); }
.kerb-head::before { content: ''; position: absolute; z-index: -1; left: 18%; right: 18%; top: 0; bottom: 44px; background: var(--ground); border-left: 2px solid var(--surface); border-right: 2px solid var(--surface); }
.kerb-head a { min-height: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
.kerb-head a:hover { background: var(--blue); color: var(--surface); }
.kerb-name { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; gap: .24em; font-family: var(--display); font-size: 50px; line-height: 1.05; padding: 8px 20px; }
.kerb-thymulin { grid-column: 1; grid-row: 1; }
.kerb-kpv { grid-column: 3; grid-row: 1; }
.kerb-compare { grid-column: 2; grid-row: 2; justify-self: center; padding: 0 30px; font-size: 16px; }
.kerb-thymulin, .kerb-kpv { align-self: start; padding: 22px 16px; gap: 12px; font-size: 17px; }
.kerb-head [aria-current='page'] { box-shadow: inset 0 -4px var(--blue); }
.kerb-head svg { width: 19px; height: 19px; }
.kerb-main { min-width: 0; }

/* The photograph reaches both edges. The pale sign is a stepped kerb, not a card. */
.home-ground { isolation: isolate; position: relative; min-height: 646px; padding: 40px max(48px, calc((100vw - 1280px) / 2)) 72px; }
.pavement-pair { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: var(--support); }
.pavement-scene { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.arrival-sign { isolation: isolate; position: relative; width: min(850px, 70%); margin-left: auto; padding: 34px 58px 48px 46px; }
.arrival-sign::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--ground); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 54px), calc(100% - 42px) calc(100% - 54px), calc(100% - 42px) 100%, 0 100%); }
.arrival-sign::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 12px; background: var(--blue); }
.home-ground h1 { max-width: 750px; font-size: 66px; line-height: 1.03; text-wrap: pretty; }
.owner-arrival { max-width: 590px; margin: 24px 0 0 46px; }
.owner-arrival p { font-size: 18px; line-height: 1.6; }
.owner-routes { display: flex; gap: 28px; margin-top: 22px; }
.owner-routes a { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 150px; min-height: 48px; padding: 9px 14px; background: var(--blue); color: var(--surface); text-decoration: none; font-size: 16px; box-shadow: 4px 4px 0 var(--support); }
.owner-routes a:hover { background: var(--blue-deep); box-shadow: 6px 6px 0 var(--support); }
.owner-routes a:focus-visible { outline-offset: 6px; }
.owner-routes svg { transition: transform 160ms ease; }
.owner-routes a:hover svg { transform: translateX(3px); }
.pavement-lip { position: absolute; bottom: -12px; left: 0; width: 30%; height: 24px; background: var(--blue); box-shadow: 24px 12px 0 var(--support); }

/* Broad passages leave and rejoin one narrow owner column. */
.crosswalk-run { padding: 70px 0 74px; }
.passage-stripe { position: relative; background: var(--surface); }
.passage-inside { position: relative; display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 48px; max-width: 1176px; margin: 0 auto; padding: 58px 28px 62px 132px; }
.passage-inside h2 { align-self: start; position: sticky; top: 26px; font-size: 42px; line-height: 1.1; }
.passage-prose { max-width: 640px; }
.passage-prose p { max-width: 65ch; }
.passage-number { position: absolute; left: 2px; top: 34px; font-family: var(--display); font-size: 106px; line-height: 1; color: var(--blue); }
.margin-crossing { position: absolute; left: 6px; bottom: 46px; width: 88px; display: grid; justify-items: start; gap: 11px; }
.margin-crossing span { display: block; height: 12px; width: 68px; background: var(--support); }
.margin-crossing span:nth-child(2) { width: 42px; height: 20px; background: var(--blue); }
.margin-crossing span:nth-child(3) { width: 88px; height: 10px; }
.passage-one { margin-right: 36px; border-right: 12px solid var(--blue); }
.passage-two { margin-left: 64px; background: var(--support); border-left: 12px solid var(--blue); }
.passage-two .passage-inside { padding-top: 80px; padding-bottom: 78px; }
.passage-two .passage-number { top: 58px; }
.passage-two .margin-crossing span:not(:nth-child(2)) { background: var(--surface); }
.passage-three { margin-right: 100px; border-right: 20px solid var(--blue); }
.passage-three .passage-inside { padding-top: 46px; padding-bottom: 54px; }
.owner-return { max-width: 434px; position: relative; margin: 0 auto; padding: 64px 0 92px; font-size: 19px; line-height: 1.7; }
.owner-return::before { content: ''; position: absolute; left: -38px; top: 72px; height: 44px; width: 9px; background: var(--blue); box-shadow: -15px 12px 0 var(--support); }
.owner-return.return-two { padding-top: 48px; padding-bottom: 64px; }
.owner-return.return-two::before { top: 56px; }

.reading-top { position: relative; max-width: 1104px; margin: 0 auto; padding: 34px 28px 28px 100px; }
.reading-top::before { content: ''; position: absolute; top: 42px; bottom: 35px; left: 50px; width: 12px; background: var(--blue); box-shadow: -16px 12px 0 var(--support); }
.reading-top h1 { max-width: 880px; text-wrap: pretty; }
.reading-top > p { max-width: 680px; margin-top: 17px; font-size: 18px; line-height: 1.6; }

/* The offer is open text above a shallow foot. Its card is never a link. */
.ramp-offer { isolation: isolate; position: relative; max-width: 1104px; margin: 0 auto 24px; min-height: 330px; }
.ramp-offer::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 92px; background: var(--support); z-index: -1; }
.ramp-reading { padding: 14px 318px 106px 28px; }
.ramp-reading h2 { margin-bottom: 8px; font-size: 29px; line-height: 1.15; }
.ramp-reading .ramp-address { margin: 0 0 12px; font-size: 16px; line-height: 22px; }
.ramp-reading .ramp-term { margin: 8px 0 0; font-size: 17px; line-height: 25px; }
.ramp-reading .ramp-disclosure { margin-top: 14px; font-size: 16px; line-height: 22px; max-width: 620px; }
.ramp-cut { position: absolute; bottom: 68px; left: 34%; height: 24px; width: 192px; background: var(--ground); clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 24px 100%); }
.ramp-card { position: absolute; bottom: 18px; right: 22px; width: 250px; height: 250px; object-fit: contain; background: var(--surface); }
.offer-question { max-width: 650px; padding: 0 0 34px; margin: 0 auto; }
.offer-question h2 { font-size: 26px; margin-bottom: 12px; }
.offer-question p { font-size: 17px; line-height: 1.65; }

/* Each inner-page photograph is a low crossing with an offset caption ledge. */
.page-photo { position: relative; max-width: 1280px; margin: 38px auto 72px; padding-left: 52px; }
.page-photo::before { content: ''; position: absolute; left: 0; top: 36px; bottom: 37px; width: 24px; background: var(--blue); }
.page-photo img { width: 100%; height: 228px; object-fit: cover; object-position: 50% 58%; background: var(--support); }
.page-photo figcaption { position: relative; z-index: 1; font-size: 16px; line-height: 1.5; padding: 14px 22px; max-width: 560px; margin: -20px 28px 0 auto; background: var(--ground); border-bottom: 8px solid var(--blue); box-shadow: 10px 10px 0 var(--support); }
.page-about .page-photo { max-width: 1104px; margin-right: max(48px, calc((100vw - 1240px) / 2)); }
.page-about .page-photo img { height: 280px; object-position: 50% 60%; }
.guide-passages { margin-top: 32px; padding-bottom: 60px; }
.kerb-next-wrap { max-width: 650px; margin: 0 auto 80px; }
.kerb-next { display: inline-flex; gap: 18px; align-items: center; min-height: 48px; font-size: 17px; padding: 9px 0; text-decoration: none; box-shadow: inset 0 -3px var(--blue); }
.kerb-next:hover { box-shadow: inset 0 -6px var(--blue); }

.source-onramp { width: min(100% - 36px, 650px); margin: 16px auto 58px; }
.source-group { position: relative; padding: 48px 28px 58px 132px; max-width: 1104px; margin: 0 auto; }
.source-ground { background: var(--surface); margin: 0 42px 32px 0; border-right: 12px solid var(--blue); }
.source-ground:nth-of-type(2) { margin: 0 0 32px 64px; border-right: 0; border-left: 12px solid var(--blue); }
.source-group .margin-crossing { top: 58px; bottom: auto; }
.source-group > h2 { margin-bottom: 32px; }
.source-entry { max-width: 790px; margin-top: 29px; padding-top: 24px; border-top: 2px solid var(--support); }
.source-entry h3 { font-family: var(--reading); font-size: 19px; font-weight: 500; line-height: 1.5; }
.source-entry h3 a { display: flex; align-items: start; gap: 12px; }
.source-entry h3 svg, .source-entry h3 [data-lucide] { margin-top: 5px; }
.source-entry .source-byline { font-size: 16px; line-height: 1.6; margin-top: 9px; }
.source-entry .source-reading { font-size: 17px; line-height: 1.65; margin-top: 9px; }
.source-coda { max-width: 650px; margin: 52px auto 78px; }
.kerb-footer { position: relative; margin: 0; padding: 44px max(28px, calc((100vw - 1104px) / 2)) 28px; background: var(--support); border-top: 14px solid var(--blue); }
.footer-reading { max-width: 650px; font-size: 18px; }
.footer-paths { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 24px 0 22px; }
.footer-paths a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 16px; color: var(--ink); }
.footer-paths a:hover { color: var(--blue-deep); }
.footer-paths svg { width: 18px; height: 18px; }
.kerb-copyright { font-size: 16px; }
.lost-ground { min-height: 520px; max-width: 820px; margin: 0 auto; padding: 65px 24px; }
.lost-ground p { margin-top: 24px; }

@media (max-width: 1199px) and (min-width: 901px) {
  .home-ground { padding-left: 28px; padding-right: 28px; }
  .arrival-sign { width: 75%; padding-right: 42px; padding-left: 36px; }
  .home-ground h1 { font-size: 58px; }
  .owner-arrival { margin-left: 14px; }
  .passage-inside { grid-template-columns: 225px minmax(0, 1fr); gap: 32px; padding-left: 110px; }
  .passage-inside h2 { font-size: 36px; }
  .passage-number { font-size: 88px; left: 12px; }
  .margin-crossing { left: 12px; width: 72px; }
  .margin-crossing span:nth-child(3) { width: 72px; }
  .passage-three { margin-right: 48px; }
}
@media (max-width: 900px) {
  body { font-size: 17px; line-height: 1.65; }
  .kerb-head { height: 148px; grid-template-columns: 1fr 1fr; grid-template-rows: 44px 60px 44px; margin: 0 18px; }
  .kerb-head::before { left: 0; right: 0; top: 44px; bottom: 44px; }
  .kerb-thymulin { grid-column: 1; grid-row: 1; }
  .kerb-kpv { grid-column: 2; grid-row: 1; }
  .kerb-thymulin, .kerb-kpv { align-self: stretch; padding: 0 14px; font-size: 16px; gap: 10px; }
  .kerb-name { grid-column: 1 / -1; grid-row: 2; display: block !important; text-align: center; padding: 0 16px; font-size: 30px; line-height: 29px; }
  .kerb-name span { display: block; }
  .kerb-compare { grid-column: 1 / -1; grid-row: 3; font-size: 16px; padding: 0 22px; }
  h1 { font-size: 39px; line-height: 1.08; }
  h2 { font-size: 33px; line-height: 1.12; }
  h3 { font-size: 26px; }
  .home-ground { min-height: 0; display: flex; flex-direction: column; padding: 24px 18px 0; }
  .arrival-sign { width: 100%; max-width: 650px; margin: 0 auto; padding: 0 22px 28px; }
  .arrival-sign::after { width: 7px; }
  .arrival-sign::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 20px) calc(100% - 32px), calc(100% - 20px) 100%, 0 100%); }
  .home-ground h1 { font-size: 42px; line-height: 1.06; max-width: 650px; }
  .owner-arrival { width: 100%; max-width: 480px; margin: 18px 0 0; }
  .owner-arrival p { font-size: 17px; line-height: 1.55; }
  .owner-routes { gap: 16px; margin-top: 18px; }
  .owner-routes a { flex: 1; min-width: 0; max-width: 180px; min-height: 46px; padding: 8px 12px; font-size: 16px; gap: 14px; }
  .pavement-pair { position: relative; z-index: 0; inset: auto; width: 100%; height: 190px; margin: 14px 0 0; }
  .pavement-scene { object-position: 50% 65%; }
  .pavement-lip { display: none; }
  .crosswalk-run { padding: 42px 0; }
  .passage-stripe, .passage-one, .passage-two, .passage-three { margin-left: 18px; margin-right: 18px; border: 0; }
  .passage-inside, .passage-two .passage-inside, .passage-three .passage-inside { display: block; padding: 32px 24px 38px; }
  .passage-inside h2 { position: static; font-size: 33px; padding-top: 9px; margin-bottom: 22px; }
  .passage-number, .passage-two .passage-number { position: static; display: block; font-size: 56px; line-height: 1; }
  .margin-crossing { display: none; }
  .owner-return, .owner-return.return-two { max-width: 480px; margin: 0 auto; padding: 38px 36px 48px; font-size: 17px; }
  .owner-return::before, .owner-return.return-two::before { top: 46px; left: 18px; height: 34px; width: 5px; box-shadow: none; }
  .reading-top { padding: 25px 24px 24px; }
  .reading-top::before { display: none; }
  .reading-top > p { margin-top: 12px; font-size: 17px; line-height: 1.5; }
  .ramp-offer { min-height: 0; margin: 0 24px 24px; display: flex; flex-direction: column; }
  .ramp-offer::before { height: 74px; }
  .ramp-reading { padding: 0; }
  .ramp-reading h2 { font-size: 24px; line-height: 26px; margin-bottom: 8px; }
  .ramp-reading .ramp-address { font-size: 16px; line-height: 22px; margin-bottom: 8px; }
  .ramp-reading .ramp-term { margin-top: 8px; font-size: 16px; line-height: 22px; }
  .ramp-reading .ramp-disclosure { margin-top: 10px; font-size: 16px; line-height: 22px; }
  .ramp-card { position: static; width: 128px; height: 128px; margin: 14px 16px 14px auto; }
  .ramp-cut { width: 130px; height: 20px; left: 18px; bottom: 54px; }
  .offer-question { margin: 0 24px; padding-bottom: 20px; }
  .offer-question h2 { font-size: 25px; line-height: 1.14; }
  .offer-question p { font-size: 16px; }
  .page-photo, .page-about .page-photo { margin: 28px 18px 44px; padding-left: 0; }
  .page-photo::before { display: none; }
  .page-photo img { height: 166px; }
  .page-photo figcaption { margin: 0; padding: 10px 0 14px; background: transparent; border-bottom-width: 5px; box-shadow: none; }
  .page-about .page-photo img { height: 190px; }
  .guide-passages { margin-top: 24px; padding-bottom: 34px; }
  .kerb-next-wrap { margin: 0 24px 50px; }
  .kerb-next { font-size: 16px; }
  .source-onramp { margin-top: 4px; padding: 0 6px; }
  .source-ground, .source-ground:nth-of-type(2) { margin: 0 18px 24px; border: 0; }
  .source-group { padding: 30px 24px 36px; }
  .source-group > h2 { margin-bottom: 24px; }
  .source-entry h3 { font-size: 18px; overflow-wrap: anywhere; }
  .source-entry .source-reading { font-size: 17px; }
  .source-coda { margin: 35px 24px 48px; }
  .kerb-footer { padding: 32px 24px 26px; border-top-width: 9px; }
  .footer-reading { font-size: 17px; }
  .footer-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .footer-paths a { font-size: 16px; }
  .footer-paths svg, .footer-paths [data-lucide] { width: 16px; height: 16px; }
}
@media (max-width: 480px) {
  .home-ground h1 { font-size: 33px; line-height: 1.06; }
  .arrival-sign { padding-left: 18px; padding-right: 16px; }
  .owner-arrival p { font-size: 16px; line-height: 1.5; }
  .pavement-pair { height: 154px; }
  .reading-top { padding: 22px 18px 20px; }
  .reading-top h1 { font-size: 33px; line-height: 1.08; }
  .reading-top > p { margin-top: 10px; font-size: 16px; line-height: 23px; }
  .ramp-offer { margin-left: 18px; margin-right: 18px; }
  .ramp-reading h2 { font-size: 22px; line-height: 24px; }
  .offer-question { margin-left: 18px; margin-right: 18px; }
  .passage-inside, .passage-two .passage-inside, .passage-three .passage-inside { padding-left: 18px; padding-right: 18px; }
  .passage-inside h2 { font-size: 31px; }
  .source-coda, .kerb-next-wrap { margin-left: 18px; margin-right: 18px; }
  .source-group { padding-left: 18px; padding-right: 18px; }
  .kerb-footer { padding-left: 18px; padding-right: 18px; }
  .lost-ground { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
