/* WholeArc family type system — matches wholearc.com and wholearc.ai.
   Display: Helvetica Neue Bold, tight tracking.
   UI labels: Martian Mono — small, uppercase and widely tracked.
   Paragraphs and reading text keep the site's original Inter Tight styling.
   Loaded after the Webflow and case-study stylesheets so it wins the cascade;
   layout, colour and animation are left to those files. */

:root {
  --font-display: "HelveticaNeue-Bold", "Helvetica Neue", "Arial Black", Helvetica, Arial, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, monospace;
  --mono-label: clamp(10px, .72vw, 12px);
  --mono-label-tracking: .14em;
  --display-tracking: -.03em;
}

/* ---------------- display ---------------- */
body h1, body h2, body h3, body h4, body h5, body h6, body .wa-hero-line,
body .big-text, body .big-text.about, body .big-text.cta,
body .medium-big-text, body .medium-text, body .counter-big-text,
body .navbar-link, body .question-title,
body .svc-name, body .capability-name.small-text,
body .blog-card-title, body .more-article-title, body .article-title, body .article-subhead,
body .cs-h2, body .cs-idea-line, body .cs-streak-count, body .cs-cal-month, body .cs-quote-text,
body .cs-next-name, body .cs-pillar-title, body .cs-tone-rule, body .cs-manifesto p,
body .cs-voice-good, body .cs-voice-bad {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--display-tracking);
}

/* ---------------- mono labels ---------------- */
body .nav-link .small-text, body .think-index, body .service-index, body .service-label,
body .project-card-title .small-text, body .article-meta, body .initial-work-title-wrap .small-text,
body .line-link-text, body .line-link-text.small, body .button-slide, body .button-slide-text,
body .card-cta, body .practice-cta, body .svc-cta, body .work-view-link, body .work-view-badge-ring,
body .practice-caps-label, body .svc-tags li, body .topic-pill, body .blog-eyebrow,
body .form-button, body .text-contact, body .pop-up-button-cta, body .pop-up-button-2-cta,
body .cta-qr-text .small-text,
body .cs-status, body .cs-meta dt, body .cs-kicker, body .cs-mini-label, body .cs-label,
body .cs-next-label, body .cs-pills li {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--mono-label);
  line-height: 1.5;
  letter-spacing: var(--mono-label-tracking);
  text-transform: uppercase;
}

/* the sticky CTA heading reads as a sentence, not a label */
body .wrapper-cta-title-contact .text-contact {
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: var(--text-contact-size);
  line-height: var(--text-contact-height);
  letter-spacing: 0;
  text-transform: none;
}

/* capability titles on the practice pages: small display heads, as on wholearc.com */
body .capability-name.small-text {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.25;
  letter-spacing: -.015em;
}

/* sticky CTA buttons are narrow: keep labels on one line */
body .pop-up-button-cta, body .pop-up-button-2-cta {
  white-space: nowrap;
  letter-spacing: .06em;
}
@media screen and (max-width: 767px) {
  body .pop-up-button-cta, body .pop-up-button-2-cta {
    white-space: normal;
    letter-spacing: .04em;
  }
}

/* ---------------- scale ----------------
   Helvetica Neue Bold is heavier and wider than the Inter Tight Medium these
   sizes were set for, so display type steps down ~25% and long statements drop
   to a medium weight. */
body .medium-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.015em;
}
body .cta-qr .cta-qr-text .small-text { font-size: var(--mono-label); line-height: 1.6; }

@media screen and (min-width: 768px) {
  body .hero-moving-title h1, body .hero-moving-title .wa-hero-line { font-size: 11vw; line-height: 13vw; }
  body .hero-desc-wrap .small-text { font-size: 1.15vw; line-height: 1.45; }
  body .big-text, body .big-text.about { font-size: 6vw; line-height: 1.12; }
  /* sized by the smaller of width and height so all seven lines fit on
     short, wide screens */
  body .about-content.alt .big-text.about { font-size: min(4.8vw, 8vh); line-height: min(6vw, 10vh); }
  body .about-content.alt .about-line { margin-bottom: max(-1.8vw, -3vh); }
  body .big-text.cta { font-size: 4.5vw; line-height: 1.05; }
  body .medium-big-text { font-size: 3vw; line-height: 1.1; }
  body .medium-text { font-size: 1.8vw; line-height: 1.4; }
  body .counter-big-text { font-size: 4.2vw; line-height: 1.1; }
  body .why-us-desc p, body .js-practice-body { font-size: 1.15vw; line-height: 1.5; }
  body .footer-text, body .copyright-text, body .footer-misc-text.footer { font-size: 1.15vw; line-height: 1.5; }
  body .question-title { font-size: 2.6vw; line-height: 1.15; }
  body .svc-name { font-size: 3.8vw; }
  body .blog-card-title { font-size: 1.6vw; line-height: 1.2; }
  body .cs-h2 { font-size: 2.6vw; }
  body .cs-idea-line { font-size: 4.6vw; }
  body .cs-next-name { font-size: 4.5vw; }
}

@media screen and (max-width: 767px) {
  body .hero-moving-title h1, body .hero-moving-title .wa-hero-line { font-size: 15vw; line-height: 18vw; }
  body .hero-desc-wrap .small-text { font-size: 16px; line-height: 1.45; }
  body .big-text.about { font-size: 8vw; line-height: 1.2; }
  body .medium-big-text { font-size: 8vw; line-height: 1.05; }
  body .why-title .big-text { font-size: 10vw; line-height: 1; }
  body .medium-text { font-size: 18px; line-height: 1.4; }
  body .counter-big-text { font-size: 9vw; line-height: 1.2; }
  body .footer-text { font-size: 16px; line-height: 1.4; }
}

/* ---------------- logo ----------------
   "WholeArc Studio" on one line, set exactly like the "WholeArc" link in the
   hero line: Inter Tight Bold at the hero copy size. */
.wa-logo {
  display: inline-flex;
  align-items: baseline;
  gap: .26em;
  color: var(--almost-black);
  font-family: Inter Tight, sans-serif;
  font-weight: 700;
  font-size: max(16px, 1.15vw);
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  width: max-content;
}
.wa-logo-mark, .wa-logo-sub { font: inherit; letter-spacing: inherit; line-height: 1; }

@media screen and (max-width: 767px) {
  body .navbar-logo-dark { width: auto; }
}

/* ---------------- WholeArc ecosystem panel ----------------
   Mirrors the "Part of WholeArc." section on wholearc.ai. */
.wa-eco { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
.wa-eco-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  /* the photo is scaled up and anchored left so the poster lands in the
     right half of the panel, clear of the text */
  background: #291e17 url("../images/wholearc-poster.webp") left 40% / 135% auto no-repeat;
  color: #fff;
}
.wa-eco-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 15, 11, .78), rgba(20, 15, 11, .55) 38%, rgba(20, 15, 11, 0) 62%);
}
.wa-eco-content {
  position: relative;
  max-width: 50%;
  padding: clamp(32px, 4.5vw, 72px) clamp(24px, 4.5vw, 72px);
}
.wa-eco-top { display: flex; align-items: center; gap: 20px; }
.wa-eco-kicker { font-family: var(--font-mono); font-size: clamp(12px, .95vw, 15px); letter-spacing: .04em; }
.wa-eco-marks { display: flex; }
.wa-eco-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform .3s ease;
}
.wa-eco-mark + .wa-eco-mark { margin-left: -14px; }
.wa-eco-mark:hover { transform: translateY(-3px); }
.wa-eco-mark img { display: block; width: 100%; height: 100%; }
body .wa-eco-title {
  margin: clamp(40px, 4.5vw, 72px) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
}
.wa-eco-copy { max-width: 34rem; margin-top: clamp(20px, 2vw, 32px); }
body .wa-eco-copy p {
  margin: 0 0 1em;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.5;
  color: #fff;
}
.wa-eco-button {
  display: inline-block;
  margin-top: clamp(24px, 3vw, 48px);
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 80px;
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-label-tracking);
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background-color .3s ease, color .3s ease;
}
.wa-eco-button:hover { background-color: #fff; color: var(--almost-black); }
@media screen and (max-width: 767px) {
  /* phones: text on the dark wall colour, the poster below it, the photo's
     top edge faded into that colour */
  .wa-eco-panel {
    background:
      linear-gradient(180deg, #291e17 calc(100% - 118vw), rgba(41, 30, 23, 0) calc(100% - 82vw)),
      url("../images/wholearc-poster.webp") center bottom / 240% auto no-repeat,
      #291e17;
  }
  .wa-eco-overlay { display: none; }
  .wa-eco-content { max-width: none; padding-bottom: 118vw; }
  body .wa-eco-title br { display: none; }
}

/* ---------------- header nav ----------------
   Logo on the left, links grouped on the right (as on wholearc.com). */
body .navbar-wrapper:not(.close) {
  justify-content: flex-start;
  column-gap: clamp(24px, 3vw, 52px);
}
body .navbar-logo-dark + .navbar-link-wrap,
body .navbar-button-wrap.visible { margin-left: auto; }

/* ---------------- footer ----------------
   Contact first, then the site, the practices and the WholeArc family.
 */
body .main-section.footer.wa-foot {
  padding-top: clamp(56px, 6vw, 104px);
  padding-bottom: clamp(24px, 2.5vw, 40px);
  color: #fff;
  overflow: hidden;
}
.wa-foot a { color: inherit; text-decoration: none; }
.wa-foot-kicker {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-label-tracking);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.wa-foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr);
  gap: clamp(40px, 5vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

/* contact */
.wa-foot-mail {
  display: inline-flex;
  align-items: flex-start;
  gap: .12em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 50px);
  line-height: 1.05;
  letter-spacing: -.03em;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 6px;
  transition: background-size .5s cubic-bezier(.25, .46, .45, .94);
}
.wa-foot-mail:hover { background-size: 100% 2px; }
.wa-foot-mail-arrow {
  font-size: .5em;
  line-height: 1;
  margin-top: .15em;
  color: var(--red);
  transition: transform .4s ease;
}
.wa-foot-mail:hover .wa-foot-mail-arrow { transform: translate(3px, -3px); }
body .wa-foot-note {
  max-width: 24rem;
  margin: 20px 0 0;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
}

/* link columns */
.wa-foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.wa-foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.wa-foot-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.3;
  color: rgba(255, 255, 255, .88);
  transition: color .25s ease, transform .35s cubic-bezier(.25, .46, .45, .94);
}
a.wa-foot-link:hover { color: #fff; transform: translateX(4px); }
.wa-foot-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .35);
  transition: color .25s ease;
}
a.wa-foot-link:hover .wa-foot-num { color: var(--red); }
.wa-foot-family img { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.wa-foot-ext { font-size: .8em; color: rgba(255, 255, 255, .4); }
.wa-foot-family.is-here { color: rgba(255, 255, 255, .5); flex-wrap: wrap; }
.wa-foot-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 0 rgba(242, 106, 33, .6);
  animation: wa-foot-pulse 2.4s ease-out infinite;
}
.wa-foot-here {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}
@keyframes wa-foot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 106, 33, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(242, 106, 33, 0); }
}

/* bottom bar */
.wa-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}
body .wa-foot-bottom p, .wa-foot-top-link {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.wa-foot-top-link { transition: color .25s ease; }
.wa-foot-top-link:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .wa-foot-dot { animation: none; }
}
@media screen and (max-width: 991px) {
  .wa-foot-top { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  .wa-foot-cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .wa-foot-col:last-child { grid-column: 1 / -1; }
  .wa-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* the brand name keeps its own casing inside uppercase labels */
body .wa-name { text-transform: none; letter-spacing: .02em; }

/* ---------------- contact page (/contact) ---------------- */
body .wa-contact-head .service-name { max-width: 14em; }
body .wa-contact-head .service-sub { max-width: 28em; }
.wa-contact { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(72px, 8vw, 140px); }
.wa-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
  padding-top: clamp(32px, 4vw, 64px);
  border-top: 1px solid var(--light-grey);
}
.wa-contact-label {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-label-tracking);
  text-transform: uppercase;
  color: var(--dark-grey);
}
.wa-contact-mail {
  display: inline-flex;
  align-items: flex-start;
  gap: .12em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -.03em;
  color: var(--almost-black);
  text-decoration: none;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s cubic-bezier(.25, .46, .45, .94);
}
.wa-contact-mail:hover { background-size: 100% 2px; }
.wa-contact-mail span { font-size: .55em; color: var(--red); }
body .wa-contact-note {
  max-width: 22rem;
  margin: 14px 0 40px;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  color: var(--dark-grey);
}
body .wa-contact-steps { margin: 0; padding: 0; list-style: none; }
body .wa-contact-steps li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-grey);
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.4;
  color: var(--almost-black);
}
.wa-contact-steps li span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.9;
  color: var(--grey);
}

/* form */
.wa-contact-form-wrap { margin: 0; }
.wa-contact-set { margin: 0 0 clamp(28px, 3vw, 44px); padding: 0; border: 0; min-width: 0; }
.wa-contact-q {
  margin-bottom: 16px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--almost-black);
}
.wa-contact-chips { display: flex; flex-wrap: wrap; gap: 10px; }
body .wa-chip.w-radio { position: relative; margin: 0; padding: 0; display: inline-flex; }
.wa-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.wa-chip .w-form-label {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--light-grey);
  border-radius: 80px;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.2;
  color: var(--almost-black);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.wa-chip:hover .w-form-label { border-color: var(--almost-black); }
.wa-chip input:checked + .w-form-label { background-color: var(--almost-black); border-color: var(--almost-black); color: #fff; }
.wa-chip input:focus-visible + .w-form-label { outline: 2px solid var(--red); outline-offset: 2px; }
.wa-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wa-field { display: flex; flex-direction: column; gap: 8px; margin: 0; font-weight: 400; }
.wa-field-wide { grid-column: 1 / -1; }
.wa-field > span {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-label-tracking);
  text-transform: uppercase;
  color: var(--dark-grey);
}
body .wa-field .w-input {
  height: auto;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  background: #fff;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--almost-black);
  transition: border-color .2s ease;
}
body .wa-field textarea.w-input { min-height: 160px; resize: vertical; }
body .wa-field .w-input:focus { border-color: var(--almost-black); outline: none; }
body .wa-contact-submit.w-button {
  margin-top: 8px;
  padding: 16px 32px;
  border-radius: 80px;
  background-color: var(--red);
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-label-tracking);
  text-transform: uppercase;
  color: #fff;
  transition: background-color .25s ease;
}
body .wa-contact-submit.w-button:hover { background-color: var(--almost-black); }
body .wa-contact-done, body .wa-contact-fail {
  padding: 24px;
  border-radius: 16px;
  text-align: left;
  font-family: Inter Tight, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
}
body .wa-contact-done { background: var(--whitesmoke); color: var(--almost-black); }
body .wa-contact-fail { margin-top: 16px; background: #fbe9e4; color: #8a2f16; }
@media screen and (max-width: 991px) {
  .wa-contact-grid { grid-template-columns: 1fr; }
  .wa-contact-aside { order: 2; }
}
@media screen and (max-width: 479px) {
  .wa-contact-fields { grid-template-columns: 1fr; }
}

/* ---------------- homepage closing CTA ----------------
   "Noticed something about design?" gets a screen of its own instead of a
   strip between the WholeArc panel and the footer. */
body #cta.main-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
body #cta > .main-container { width: 100%; }
body #cta .cta-bg-separator { display: none; }
@media screen and (max-width: 767px) {
  /* a full screen needs a heading that holds it */
  body #cta .cta-heading-wrap { width: 100%; }
  body #cta .big-text.cta { font-size: 11vw; line-height: 1.05; }
}

/* floating CTAs step aside for the closing screen and the footer */
body .wrapper-sticky-button-cta { transition: opacity .3s ease, visibility .3s ease; }
body.is-closing-view .wrapper-sticky-button-cta { opacity: 0; visibility: hidden; }

/* visually hidden, still read by screen readers and search engines */
.wa-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* headings that used to be divs keep their class styling */
body h1.service-name, body h1.big-text { margin: 0; }

/* ---------------- Notes topic filter (/blog) ---------------- */
body .topic-pill.is-active {
  background-color: var(--almost-black);
  border-color: var(--almost-black);
  color: var(--white);
}
.main-section.blog-filtered { padding-top: 3vw; padding-bottom: 3vw; }
.blog-filtered .blog-wide-row { row-gap: 1.5vw; }
.blog-filtered[hidden], .blog-latest[hidden], .blog-popular[hidden], .blog-more[hidden] { display: none; }
@media screen and (max-width: 767px) {
  .main-section.blog-filtered { padding-top: 32px; padding-bottom: 32px; }
  .blog-filtered .blog-wide-row { row-gap: 16px; }
}

/* ---------------- Home: featured study, full-bleed ----------------
   The title block was removed; keep the image at full viewport size
   (overrides the Webflow "Block image shrink" interaction's inline styles)
   and lay the caption over the bottom of the image. */
.initial-work-image-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
  inset: 0 !important;
}
.initial-work-image-wrap .work-image-link { display: block; width: 100%; height: 100%; }
.initial-work-image {
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  display: block;
}
.initial-work-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0 !important;
  padding: 8vw 3vw 3vw;
  align-items: flex-end;
  text-align: right;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.initial-work-text a { pointer-events: auto; }
@media screen and (max-width: 767px) {
  .initial-work-text { padding: 96px 16px 24px; }
}
