/* Round 2: seals, ideas, mobile bar, motion. Loaded after styles.css. */

:root {
  --header-h: 78px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 6.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.page-hero h1 { max-width: 16ch; }

.lede {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  line-height: 1.55;
}

.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-hero { padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 64px); }
section { padding: clamp(64px, 8vw, 108px) 0; }

.terminal {
  background: rgba(12, 20, 17, 0.72);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(55, 211, 163, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 70px -28px rgba(55, 211, 163, 0.35),
    0 40px 80px -36px rgba(0, 0, 0, 0.65);
}

.seal-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 8px 0 4px;
}

.seal {
  display: block;
  min-width: 0;
  position: relative;
}

.seal-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}

.seal-label {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 9%;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-wrap: balance;
  color: #eef8f4;
}

.seal-label span {
  display: block;
  white-space: nowrap;
}

.idea-board { padding-bottom: 8px; }

.idea-board:has(input[value="sales"]:checked) .idea-feature:not([data-industry="sales"]),
.idea-board:has(input[value="operations"]:checked) .idea-feature:not([data-industry="operations"]),
.idea-board:has(input[value="finance"]:checked) .idea-feature:not([data-industry="finance"]),
.idea-board:has(input[value="hr"]:checked) .idea-feature:not([data-industry="hr"]),
.idea-board:has(input[value="customer-service"]:checked) .idea-feature:not([data-industry="customer-service"]),
.idea-board:has(input[value="healthcare"]:checked) .idea-feature:not([data-industry="healthcare"]),
.idea-board:has(input[value="real-estate"]:checked) .idea-feature:not([data-industry="real-estate"]),
.idea-board:has(input[value="legal"]:checked) .idea-feature:not([data-industry="legal"]),
.idea-board:has(input[value="logistics"]:checked) .idea-feature:not([data-industry="logistics"]),
.idea-board:has(input[value="retail"]:checked) .idea-feature:not([data-industry="retail"]),
.idea-board:has(input[value="marketing"]:checked) .idea-feature:not([data-industry="marketing"]),
.idea-board:has(input[value="manufacturing"]:checked) .idea-feature:not([data-industry="manufacturing"]) {
  display: none;
}

.featured-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 28px;
}

.idea-feature,
.idea-card {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    #101916;
  color: var(--text-l);
  border: 1px solid rgba(55, 211, 163, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px -28px rgba(8, 13, 11, 0.65);
  padding: 22px 20px 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.idea-feature {
  min-height: 280px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(55, 211, 163, 0.18), transparent 46%),
    linear-gradient(180deg, #15241f, #0c1411);
}

.idea-card {
  background: #fff;
  color: var(--text-d);
  border-color: var(--line-light);
  min-height: 220px;
}

.idea-feature:hover,
.idea-card:hover {
  transform: translateY(-6px);
  border-color: rgba(55, 211, 163, 0.7);
  box-shadow:
    0 0 0 1px rgba(55, 211, 163, 0.35),
    0 22px 50px -24px rgba(18, 128, 95, 0.55);
}

.idea-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(55, 211, 163, 0.12);
  color: var(--teal);
  border: 1px solid rgba(55, 211, 163, 0.28);
}

.idea-card .idea-ico {
  background: rgba(18, 128, 95, 0.08);
  color: var(--teal-deep);
  border-color: rgba(18, 128, 95, 0.18);
}

.idea-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.idea-card .idea-kicker { color: var(--teal-deep); }

.idea-feature h3,
.idea-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: inherit;
}

.idea-outcome {
  color: var(--text-l-soft);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.idea-card .idea-outcome { color: var(--text-d-soft); }

.idea-impact {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
  text-wrap: balance;
  color: #d7fff3;
  background: rgba(55, 211, 163, 0.12);
  border: 1px solid rgba(55, 211, 163, 0.28);
  border-radius: 999px;
  padding: 7px 12px 7px 10px;
}

.idea-impact::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 1.2l1.5 3.2 3.5.4-2.6 2.4.7 3.4L8 9.1 4.9 10.6l.7-3.4L3 4.8l3.5-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 1.2l1.5 3.2 3.5.4-2.6 2.4.7 3.4L8 9.1 4.9 10.6l.7-3.4L3 4.8l3.5-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.idea-card .idea-impact {
  color: var(--teal-deep);
  background: rgba(18, 128, 95, 0.08);
  border-color: rgba(18, 128, 95, 0.16);
}

.idea-feature,
.idea-card {
  display: flex;
  flex-direction: column;
}

.idea-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.idea-group,
.idea-mosaic,
.idea-mosaic > li { display: contents; }

section.idea-group { padding: 0; }
.idea-group h2 { display: block; margin: 12px 0 4px; }

.idea-board .cta-row { margin-top: 22px; }

.mobile-book {
  display: none;
}

/* Visible unless JS has marked an off-screen block as pending. */
.js .reveal.pending {
  opacity: 0;
  transform: translateY(10px);
}
.js .reveal.pending.in {
  opacity: 1;
  transform: none;
}
.js .reveal {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

@media (max-width: 980px) {
  .seal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .seal:last-child:nth-child(odd) {
    width: auto;
    justify-self: stretch;
  }

  .featured-row { grid-template-columns: 1fr; }
  .idea-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .idea-tools {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: #f2f4ef;
    padding: 8px 0 4px;
    border-bottom: 0;
  }

  .idea-tools .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    scrollbar-width: none;
  }
  .idea-tools .chip-row::-webkit-scrollbar { height: 0; }

  .mobile-book {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 13, 11, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(55, 211, 163, 0.28);
    box-shadow: 0 -12px 40px -24px rgba(0, 0, 0, 0.7);
  }

  .mobile-book .btn { width: 100%; min-height: 48px; }

  body {
    --bar-h: 68px;
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  }

  body:has(.nav-check:checked),
  body.nav-open {
    overflow: hidden;
  }

  body:has(.nav-check:checked) .mobile-book {
    display: none;
  }

  .site-header:has(.nav-check:checked) {
    z-index: 100;
    background: #080d0b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header:has(.nav-check:checked) .brand,
  .site-header:has(.nav-check:checked) .header-actions {
    position: relative;
    z-index: 3;
  }

  .site-header:has(.nav-check:checked) .primary-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: calc(var(--header-h) + 18px) 22px 28px;
    overflow: auto;
    background: rgba(8, 13, 11, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 0;
    box-shadow: none;
  }

  .primary-nav a { font-size: 17px; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 36px)); }
  .hero {
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .page-hero { padding: 28px 0 22px; }
  .hero h1, .page-hero h1 {
    max-width: none;
    font-size: clamp(2.05rem, 8.6vw, 2.55rem);
  }
  .hero .lede, .page-hero .lede {
    margin-top: 10px;
    font-size: 15.5px;
    line-height: 1.45;
  }
  .hero .cta-row, .page-hero .cta-row { margin-top: 14px; gap: 8px; }
  .hero-grid { gap: 16px; }
  .cta-row .btn { min-height: 46px; }
  .term-body { padding: 12px 14px 12px; font-size: 12.5px; line-height: 1.6; }
  .term-bar { padding: 8px 12px; }
  .field { margin-bottom: 16px; }
  .seal-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .seal-label {
    font-size: 9px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    left: 10px;
    right: 10px;
    bottom: 8%;
  }

  .seal:nth-child(1) { grid-column: 1 / span 2; }
  .seal:nth-child(2) { grid-column: 3 / span 2; }
  .seal:nth-child(3) { grid-column: 5 / span 2; }
  .seal:nth-child(4) { grid-column: 2 / span 2; }
  .seal:nth-child(5) { grid-column: 4 / span 2; }

  .advantage-wrap, .seal-wrap { margin-top: 18px; }
  .idea-feature, .idea-card { padding: 16px 16px 14px; }
  .service-item { padding: 24px 4px 26px; }
  .close-inner { gap: 22px; }
  .featured-row { margin-bottom: 16px; }
  .idea-catalog { grid-template-columns: 1fr; }

  .hero .hero-grid {
    min-height: calc(100dvh - var(--header-h) + 16px);
    align-content: start;
  }

  .mock .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mock .queue li { grid-template-columns: 68px minmax(0, 1fr); }

  .example-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    padding: 2px 18px 12px;
    margin-inline: -18px;
  }

  .example-grid .example {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.pending,
  .js .reveal.pending.in,
  .js .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .idea-feature:hover,
  .idea-card:hover { transform: none; }

  .terminal,
  .pulse { animation: none; }
}

/* Round 3: sleeve patches, logo wall, dense ideas, tighter sections. */

.hero-prompt {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  font-kerning: normal;
}
.hero-prompt span { color: var(--text-l-soft); }
.hero h1 { display: flex; flex-direction: column; gap: 0.04em; }

.terminal {
  position: relative;
  overflow: hidden;
  animation: term-float 7s ease-in-out infinite;
}
.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.4;
}
.term-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 10px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(55, 211, 163, 0.55);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes term-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(55, 211, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 211, 163, 0); }
}

.trust { position: relative; z-index: 2; margin-top: 8px; }
.trust-row {
  list-style: none;
  margin: 0;
  padding: 12px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px 36px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 132px;
  text-align: center;
}
.trust-mark,
.trust-mark * {
  vector-effect: non-scaling-stroke;
}
.trust-mark {
  width: 72px;
  height: 72px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: #37d3a3;
  stroke-width: 1.25px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-mark .mark-icon,
.trust-mark .mark-icon * {
  stroke-width: 1.4px;
}
.trust-label {
  margin: 0;
  max-width: 16ch;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  font-kerning: normal;
  color: #e7f2ec;
  text-wrap: balance;
}

#services > .wrap,
section[aria-labelledby="work-heading"] > .wrap {
  width: min(720px, calc(100% - 32px));
}
#services .section-head.centered,
section[aria-labelledby="work-heading"] .section-head.centered {
  max-width: none;
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}
#services .service-list { text-align: center; }
.service-item {
  border-right: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 0 24px;
}
#services .service-item { text-align: center; }
#services .service-item p {
  max-width: 38rem;
  margin-inline: auto;
}

.step-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
section[aria-labelledby="work-heading"] .step-grid { text-align: center; }
.step-card {
  display: block;
  border-top: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
}
.step-card .idx {
  display: block;
  margin: 0 0 6px;
}
.step-card h3 { margin: 0 0 6px; }
.step-card p { max-width: 62ch; }
section[aria-labelledby="work-heading"] .step-card { text-align: center; }
section[aria-labelledby="work-heading"] .step-card p {
  max-width: 38rem;
  margin-inline: auto;
}
section[aria-labelledby="work-heading"] .cta-row { justify-content: center; }

.example-grid { align-items: start; }
@media (min-width: 981px) {
  .example-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
  }
  .example {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .about-points {
    align-items: stretch;
    grid-auto-rows: 1fr;
  }
  .about-points li {
    height: 100%;
  }
}
.example .mock { border-radius: 12px; }
.mock-body { padding: 12px; gap: 8px; }

.logo-marquee {
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 72s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 10px 13px;
}
.logo-set img {
  width: 30px;
  height: 30px;
  display: block;
  filter: grayscale(1);
  opacity: 0.62;
}
.logo-set li:hover img,
.logo-set li:focus-within img {
  filter: none;
  opacity: 1;
}
.teaser-list { gap: 0; margin-top: 8px; }
.teaser-list a {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-light);
  border-radius: 0;
  padding: 14px 0;
}
.teaser-list li:last-child a { border-bottom: 1px solid var(--line-light); }

.logo-more { text-align: center; }

.logo-more {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-kerning: normal;
  color: #1a3329;
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.idea-catalog { display: block; }
.idea-board,
.idea-board .idea-group,
.idea-catalog,
.idea-rows,
.idea-tools {
  overflow-anchor: none;
}
html:has(.idea-board),
body:has(.idea-board) {
  overflow-anchor: none;
}
.idea-board .idea-group { display: block; margin: 0 0 8px; }
.idea-tools { margin-bottom: 0; border-bottom: 0; }
.idea-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.idea-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
  min-width: 0;
  padding: 12px 0 13px;
  border-top: 1px solid var(--line-light);
}
.idea-row .idea-ico {
  grid-row: 1 / span 2;
  color: var(--teal-deep);
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.idea-row .idea-ico svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.idea-row h3 {
  font-size: 15.5px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-kerning: normal;
}
.idea-row .idea-outcome {
  color: var(--text-d-soft);
  font-size: 14px;
  line-height: 1.4;
  margin: 3px 0 0;
}
.idea-row .idea-impact {
  grid-column: 2;
  margin: 0;
  justify-self: start;
  white-space: normal;
  color: #0e6a4c;
  background: #e5f7f0;
  border-color: #b7e6d4;
}

.linkedin {
  display: inline-flex;
  align-items: center;
}
.linkedin img {
  display: block;
  height: 21px;
  width: auto;
}
.site-footer a.linkedin:hover img { opacity: 0.82; }

@media (min-width: 800px) {
  .idea-rows {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
}

@media (max-width: 720px) {
  .trust-row { gap: 26px 20px; }
  .trust-item { width: calc(50% - 12px); max-width: 168px; }
  .trust-mark { width: 62px; height: 62px; }
  .trust-label { font-size: 13px; }
}

h1, h2, h3 { text-wrap: balance; }
p, li, .lede, .foot-blurb, .idea-outcome, details.faq .answer { text-wrap: pretty; }

.section-head.centered {
  margin-inline: auto;
  text-align: center;
  max-width: 40rem;
}
.section-head.centered .eyebrow { margin-inline: auto; }
.section-head.centered p {
  max-width: 38rem;
  margin-inline: auto;
}

.band-ink,
.contact {
  position: relative;
  overflow: hidden;
}
.band-ink::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 40% at 8% 16%, rgba(55, 211, 163, 0.09), transparent 68%),
    radial-gradient(ellipse 32% 28% at 94% 86%, rgba(79, 216, 255, 0.045), transparent 70%),
    linear-gradient(rgba(238, 243, 239, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 243, 239, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.band-ink ~ .band-ink::before {
  background:
    radial-gradient(ellipse 44% 38% at 90% 12%, rgba(55, 211, 163, 0.08), transparent 68%),
    radial-gradient(ellipse 30% 26% at 6% 90%, rgba(79, 216, 255, 0.04), transparent 70%),
    linear-gradient(rgba(238, 243, 239, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 243, 239, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.band-ink > .wrap,
.contact > .wrap { position: relative; z-index: 1; }
.section-mark {
  position: absolute;
  z-index: 0;
  width: min(300px, 64vw);
  right: -4%;
  bottom: -8%;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 720px) {
  .example-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    gap: 16px;
  }
  .example { padding: 14px; }
  .bubble p:last-child, .flow-mock li, .doc-rows li { font-size: 14px; }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }
  .timeline h2 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .terminal,
  .pulse,
  .logo-track { animation: none; }
  .logo-track { flex-wrap: wrap; width: auto; }
  .logo-set[aria-hidden="true"] { display: none; }
  .logo-set { flex-wrap: wrap; }
}

/* Round 7: one alignment system, one section rhythm, one footer. */

section { padding: clamp(72px, 7vw, 104px) 0; }
section.band-paper + section.band-paper { padding-top: 0; }

.page-hero .wrap {
  width: min(720px, calc(100% - 40px));
  text-align: center;
}
.page-hero h1 {
  max-width: min(20ch, 100%);
  margin-inline: auto;
}
.page-hero .lede {
  max-width: 40rem;
  margin-inline: auto;
}
.page-hero .cta-row { justify-content: center; }

.service-block { display: block; }
.reading .service-block > div:first-child { margin: 0 auto; }
.reading .service-block h2 { margin-bottom: 0; }
.reading .service-block > div + div { margin-top: 0; }
.reading .service-block p:first-of-type { margin-top: 12px; }

.idea-group > h2 { text-align: center; }
.teaser-list a { text-wrap: balance; }
@media (min-width: 981px) {
  .idea-tools .chip-row {
    justify-content: center;
    max-width: 860px;
    margin-inline: auto;
  }
}

html { scroll-padding-top: calc(var(--header-h) + 8px); }

.reading {
  width: min(720px, calc(100% - 40px));
}
.reading .prose,
.reading.prose { max-width: none; }
.reading.prose > h2 { text-align: center; }
.reading .timeline h2,
.reading .timeline p,
.reading .service-block p,
.reading .service-block li,
.reading details.faq summary,
.reading details.faq .answer {
  text-align: left;
}
.reading details.faq .answer { max-width: none; }

.reading .service-block {
  display: block;
}
.reading .service-block > div:first-child {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 8px;
}
.reading .service-block p,
.reading .service-block ul { max-width: none; }

.reading .timeline li { display: block; }
.reading .step-id { display: block; margin: 0 0 6px; }
.reading .timeline p { max-width: none; }

section[aria-labelledby="ideas-teaser"] .teaser-list a { text-align: left; }

a.btn,
button.btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mobile-book a.btn { min-height: 46px; width: 100%; }
.btn-secondary {
  background: transparent;
  border-color: rgba(238, 243, 239, 0.38);
  color: var(--text-l);
}
.band-paper .btn-secondary {
  border-color: #c9d7cf;
  color: #10241c;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.band-paper .btn-secondary:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

.site-footer a,
.foot-blurb,
.site-footer .foot-bottom,
.site-footer .foot-bottom p {
  font-size: 15px;
  line-height: 1.5;
}
.foot-blurb { max-width: 36ch; margin: 14px 0 18px; }
.foot-label { margin-bottom: 14px; line-height: 1.4; }
.site-footer ul { gap: 10px; }
.site-footer a.linkedin { line-height: 0; }
.site-footer .foot-bottom {
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
}
.site-footer .foot-bottom p { margin: 0; text-align: center; }
@media (min-width: 981px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    grid-template-areas: "brand contact" "pages pages";
    align-items: start;
    column-gap: 56px;
    row-gap: 28px;
  }
  .footer-grid > div:first-child { grid-area: brand; }
  .footer-grid > nav { grid-area: pages; }
  .footer-grid > div:last-child { grid-area: contact; }
  .site-footer nav .foot-label,
  .site-footer nav ul { text-align: center; }
  .site-footer nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
  }
}
@media (max-width: 980px) {
  .header-actions .btn-book { display: none; }
  .footer-grid { gap: 28px; }
  .site-footer .foot-bottom { margin-top: 28px; }
  body.book-bar-off { padding-bottom: 0; }
  body.book-bar-off .mobile-book { display: none; }
  :root { --bar-h: 68px; }
  html { scroll-padding-bottom: calc(var(--bar-h) + 12px); }
  .page-hero { padding-bottom: calc(36px + var(--bar-h)); }
}

/* Home What we do and How we work, matching the centered 6e column. */
#services > .wrap,
section[aria-labelledby="work-heading"] > .wrap {
  width: min(720px, calc(100% - 32px));
}
#services .section-head,
section[aria-labelledby="work-heading"] .section-head {
  max-width: none;
  text-align: center;
}
#services .service-list,
#services .service-item,
section[aria-labelledby="work-heading"] .step-grid,
section[aria-labelledby="work-heading"] .step-card {
  text-align: center;
}
#services .service-item p,
section[aria-labelledby="work-heading"] .step-card p,
#services .section-head p,
section[aria-labelledby="work-heading"] .section-head p {
  text-wrap: wrap;
}
section[aria-labelledby="work-heading"] .cta-row { justify-content: center; }
