/* Shared foundation for the three use-case experiences. */
.page-local-seo,
.page-social,
.page-engagement {
  --page-paper: #f3f0e8;
  --page-ink: #101611;
  --page-muted: #58625a;
  --page-rule: rgba(16, 22, 17, 0.18);
  background: var(--page-paper);
  color: var(--page-ink);
}

.page-local-seo::before,
.page-social::before,
.page-engagement::before {
  display: none;
}

.page-local-seo main,
.page-social main,
.page-engagement main {
  overflow: hidden;
}

.page-local-seo main a,
.page-social main a,
.page-engagement main a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-local-seo main button,
.page-social main button,
.page-engagement main button {
  border: 0;
}

.page-local-seo main :focus-visible,
.page-social main :focus-visible,
.page-engagement main :focus-visible {
  outline: 3px solid var(--page-focus, #156b45);
  outline-offset: 4px;
}

.page-local-seo .site-header,
.page-social .site-header,
.page-engagement .site-header {
  background: #05060f;
  box-shadow: 0 1px 0 rgba(190, 215, 245, 0.13);
}

.pages-wrap {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.pages-kicker {
  color: var(--page-accent);
  font: 600 11px var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pages-intro {
  max-width: 680px;
  color: var(--page-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
}

.pages-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pages-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--page-ink);
  color: var(--page-paper);
  background: var(--page-ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
}

.pages-button:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--page-accent);
}

.pages-button-light {
  color: var(--page-ink);
  background: transparent;
}

.pages-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--page-muted);
  font-size: 13px;
  line-height: 1.5;
}

.pages-note::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  content: "";
  background: var(--page-accent);
}

.pages-sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Neighborhood Maintenance Map */
.page-local-seo {
  --page-paper: #edf0e6;
  --page-ink: #132419;
  --page-muted: #536257;
  --page-accent: #c5532d;
  --page-focus: #145b39;
}

.seo-hero {
  padding: 64px 0 82px;
  border-bottom: 1px solid var(--page-rule);
  background:
    linear-gradient(90deg, rgba(19, 36, 25, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(19, 36, 25, 0.05) 1px, transparent 1px),
    #edf0e6;
  background-size: 44px 44px;
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.seo-copy h1 {
  max-width: 680px;
  margin-top: 20px;
  font-size: clamp(50px, 6.5vw, 86px);
  line-height: 0.96;
}

.seo-copy .pages-intro {
  margin-top: 28px;
}

.seo-copy .pages-actions {
  margin-top: 32px;
}

.seo-copy .pages-note {
  max-width: 520px;
  margin-top: 24px;
}

.map-scene {
  position: relative;
  min-height: 590px;
  border: 1px solid rgba(19, 36, 25, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background: #dce4d3;
  box-shadow: 14px 14px 0 rgba(19, 36, 25, 0.1);
}

.map-scene::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(25deg, transparent 0 47%, rgba(255, 255, 255, 0.8) 47% 50%, transparent 50%) 50px 100px / 280px 210px,
    linear-gradient(90deg, transparent 0 36%, #f6f4eb 36% 42%, transparent 42% 69%, #f6f4eb 69% 75%, transparent 75%),
    linear-gradient(transparent 0 22%, #f6f4eb 22% 29%, transparent 29% 55%, #f6f4eb 55% 62%, transparent 62% 84%, #f6f4eb 84% 91%, transparent 91%);
}

.map-block {
  position: absolute;
  border: 1px solid rgba(19, 36, 25, 0.14);
  border-radius: 40% 20% 35% 12%;
  background: rgba(112, 145, 96, 0.16);
}

.map-block-one { inset: 8% 67% 75% 5%; }
.map-block-two { inset: 34% 59% 43% 8%; }
.map-block-three { inset: 68% 72% 8% 4%; }
.map-block-four { inset: 8% 8% 68% 45%; }
.map-block-five { inset: 38% 5% 36% 47%; }
.map-block-six { inset: 70% 6% 7% 46%; }

.map-label {
  position: absolute;
  z-index: 2;
  color: rgba(19, 36, 25, 0.58);
  font: 600 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.map-label-north { top: 16%; left: 47%; }
.map-label-market { top: 48%; left: 14%; transform: rotate(25deg); }
.map-label-river { right: 9%; bottom: 17%; }

.map-pin {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 3px solid #f7f3e9 !important;
  border-radius: 50% 50% 50% 8px;
  color: #fff;
  background: var(--page-accent);
  box-shadow: 0 5px 0 rgba(19, 36, 25, 0.2);
  cursor: pointer;
  transform: rotate(-45deg);
  transition: scale 180ms var(--ease), box-shadow 180ms ease;
}

.map-pin span {
  font: 700 11px var(--mono);
  transform: rotate(45deg);
}

.map-pin::after {
  position: absolute;
  inset: -13px;
  border: 3px solid var(--page-accent);
  border-radius: 50%;
  content: "";
  opacity: 0;
  animation: pin-light 9s linear infinite;
}

.map-pin-two::after { animation-delay: -6.75s; }
.map-pin-three::after { animation-delay: -4.5s; }
.map-pin-four::after { animation-delay: -2.25s; }

.map-pin:hover,
.map-pin[aria-pressed="true"] {
  z-index: 7;
  scale: 1.18;
  box-shadow: 0 0 0 8px rgba(197, 83, 45, 0.15), 0 8px 0 rgba(19, 36, 25, 0.2);
}

.map-pin-one { top: 18%; left: 22%; }
.map-pin-two { top: 29%; left: 65%; }
.map-pin-three { top: 56%; left: 35%; }
.map-pin-four { top: 72%; left: 70%; }

.map-scanner {
  position: absolute;
  z-index: 4;
  top: 25%;
  left: 5%;
  width: 82px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fff, var(--page-accent));
  box-shadow: 0 0 18px rgba(197, 83, 45, 0.85);
  animation: scan-streets 9s linear infinite;
}

.map-scanner::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--page-accent);
  border-radius: 50%;
  content: "";
}

@keyframes scan-streets {
  0% { translate: 0 0; rotate: 0deg; }
  24% { translate: 340px 0; rotate: 0deg; }
  25% { translate: 350px 0; rotate: 90deg; }
  49% { translate: 350px 185px; rotate: 90deg; }
  50% { translate: 350px 195px; rotate: 180deg; }
  74% { translate: 75px 195px; rotate: 180deg; }
  75% { translate: 65px 195px; rotate: 270deg; }
  99% { translate: 65px 8px; rotate: 270deg; }
  100% { translate: 0 0; rotate: 360deg; }
}

@keyframes pin-light {
  0%, 18%, 100% { opacity: 0; scale: 0.75; }
  5%, 12% { opacity: 0.8; scale: 1; }
}

.map-legend {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 18px;
  max-width: 200px;
  padding: 13px 15px;
  border: 1px solid rgba(19, 36, 25, 0.25);
  border-radius: 5px;
  color: var(--page-muted);
  background: rgba(247, 244, 234, 0.94);
  font: 500 10px/1.5 var(--mono);
}

.map-board {
  padding: 90px 0;
  background: #132419;
  color: #eef2e8;
}

.map-board-head {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}

.map-board-head h2 {
  max-width: 700px;
  font-size: clamp(36px, 5vw, 62px);
}

.map-board-head p {
  color: #b7c3b9;
}

.location-desk {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  border: 1px solid rgba(237, 240, 230, 0.22);
  background: #0c1810;
}

.issue-list {
  padding: 18px;
  border-right: 1px solid rgba(237, 240, 230, 0.2);
}

.issue-list-title {
  padding: 7px 9px 16px;
  color: #85948a;
  font: 600 10px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.issue-row {
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 12px;
  border-top: 1px solid rgba(237, 240, 230, 0.13) !important;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.issue-row:hover,
.issue-row[aria-pressed="true"] {
  background: rgba(197, 83, 45, 0.13);
}

.issue-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(237, 240, 230, 0.25);
  border-radius: 50%;
  color: #fff;
  font: 600 10px var(--mono);
}

.issue-row strong {
  display: block;
  color: #fff;
  font: 600 15px var(--sans);
}

.issue-row small {
  display: block;
  margin-top: 3px;
  color: #8fa095;
  font-size: 12px;
}

.issue-arrow {
  color: #d66c46;
  font-family: var(--mono);
}

.location-drawer {
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
}

.drawer-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: #85948a;
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-status {
  padding: 5px 8px;
  color: #ffe3d8;
  background: rgba(197, 83, 45, 0.22);
}

.location-drawer h3 {
  margin-top: 28px;
  font-size: clamp(28px, 4vw, 44px);
}

.location-drawer > p {
  max-width: 650px;
  margin-top: 12px;
  color: #b7c3b9;
}

.change-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}

.change-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(237, 240, 230, 0.18);
  background: rgba(237, 240, 230, 0.04);
}

.change-card span {
  color: #85948a;
  font: 600 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.change-card strong {
  display: block;
  margin-top: 16px;
  color: #fff;
  font: 500 clamp(17px, 2vw, 22px)/1.35 var(--display);
}

.change-arrow {
  align-self: center;
  color: #d66c46;
  font: 600 20px var(--mono);
}

.verify-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.verify-step {
  padding-top: 12px;
  border-top: 3px solid #314438;
  color: #829087;
  font: 600 10px var(--mono);
  text-transform: uppercase;
}

.verify-step.is-done {
  border-color: #d66c46;
  color: #fff;
}

.seo-routine {
  padding: 100px 0;
  background: #f5f0e5;
}

.routine-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(55px, 10vw, 150px);
  align-items: start;
}

.routine-grid h2 {
  margin-top: 15px;
  font-size: clamp(36px, 5vw, 60px);
}

.routine-list {
  counter-reset: routine;
}

.routine-grid .pages-intro {
  margin-top: 20px;
}

.routine-list article {
  position: relative;
  padding: 28px 0 28px 72px;
  border-top: 1px solid var(--page-rule);
  counter-increment: routine;
}

.routine-list article::before {
  position: absolute;
  top: 30px;
  left: 0;
  content: "0" counter(routine);
  color: var(--page-accent);
  font: 700 12px var(--mono);
}

.routine-list h3 {
  font-size: 24px;
}

.routine-list p {
  margin-top: 10px;
  color: var(--page-muted);
  font-size: 15px;
}

.seo-faq {
  padding: 88px 0;
  border-top: 1px solid var(--page-rule);
  background: #dce4d3;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 60px;
}

.seo-faq h2 {
  font-size: clamp(34px, 4.5vw, 54px);
}

.seo-faq details {
  border-top: 1px solid rgba(19, 36, 25, 0.24);
}

.seo-faq summary {
  padding: 22px 4px;
  cursor: pointer;
  font: 600 18px var(--display);
}

.seo-faq details p {
  padding: 0 4px 24px;
  color: var(--page-muted);
}

.seo-cta {
  padding: 84px 0;
  background: var(--page-accent);
}

.seo-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.seo-cta h2 {
  max-width: 780px;
  color: #fff7ef;
  font-size: clamp(38px, 5.5vw, 68px);
}

.seo-cta p {
  max-width: 600px;
  margin-top: 15px;
  color: #ffe1d5;
}

.seo-cta .pages-button {
  color: #fff;
  border-color: #fff;
  background: #132419;
}

/* Editorial Contact Sheet */
.page-social {
  --page-paper: #f2eee3;
  --page-ink: #1c1730;
  --page-muted: #655e70;
  --page-accent: #f24b34;
  --page-focus: #5434b4;
}

.social-hero {
  position: relative;
  padding: 70px 0 58px;
  background: #f2eee3;
}

.social-hero::after {
  position: absolute;
  right: -8vw;
  bottom: 0;
  width: 33vw;
  height: 8px;
  content: "";
  background: var(--page-accent);
  rotate: -2deg;
}

.social-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
}

.social-hero h1 {
  max-width: 990px;
  margin-top: 20px;
  font-size: clamp(52px, 8.3vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.social-sidecopy {
  padding-bottom: 10px;
}

.social-sidecopy .pages-actions {
  margin-top: 28px;
}

.social-sidecopy .pages-note {
  margin-top: 22px;
}

.contact-sheet {
  position: relative;
  padding: 46px 0 54px;
  overflow: hidden;
  border-block: 10px solid #171326;
  background: #221c37;
}

.contact-sheet::before,
.contact-sheet::after {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 100%;
  height: 12px;
  content: "";
  background: repeating-linear-gradient(90deg, transparent 0 22px, #c7bdaa 22px 34px, transparent 34px 47px);
}

.contact-sheet::before { top: 10px; }
.contact-sheet::after { bottom: 10px; }

.contact-track {
  display: flex;
  gap: 16px;
  padding: 10px max(24px, calc((100vw - 1240px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #f24b34 #171326;
  scrollbar-width: thin;
}

.story-frame {
  position: relative;
  flex: 0 0 min(72vw, 560px);
  min-height: 355px;
  padding: 0;
  overflow: hidden;
  border: 6px solid #eee6d7 !important;
  color: #fff;
  background: #473c66;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
  transition: flex-basis 420ms var(--ease), filter 250ms ease, opacity 250ms ease;
}

.story-frame:not([aria-pressed="true"]) {
  filter: saturate(0.55) contrast(0.9);
  opacity: 0.72;
}

.story-frame[aria-pressed="true"] {
  flex-basis: min(82vw, 670px);
}

.story-frame::before,
.story-image::after {
  position: absolute;
  content: "";
}

.story-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.story-image::before,
.story-image::after {
  position: absolute;
  content: "";
}

.story-market {
  background: linear-gradient(155deg, #d47f3c, #f4be62 45%, #315746 46%, #173a35);
}

.story-market::before {
  right: 10%;
  bottom: -15%;
  width: 43%;
  height: 80%;
  border-radius: 50% 50% 0 0;
  background: #eee6d7;
  rotate: -12deg;
}

.story-market::after {
  top: 12%;
  left: 12%;
  width: 90px;
  height: 90px;
  border: 18px solid rgba(255, 246, 208, 0.62);
  border-radius: 50%;
}

.story-team {
  background: linear-gradient(130deg, #403b8d, #9585d4 50%, #f3bd77 51%, #db6d4d);
}

.story-team::before {
  left: 13%;
  bottom: -30%;
  width: 42%;
  height: 100%;
  border-radius: 50% 50% 20% 20%;
  background: #182338;
}

.story-team::after {
  right: 13%;
  bottom: -25%;
  width: 35%;
  height: 86%;
  border-radius: 50% 50% 20% 20%;
  background: #f2ebe0;
}

.story-event {
  background: repeating-linear-gradient(120deg, #f0523b 0 34px, #f4b543 34px 68px, #302656 68px 102px);
}

.story-event::before {
  top: 16%;
  left: 20%;
  width: 60%;
  height: 70%;
  border: 4px solid #fff3dc;
  border-radius: 50%;
}

.story-event::after {
  top: 30%;
  left: 35%;
  width: 30%;
  height: 40%;
  border-radius: 50%;
  background: #fff3dc;
}

.story-detail {
  background: linear-gradient(45deg, #214f4a, #46937a 48%, #edcf9c 49%, #f5ead5);
}

.story-detail::before {
  top: 15%;
  right: 15%;
  width: 36%;
  height: 65%;
  border: 8px solid #fb663f;
  rotate: 12deg;
}

.story-caption {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 16px;
  color: #1c1730;
  background: rgba(248, 243, 231, 0.94);
  box-shadow: 5px 5px 0 rgba(28, 23, 48, 0.55);
}

.story-caption small {
  color: #766d77;
  font: 600 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-caption strong {
  display: block;
  margin-top: 5px;
  font: 600 20px var(--display);
}

.editorial-desk {
  padding: 105px 0 115px;
  background: #f2eee3;
}

.desk-heading {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 60px;
  align-items: end;
}

.desk-heading h2 {
  font-size: clamp(40px, 6vw, 74px);
}

.desk-heading .pages-intro {
  justify-self: end;
}

.story-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 62px;
  border: 1px solid var(--page-ink);
  box-shadow: 10px 10px 0 #d9d0be;
}

.path-step {
  min-height: 310px;
  padding: 22px;
  border-right: 1px solid var(--page-ink);
  background: #f8f3e9;
}

.path-step:last-child { border-right: 0; }
.path-step:nth-child(2) { background: #e9d6cf; }
.path-step:nth-child(3) { background: #d9d0ed; }
.path-step:nth-child(4) { background: #f1d69c; }
.path-step:nth-child(5) { color: #fff; background: #1c1730; }

.path-step small {
  font: 700 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-step h3 {
  margin-top: 70px;
  font-size: 23px;
}

.path-step p {
  margin-top: 13px;
  color: inherit;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0.78;
}

.pencil-mark {
  display: block;
  width: 52px;
  height: 6px;
  margin-top: 20px;
  background: var(--page-accent);
  rotate: -4deg;
}

.preview-room {
  padding: 100px 0;
  color: #f8f3e9;
  background: #1c1730;
}

.preview-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.preview-copy h2 {
  margin-top: 15px;
  font-size: clamp(38px, 5vw, 65px);
}

.preview-copy p {
  margin-top: 20px;
  color: #c1b8cd;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.phone {
  min-width: 0;
  padding: 10px;
  border: 1px solid #7b708a;
  border-radius: 28px;
  background: #090712;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.phone:nth-child(2) { translate: 0 -22px; }

.phone-screen {
  min-height: 370px;
  padding: 20px 14px;
  border-radius: 20px;
  color: #1c1730;
  background: #f5eee0;
}

.phone-notch {
  width: 45%;
  height: 7px;
  margin: -10px auto 16px;
  border-radius: 999px;
  background: #1c1730;
}

.phone-crop {
  min-height: 215px;
  background: linear-gradient(135deg, #ef593e 0 36%, #f4c16c 36% 66%, #384d77 66%);
}

.phone:nth-child(2) .phone-crop { aspect-ratio: 9 / 11; background: linear-gradient(45deg, #315b4e 0 50%, #d9a95e 50%); }
.phone:nth-child(3) .phone-crop { min-height: 130px; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, #6950a5 0 28px, #f46446 28px 56px); }

.phone-screen strong {
  display: block;
  margin-top: 14px;
  font: 600 14px var(--display);
}

.phone-screen p {
  margin-top: 7px;
  color: #6a6272;
  font-size: 10.5px;
  line-height: 1.45;
}

.calendar-band {
  padding: 78px 0 92px;
  background: #edc85f;
}

.calendar-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.calendar-top h2 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 64px);
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  margin-top: 42px;
  overflow-x: auto;
  border-block: 2px solid var(--page-ink);
}

.calendar-day {
  min-height: 170px;
  padding: 17px;
  border-right: 1px solid rgba(28, 23, 48, 0.45);
}

.calendar-day time {
  font: 700 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-day strong {
  display: block;
  margin-top: 45px;
  font: 600 16px/1.25 var(--display);
}

.calendar-day span {
  display: block;
  margin-top: 8px;
  color: #594b2d;
  font-size: 11px;
}

.social-faq {
  padding: 100px 0;
  background: #f2eee3;
}

.social-faq h2 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 72px);
}

.social-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.social-questions details {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--page-ink);
  background: #fbf7ed;
}

.social-questions details:nth-child(2) { rotate: 1deg; }
.social-questions details:nth-child(3) { rotate: -1deg; }

.social-questions summary {
  cursor: pointer;
  font: 600 22px/1.2 var(--display);
}

.social-questions p {
  margin-top: 20px;
  color: var(--page-muted);
  font-size: 14px;
}

.social-cta {
  padding: 35px 0;
  color: #fff;
  background: var(--page-accent);
}

.social-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.social-cta h2 {
  max-width: 850px;
  font-size: clamp(32px, 4.5vw, 54px);
}

.social-cta .pages-button {
  flex: 0 0 auto;
  border-color: #fff;
  background: #1c1730;
}

/* Conversation Relay */
.page-engagement {
  --page-paper: #e9edf1;
  --page-ink: #102234;
  --page-muted: #536273;
  --page-accent: #176bd1;
  --page-focus: #e3512f;
}

.engagement-hero {
  position: relative;
  padding: 68px 0 96px;
  background:
    radial-gradient(circle at 87% 14%, rgba(23, 107, 209, 0.12), transparent 25%),
    #e9edf1;
}

.engagement-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(90deg, #102234 0 8px, transparent 8px 14px);
}

.engagement-title {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.engagement-title h1 {
  max-width: 900px;
  margin-top: 21px;
  font-size: clamp(50px, 7.2vw, 94px);
  line-height: 0.94;
}

.engagement-side .pages-actions {
  margin-top: 28px;
}

.engagement-side .pages-note {
  margin-top: 21px;
}

.relay-scene {
  position: relative;
  min-height: 690px;
  padding: 90px 0;
  color: #e9edf1;
  background: #102234;
}

.relay-scene::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), #79a8db 50%, transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 69px, rgba(233, 237, 241, 0.07) 69px 70px);
}

.relay-heading {
  position: relative;
  z-index: 2;
  max-width: 670px;
  margin: 0 auto 54px;
  text-align: center;
}

.relay-heading h2 {
  font-size: clamp(36px, 5vw, 62px);
}

.relay-heading p {
  margin-top: 14px;
  color: #a9bac9;
}

.relay-board {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 40px), 1180px);
  grid-template-columns: 1fr minmax(320px, 1.12fr) 1fr;
  gap: 60px;
  align-items: center;
  margin-inline: auto;
}

.source-stack {
  display: grid;
  gap: 25px;
}

.source-stack-right {
  padding-top: 95px;
}

.fragment {
  position: relative;
  padding: 16px 18px;
  border: 1px solid rgba(233, 237, 241, 0.23);
  border-radius: 8px;
  color: #dbe6ef;
  background: rgba(233, 237, 241, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  animation: fragment-cascade 5s var(--ease) infinite;
}

.source-stack-right .fragment { animation-name: fragment-cascade-right; }
.fragment:nth-child(2) { animation-delay: -3.4s; }
.fragment:nth-child(3) { animation-delay: -1.7s; }

.fragment::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, #79a8db, transparent);
}

.source-stack-right .fragment::after {
  right: 100%;
  left: auto;
  background: linear-gradient(90deg, transparent, #79a8db);
}

.fragment small {
  display: block;
  color: #79a8db;
  font: 600 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fragment strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

@keyframes fragment-cascade {
  0%, 100% { opacity: 0.62; translate: -18px 0; }
  45%, 60% { opacity: 1; translate: 0 0; }
}

@keyframes fragment-cascade-right {
  0%, 100% { opacity: 0.62; translate: 18px 0; }
  45%, 60% { opacity: 1; translate: 0 0; }
}

.customer-timeline {
  position: relative;
  padding: 25px;
  border: 1px solid #79a8db;
  border-radius: 14px;
  background: #e9edf1;
  color: #102234;
  box-shadow: 0 0 0 8px rgba(121, 168, 219, 0.08), 0 26px 60px rgba(0, 0, 0, 0.28);
}

.timeline-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(16, 34, 52, 0.2);
  font: 700 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-title span:last-child { color: var(--page-accent); }

.timeline-event {
  position: relative;
  margin-left: 7px;
  padding: 18px 0 18px 28px;
  border-left: 1px solid rgba(16, 34, 52, 0.28);
}

.timeline-event::before {
  position: absolute;
  top: 23px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: #e3512f;
}

.timeline-event small {
  color: var(--page-muted);
  font: 600 9px var(--mono);
  text-transform: uppercase;
}

.timeline-event p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
}

.relay-controls {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.relay-control {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #587289 !important;
  border-radius: 999px;
  color: #d9e4ed;
  background: transparent;
  cursor: pointer;
}

.relay-control[aria-pressed="true"] {
  color: #102234;
  background: #e9edf1;
}

.slip-section {
  padding: 105px 0;
  background: #dbe2e8;
}

.slip-heading {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
  align-items: end;
}

.slip-heading h2 {
  font-size: clamp(40px, 5.6vw, 70px);
}

.owner-lanes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 55px;
  padding-bottom: 250px;
}

.owner-card {
  min-height: 165px;
  padding: 22px;
  border: 1px solid rgba(16, 34, 52, 0.24) !important;
  border-top: 6px solid #8fa1b1 !important;
  color: var(--page-ink);
  background: rgba(255, 255, 255, 0.34);
  text-align: left;
  cursor: pointer;
}

.owner-card[aria-pressed="true"] {
  border-top-color: var(--page-accent) !important;
  background: #f2f5f7;
}

.owner-card small {
  color: var(--page-muted);
  font: 600 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-card strong {
  display: block;
  margin-top: 24px;
  font: 600 22px var(--display);
}

.owner-card span {
  display: block;
  margin-top: 7px;
  color: var(--page-muted);
  font-size: 12px;
}

.next-slip {
  --owner-slot: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc((100% - 28px) / 3);
  min-height: 205px;
  padding: 25px;
  color: #fff;
  background: var(--page-accent);
  box-shadow: 9px 9px 0 rgba(16, 34, 52, 0.18);
  transform: translateX(calc(var(--owner-slot) * (100% + 14px)));
  transition: transform 600ms var(--ease);
}

.next-slip::before {
  position: absolute;
  top: -14px;
  left: 28px;
  border-right: 14px solid transparent;
  border-bottom: 14px solid var(--page-accent);
  border-left: 14px solid transparent;
  content: "";
}

.slip-label {
  font: 700 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slip-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 13px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

.slip-row span { opacity: 0.68; }
.slip-row strong { font-weight: 700; }

.check-state {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.check-state::before {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid #fff;
  content: "x";
  font: 700 10px var(--mono);
}

.handoff-section {
  padding: 95px 0;
  color: #e9edf1;
  background: #102234;
}

.handoff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 130px);
}

.handoff-grid h2 {
  margin-top: 15px;
  font-size: clamp(38px, 5.4vw, 68px);
}

.handoff-points {
  display: grid;
  gap: 10px;
}

.handoff-points article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 21px;
  border: 1px solid rgba(233, 237, 241, 0.18);
}

.handoff-points span {
  color: #79a8db;
  font: 700 11px var(--mono);
}

.handoff-points h3 { font-size: 20px; }

.handoff-points p {
  margin-top: 8px;
  color: #a9bac9;
  font-size: 13px;
}

.engagement-faq {
  padding: 95px 0;
  background: #eef2f4;
}

.engagement-faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.engagement-faq h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.engagement-faq details {
  margin-bottom: 12px;
  border: 1px solid rgba(16, 34, 52, 0.25);
  background: #fff;
}

.engagement-faq summary {
  padding: 20px;
  cursor: pointer;
  font: 600 18px var(--display);
}

.engagement-faq details p {
  padding: 0 20px 22px;
  color: var(--page-muted);
  font-size: 14px;
}

.engagement-cta {
  padding: 76px 0;
  color: #102234;
  background: #f0a138;
}

.engagement-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-ticket-number {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid #102234;
  border-radius: 50%;
  font: 700 18px var(--mono);
}

.engagement-cta h2 {
  max-width: 750px;
  font-size: clamp(35px, 5vw, 58px);
}

.engagement-cta .pages-button {
  background: #102234;
}

@media (max-width: 1050px) {
  .seo-hero-grid,
  .engagement-title,
  .social-hero-layout,
  .desk-heading,
  .preview-layout,
  .slip-heading,
  .handoff-grid,
  .engagement-faq-layout {
    grid-template-columns: 1fr;
  }

  .map-scene { max-width: 720px; }
  .story-path { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; }
  .desk-heading .pages-intro { justify-self: start; }
  .preview-layout { align-items: start; }
  .phone-row { max-width: 760px; }
  .relay-board { gap: 30px; }
}

@media (max-width: 820px) {
  .pages-wrap { width: min(calc(100% - 30px), 1240px); }
  .seo-hero, .social-hero, .engagement-hero { padding-top: 48px; }
  .seo-copy h1, .social-hero h1, .engagement-title h1 { font-size: clamp(44px, 13vw, 68px); }
  .map-scene { min-height: 520px; }
  .map-board-head,
  .location-desk,
  .routine-grid,
  .seo-faq-grid,
  .seo-cta-inner,
  .relay-board {
    grid-template-columns: 1fr;
  }

  .issue-list { border-right: 0; border-bottom: 1px solid rgba(237, 240, 230, 0.2); }
  .change-strip { grid-template-columns: 1fr; }
  .change-arrow { rotate: 90deg; justify-self: center; }
  .social-questions { grid-template-columns: 1fr; }
  .social-questions details { min-height: 0; rotate: 0 !important; }
  .phone-row { grid-template-columns: repeat(3, 220px); overflow-x: auto; padding: 25px 5px; }
  .relay-scene { padding-block: 75px; }
  .relay-board { width: min(calc(100% - 30px), 540px); }
  .source-stack-right { padding-top: 0; }
  .source-stack { grid-template-columns: repeat(3, 1fr); }
  .fragment::after { display: none; }
  .customer-timeline { grid-row: 2; }
  .owner-lanes { padding-bottom: 225px; }
  .next-slip { min-height: 190px; }
  .engagement-cta-inner { grid-template-columns: auto 1fr; }
  .engagement-cta .pages-button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 600px) {
  .pages-actions { align-items: stretch; flex-direction: column; }
  .pages-button { width: 100%; }
  .map-scene { min-height: 450px; box-shadow: 7px 7px 0 rgba(19, 36, 25, 0.1); }
  .map-pin { width: 39px; height: 39px; }
  .map-scanner { display: none; }
  .map-legend { max-width: 170px; }
  .verify-line { grid-template-columns: 1fr; }
  .routine-list article { padding-left: 48px; }
  .social-sidecopy { padding-top: 8px; }
  .story-frame, .story-frame[aria-pressed="true"] { flex-basis: 84vw; min-height: 310px; }
  .social-cta-inner, .calendar-top { align-items: stretch; flex-direction: column; }
  .source-stack { grid-template-columns: 1fr; gap: 8px; }
  .relay-controls { flex-wrap: wrap; }
  .owner-lanes { grid-template-columns: 1fr; padding-bottom: 0; }
  .next-slip {
    --owner-slot: 0 !important;
    position: relative;
    width: 100%;
    margin-top: 10px;
    grid-column: 1;
    transform: none;
  }
  .engagement-cta-inner { grid-template-columns: 1fr; }
  .cta-ticket-number { width: 62px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .map-scanner,
  .fragment,
  .map-pin::after {
    animation: none;
  }

  .next-slip,
  .story-frame {
    transition: none;
  }
}
