:root {
  --paper: #fafafa;
  --surface: #f4f4f4;
  --ink: #171815;
  --muted: #62635e;
  --line: #d4d4cd;
  --acid: #c8ff4a;
  --acid-dark: #c5ff48;
  --night: #1e1f1b;
  --display: "Inter", sans-serif;
  --body: "Inter", sans-serif;
}

/* Shared public shell: the reference uses a clean sans, not display type. */
html { scroll-behavior: auto; scroll-padding-top: 105px; }
body {
  background: var(--paper);
  font-family: var(--body);
}
body::after { display: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.display-xl { font-size: clamp(42px, 5.5vw, 76px); }
.display-md { font-size: clamp(32px, 4.1vw, 56px); }
.highlight { background: var(--acid); border-radius: 3px; }
.eyebrow, .kicker {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--ink);
}
.eyebrow::before, .kicker::before { display: none; }
.btn, .btn-hd, .btn-primary, .btn-secondary {
  min-height: 40px;
  padding: 5px 5px 5px 16px;
  gap: 14px;
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 7px;
  box-shadow: 2px 2px 0 var(--ink);
  font: 600 12px/1.3 var(--body);
  text-transform: uppercase;
}
.btn:hover, .btn-hd:hover, .btn-primary:hover, .btn-secondary:hover {
  background: #d6ff7c;
  transform: translateY(-2px);
}
.btn-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--acid);
  font-size: 18px;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark .btn-arrow { background: var(--acid); color: var(--ink); }
.btn-dark:hover { background: #34352e; }
.btn-quiet { background: var(--ink); color: var(--paper); border-radius: 24px; box-shadow: none; }
.btn-quiet .btn-arrow { background: #f3f3eb; color: var(--ink); border-radius: 50%; }
.text-link { font-size: 12px; }
*:focus-visible { outline: 3px solid #648717; outline-offset: 4px; }
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 150;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 5px;
}
.skip-link:focus { top: 12px; }

/* The black link capsule and the separate arrow-tile consultation control. */
nav.nav-hd {
  background: rgba(250, 250, 250, .97) !important;
  border: 0 !important;
  backdrop-filter: none;
}
nav.nav-hd > .nav-hd-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: min(1728px, 90%) !important;
  max-width: 1728px !important;
  margin-inline: auto;
  min-height: 88px;
  gap: 20px !important;
}
nav.nav-hd .logo {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  color: var(--ink) !important;
  font: 750 20px/1 var(--body) !important;
  letter-spacing: -.7px;
}
nav.nav-hd .brand-mark {
  display: inline-block;
  padding: 3px 4px;
  margin-left: 2px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
}
nav.nav-hd ul.nav-links {
  display: flex !important;
  align-items: center;
  position: static;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: transparent !important;
  border: 0;
}
nav.nav-hd .nav-links > li:not(:last-child) {
  background: var(--ink);
  min-height: 34px;
  display: flex;
  align-items: center;
}
nav.nav-hd .nav-links > li:first-child { border-radius: 8px 0 0 8px; padding-left: 5px; }
nav.nav-hd .nav-links > li:nth-last-child(2) { border-radius: 0 8px 8px 0; padding-right: 5px; }
nav.nav-hd a.nav-link, nav.nav-hd summary.services-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 12px !important;
  color: #fafaf4 !important;
  font: 500 12px/1.3 var(--body) !important;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border: 0 !important;
  background: transparent !important;
}
nav.nav-hd a.nav-link:hover, nav.nav-hd summary.services-trigger:hover { color: var(--acid) !important; }
nav.nav-hd .nav-links > li:last-child { margin-left: 7px; }
nav.nav-hd a.nav-consultation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 5px 5px 5px 14px !important;
  border-radius: 7px !important;
  font: 500 12px/1.3 var(--body) !important;
  text-transform: uppercase;
  min-height: 40px;
}
nav.nav-hd .nav-cta-arrow {
  display: grid;
  place-items: center;
  height: 24px;
  width: 24px;
  border-radius: 4px;
  background: var(--acid);
  color: var(--ink);
  font-size: 17px;
}
nav.nav-hd .nav-toggle { display: none !important; }
.services-disclosure { position: relative; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.chevron { width: 12px; height: 12px; transition: transform .18s; }
details[open] > summary .chevron { transform: rotate(180deg); }
nav.nav-hd .services-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}
nav.nav-hd .service-menu-link { display: block; padding: 13px 12px; border-radius: 6px; }
nav.nav-hd .service-menu-link:hover { background: var(--acid); }
nav.nav-hd .service-menu-link strong { display: block; font-size: 13px; }
nav.nav-hd .service-menu-link small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
nav.nav-hd .all-services-link { display: block; margin: 4px 12px; padding: 12px 0 6px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }

/* Reference composition is intentionally scoped to these two pages. */
.reference-page .container { width: min(1280px, 86%); }
.reference-page .ref-section { padding: 100px 0; }
.ref-hero {
  min-height: 1000px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.ref-hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
/* Mask only the backdrop, not the rotated project cards above it. */
.ref-hero-backdrop::before {
  content: "";
  position: absolute;
   width: 1260px;
   height: 1260px;
   top: -170px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f4f4f4;
}
.ref-hero-copy { text-align: center; max-width: 700px; padding: 10px 0 70px; position: relative; z-index: 2; }
.studio-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 9px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  font-size: 10px;
  margin-bottom: 32px;
}
.badge-symbol { color: var(--acid); font-size: 15px; line-height: 1; }
.ref-hero .eyebrow { display: block; margin-bottom: 18px; }
.ref-hero h1 { font-size: clamp(43px, 5vw, 80px); line-height: 1.01; letter-spacing: -.035em; }
.ref-hero-copy > p { max-width: 520px; margin: 26px auto 0; font-size: 18px; line-height: 1.35; font-weight: 600; }
.ref-hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 38px; }
.ref-hero-copy .hero-footnote { margin-top: 28px; font-size: 10px; font-weight: 400; }
.hero-footnote::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; margin-right: 5px; }
.project-orbit { position: absolute; inset: 0; max-width: 1360px; margin: auto; pointer-events: none; }
.orbit-card {
  pointer-events: auto;
  position: absolute;
  width: 200px;
  padding: 7px 7px 9px;
  border: 1px solid #6c6c66;
  border-radius: 8px;
  background: #f7f7f2;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .2s;
}
.orbit-card img { display: block; width: 100%; aspect-ratio: 1.08; object-fit: contain; border-radius: 4px; background: #e8e9e3; }
.orbit-card span { display: block; font-size: 11px; font-weight: 600; margin-top: 7px; }
.orbit-one { top: 15px; left: 21%; transform: rotate(8deg); }
.orbit-two { top: 350px; left: 3%; transform: rotate(-12deg); }
.orbit-three { top: 220px; right: 7%; transform: rotate(38deg); }
.orbit-four { bottom: 32px; left: 20%; transform: rotate(-33deg); }
.orbit-five { bottom: 48px; right: 11%; transform: rotate(-15deg); }
.orbit-card:hover { transform: rotate(0) translateY(-4px); }
.orbit-note { position: absolute; right: 29%; bottom: 58px; font-size: 11px; line-height: 1.2; transform: rotate(14deg); max-width: 95px; }
.orbit-note::after { content: "⤴"; display: block; text-align: right; font-size: 38px; font-weight: 400; }
/* Home-only first-paint guard; CSS reveals the static hero if premium.js cannot run. */
.home-motion-pending .ref-hero-copy > *,
.home-motion-pending .project-orbit .orbit-card {
  opacity: 0;
  animation: home-motion-failsafe 0s 2400ms forwards;
}
@keyframes home-motion-failsafe { to { opacity: 1; } }
.benefit-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 140px; max-width: 1280px; margin: auto; }
.benefit-copy h2 { font-size: clamp(31px, 3.2vw, 54px); margin: 18px 0 32px; max-width: 530px; }
.benefit-cluster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit-tile {
  min-height: 172px;
  padding: 18px 16px;
  border: 1px solid #62635b;
  border-radius: 7px;
  box-shadow: 2px 2px 0 var(--ink);
  background: #f3f3eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.benefit-tile.acid { background: var(--acid); }
.tile-check { display: grid; place-items: center; width: 15px; height: 15px; background: #43453b; color: #f6f6ee; border-radius: 50%; font-size: 9px; }
.benefit-tile p { margin: 22px 0 0; font-size: 17px; font-weight: 600; line-height: 1.2; }
.benefit-tile.brand-tile { background: #282a23; color: var(--paper); flex-direction: row; gap: 2px; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: -.5px; }
.brand-tile span { background: var(--paper); color: var(--ink); padding: 0 2px; }
.ref-process { border-radius: 22px 22px 0 0; background: #f4f4f4; padding-bottom: 110px !important; }
.ref-centered { text-align: center; margin: 0 auto 68px; }
.ref-centered .eyebrow { display: block; }
.ref-centered h2 { margin: 20px 0 18px; font-size: clamp(36px, 4.2vw, 70px); }
.ref-centered > p { max-width: 560px; margin: auto; font-size: 18px; font-weight: 500; line-height: 1.35; }
.process-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 420px; margin: 34px auto 0; text-align: left; }
.process-tags span { background: #53554d; color: #fafaf5; padding: 6px 10px; font-size: 10px; line-height: 1.25; }
.process-tags span::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--acid); margin-right: 6px; vertical-align: middle; }
.process-timeline { position: relative; padding-top: 0; }
.timeline-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.timeline-labels span { text-align: center; padding: 7px 2px; background: #eaeaea; font-size: 9px; text-transform: uppercase; font-weight: 500; }
.timeline-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: 66px repeat(5, minmax(80px, auto)); gap: 7px; }
.timeline-track::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to right, transparent 0, transparent calc(20% - 1px), #e4e4e4 calc(20% - 1px), #e4e4e4 20%); pointer-events: none; }
.timeline-step { position: relative; padding: 12px; border: 1px solid #5c663e; background: var(--acid); border-radius: 5px; box-shadow: 2px 3px 0 var(--ink); }
.timeline-step h3 { font-size: 15px; letter-spacing: -.015em; margin: 0 20px 12px 0; }
.timeline-step p { font-size: 13px; line-height: 1.3; margin: 0; max-width: 250px; }
.step-number { position: absolute; right: 12px; top: 12px; width: 13px; height: 13px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font-size: 8px; }
.step-one { grid-column: 1; grid-row: 2 / 4; }
.step-two { grid-column: 2 / 4; grid-row: 3 / 4; }
.step-three { grid-column: 3; grid-row: 4 / 6; }
.step-four { grid-column: 4; grid-row: 4 / 6; }
.step-five { grid-column: 5; grid-row: 5 / 7; }
.timeline-note { margin: 25px 0 0; text-align: center; font-size: 11px; color: var(--muted); }
.ref-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 35px; }
.ref-section-heading h2 { font-size: clamp(34px, 3.8vw, 50px); margin-top: 14px; }
.ref-section-heading > p { max-width: 340px; color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }
.ref-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ref-work-card { padding: 10px; background: #f3f3ee; border: 1px solid #75766e; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); display: block; }
.ref-work-image { background: #e8e9e2; border-radius: 5px; overflow: hidden; aspect-ratio: 1.84; display: grid; place-items: center; }
.ref-work-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.ref-work-card:hover img { transform: scale(1.025); }
.ref-work-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px 3px 5px; }
.ref-work-meta h3 { font-size: 14px; letter-spacing: -.02em; }
.ref-work-meta p { font-size: 10px; color: var(--muted); margin: 4px 0 0; }
.ref-work-meta > span { font-size: 21px; }
.ref-work-more { text-align: center; margin-top: 34px; }
.ref-services { background: #f4f4f4; }
.ref-service-list { display: grid; gap: 12px; }
.ref-service {
  border: 1px solid #66685e;
  border-radius: 8px;
  background: #fafaf6;
  box-shadow: 2px 2px 0 var(--ink);
  overflow: hidden;
  scroll-margin-top: 100px;
}
.ref-service > summary { display: flex; align-items: center; gap: 25px; padding: 24px 26px; cursor: pointer; }
.service-index { font-size: 11px; color: var(--muted); }
.ref-service > summary h3 { flex: 1; font-size: 24px; }
.service-label { color: var(--muted); font-size: 11px; margin-right: 16px; }
.accordion-icon { flex-shrink: 0; width: 23px; height: 23px; display: grid; place-items: center; background: var(--ink); color: var(--acid); border-radius: 50%; font-size: 15px; transition: transform .18s; }
details[open] > summary .accordion-icon { transform: rotate(180deg); }
.ref-service[open] > summary { background: var(--acid); border-bottom: 1px solid #8ea643; }
.service-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; padding: 30px 64px; }
.service-body p { font-size: 14px; color: #53564a; line-height: 1.6; }
.service-body h4 { font-size: 13px; margin-bottom: 12px; letter-spacing: 0; }
.service-body ul { margin: 0 0 24px; padding-left: 18px; font-size: 12px; line-height: 1.9; }
.service-body .btn { margin-top: 10px; }
.ref-faq-section { background: var(--night); padding: 88px 0 110px; position: relative; }
.reference-page .ref-faq-section > .container { width: min(1728px, 90%) !important; }
.ref-faq-section::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 65px; background: var(--paper); clip-path: polygon(0 48%, 9% 100%, 91% 100%, 100% 0, 100% 100%, 0 100%); }
.ref-faq-panel { position: relative; z-index: 1; background: var(--acid); border: 1px solid #7c9252; border-radius: 13px; padding: 42px 32px 30px; }
.ref-faq-panel h2 { font-size: 60px; margin-bottom: 40px; }
.ref-faq { border-top: 1px solid #879e45; }
.ref-faq > summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 18px 15px; cursor: pointer; font-size: 17px; font-weight: 500; }
.ref-faq .accordion-icon { width: 17px; height: 17px; font-size: 13px; }
.ref-faq > p { padding: 0 40px 18px 15px; margin: 0; max-width: 790px; color: #38451e; font-size: 16px; line-height: 1.6; }
.ref-consultation { text-align: center; padding: 90px 0 100px; }
.ref-consultation .eyebrow { display: block; }
.ref-consultation h2 { font-size: clamp(38px, 4.5vw, 62px); max-width: 680px; margin: 18px auto; }
.ref-consultation p { font-size: 14px; color: var(--muted); max-width: 440px; margin: 0 auto 28px; }
.ref-services-hero { text-align: center; padding: 90px 0 76px; }
.ref-services-hero .eyebrow { display: block; }
.ref-services-hero h1 { font-size: clamp(43px, 5.2vw, 70px); margin: 20px auto; max-width: 820px; }
.ref-services-hero p { max-width: 540px; margin: 0 auto 30px; color: var(--muted); font-size: 15px; }
.service-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.service-jump-links a { font-size: 11px; background: #f0f0e9; border: 1px solid #bdbfb3; border-radius: 20px; padding: 8px 13px; }
.service-jump-links a:hover { background: var(--acid); }
.ref-services-page .ref-services { padding-top: 40px; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scope-card { padding: 28px; border: 1px solid #797b70; border-radius: 8px; background: #f3f3ed; box-shadow: 2px 2px 0 var(--ink); }
.scope-card .eyebrow { margin-bottom: 20px; }
.scope-card h3 { font-size: 20px; margin-bottom: 12px; }
.scope-card p { font-size: 13px; color: var(--muted); margin: 0; }

footer.footer-hd { background: var(--night) !important; padding: 52px 0 24px !important; }
footer.footer-hd .container { width: min(1380px, 90%) !important; }
footer.footer-hd h4 { font: 600 11px/1.4 var(--body) !important; letter-spacing: 0; color: var(--paper) !important; }
footer.footer-hd a { font: 12px/2.1 var(--body) !important; }
footer.footer-hd ul { list-style: none; padding: 0; margin: 15px 0 0; }
footer.footer-hd .copyright { width: min(1380px, 90%) !important; padding: 20px 0 0 !important; font: 10px var(--body) !important; }

@media (min-width: 1600px) {
  .ref-hero { min-height: 1000px; }
}
@media (max-width: 1100px) {
  .ref-hero { min-height: 660px; }
  .ref-hero-backdrop::before { width: 780px; height: 780px; top: -115px; }
  .ref-hero-copy { max-width: 430px; padding-bottom: 25px; }
  .ref-hero h1 { font-size: 45px; }
  .ref-hero-copy > p { font-size: 12px; max-width: 340px; }
  .orbit-card { width: 128px; }
  .orbit-one { left: 29%; top: 0; }
  .orbit-two { left: 18%; top: 245px; }
  .orbit-three { right: 19%; top: 150px; }
  .orbit-four { left: 25%; bottom: 15px; }
  .orbit-five { right: 20%; bottom: 30px; }
  .orbit-note { right: 34%; bottom: 38px; }
  .project-orbit { width: 125%; left: -12.5%; max-width: none; }
  .benefit-layout { gap: 60px; }
  .benefit-tile { min-height: 125px; }
  .benefit-tile p { font-size: 11px; }
}
@media (max-width: 960px) {
  nav.nav-hd > .nav-hd-inner { width: 90% !important; min-height: 68px; flex-wrap: nowrap !important; }
  nav.nav-hd .logo { font-size: 16px !important; }
  nav.nav-hd .nav-toggle { display: inline-flex !important; background: var(--ink) !important; color: var(--paper) !important; border-radius: 6px !important; font: 600 11px var(--body) !important; padding: 10px 13px !important; }
  nav.nav-hd ul.nav-links { display: none !important; position: absolute; top: 68px; left: 5%; right: 5%; padding: 10px !important; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink) !important; box-shadow: 3px 3px 0 #5f6653; max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; }
  nav.nav-hd ul.nav-links.open { display: flex !important; flex-direction: column; align-items: stretch; }
  nav.nav-hd .nav-links > li { width: 100%; margin: 0 !important; padding: 0 !important; min-height: 0 !important; border-radius: 0 !important; }
  nav.nav-hd a.nav-link, nav.nav-hd summary.services-trigger { width: 100%; padding: 15px !important; font-size: 12px !important; }
  nav.nav-hd .services-disclosure { width: 100%; }
  nav.nav-hd summary.services-trigger { justify-content: space-between; }
  nav.nav-hd .services-menu { position: static; width: auto; margin: 0 5px 10px; box-shadow: none; }
  nav.nav-hd a.nav-consultation { width: 100%; justify-content: space-between; padding: 10px 15px !important; font-size: 11px !important; border-top: 1px solid #53554b; }
  .reference-page .container { width: 88% !important; }
  .reference-page .ref-section { padding: 70px 0; }
  .ref-hero { min-height: 750px; align-items: start; padding-top: 155px; }
  .ref-hero-backdrop::before { width: 720px; height: 720px; top: -40px; }
  .ref-hero-copy { max-width: 460px; padding: 0 18px; }
  .ref-hero h1 { font-size: clamp(38px, 6.2vw, 48px); }
  .studio-badge { margin-bottom: 24px; }
  .ref-hero-copy > p { font-size: 13px; }
  .project-orbit { width: 100%; left: 0; }
  .orbit-card { width: 100px; }
  .orbit-one { top: 15px; left: 25%; }
  .orbit-two { top: 40px; left: 3%; transform: rotate(-12deg); }
  .orbit-three { top: 30px; right: 7%; transform: rotate(20deg); }
  .orbit-four { bottom: 52px; left: 13%; transform: rotate(-20deg); width: 125px; }
  .orbit-five { bottom: 42px; right: 13%; width: 125px; }
  .orbit-note { right: 43%; bottom: 36px; font-size: 9px; }
  .benefit-layout { grid-template-columns: 1fr; gap: 35px; max-width: 520px; }
  .benefit-copy h2 { max-width: 460px; }
  .benefit-tile { min-height: 145px; }
  .benefit-tile p { font-size: 13px; }
  .ref-centered { margin-bottom: 44px; }
  .timeline-labels { display: none; }
  .timeline-track { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; padding-left: 20px; }
  .timeline-track::before { width: 1px; left: 0; background: #d1d4c5; }
  .timeline-step { grid-column: auto; grid-row: auto; padding: 20px; min-height: 115px; }
  .timeline-step::before { content: ""; position: absolute; left: -25px; top: 25px; height: 9px; width: 9px; border-radius: 50%; background: var(--ink); }
  .timeline-step h3 { font-size: 15px; }
  .timeline-step p { max-width: none; font-size: 12px; }
  .ref-section-heading { display: block; }
  .ref-section-heading > p { margin-top: 16px; }
  .ref-work-grid { grid-template-columns: 1fr; gap: 22px; }
  .ref-service > summary { padding: 20px 16px; gap: 14px; }
  .ref-service > summary h3 { font-size: 21px; }
  .service-label { display: none; }
  .service-body { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .ref-faq-section { padding: 60px 0 80px; }
  .ref-faq-panel { padding: 28px 18px 20px; }
  .ref-faq-panel h2 { font-size: 36px; margin-bottom: 25px; }
  .ref-faq > summary { padding: 16px 3px; font-size: 14px; }
  .ref-faq > p { padding-left: 3px; font-size: 14px; }
  .ref-consultation { padding: 70px 0; }
  .ref-services-hero { padding: 65px 0 48px; }
  .scope-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .ref-hero { min-height: 770px; padding-top: 163px; }
  .ref-hero h1 { font-size: 38px; }
  .orbit-card { width: 85px; }
  .orbit-card span { font-size: 9px; }
  .orbit-one { left: 34%; top: 10px; }
  .orbit-two { top: 40px; left: 4%; }
  .orbit-three { right: 4%; top: 45px; }
  .orbit-four, .orbit-five { width: 112px; bottom: 30px; }
  .orbit-four { left: 10%; }
  .orbit-five { right: 10%; }
  .orbit-note { display: none; }
  .ref-hero-actions { gap: 8px; flex-wrap: wrap; }
  .ref-hero-actions .btn { font-size: 11px; gap: 8px; padding-left: 10px; }
  .benefit-cluster { gap: 10px; }
  .benefit-tile { padding: 12px 10px; min-height: 134px; }
  .benefit-tile p { font-size: 11px; }
  .process-tags { gap: 5px; }
  .process-tags span { font-size: 9px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-motion-pending .ref-hero-copy > *,
  .home-motion-pending .project-orbit .orbit-card { opacity: 1; animation: none; }
  .orbit-card, .chevron, .accordion-icon, .ref-work-image img { transition: none; }
}

/* Supporting pages and location templates share the approved homepage system.
   These additions deliberately do not change the homepage or services layout. */
.site-support { min-height: 70dvh; }
.site-support .ref-services-hero { padding: 70px 0 60px; }
.site-support .ref-services-hero h1 { max-width: 950px; font-size: clamp(40px, 4.6vw, 66px); }
.site-support .ref-services-hero p { max-width: 650px; font-size: 17px; line-height: 1.6; }
.site-support .ref-section { padding: 72px 0; }
.site-support .ref-section-heading > p { font-size: 16px; max-width: 420px; }
.site-support .ref-centered > p { font-size: 17px; max-width: 650px; line-height: 1.6; }
.site-support .ref-centered h2 { font-size: clamp(32px, 4vw, 52px); }
.site-support .eyebrow { font-size: 12px; }
.site-support .text-link { font-size: 14px; }
.site-support .ref-consultation p { font-size: 16px; max-width: 560px; }
.site-support .scope-card p { font-size: 15px; line-height: 1.65; }
.site-support .ref-faq-panel h2 { font-size: clamp(30px, 4vw, 48px); }
.site-support .ref-faq > summary { font-size: 16px; }
.site-support .ref-faq > p { font-size: 16px; max-width: 900px; }
.site-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.site-surface { background: var(--surface); border-radius: 20px 20px 0 0; }
.site-card-grid, .location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.site-card, .location-card {
  display: block;
  min-width: 0;
  padding: 28px;
  background: #f5f5ef;
  border: 1px solid #76786d;
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
}
.site-card.acid, .location-card.acid { background: var(--acid); }
.site-card .eyebrow, .location-card .eyebrow { margin-bottom: 24px; }
.site-card h3, .location-card h3 { font-size: 23px; margin-bottom: 14px; }
.site-card p, .location-card p { font-size: 15px; line-height: 1.65; color: #55574e; margin: 0; }
.site-card .text-link, .location-card .text-link { margin-top: 22px; }
a.site-card:hover, a.location-card:hover { background: #eaf6ce; }
.site-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.site-split h2 { font-size: clamp(30px, 3.5vw, 46px); margin: 18px 0 24px; }
.site-split p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.site-image-frame { padding: 10px; background: #f1f1ea; border: 1px solid #6e7164; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
.site-image-frame img { display: block; width: 100%; height: auto; border-radius: 5px; }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.site-support > .breadcrumbs { padding-top: 24px; }
.directory-links { list-style: none; padding: 0; margin: 22px 0 0; }
.directory-links li + li { border-top: 1px solid var(--line); }
.directory-links a { display: block; padding: 12px 0; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.location-card { display: flex; flex-direction: column; }
.location-card .text-link { margin-top: auto; padding-top: 24px; }
.region-links, .related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.region-links a, .related-links a { display: inline-flex; align-items: center; gap: 12px; background: #f3f3ed; padding: 10px 15px; border: 1px solid #999d8d; border-radius: 6px; font-size: 14px; }
.region-links a:hover, .related-links a:hover { background: var(--acid); }
.ref-services-hero .region-links { justify-content: center; }
.ref-services-hero .region-links .btn { background: var(--acid); border-color: var(--ink); }
.ref-services-hero .region-links .btn-quiet { background: var(--ink); color: var(--paper); }
.site-related { padding: 36px 0 60px; }
.site-related h2 { font-size: 22px; }
.site-note { font-size: 14px; color: var(--muted); margin-top: 22px; }
.site-dark { background: var(--night); color: var(--paper); }
.site-dark .ref-centered .eyebrow { color: var(--acid); }
.site-dark .ref-centered p { color: #d3d5c9; }
.site-dark .scope-card, .site-dark .site-card { color: var(--ink); }
.site-support .site-status { min-height: 65dvh; display: grid; align-items: center; padding: 75px 0; }
.status-card { max-width: 860px; margin: auto; padding: 55px 35px; text-align: center; background: #f3f3ed; border: 1px solid #73776a; border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
.status-card .eyebrow { display: block; }
.status-card h1 { font-size: clamp(42px, 5vw, 68px); margin: 24px 0; }
.status-card p { max-width: 530px; margin: 0 auto; font-size: 17px; color: var(--muted); line-height: 1.65; }

/* Work: approved projects, evenly laid out and never cropped. */
.portfolio-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 38px; align-items: center; padding: 18px; border: 1px solid #707567; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); background: #f2f2eb; }
.portfolio-feature-image { display: block; background: #e6e8dd; padding: 10px; border-radius: 7px; }
.portfolio-feature-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.portfolio-feature-copy { padding: 20px 20px 20px 0; }
.portfolio-feature-copy h2 { font-size: clamp(28px, 3vw, 40px); margin: 18px 0; }
.portfolio-feature-copy p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.portfolio-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #737669; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); background: #f4f4ed; padding: 10px; }
.portfolio-image { display: grid; place-items: center; aspect-ratio: 1.78; background: #e7e9df; border-radius: 5px; overflow: hidden; }
.portfolio-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portfolio-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 8px 12px; }
.portfolio-meta h3 { font-size: 20px; margin: 0 0 6px; }
.portfolio-meta p { font-size: 14px; margin: 0; color: var(--muted); }
.portfolio-visit { font-size: 13px; white-space: nowrap; font-weight: 600; }
a.portfolio-card:hover { background: #eaf2d9; }
.case-hero-image { max-width: 1120px; margin: 0 auto; }
.case-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 0; }
.case-facts span { border: 1px solid #b7bcaa; border-radius: 6px; background: #f0f2e8; padding: 9px 14px; font-size: 14px; }

/* Legal pages retain their policy language, in a readable document surface. */
.legal-document { max-width: 900px; padding: clamp(26px, 5vw, 60px); border: 1px solid #777d6b; border-radius: 12px; background: #f6f6f0; box-shadow: 3px 3px 0 var(--ink); margin: 0 auto; }
.legal-document h2 { font-size: 26px; margin: 35px 0 16px; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document p, .legal-document li { font-size: 16px; line-height: 1.8; color: #51564b; }
.legal-document a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-document ul { padding-left: 22px; }

/* Journal presentation only; specificity wins over its legacy inline styles. */
main[data-page="blog"] .blog-header, main[data-page="blog-post"] .post-header { text-align: center !important; padding: 70px 0 45px !important; }
main[data-page] .blog-header h1, main[data-page] .post-header h1 { font: 800 clamp(38px, 4.5vw, 64px)/1.12 var(--body) !important; letter-spacing: -.035em !important; }
main[data-page] .blog-header p { margin: 20px auto 0 !important; font-size: 17px !important; max-width: 620px !important; }
main[data-page] .blog-card, main[data-page] .post-featured-img, main[data-page] .post-content, main[data-page] .post-cta { border: 1px solid #777d6b !important; border-radius: 10px !important; box-shadow: 3px 3px 0 var(--ink) !important; background: #f5f5ef !important; }
main[data-page] .blog-card:hover { box-shadow: 3px 3px 0 var(--ink) !important; }
main[data-page] .blog-card-img { border-radius: 9px 9px 0 0 !important; }
main[data-page] .blog-card-title { font-weight: 800 !important; font-size: 23px !important; line-height: 1.2 !important; }
main[data-page] .blog-card-date, main[data-page] .post-meta { font: 500 13px var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
main[data-page] .blog-card-excerpt { font-size: 16px !important; }
main[data-page] .post-breadcrumb { font: 13px/1.6 var(--body) !important; }
main[data-page] .post-meta { justify-content: center; }
main[data-page] .post-content h2 { font: 800 clamp(27px, 3vw, 36px)/1.2 var(--body) !important; letter-spacing: -.025em !important; }
main[data-page] .post-content h3, main[data-page] .post-cta h3 { font: 800 24px/1.25 var(--body) !important; }
main[data-page] .post-content p, main[data-page] .post-content li, main[data-page] .post-cta p { font-size: 16px !important; }
main[data-page] .post-content blockquote { border-radius: 7px !important; background: #eaf2d9 !important; }
main[data-page] .post-cta { background: var(--acid) !important; }
main[data-page] .post-cta .btn-hd { background: var(--ink) !important; color: var(--paper) !important; border-radius: 7px !important; box-shadow: 2px 2px 0 #687344 !important; padding: 5px 5px 5px 16px !important; font: 600 12px var(--body) !important; }
main[data-page] .post-cta .btn-hd span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--acid); color: var(--ink); border-radius: 4px; font-size: 18px; }

@media (max-width: 960px) {
  .site-card-grid, .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-split { gap: 32px; }
  .portfolio-feature { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-feature-copy { padding: 20px 12px; }
  .portfolio-meta { align-items: start; flex-direction: column; gap: 10px; }
}
@media (max-width: 767px) {
  .site-card-grid, .location-grid, .site-split, .portfolio-grid { grid-template-columns: 1fr; }
  .site-support .ref-services-hero { padding: 50px 0; }
  .site-support .ref-section { padding: 55px 0; }
  .site-card, .location-card { padding: 24px; }
  .site-support .scope-grid { grid-template-columns: 1fr; }
  .site-support .ref-service > summary h3 { font-size: 19px; }
  .site-support .service-body p, .site-support .service-body ul { font-size: 15px; }
  .site-support .ref-faq > summary, .site-support .ref-faq > p { font-size: 15px; }
  .site-support .ref-faq-panel { padding-inline: 20px; }
  .portfolio-meta { flex-direction: row; align-items: center; }
  .portfolio-meta h3 { font-size: 18px; }
  .portfolio-visit { font-size: 12px; }
  .status-card { padding: 35px 22px; }
  .region-links a, .related-links a { font-size: 13px; }
  main[data-page] .post-content { width: 100%; padding: 25px !important; }
  main[data-page] .post-cta { padding: 30px 22px !important; }
}

/* Real responsive screenshots sit beside, not on top of, their desktop views. */
.ref-device-pair,
.portfolio-device-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(88px, 19%, 138px);
  gap: clamp(10px, 2vw, 20px);
  align-items: center;
}
.ref-device-pair--desktop-only,
.portfolio-device-pair--desktop-only {
  grid-template-columns: minmax(0, 1fr);
}
.ref-device-pair .ref-work-image,
.portfolio-device-pair .portfolio-image {
  min-width: 0;
  width: 100%;
  aspect-ratio: 1.55;
  background: #e7e9df;
}
.ref-phone-device {
  justify-self: center;
  width: clamp(82px, 100%, 138px);
  padding: 5px;
  overflow: hidden;
  background: #22241e;
  border: 1px solid #10110e;
  border-radius: 15px;
  box-shadow: 2px 3px 0 rgba(23, 24, 21, .34);
}
.ref-phone-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}
.portfolio-feature-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(105px, 17%, 155px);
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  min-width: 0;
}
.portfolio-feature-pair .portfolio-feature-image {
  min-width: 0;
}
.portfolio-feature-pair > .ref-phone-device {
  width: 100%;
  max-width: 145px;
}
.case-device-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(130px, 19%, 190px);
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}
.case-device-pair .case-hero-image {
  min-width: 0;
  margin: 0;
}
.case-device-pair > .ref-phone-device {
  width: 100%;
  max-width: 180px;
}
.mobile-proof {
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(0, 1.8fr);
  gap: 25px 46px;
  align-items: center;
}
.mobile-proof-heading h2 {
  font-size: clamp(29px, 3.1vw, 42px);
  margin: 15px 0;
  line-height: 1.08;
}
.mobile-proof-heading p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
}
.mobile-proof-heading .text-link { font-size: 13px; }
.mobile-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mobile-proof-stat {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid #7e8371;
  border-radius: 8px;
  background: #f6f6ef;
  box-shadow: 2px 2px 0 var(--ink);
}
.mobile-proof-stat:nth-child(2) { background: var(--acid); }
.mobile-proof-stat strong {
  display: block;
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 11px;
}
.mobile-proof-stat p {
  font-size: 13px;
  line-height: 1.5;
  min-height: 58px;
  margin: 0 0 12px;
}
.mobile-proof-stat a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mobile-proof-note {
  grid-column: 1 / -1;
  max-width: 930px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.home-mobile-proof .mobile-proof {
  grid-template-columns: 1fr;
  gap: 22px;
}
.home-mobile-proof .mobile-proof-heading { text-align: center; max-width: 680px; margin: 0 auto; }
.home-mobile-proof .mobile-proof-heading .eyebrow { display: block; }
.home-mobile-proof .mobile-proof-heading p { max-width: 580px; margin: 0 auto 14px; }
.home-mobile-proof .mobile-proof-stats { max-width: 1050px; width: 100%; margin: auto; }
.home-mobile-proof .mobile-proof-stat { padding: 14px; }
.home-mobile-proof .mobile-proof-stat p { min-height: 0; font-size: 13px; }
.home-mobile-proof .mobile-proof-note { text-align: center; max-width: 890px; margin: auto; }
@media (max-width: 767px) {
  .ref-device-pair, .portfolio-device-pair { grid-template-columns: minmax(0, 1fr) 92px; gap: 10px; }
  .ref-device-pair .ref-work-image, .portfolio-device-pair .portfolio-image { aspect-ratio: 1.15; }
  .ref-device-pair--desktop-only, .portfolio-device-pair--desktop-only { grid-template-columns: minmax(0, 1fr); }
  .ref-device-pair--desktop-only .ref-work-image, .portfolio-device-pair--desktop-only .portfolio-image { aspect-ratio: 1.78; }
  .portfolio-feature-pair { grid-template-columns: minmax(0, 1fr) 100px; gap: 12px; }
  .portfolio-feature-pair > .ref-phone-device { max-width: 100px; }
  .case-device-pair { grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; }
  .case-device-pair > .ref-phone-device { max-width: 120px; }
  .mobile-proof { grid-template-columns: 1fr; gap: 22px; }
  .mobile-proof-heading { text-align: center; }
  .mobile-proof-heading .eyebrow { display: block; }
  .mobile-proof-stats { grid-template-columns: 1fr; gap: 10px; }
  .mobile-proof-stat {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    padding: 14px;
  }
  .mobile-proof-stat strong { grid-row: span 2; font-size: 27px; margin: 0; }
  .mobile-proof-stat p { min-height: 0; font-size: 14px; margin: 0; }
  .mobile-proof-stat a { font-size: 12px; }
  .mobile-proof-note { font-size: 12px; }
}

/* An illustrative to-do list: static first, motion only after scoped JS opt-in. */
.ref-todo-section { padding: 28px 0 0; }
.ref-todo-section .container { max-width: 1120px; }
.todo-panel {
  position: relative;
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 28px 65px;
  padding: 36px 48px;
  overflow: hidden;
  border-radius: 18px;
  background: #151612;
  color: #f3f3eb;
}
.todo-heading { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; }
.todo-eyebrow { font-size: 13px; line-height: 1.4; margin: 0 0 16px; color: #e3e4da; }
.todo-heading h2 {
  font-family: var(--body);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.14;
  color: #f3f3eb;
}
.todo-checklist {
  grid-column: 1;
  grid-row: 1;
  height: 300px;
  min-width: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #55584b #22241e;
}
.todo-list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0 0 4px; }
.todo-list[aria-hidden="true"] { display: none; }
.todo-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 8px 12px;
  background: #282a24;
  border: 1px solid #45473d;
  border-radius: 3px;
  color: #b9bcb0;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
.todo-check { flex: 0 0 10px; width: 10px; height: 10px; border: 1px solid #949789; border-radius: 1px; }
.todo-more { margin-left: auto; color: #aeb1a3; font-size: 16px; line-height: 1; }
.todo-comments { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 18px; }
.todo-comment {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 11px;
  border-radius: 15px;
  background: #c8f25d;
  color: #1d2413;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  transform: rotate(var(--bubble-tilt, 0deg));
}
.todo-comment::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -5px;
  width: 11px;
  height: 8px;
  background: #c8f25d;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.todo-comment-1 { --bubble-tilt: 1deg; --comment-delay: .8s; }
.todo-comment-2 { --bubble-tilt: 3deg; --comment-delay: 1.8s; }
.todo-comment-3 { --bubble-tilt: -2deg; --comment-delay: 2.8s; }
.todo-comment-4 { --bubble-tilt: -3deg; --comment-delay: 3.8s; }
.todo-comment-5 { --bubble-tilt: 3deg; --comment-delay: 4.8s; }
.todo-comment-6 { --bubble-tilt: -7deg; --comment-delay: 5.8s; }
.todo-motion-toggle {
  position: absolute;
  right: 18px;
  bottom: 12px;
  padding: 5px 8px;
  border: 1px solid #5f6355;
  border-radius: 5px;
  background: #20221b;
  color: #e3e6d9;
  font: 500 10px/1.3 var(--body);
  cursor: pointer;
}
.todo-motion-toggle[hidden] { display: none; }
.todo-motion-toggle:hover { border-color: #c8f25d; }
.todo-motion-toggle:focus-visible,
.todo-checklist:focus-visible { outline: 2px solid #c8f25d; outline-offset: 3px; }
.todo-motion-enabled { display: block; height: 430px; padding: 0; }
.todo-motion-enabled .todo-heading {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 39%;
  transform: translateY(-50%);
}
.todo-motion-enabled .todo-checklist {
  position: absolute;
  left: 5%;
  top: 0;
  width: 36%;
  height: 100%;
  overflow: hidden;
}
.todo-motion-enabled .todo-list[aria-hidden="true"] { display: grid; }
.todo-motion-enabled .todo-track {
  animation: todo-list-travel var(--todo-travel-duration, 35.2s) linear infinite;
  animation-play-state: paused;
}
.todo-motion-enabled .todo-comments { position: absolute; inset: 0; display: block; pointer-events: none; }
.todo-motion-enabled .todo-comment {
  position: absolute;
  white-space: nowrap;
  opacity: 0;
  animation: todo-comment-cycle 14s var(--comment-delay) infinite both;
  animation-play-state: paused;
}
.todo-motion-enabled .todo-comment-1 { left: 55%; top: 10%; }
.todo-motion-enabled .todo-comment-2 { right: 4%; top: 23%; }
.todo-motion-enabled .todo-comment-3 { left: 8%; top: 47%; }
.todo-motion-enabled .todo-comment-4 { right: 8%; bottom: 12%; }
.todo-motion-enabled .todo-comment-5 { left: 14%; bottom: 11%; }
.todo-motion-enabled .todo-comment-6 { left: 18%; top: 14%; }
.todo-motion-enabled.is-running .todo-track,
.todo-motion-enabled.is-running .todo-comment { animation-play-state: running; }
@keyframes todo-list-travel {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes todo-comment-cycle {
  0%, 2% { opacity: 0; transform: translateY(7px) scale(.94) rotate(var(--bubble-tilt)); }
  8%, 30% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--bubble-tilt)); }
  39%, 100% { opacity: 0; transform: translateY(-4px) scale(.97) rotate(var(--bubble-tilt)); }
}
@media (max-width: 767px) {
  .ref-todo-section { padding-top: 16px; }
  .todo-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 24px 32px; border-radius: 14px; }
  .todo-heading { grid-column: 1; grid-row: 1; }
  .todo-heading h2 { font-size: clamp(25px, 6.5vw, 34px); }
  .todo-checklist { grid-column: 1; grid-row: 2; height: 260px; }
  .todo-comments { grid-column: 1; gap: 17px; }
  .todo-comment { font-size: 11px; }
  .todo-motion-enabled { height: 550px; padding: 0; }
  .todo-motion-enabled .todo-heading { left: 24px; right: 24px; top: 28px; width: auto; transform: none; }
  .todo-motion-enabled .todo-checklist { left: 7%; top: 224px; width: 86%; height: 326px; }
  .todo-motion-enabled .todo-comment { max-width: calc(100% - 32px); white-space: normal; }
  .todo-motion-enabled .todo-comment-1 { left: 26px; top: 178px; }
  .todo-motion-enabled .todo-comment-2 { left: auto; right: 20px; top: 354px; bottom: auto; }
  .todo-motion-enabled .todo-comment-3 { left: 16px; top: 292px; }
  .todo-motion-enabled .todo-comment-4 { right: 24px; top: 466px; bottom: auto; }
  .todo-motion-enabled .todo-comment-5 { left: 24px; top: 408px; bottom: auto; }
  .todo-motion-enabled .todo-comment-6 { left: auto; right: 20px; top: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .todo-panel .todo-track, .todo-panel .todo-comment { animation: none !important; }
  .todo-panel .todo-comment { opacity: 1 !important; }
}